/* =============================================================
   OneStep ADHD — Stylesheet (Oura-inspired redesign)
   Sections:
   1. Reset & Variables
   2. Base
   3. Utilities
   4. Navigation
   5. Hero
   6. Trust Bar
   7. How It Works
   8. Manifesto
   9. Problem
   10. Founders
   11. CTA
   12. Footer
   13. Forms & Buttons
   14. Language Switch
   15. Animations
   16. Responsive
============================================================= */

/* ── 1. RESET & VARIABLES ───────────────────────────────────── */

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

:root {
  --teal:    #00D4CC;
  --blue:    #3B9EF8;
  --purple:  #8B5CF6;
  --magenta: #D946EF;
  --orange:  #FF7043;

  --dark:    #0F0F1A;
  --navy:    #1A1A35;
  --body:    #374151;
  --muted:   #6B7280;
  --border:  #E5E7EB;
  --light:   #F9FAFB;
  --white:   #FFFFFF;

  --grad-full: linear-gradient(135deg,
    var(--teal) 0%, var(--blue) 25%,
    var(--purple) 55%, var(--magenta) 80%,
    var(--orange) 100%);
  --grad-main: linear-gradient(135deg, var(--teal), var(--blue), var(--purple));
  --grad-warm: linear-gradient(135deg, var(--magenta), var(--orange));

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.06);
  --shadow:    0 8px 40px rgba(0,0,0,.10);
  --shadow-lg: 0 24px 80px rgba(0,0,0,.14);
}


/* ── 2. BASE ────────────────────────────────────────────────── */

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', 'Inter', sans-serif;
  background: var(--white);
  color: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

h1, h2, h3 { color: var(--dark); line-height: 1.15; }

h1 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }


/* ── 3. UTILITIES ───────────────────────────────────────────── */

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

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 6%;
}

section { padding: 100px 6%; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}


/* ── 4. NAVIGATION ──────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  padding: 0 6%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 200;
}

.logo-wrap img { height: 46px; }

.lang-toggle { display: flex; gap: 6px; }

.lang-btn {
  padding: 7px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}


/* ── 5. HERO ────────────────────────────────────────────────── */

.hero {
  min-height: auto;
  padding-top: 82px;
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  background: var(--white);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  padding: 56px 5% 88px 7%;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}


.hero h1 {
  max-width: 520px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.75;
}

