/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green:       #2BAE66;
  --green-dark:  #219852;
  --green-light: #E6F7EE;
  --blue:        #4F7DF9;
  --blue-light:  #EEF3FF;
  --navy:        #1A2332;
  --navy-mid:    #2C3E55;
  --white:       #FFFFFF;
  --bg:          #F7F9FC;
  --text:        #1A2332;
  --muted:       #6B7A90;
  --border:      #E2E8F0;
  --r:           16px;
  --r-sm:        10px;
  --shadow:      0 4px 20px rgba(26,35,50,.08);
  --shadow-lg:   0 12px 40px rgba(26,35,50,.13);
  --ease:        cubic-bezier(.4,0,.2,1);
}

.sr-only {
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Top bar ────────────────────────────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
  z-index: 1000;
}

/* ── Language switcher ──────────────────────────────────── */
.lang-switcher {
  position: fixed; top: 16px; right: 24px; z-index: 999;
  display: flex; gap: 3px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.lang-btn {
  background: transparent; border: none;
  border-radius: 999px; padding: 5px 13px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: .78rem; font-weight: 700;
  color: var(--muted); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
  letter-spacing: .04em;
}

.lang-btn.active { background: var(--green); color: #fff; }
.lang-btn:hover:not(.active) { background: var(--border); color: var(--text); }

/* ── Section shared ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }

.eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 12px;
}

h2.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy); line-height: 1.2; margin-bottom: 14px;
}

.section-sub {
  font-size: .97rem; color: var(--muted);
  max-width: 520px; margin: 0 auto; line-height: 1.7;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  position: relative; overflow-x: hidden;
  background: var(--white);
}

.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 85% 15%, rgba(43,174,102,.09) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 5% 85%,  rgba(79,125,249,.07) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 45% 45%, rgba(247,249,252,1)  0%, transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  position: relative;
}

.hero-logo {
  height: 42px; width: auto;
  margin-bottom: 28px; display: block;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-light); color: var(--green-dark);
  border-radius: 999px; padding: 5px 14px;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
}

h1.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.15; color: var(--navy);
  margin-bottom: 20px; letter-spacing: -.01em;
}

h1.hero-title em {
  color: var(--green); font-style: normal;
}

.hero-sub {
  font-size: 1.02rem; color: var(--muted);
  max-width: 450px; margin-bottom: 36px; line-height: 1.7;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--r-sm);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600; font-size: .88rem;
  text-decoration: none; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.btn-apple {
  background: var(--navy); color: #fff; border: 1.5px solid transparent;
}
.btn-apple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,35,50,.22);
}

.btn-google {
  background: var(--white); color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-google:hover {
  border-color: var(--green); transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-store-icon { width: 19px; height: 19px; flex-shrink: 0; }

.btn-store-text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-store-sub  { font-size: .62rem; font-weight: 400; opacity: .7; text-transform: uppercase; letter-spacing: .05em; }
.btn-store-main { font-size: .92rem; font-weight: 700; }

/* ── Phones ─────────────────────────────────────────────── */
.hero-phones {
  position: relative;
  height: 560px;
}

.phone-wrap {
  position: absolute;
}

.phone-wrap img {
  display: block; width: 100%; height: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 40px rgba(26,35,50,.20));
}

.phone-1 {
  width: 215px;
  left: 8%; bottom: 0; z-index: 2;
  animation: floatA 6s ease-in-out infinite;
}

.phone-2 {
  width: 215px;
  right: 8%; bottom: 64px; z-index: 1;
  animation: floatB 6s ease-in-out infinite .6s;
  opacity: .9;
}

@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px);  } }

.score-pill {
  position: absolute; bottom: 24px; left: 2%;
  background: var(--white); border-radius: 12px;
  padding: 11px 15px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  z-index: 5;
  animation: floatA 5s ease-in-out infinite 1.2s;
}

.score-pill-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
}

.score-pill-label { font-size: .68rem; color: var(--muted); font-weight: 500; }
.score-pill-val   { font-size: 1.15rem; font-weight: 700; color: var(--green); line-height: 1; }

