@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&display=swap');

/* ── Design tokens ─────────────────────────────────────────────────────────── */
:root {
  --primary:        #388F8C;
  --primary-dark:   #2D7A77;
  --primary-light:  #4BA5A2;
  --primary-faint:  #EBF2F1;
  --accent:         #FFB980;
  --accent-dark:    #F0A060;

  --bg:             #FFFFFF;
  --bg-secondary:   #F7F7F7;
  --text:           #111111;
  --text-secondary: #666666;
  --text-tertiary:  #999999;
  --border:         #E6E6E6;

  --font:           'Lexend', sans-serif;
  --radius:         12px;
  --radius-lg:      24px;
  --radius-xl:      40px;

  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 16px rgba(56,143,140,0.12);
  --shadow-lg:      0 12px 40px rgba(56,143,140,0.18);

  --max-w:          1160px;
  --section-py:     5rem;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Layout helpers ─────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Navigation ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 28px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }
.nav-end {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  background: var(--bg-secondary);
  border-radius: 100px;
  border: 1px solid var(--border);
}
.lang-btn {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-btn:hover { color: var(--primary); }
.lang-btn-active {
  background: var(--primary);
  color: #fff;
}
.lang-btn-active:hover { color: #fff; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary-faint) 0%, #fff 55%, rgba(255,185,128,0.08) 100%);
  overflow: hidden;
  padding: 5rem 0 3rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-faint);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--primary); }
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-store:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-store-apple {
  background: var(--text);
  color: #fff;
}
.btn-store-google {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-store svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-store-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.btn-store-label small { font-size: 0.68rem; font-weight: 400; opacity: 0.7; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-illustration {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(56,143,140,0.15));
}
.hero-badge {
  position: absolute;
  top: 12%;
  left: -2rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.hero-badge .badge-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-faint);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-badge-2 {
  top: auto;
  bottom: 12%;
  left: auto;
  right: -2rem;
}

/* ── Social proof strip ──────────────────────────────────────────────────────── */
.social-proof {
  background: var(--primary);
  color: #fff;
  padding: 1.25rem 0;
}
.social-proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.95;
}
.proof-item i { font-size: 1.1rem; opacity: 0.85; }

/* ── Section header ──────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.section-eyebrow {
  display: inline-block;
  background: var(--primary-faint);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ── Features ────────────────────────────────────────────────────────────────── */
.features { padding: var(--section-py) 0; background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-faint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.feature-card.featured {
  background: var(--primary);
  color: #fff;
}
.feature-card.featured .feature-icon { background: rgba(255,255,255,0.2); }
.feature-card.featured p { color: rgba(255,255,255,0.8); }

/* ── How it works ────────────────────────────────────────────────────────────── */
.how-it-works { padding: var(--section-py) 0; background: var(--bg-secondary); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-faint), var(--primary-light), var(--primary-faint));
}
.step {
  text-align: center;
  position: relative;
  padding-top: 0.5rem;
}
.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.step:nth-child(2) .step-number { background: var(--primary); border-color: var(--primary); }
.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 220px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Interests ───────────────────────────────────────────────────────────────── */
.interests { padding: var(--section-py) 0; }
.interests-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.interest-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1.5px solid var(--primary-light);
  background: var(--primary-faint);
  color: var(--primary-dark);
  transition: all 0.2s;
}
.interest-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
.interest-tag i { font-size: 1rem; color: inherit; line-height: 1; }

/* ── Download CTA ────────────────────────────────────────────────────────────── */
.cta-section {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -200px;
  right: -100px;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -150px;
  left: -80px;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  margin: 0 auto 1.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.cta-subtitle {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-store-light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-store-light:hover {
  background: rgba(255,255,255,0.25);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo {
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }

/* ── Page header (inner pages) ───────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-faint) 0%, #fff 100%);
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.page-hero p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Prose content ───────────────────────────────────────────────────────────── */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
  color: var(--text);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}
.prose p { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.75; }
.prose ul, .prose ol {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose li { margin-bottom: 0.4rem; line-height: 1.7; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose a:hover { color: var(--primary-dark); }
.prose strong { color: var(--text); font-weight: 600; }
.prose .notice {
  background: var(--primary-faint);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.prose .notice p { margin: 0; color: var(--text); }

/* ── Support form ────────────────────────────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem 5rem;
}
.contact-info { padding-top: 0.5rem; }
.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.contact-info p { color: var(--text-secondary); margin-bottom: 1.75rem; line-height: 1.7; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.contact-detail .icon {
  width: 40px;
  height: 40px;
  background: var(--primary-faint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.contact-detail-text span {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.faq-list { list-style: none; padding: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.faq-q::before { content: 'Q'; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.4rem; border-radius: 4px; flex-shrink: 0; }
.faq-a { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

.form-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.form-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { min-height: 120px; }
.btn-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-badge, .hero-badge-2 { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --section-py: 3.5rem; }
  .nav-links { display: none; }
  .nav-end { gap: 0.75rem; }
  .hero { padding: 3rem 0 2rem; }
  .hero-title { font-size: 2rem; }
  .social-proof-inner { gap: 1.25rem; }
  .proof-item { font-size: 0.82rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Icon sizing (Tabler webfont) ────────────────────────────────────────────── */
.proof-item i   { font-size: 1.1rem; opacity: 0.85; }
.badge-icon i   { font-size: 1rem;   color: var(--primary); }
.feature-icon i { font-size: 1.5rem; color: var(--primary); }
.feature-card.featured .feature-icon i { color: #fff; }
.step-number i  { font-size: 1.75rem; color: var(--primary); }
.step:nth-child(2) .step-number i { color: #fff; }
.icon i         { font-size: 1.1rem; color: var(--primary); }

/* ── App screenshots ─────────────────────────────────────────────────────────── */
.screenshots { padding: var(--section-py) 0; background: var(--bg-secondary); overflow: hidden; }
.screenshots-scroll {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}
.phone-frame {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 2px 0 2px #e0e0e0, 0 4px 32px rgba(0,0,0,0.18);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 2px solid #e0e0e0;
}
.phone-frame:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 2px 0 2px #d0d0d0, 0 20px 48px rgba(56,143,140,0.18);
}
.phone-frame img {
  width: 100%;
  display: block;
  border-radius: 30px;
}
/* Raise center phone */
.phone-frame.featured {
  width: 220px;
  transform: translateY(-16px);
  box-shadow: 0 2px 0 2px #d0d0d0, 0 24px 56px rgba(56,143,140,0.22);
  border-color: var(--primary-light);
}
.phone-frame.featured:hover {
  transform: translateY(-24px) scale(1.03);
}
/* Side phones slightly de-emphasised */
.phone-frame.side {
  width: 175px;
  opacity: 0.88;
}
.phone-frame.side:hover { opacity: 1; }

@media (max-width: 900px) {
  .phone-frame.side { display: none; }
  .phone-frame.featured { transform: none; width: 200px; }
}
@media (max-width: 600px) {
  .screenshots-scroll { gap: 1rem; }
  .phone-frame { width: 155px; }
  .phone-frame.featured { width: 175px; transform: none; }
}

/* ── Animations ──────────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeUp 0.55s cubic-bezier(.22,1,.36,1) both;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
