/* ============ TOKENS ============ */
:root {
  --teal: #0e7c8b;
  --teal-700: #0a5d68;
  --green: #2e9e5b;
  --ink: #0f1d22;
  --ink-soft: #4a5b61;
  --bg: #ffffff;
  --bg-alt: #f2f8f8;
  --line: #e2ecec;
  --card: #ffffff;
  --shadow: 0 12px 32px rgba(14, 124, 139, 0.10);
  --shadow-sm: 0 4px 14px rgba(14, 124, 139, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --grad: linear-gradient(120deg, var(--teal) 0%, var(--green) 100%);
  --maxw: 1140px;
}

/* ============ BASE ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal);
}
.btn--outline:hover { background: rgba(14,124,139,.07); }
.btn--ghost {
  background: rgba(14,124,139,.08);
  color: var(--teal-700);
}
.btn--ghost:hover { background: rgba(14,124,139,.15); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { width: 34px; height: 34px; border-radius: 9px; }
.brand__name { font-weight: 800; font-size: 20px; letter-spacing: -.3px; }
.brand__accent { color: var(--teal); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-weight: 500; color: var(--ink-soft); font-size: 15px; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { color: var(--teal-700) !important; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2.5px; border-radius: 2px;
  background: var(--ink); transition: .25s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(46,158,91,.10), transparent 60%),
    radial-gradient(700px 500px at 0% 0%, rgba(14,124,139,.10), transparent 55%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
  padding: 72px 24px 84px;
}
.pill {
  display: inline-block;
  background: rgba(14,124,139,.10);
  color: var(--teal-700);
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.07;
  letter-spacing: -1.2px;
  font-weight: 800;
}
.hero__sub {
  margin: 20px 0 30px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 540px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust {
  margin-top: 26px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
}

/* ----- hero phone mockup ----- */
.hero__art { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  z-index: 2;
  width: 268px;
  height: 540px;
  background: #0f1d22;
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 30px 70px rgba(14,124,139,.28);
}
.phone__notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 22px;
  background: #0f1d22;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #ffffff, #eef7f7);
  border-radius: 28px;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone__screen--img { padding: 0; overflow: hidden; background: #fff; }
.phone__screen--img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 28px; }
.phone__logo { width: 56px; height: 56px; border-radius: 14px; margin-top: 8px; }
.phone__title { font-weight: 800; margin: 12px 0 18px; color: var(--ink); }
.phone__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}
.phone__grid span {
  aspect-ratio: 1;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--teal);
}
.phone__grid span:nth-child(2) { border-top-color: var(--green); }
.phone__grid span:nth-child(4) { border-top-color: var(--green); }
.phone__grid span:nth-child(6) { border-top-color: var(--teal); }
.phone__bar {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.phone__bar small { color: var(--ink-soft); }
.phone__bar strong { font-size: 18px; }
.phone__pay {
  margin-top: 10px;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
}
.blob { position: absolute; border-radius: 50%; filter: blur(8px); z-index: 1; }
.blob--1 { width: 120px; height: 120px; background: rgba(46,158,91,.22); top: 30px; right: 6px; }
.blob--2 { width: 90px; height: 90px; background: rgba(14,124,139,.20); bottom: 40px; left: 0; }

/* ----- hero fan (3 phones) ----- */
.fan {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  height: 540px;
  margin: 0 auto;
}
.fan__phone {
  position: absolute;
  top: 0; left: 50%;
  width: 218px;
  background: #0f1d22;
  border-radius: 34px;
  padding: 9px;
  box-shadow: 0 22px 50px rgba(15,29,34,.28);
  transition: transform .3s ease;
}
.fan__screen { border-radius: 26px; overflow: hidden; background: #fff; }
.fan__screen img { width: 100%; display: block; }
.fan__notch {
  position: absolute;
  top: 9px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 18px;
  background: #0f1d22;
  border-radius: 0 0 12px 12px;
  z-index: 3;
}
.fan__phone--center {
  transform: translateX(-50%) translateY(8px);
  z-index: 3;
}
.fan__phone--left {
  transform: translateX(-50%) translateX(-96px) translateY(40px) rotate(-13deg);
  transform-origin: bottom center;
  z-index: 1;
  opacity: .97;
}
.fan__phone--right {
  transform: translateX(-50%) translateX(96px) translateY(40px) rotate(13deg);
  transform-origin: bottom center;
  z-index: 2;
  opacity: .97;
}
.fan:hover .fan__phone--left {
  transform: translateX(-50%) translateX(-120px) translateY(34px) rotate(-17deg);
}
.fan:hover .fan__phone--right {
  transform: translateX(-50%) translateX(120px) translateY(34px) rotate(17deg);
}

/* ============ STATS ============ */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 30px 24px;
  text-align: center;
}
.stat strong { display: block; font-size: 26px; font-weight: 800; color: var(--teal-700); }
.stat span { color: var(--ink-soft); font-size: 14.5px; }

/* ============ SECTIONS ============ */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}
.section__head h2 {
  font-size: clamp(27px, 3.6vw, 38px);
  letter-spacing: -.6px;
  margin: 10px 0 12px;
  font-weight: 800;
}
.section__head p { color: var(--ink-soft); font-size: 17px; }