/* ── Features ───────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--r); padding: 30px;
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative; overflow: hidden;
}

.feature-card::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  opacity: 0; transition: opacity .25s var(--ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::after { opacity: 1; }

.feat-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background .25s var(--ease);
}

.feature-card:hover .feat-icon { background: var(--green); }

.feat-icon svg {
  width: 22px; height: 22px;
  stroke: var(--green);
  transition: stroke .25s var(--ease);
}

.feature-card:hover .feat-icon svg { stroke: #fff; }

h3.feat-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem; color: var(--navy);
  margin-bottom: 9px; line-height: 1.3;
}

.feat-desc { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ── How It Works ───────────────────────────────────────── */
.how {
  padding: 100px 0; background: var(--white);
  position: relative; overflow: hidden;
}

.how::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 0 50%, rgba(43,174,102,.05) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 100% 50%, rgba(79,125,249,.05) 0%, transparent 55%);
}

.steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 40px; position: relative;
}

.steps-grid::before {
  content: ''; position: absolute;
  top: 31px;
  left: calc(16.7% + 20px);
  right: calc(16.7% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  opacity: .25;
}

.step { text-align: center; }

.step-num {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 22px rgba(43,174,102,.28);
  position: relative; z-index: 1;
}

h3.step-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.08rem; color: var(--navy); margin-bottom: 10px;
}

.step-desc { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { padding: 100px 0; background: var(--bg); }

.faq-list {
  max-width: 740px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm); overflow: hidden;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}

.faq-item.open {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(43,174,102,.1);
}

.faq-q {
  width: 100%; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 19px 22px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600; font-size: .94rem;
  color: var(--navy); cursor: pointer; text-align: left; gap: 14px;
}

.faq-q:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }

.faq-chevron {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--green);
  transition: transform .3s var(--ease);
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease);
}

.faq-item.open .faq-body { max-height: 280px; }

.faq-ans {
  padding: 0 22px 18px;
  font-size: .9rem; color: var(--muted); line-height: 1.72;
}

/* ── Contact ────────────────────────────────────────────── */
.contact { padding: 100px 0; background: var(--white); }

.contact-inner { max-width: 580px; margin: 0 auto; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }

.form-input, .form-textarea {
  width: 100%; padding: 13px 17px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-family: 'Hanken Grotesk', sans-serif; font-size: .94rem;
  color: var(--text); background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  outline: none;
  appearance: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43,174,102,.12);
}

.form-textarea { resize: vertical; min-height: 128px; }

.btn-submit {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; border: none; border-radius: var(--r-sm);
  padding: 14px 32px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: .97rem; font-weight: 600; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,174,102,.32);
}

.btn-submit:disabled { opacity: .7; cursor: not-allowed; }

.form-input.invalid, .form-textarea.invalid {
  border-color: #DC2626;
}

.form-input.invalid:focus, .form-textarea.invalid:focus {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}

.field-error {
  display: block; font-size: .8rem; color: #DC2626;
  margin-top: 5px; min-height: 1em;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.field-error.visible {
  opacity: 1; transform: translateY(0);
}

.form-msg { margin-top: 4px; padding: 13px 17px; border-radius: var(--r-sm); font-size: .9rem; font-weight: 500; }
.form-msg.success { background: var(--green-light); color: var(--green-dark); }
.form-msg.error   { background: #FEF2F2; color: #DC2626; }

/* ── Footer ─────────────────────────────────────────────── */
.footer { background: var(--navy); padding: 36px 0; }

.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}

.footer-logo { height: 26px; filter: brightness(0) invert(1); }
.footer-logo-link { display: flex; align-items: center; }

.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }

.footer-nav a {
  color: rgba(255,255,255,.5);
  text-decoration: none; font-size: .85rem;
  transition: color .2s;
}

.footer-nav a:hover { color: #fff; }

.footer-copy { font-size: .8rem; color: rgba(255,255,255,.35); text-align: center; }

/* ── Reveal animations ──────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.d1 { transition-delay: .08s; }
.d2 { transition-delay: .18s; }
.d3 { transition-delay: .28s; }
.d4 { transition-delay: .38s; }
.d5 { transition-delay: .48s; }
.d6 { transition-delay: .58s; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-sub   { margin: 0 auto 36px; }
  .hero-cta   { justify-content: center; }
  .hero-phones { height: 420px; order: -1; }
  .phone-1 { width: 155px; left: 12%; }
  .phone-2 { width: 155px; right: 12%; bottom: 48px; }
  .score-pill  { left: 4%; bottom: 16px; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps-grid::before { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .hero-phones { height: 360px; }
  .phone-1 { width: 130px; left: 8%; }
  .phone-2 { width: 130px; right: 8%; bottom: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .lang-switcher { right: 12px; }
}
