:root {
  --ink: #0a1630;
  --muted: #667085;
  --line: #e5e9f1;
  --blue: #4c55e6;
  --blue-dark: #333ad1;
  --green: #25a763;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 152px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.features-page {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  min-height: 64px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(223, 228, 238, 0.88);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  position: relative;
  padding: 22px 0 20px;
  color: #475467;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-cta,
.button {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 26px rgba(76, 85, 230, 0.2);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--blue-dark);
}

.features-hero {
  min-height: 780px;
  padding: 126px 24px 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(90, 99, 232, 0.12), transparent 34%),
    #fff;
}

.product-badge {
  margin: 0 0 30px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e2e5fb;
  border-radius: 999px;
  color: #4751d4;
  background: #f7f7ff;
  font-size: 13px;
  font-weight: 750;
}

.product-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #42bf79;
  box-shadow: 0 0 0 4px rgba(66, 191, 121, 0.14);
}

.features-hero h1 {
  max-width: 1120px;
  margin: 0;
  color: var(--ink);
  font-size: 104px;
  line-height: 0.98;
  font-weight: 800;
}

.features-hero h1 span,
.feature-intro h2 span,
.feature-assurance h2 span {
  color: var(--blue);
}

.features-hero > p:not(.product-badge) {
  max-width: 690px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  font-size: 15px;
}

.arrow-icon {
  font-size: 20px;
  line-height: 1;
}

.text-link {
  padding: 12px 0;
  color: #3d4758;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.features-hero small {
  margin-top: 22px;
  color: #9097a6;
  font-size: 12px;
}

.feature-index {
  position: sticky;
  top: 64px;
  z-index: 60;
  min-height: 86px;
  padding: 0 28px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}

.feature-index::-webkit-scrollbar {
  display: none;
}

.feature-index a {
  min-width: 156px;
  padding: 19px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border-right: 1px solid #edf0f5;
  color: #4d5768;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.feature-index a:first-child {
  border-left: 1px solid #edf0f5;
}

.feature-index a:hover {
  color: var(--blue);
  background: #fafaff;
}

.feature-index span {
  color: #9ca3af;
  font-size: 10px;
  font-weight: 800;
}

.feature-intro {
  max-width: 980px;
  margin: 0 auto;
  padding: 148px 24px 112px;
  text-align: center;
}

.eyebrow,
.feature-kicker {
  margin: 0 0 20px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
}

.feature-intro h2,
.feature-assurance h2 {
  margin: 0;
  color: var(--ink);
  font-size: 78px;
  line-height: 1.04;
  font-weight: 800;
}