/* ============ GRIDS ============ */
.grid { display: grid; gap: 22px; }
.grid--features { grid-template-columns: repeat(4, 1fr); }
.grid--steps { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid--pricing { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; gap: 26px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  font-size: 24px;
  border-radius: 14px;
  background: rgba(14,124,139,.09);
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 14.5px; }

/* ----- steps ----- */
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step__num {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); }

/* ============ HIGHLIGHT (offline) ============ */
.highlight {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 46px;
  align-items: center;
}
.highlight__copy h2 {
  font-size: clamp(27px, 3.6vw, 38px);
  letter-spacing: -.6px;
  margin: 10px 0 14px;
  font-weight: 800;
}
.highlight__copy p { color: var(--ink-soft); font-size: 17px; }
.highlight__list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.highlight__list li { position: relative; padding-left: 30px; font-weight: 500; }
.highlight__list li::before {
  content: "✓";
  position: absolute; left: 0; top: -1px;
  width: 21px; height: 21px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff; font-size: 12px; font-weight: 800;
  border-radius: 50%;
}
.highlight__art { display: flex; justify-content: center; }
.offline-card {
  width: 100%;
  max-width: 340px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.offline-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  padding: 10px 0;
}
.offline-card__bar {
  height: 8px;
  border-radius: 6px;
  background: var(--bg-alt);
  overflow: hidden;
  margin: 8px 0 14px;
}
.offline-card__bar i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 6px;
  background: var(--grad);
}
.offline-card small { color: var(--ink-soft); }
.dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dot--off { background: #e0a92b; box-shadow: 0 0 0 4px rgba(224,169,43,.18); }
.dot--on { background: var(--green); box-shadow: 0 0 0 4px rgba(46,158,91,.18); }

/* ============ GALLERY ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 880px;
  margin: 0 auto;
}
.shot { text-align: center; }
.shot__frame {
  background: #0f1d22;
  border-radius: 30px;
  padding: 8px;
  box-shadow: 0 18px 44px rgba(14,124,139,.18);
  transition: transform .2s ease;
}
.shot:hover .shot__frame { transform: translateY(-6px); }
.shot__frame img {
  width: 100%;
  border-radius: 24px;
  display: block;
}
.shot figcaption {
  margin-top: 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ============ CATALOG (full feature list) ============ */
.grid--catalog { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.featcol {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.featcol h3 { font-size: 17px; margin-bottom: 16px; }
.featcol ul { list-style: none; display: grid; gap: 10px; }
.featcol li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.featcol li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* ============ PRICING ============ */
.price {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price--featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow);
}
.price__badge {
  position: absolute;
  top: -13px; right: 24px;
  background: var(--grad);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
}
.price h3 { font-size: 19px; color: var(--ink-soft); font-weight: 600; }
.price__amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 8px 0 4px;
}
.price__cur { font-size: 20px; font-weight: 700; margin-right: 4px; vertical-align: super; }
.price__per { font-size: 16px; font-weight: 500; color: var(--ink-soft); }
.price__desc { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 18px; }
.price__list { list-style: none; margin-bottom: 24px; display: grid; gap: 11px; }
.price__list li { position: relative; padding-left: 26px; font-size: 15px; }
.price__list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--green); font-weight: 800;
}
.price .btn { margin-top: auto; }
.price__note { text-align: center; color: var(--ink-soft); font-size: 13.5px; margin-top: 22px; }

/* ============ FAQ ============ */
.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  margin-bottom: 14px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--teal); font-weight: 400; }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--ink-soft); padding: 0 0 18px; font-size: 15px; }

/* ============ CTA ============ */
.cta {
  background: var(--grad);
  color: #fff;
}
.cta__inner { text-align: center; padding: 76px 24px; }
.cta h2 { font-size: clamp(27px, 3.6vw, 40px); letter-spacing: -.6px; font-weight: 800; }
.cta p { margin: 12px 0 28px; font-size: 18px; opacity: .92; }
.cta__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn--primary { background: #fff; color: var(--teal-700); }
.cta .btn--outline { color: #fff; border-color: rgba(255,255,255,.7); }
.cta .btn--outline:hover { background: rgba(255,255,255,.14); }
.cta__hint { display: block; margin-top: 18px; opacity: .82; font-size: 13.5px; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: #c4d3d4; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 34px;
  padding: 56px 24px 40px;
}
.footer .brand__name { color: #fff; }
.footer__brand p { margin-top: 14px; max-width: 360px; font-size: 14.5px; color: #9fb2b3; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer__col a { display: block; color: #9fb2b3; font-size: 14.5px; margin-bottom: 10px; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  text-align: center;
  padding: 20px 24px;
  font-size: 13.5px;
  color: #7e9293;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .grid--catalog { grid-template-columns: repeat(2, 1fr); }
  .highlight { grid-template-columns: 1fr; gap: 32px; }
  .highlight__art { order: -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
}
@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px;
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 10px; text-align: center; border-bottom: none !important; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__art { margin-top: 30px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .grid--steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .section { padding: 60px 0; }
  .grid--features { grid-template-columns: 1fr; }
  .grid--catalog { grid-template-columns: 1fr; }
  .grid--pricing { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; max-width: 300px; }
  .fan { transform: scale(.8); height: 470px; margin-top: -20px; }
  .btn { width: 100%; }
  .hero__cta, .cta__buttons { flex-direction: column; }
}
