/* Basic, modern, accessible landing page styles */
:root {
  /* Light theme (aligned to app themes.ts light) */
  --bg: #fafdfa; /* brandGreen[25] */
  --surface: #ffffff; /* neutral surface */
  --surface-alt: #f5f5f5; /* neutral[50] */
  --text: #1B2D2A; /* themes.light.colors.text */
  --muted: #4A5D59; /* textSecondary */
  --primary: #37a437; /* brandGreen[600] */
  --primary-strong: #255825; /* brandGreen[800] */
  --primary-weak: rgba(61, 171, 63, 0.10); /* brandGreen[500] with alpha */
  --accent: #00A4CC; /* accentBlue */
  --secondary: #ea2a70; /* brandPink */
  --tertiary: #012e52; /* brandNavy */
  --ring: rgba(0, 164, 204, 0.25);
  --border: #D9D9D9; /* neutral[200] */
  --card: #ffffff;
  --shadow: rgba(16, 24, 40, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dark theme (aligned to app themes.ts dark) */
    --bg: #0D151A;
    --surface: #152028;
    --surface-alt: #1c2a33;
    --text: #EAF2F0;
    --muted: #C5D5D0;
    --primary: #012e52; /* brandNavy */
    --primary-strong: #9DCB00; /* primaryDark */
    --primary-weak: rgba(157, 203, 0, 0.12);
    --accent: #ea2a70; /* brandPink as accent in dark */
    --secondary: #37a437; /* brandGreen */
    --tertiary: #00A4CC; /* accentBlue */
    --ring: rgba(185, 230, 0, 0.25);
    --border: #2C4149;
    --card: #152028;
    --shadow: rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: 0.2px; }
.brand img { width: 180px; height: auto; filter: drop-shadow(0 2px 8px var(--shadow)); }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: color-mix(in oklab, var(--text) 86%, transparent); text-decoration: none; font-weight: 700; opacity: 0.9; }
.nav a:hover { color: var(--primary); opacity: 1; }

/* Header CTA and mobile toggle */
.header-cta { display: none; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--border); color: var(--text); padding: 10px 12px; border-radius: 10px; font-weight: 800; }
.menu-toggle:focus { outline: 3px solid var(--ring); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 1px solid transparent; transition: transform 120ms ease, filter 120ms ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 92%, white) 0%, var(--primary) 100%); color: #ffffff; box-shadow: 0 10px 22px var(--ring); border-color: color-mix(in oklab, var(--primary) 88%, black); }
.btn-primary:hover { filter: brightness(0.96); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: color-mix(in oklab, var(--border) 70%, var(--text)); }
.btn-ghost { background: transparent; color: var(--text); border-color: transparent; }
.btn-ghost:hover { color: var(--primary); }

/* Hero */
.hero { position: relative; padding: 120px 0 72px; overflow: hidden; background: radial-gradient(1200px 600px at 50% -10%, color-mix(in oklab, var(--accent) 14%, transparent) 0%, transparent 60%), radial-gradient(800px 400px at 100% 20%, color-mix(in oklab, var(--primary) 16%, transparent) 0%, transparent 60%); }
.hero-inner { text-align: center; display: grid; gap: 14px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.65fr; align-items: center; justify-items: center; gap: 108px; text-align: left; }
.hero-copy { display: grid; gap: 12px; }
.hero-media { display: grid; place-items: center; }
.hero h1 { font-family: "Rajdhani", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; letter-spacing: 0.2px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; margin: 0; max-width: none; margin-left: 0; margin-right: 0; white-space: nowrap; }
.lead { color: #3c5560; font-size: clamp(18px, 2.2vw, 22px); max-width: 860px; margin: 0 auto; }
.cta { display: flex; gap: 12px; justify-content: center; margin-top: 6px; }
.cta-note { margin-top: 8px; color: #5f757f; font-weight: 600; }
.soon { color: var(--muted); font-size: 14px; justify-self: center; text-align: center; }

/* Removed trust badges and hero glow for a cleaner look */

/* Hero visual stack */
.hero-visual { position: relative; width: min(980px, 96%); margin: 20px auto 0; height: auto; }
.hero-shot { width: 66%; max-width: 880px; height: auto; border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,0.15), 0 6px 22px rgba(0,0,0,0.08); border: 1px solid var(--border); }
.hero-shot.main { display: block; margin: 0 auto; position: relative; z-index: 2; }
.hero-shot.secondary { position: absolute; top: 12%; width: 44%; z-index: 1; opacity: 0.96; }
.hero-shot.secondary.left { left: -2%; transform: rotate(-6deg); }
.hero-shot.secondary.right { right: -2%; transform: rotate(6deg); }

@media (max-width: 700px) {
  .hero-shot { width: 100%; }
  .hero-shot.secondary { display: none; }
}

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--surface); }
.section-title { text-align: center; margin: 0 0 28px; font-size: clamp(22px, 3vw, 32px); }

.grid.features { display: grid; grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) ); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: 0 10px 24px rgba(16,24,40,0.06); }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: #3c5560; }