.feature-intro > p:last-child {
  max-width: 680px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.feature-sections {
  padding: 0 28px;
}

.feature-detail {
  position: relative;
  max-width: 1280px;
  min-height: 760px;
  margin: 0 auto 36px;
  padding: 74px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: 76px;
  overflow: hidden;
  border: 1px solid rgba(25, 44, 84, 0.06);
  border-radius: 40px;
}

.feature-detail.feature-reverse .feature-copy {
  order: 2;
}

.feature-detail.feature-reverse .feature-screen {
  order: 1;
}

.feature-blue { background: #f2f4ff; }
.feature-mint { background: #edf8f2; }
.feature-coral { background: #fff3f0; }
.feature-lavender { background: #f5f3ff; }
.feature-warm { background: #faf5eb; }
.feature-sky { background: #eef7fd; }
.feature-ink { color: #fff; background: #10213e; }

.feature-copy {
  position: relative;
  z-index: 2;
}

.feature-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-kicker span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
}

.feature-copy h2 {
  max-width: 570px;
  margin: 0;
  font-size: 62px;
  line-height: 1.03;
  font-weight: 800;
}

.feature-copy > p:not(.feature-kicker) {
  max-width: 510px;
  margin: 26px 0 0;
  color: #5d6878;
  font-size: 17px;
  line-height: 1.68;
}

.feature-ink .feature-copy > p:not(.feature-kicker) {
  color: #c7d1df;
}

.feature-ink .feature-kicker {
  color: #9aa6ff;
}

.operation-list {
  margin-top: 32px;
  border-top: 1px solid rgba(18, 35, 67, 0.16);
  border-bottom: 1px solid rgba(18, 35, 67, 0.16);
}

.feature-ink .operation-list {
  border-color: rgba(255, 255, 255, 0.18);
}

.operation-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 750;
}

.operation-list summary::-webkit-details-marker {
  display: none;
}

.operation-list summary span {
  font-size: 22px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.operation-list[open] summary span {
  transform: rotate(45deg);
}

.operation-list ul {
  margin: 0;
  padding: 2px 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 18px;
  list-style: none;
}

.operation-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #5d6878;
  font-size: 12px;
  line-height: 1.45;
}

.feature-ink .operation-list li {
  color: #d7deea;
}

.operation-list li i {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #188b50;
  background: rgba(37, 167, 99, 0.12);
  font-style: normal;
  font-size: 9px;
}

.feature-screen {
  position: relative;
  width: 100%;
  min-height: 570px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 34px 70px rgba(27, 43, 77, 0.12);
  backdrop-filter: blur(15px);
}

.feature-ink .feature-screen {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.22);
}

.screen-top {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(20, 38, 70, 0.11);
  color: #17243d;
}

.feature-ink .screen-top {
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.screen-top span {
  font-size: 17px;
  font-weight: 800;
}

.screen-top i {
  padding: 7px 10px;
  border-radius: 999px;
  color: #657083;
  background: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-size: 10px;
  font-weight: 750;
}

.seat-summary {
  margin: 30px 0 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seat-summary span,
.member-metrics span {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(29, 46, 78, 0.08);
  border-radius: 16px;
  color: #768093;
  background: rgba(255, 255, 255, 0.76);
  font-size: 11px;
}

.seat-summary b {
  color: var(--ink);
  font-size: 30px;
}

.seat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.seat-grid i {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(43, 170, 103, 0.24);
  border-radius: 13px;
  color: #188c4e;
  background: #e7f7ee;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.seat-grid i.occupied {
  border-color: rgba(86, 98, 229, 0.24);
  color: #4952cb;
  background: #eceeff;
}

.member-person {
  margin: 34px 0 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.member-person > b {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #1f8f56;
  background: #dff5e9;
  font-size: 18px;
}

.member-person span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.member-person strong { font-size: 18px; }
.member-person small { color: #818999; font-size: 11px; }

.member-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.member-metrics b {
  color: var(--ink);
  font-size: 17px;
}

.screen-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
}

.screen-list > span {
  min-height: 54px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(20, 38, 70, 0.09);
  color: #596476;
  font-size: 12px;
}

.screen-list > span b,
.screen-list > span em {
  margin-left: auto;
  color: #25334d;
  font-style: normal;
}

.payment-total,
.account-balance {
  margin: 34px 0 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.payment-total small,
.account-balance small {
  color: #7b8494;
  font-size: 11px;
}

.payment-total strong,
.account-balance strong {
  color: var(--ink);
  font-size: 32px;
}

.payment-list span > i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #d55b4d;
  background: #ffe4df;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}

.attendance-total {
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.attendance-total strong {
  font-size: 76px;
  line-height: 1;
  color: #7158db;
}

.attendance-total span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #4f596a;
  font-size: 13px;
  font-weight: 700;
}

.attendance-total small {
  color: #8b93a1;
  font-size: 10px;
  font-weight: 500;
}

.attendance-list span b {
  color: #229458;
}

.attendance-list span em {
  padding: 7px 10px;
  border-radius: 999px;
  color: #6450c7;
  background: #ece8ff;
}

.locker-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.locker-grid > i {
  min-height: 92px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(182, 137, 49, 0.16);
  border-radius: 14px;
  color: #966f28;
  background: #fff8e9;
  font-style: normal;
}

.locker-grid > i.used {
  color: #797f8b;
  background: #eceef1;
}

.locker-grid b { font-size: 18px; }
.locker-grid small { font-size: 9px; font-weight: 700; }

.feature-ink .account-balance {
  background: rgba(255, 255, 255, 0.08);
}

.feature-ink .account-balance small { color: #b3bfd1; }
.feature-ink .account-balance strong { color: #fff; }

.account-bars {
  height: 190px;
  padding: 24px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.account-bars i {
  width: 100%;
  height: 42%;
  border-radius: 8px 8px 0 0;
  background: #7581ef;
}

.account-bars i:nth-child(2) { height: 62%; }
.account-bars i:nth-child(3) { height: 48%; }
.account-bars i:nth-child(4) { height: 82%; }
.account-bars i:nth-child(5) { height: 70%; }
.account-bars i:nth-child(6) { height: 96%; }
.account-bars i:nth-child(7) { height: 76%; }

.account-key {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #cbd4e2;
  font-size: 10px;
}

.account-key span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.account-key i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7581ef;
}

.account-key span:last-child i { background: #5ad191; }

.devices-visual {
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.devices-visual > em {
  color: #619fc6;
  font-style: normal;
  font-size: 24px;
}

.phone-device,
.web-device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: #425166;
  font-size: 11px;
}

.phone-device i {
  width: 108px;
  height: 190px;
  display: block;
  border: 7px solid #16243d;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 22px 0 #edf0ff;
}

.web-device i {
  width: 236px;
  height: 150px;
  display: block;
  border: 7px solid #16243d;
  border-bottom-width: 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 24px 0 #edf0ff;
}

.access-note {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(39, 106, 149, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.access-note img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.access-note span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.access-note b { font-size: 12px; }
.access-note small { color: #7b8493; font-size: 10px; }

.feature-assurance {
  max-width: 1160px;
  margin: 0 auto;
  padding: 148px 24px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 100px;
}

.feature-assurance h2 {
  font-size: 68px;
}

.feature-assurance > div > p:last-child {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.feature-assurance aside {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.feature-assurance aside span {
  padding: 26px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.feature-assurance aside strong {
  color: var(--ink);
  font-size: 20px;
}

.feature-assurance aside small {
  color: #858d9b;
  font-size: 12px;
}

.features-closing {
  margin: 0 28px 28px;
  padding: 118px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 40px;
  color: #fff;
  background: #263269;
}

.closing-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
}

.closing-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.features-closing h2 {
  margin: 0;
  font-size: 76px;
  line-height: 1.04;
  font-weight: 800;
}

.features-closing > p {
  max-width: 590px;
  margin: 25px auto 30px;
  color: #cad1ed;
  font-size: 17px;
  line-height: 1.65;
}

.button.white {
  color: #263269;
  background: #fff;
  box-shadow: 0 12px 28px rgba(4, 11, 40, 0.2);
}

.feature-help {
  margin-top: 22px;
  color: #d5daf0;
  font-size: 12px;
  text-decoration: none;
}

footer {
  min-height: 110px;
  padding: 30px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #7e8796;
  font-size: 12px;
}

footer .brand {
  font-size: 18px;
}

footer p {
  margin: 0;
}

footer > div {
  display: flex;
  gap: 22px;
}

footer > div a {
  color: #657083;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .features-hero h1 { font-size: 84px; }
  .feature-intro h2 { font-size: 66px; }

  .feature-detail {
    padding: 58px;
    gap: 46px;
  }

  .feature-copy h2 { font-size: 52px; }
  .feature-screen { min-height: 520px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 138px; }

  .topbar {
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .features-hero {
    min-height: 680px;
    padding: 96px 22px 78px;
  }

  .features-hero h1 { font-size: 68px; }
  .features-hero > p:not(.product-badge) { font-size: 18px; }

  .feature-index {
    justify-content: flex-start;
    min-height: 76px;
    padding: 0;
  }

  .feature-index a {
    min-width: 142px;
    padding: 15px 14px;
  }

  .feature-intro {
    padding: 104px 22px 82px;
  }

  .feature-intro h2 { font-size: 56px; }

  .feature-sections {
    padding: 0 14px;
  }

  .feature-detail,
  .feature-detail.feature-reverse {
    min-height: auto;
    padding: 58px 42px;
    grid-template-columns: 1fr;
    gap: 50px;
    border-radius: 30px;
  }

  .feature-detail.feature-reverse .feature-copy,
  .feature-detail.feature-reverse .feature-screen {
    order: initial;
  }

  .feature-copy h2 { font-size: 54px; }
  .feature-screen { min-height: 520px; }

  .feature-assurance {
    padding: 108px 28px;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .feature-assurance h2 { font-size: 58px; }

  .features-closing {
    margin: 0 14px 14px;
    padding: 90px 24px;
    border-radius: 30px;
  }

  .features-closing h2 { font-size: 60px; }
}

@media (max-width: 560px) {
  .topbar { min-height: 60px; }
  .brand { font-size: 17px; }
  .brand img { width: 28px; height: 28px; }
  .nav-cta { min-height: 40px; padding: 0 15px; font-size: 12px; }

  .features-hero {
    min-height: 640px;
    padding: 86px 20px 70px;
  }

  .product-badge { margin-bottom: 24px; }
  .features-hero h1 { font-size: 50px; }
  .features-hero > p:not(.product-badge) { margin-top: 24px; font-size: 16px; }

  .actions {
    width: 100%;
    margin-top: 30px;
    flex-direction: column;
    gap: 12px;
  }

  .actions .button { width: 100%; }
  .features-hero small { margin-top: 16px; }

  .feature-index { top: 60px; }
  .feature-index a { min-width: 130px; font-size: 12px; }

  .feature-intro {
    padding: 84px 20px 64px;
  }

  .feature-intro h2 { font-size: 43px; }
  .feature-intro > p:last-child { margin-top: 22px; font-size: 16px; }

  .feature-detail,
  .feature-detail.feature-reverse {
    margin-bottom: 14px;
    padding: 46px 22px 24px;
    gap: 38px;
    border-radius: 24px;
  }

  .feature-copy h2 { font-size: 42px; }
  .feature-copy > p:not(.feature-kicker) { margin-top: 20px; font-size: 15px; }
  .operation-list { margin-top: 24px; }
  .operation-list ul { grid-template-columns: 1fr; }

  .feature-screen {
    min-height: 448px;
    padding: 22px;
    border-radius: 22px;
  }

  .seat-grid { gap: 8px; }
  .seat-grid i { border-radius: 9px; }
  .locker-grid { gap: 8px; }
  .locker-grid > i { min-height: 74px; padding: 10px; }
  .attendance-total strong { font-size: 62px; }
  .account-bars { height: 160px; gap: 8px; }
  .account-key { flex-direction: column; }
  .devices-visual { min-height: 280px; gap: 12px; }
  .phone-device i { width: 74px; height: 140px; border-width: 5px; }
  .web-device i { width: 144px; height: 104px; border-width: 5px; border-bottom-width: 9px; }

  .feature-assurance {
    padding: 84px 22px;
  }

  .feature-assurance h2 { font-size: 43px; }
  .feature-assurance > div > p:last-child { font-size: 15px; }
  .feature-assurance aside strong { font-size: 17px; }

  .features-closing {
    padding: 72px 20px;
    border-radius: 24px;
  }

  .features-closing h2 { font-size: 44px; }
  .features-closing > p { font-size: 15px; }

  footer {
    padding: 40px 22px;
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-cta,
  .button,
  .operation-list summary span { transition: none; }
}