.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: #f3f4f6;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero-image::after {
  content: none;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 16px;
  margin-bottom: 28px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.stat-num {
  font-size: 1.9rem;
  font-weight: 900;
  background: var(--grad-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
  line-height: 1.45;
  max-width: 180px;
  text-align: start;
}


/* ── 6. TRUST BAR ───────────────────────────────────────────── */

.trust-bar {
  background: var(--dark);
  padding: 28px 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.hero + .trust-bar {
  margin-top: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.6);
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-item .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.trust-item:nth-child(1) .dot { background: var(--teal); }
.trust-item:nth-child(2) .dot { background: var(--purple); }
.trust-item:nth-child(3) .dot { background: var(--magenta); }
.trust-item:nth-child(4) .dot { background: var(--orange); }


/* ── 7. HOW IT WORKS ────────────────────────────────────────── */

.how {
  background: var(--light);
}

.how-header {
  max-width: 580px;
  margin-bottom: 64px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.step-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.step:nth-child(1) .step-line { background: linear-gradient(90deg, var(--teal), var(--blue)); }
.step:nth-child(2) .step-line { background: linear-gradient(90deg, var(--blue), var(--purple)); }
.step:nth-child(3) .step-line { background: linear-gradient(90deg, var(--purple), var(--magenta)); }
.step:nth-child(4) .step-line { background: linear-gradient(90deg, var(--magenta), var(--orange)); }

.step-icon { font-size: 2rem; margin-bottom: 18px; }

.step-num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step h3 { margin-bottom: 10px; color: var(--dark); }
.step p  { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }


/* ── 8. MANIFESTO ───────────────────────────────────────────── */

.manifesto {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.12) 0%, transparent 65%);
  top: -200px; right: -100px;
  pointer-events: none;
}

.manifesto-inner {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.manifesto h2 { color: #fff; margin-bottom: 40px; }

.manifesto-line {
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}

.manifesto-line strong { color: #fff; font-weight: 700; }

.manifesto-big {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  line-height: 1.3;
  margin-top: 44px;
  background: var(--grad-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ── 9. PROBLEM ─────────────────────────────────────────────── */

.problem-header {
  max-width: 580px;
  margin-bottom: 64px;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.problem-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 34px 28px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.problem-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.problem-card:nth-child(1)::after { background: linear-gradient(90deg, var(--teal), var(--blue)); }
.problem-card:nth-child(2)::after { background: linear-gradient(90deg, var(--blue), var(--purple)); }
.problem-card:nth-child(3)::after { background: linear-gradient(90deg, var(--purple), var(--magenta)); }
.problem-card:nth-child(4)::after { background: linear-gradient(90deg, var(--magenta), var(--orange)); }

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
  background: var(--white);
}

.problem-card:hover::after { transform: scaleX(1); }

.problem-card .icon { font-size: 2.2rem; margin-bottom: 16px; }
.problem-card h3 { margin-bottom: 10px; }
.problem-card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }


/* ── 10. FOUNDERS ───────────────────────────────────────────── */

.founders {
  background: var(--light);
}

.founders-header {
  max-width: 580px;
  margin-bottom: 56px;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.founder-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 40px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.founder-card:nth-child(1)::before { background: var(--grad-main); }
.founder-card:nth-child(2)::before { background: var(--grad-warm); }

.founder-card:hover { box-shadow: var(--shadow); }

.founder-quote {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--body);
  font-style: italic;
  margin-bottom: 24px;
}

.founder-quote::before { content: '"'; font-size: 2rem; line-height: 0; vertical-align: -0.4em; opacity: .2; margin-inline-end: 4px; }

.founder-name {
  font-weight: 800;
  font-size: 1rem;
  background: var(--grad-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-title {
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 3px;
}


/* ── 11. CTA ────────────────────────────────────────────────── */

.cta {
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.15) 0%, transparent 60%);
  bottom: -300px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 { color: #fff; margin-bottom: 16px; }

.cta .section-sub {
  color: rgba(255,255,255,.6);
  margin: 0 auto 44px;
}

.cta .form-note { color: rgba(255,255,255,.35); }


/* ── 12. FOOTER ─────────────────────────────────────────────── */

footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 44px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.3);
}

.footer-logo {
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.35;
}

footer a { color: var(--teal); text-decoration: none; }

.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }


/* ── 13. FORMS & BUTTONS ────────────────────────────────────── */

.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 14px;
}

.waitlist-form input {
  flex: 1;
  min-width: 220px;
  padding: 15px 22px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.97rem;
  background: #fff;
  color: var(--dark);
  text-align: right;
  direction: rtl;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,.12);
}

.btn-primary {
  padding: 15px 30px;
  background: var(--grad-full);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,92,246,.4);
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.success-msg {
  display: none;
  background: rgba(139,92,246,.08);
  border: 1px solid rgba(139,92,246,.25);
  color: var(--purple);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 auto;
  max-width: 400px;
}

/* CTA form overrides */
.cta .waitlist-form input {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: #fff;
}
.cta .waitlist-form input::placeholder { color: rgba(255,255,255,.35); }
.cta .waitlist-form input:focus {
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
  background: rgba(255,255,255,.12);
}
.cta .success-msg {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}


/* ── 14. LANGUAGE SWITCH ────────────────────────────────────── */

body.en {
  direction: ltr;
  font-family: 'Inter', 'Heebo', sans-serif;
}

body.en .waitlist-form input {
  text-align: left;
  direction: ltr;
}

body.en .hero-content { padding: 80px 8% 80px 6%; }
body.en .footer-right { align-items: flex-start; }


/* ── 15. ANIMATIONS ─────────────────────────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── 16. RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image {
    height: 55vw;
    min-height: 300px;
    order: -1;
  }

  .hero-content {
    padding: 48px 6% 60px;
    align-items: center;
    text-align: center;
  }

  .hero h1 { max-width: 100%; }
  .hero-sub { max-width: 100%; }

  .hero-stats { justify-content: center; }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  section { padding: 72px 5%; }

  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }

  .steps { grid-template-columns: 1fr; }

  .trust-bar { gap: 22px; }

  .waitlist-form { flex-direction: column; }
  .waitlist-form input, .btn-primary { width: 100%; }

  .founder-card { padding: 28px 24px; }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right { align-items: center; }
}