/* Feature split blocks */
.feature-split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 28px; align-items: center; }
.feature-copy { display: grid; gap: 10px; }
.feature-copy .section-title { text-align: left; margin-bottom: 6px; }
.feature-copy .bullets { margin: 6px 0 0; padding: 0 0 0 18px; color: #3c5560; }
.feature-media { display: grid; place-items: center; }
.feature-media img { width: 65%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.feature-split.reverse .feature-copy { order: 2; }
.feature-split.reverse .feature-media { order: 1; }

/* Integrations strip */
.integrations { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.integrations .label { color: var(--muted); font-weight: 800; margin-right: 4px; }
.integrations img { height: 22px; width: auto; filter: saturate(0.96) contrast(1.05); opacity: 0.94; }

/* Integrations list (prominent) */
.integrations-list { display: grid; grid-template-columns: repeat( auto-fit, minmax(180px, 1fr) ); gap: 12px; margin-top: 10px; padding: 0; list-style: none; }
.integrations-list li { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; box-shadow: 0 4px 12px rgba(16,24,40,0.05); }
.integrations-list img { height: 28px; width: auto; }
.integrations-list span { font-weight: 800; color: var(--text); }

@media (max-width: 700px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse .feature-copy { order: 2; }
  .feature-split.reverse .feature-media { order: 1; }
  .feature-media img { width: 100%; }
}

/* Screenshots grid */
.screens-grid { display: grid; grid-template-columns: repeat( auto-fit, minmax(260px, 1fr) ); gap: 16px; }
.shot { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 20px rgba(16,24,40,0.06); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 12px; color: var(--muted); font-weight: 700; }

/* FAQ */
.faq { display: grid; grid-auto-rows: minmax(100px, auto); gap: 16px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: 0 6px 16px rgba(16,24,40,0.05); }
.faq-item h3 { margin: 0 0 8px; font-size: 18px; }
.faq-item p { margin: 0; color: #3c5560; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps .step-card { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: 0 4px 14px rgba(16,24,40,0.05); }
.step-num { width: 48px; height: 48px; display: grid; place-items: center; background: var(--primary-weak); color: var(--primary); font-weight: 900; border-radius: 12px; font-size: 18px; }
.step-title { margin: 0 0 6px; }
.step-desc { margin: 0; color: #3c5560; }
.step-tags { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-block; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: #f7fbfd; color: #0e2a33; font-weight: 700; font-size: 12px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) ); gap: 16px; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; position: relative; }
.price { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.price-card .badge { position: absolute; top: 14px; right: 14px; background: var(--primary-weak); color: var(--primary); padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; }
.price-card.highlight { outline: 1px solid var(--ring); box-shadow: 0 10px 30px var(--shadow); }

/* Pricing chips */
.chips { display: flex; gap: 8px; justify-content: center; margin: 6px 0 8px; flex-wrap: wrap; }
.chip { display: inline-block; padding: 6px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; border: 1px solid var(--border); }
.chip.primary { background: var(--primary); color: #fff; border-color: transparent; }
.chip.note { background: #f7fbfd; color: #0e2a33; }

/* Download */
.center { text-align: center; color: var(--muted); }
.stores { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.store-badge { padding: 10px 14px; border-radius: 12px; border: 1px dashed rgba(255,255,255,0.18); color: var(--muted); }
.store-badge.ghost { opacity: 0.8; }
.cta.bottom { margin-top: 18px; }

/* Store images */
.store-img { height: 44px; width: auto; display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; flex-wrap: wrap; }
.footer-inner .left { display: flex; align-items: center; gap: 10px; color: #546a74; }
.footer-inner .left img { width: 36px; height: auto; }
.footer-inner .right { display: flex; gap: 14px; }
.footer-inner a { color: #546a74; text-decoration: none; }
.footer-inner a:hover { color: #0e1b21; }

/* Mobile navigation */
@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 66px 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--border); display: none; flex-direction: column; gap: 0; padding: 10px 5%; }
  .nav a { padding: 12px 10px; border-radius: 10px; }
  .nav a:hover { background: var(--surface-alt); }
  body.nav-open .nav { display: flex; }

  /* Mobile hero optimizations */
  .hero { padding: 88px 0 56px; }
  .hero h1 { white-space: normal; }
  .lead { font-size: 16px; }
  .hero-visual { width: 100%; }
  .hero-shot { width: 88%; margin-left: auto; margin-right: auto; }
  .hero-shot.main { max-height: 50vh; }

  /* Feature media sizing on small screens */
  .feature-media img { width: 50%; height: auto; margin-left: auto; margin-right: auto; }

  /* Do not reverse order on small screens */
  .feature-split.reverse .feature-copy { order: 1; }
  .feature-split.reverse .feature-media { order: 2; }

  /* Tighter section spacing on mobile */
  .section { padding: 60px 0; }

  /* Slightly smaller store badges */
  .store-img { height: 40px; }

  /* Footer: stack and wrap to avoid horizontal overflow */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-inner .right { flex-wrap: wrap; gap: 10px 14px; }
}

/* Desktop header CTA */
@media (min-width: 901px) {
  .header-cta { display: inline-flex; }
}

/* A11y utilities */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 1px, 1px); white-space: nowrap; border: 0; }


