  :root {
    --bg: #0A0E1A;
    --surface: #141824;
    --surface2: #1C2233;
    --cyan: #00D4FF;
    --green: #00FF87;
    --white: #FFFFFF;
    --gray: #8892A4;
    --gray2: #4A5568;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
  }

  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.2rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(10,14,26,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,212,255,0.1);
  }
  .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .nav-logo img { width: 36px; height: auto; object-fit: contain; }
  .nav-logo span { font-size: 1.1rem; font-weight: 700; color: var(--white); letter-spacing: 3px; }
  .nav-cta {
    background: transparent;
    color: var(--cyan);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    font-weight: 700; font-size: 0.85rem;
    letter-spacing: 1px; cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: rgba(0,212,255,0.08); }

  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative; overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,212,255,0.06) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
  .particle {
    position: absolute; width: 2px; height: 2px;
    background: var(--cyan); border-radius: 50%;
    opacity: 0; animation: float-up linear infinite;
  }
  @keyframes float-up {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    10% { opacity: 1; } 90% { opacity: 0.5; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1.5); }
  }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,255,135,0.08);
    border: 1px solid rgba(0,255,135,0.25);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem; font-weight: 600;
    color: var(--green); letter-spacing: 2px;
    margin-bottom: 2rem;
    animation: fade-in 0.8s ease both;
  }
  .badge-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.5)} }

  .hero-logo {
    width: 90px; height: auto; object-fit: contain;
    margin-bottom: 2rem;
    animation: fade-in 1s ease 0.2s both;
    filter: drop-shadow(0 0 30px rgba(0,212,255,0.25));
  }
  .hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900; letter-spacing: 6px; line-height: 1;
    animation: fade-up 0.9s ease 0.3s both;
    background: linear-gradient(135deg, #fff 0%, var(--cyan) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  }
  .hero-sub {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--gray); margin-top: 1.2rem; max-width: 520px;
    animation: fade-up 0.9s ease 0.45s both;
  }
  .hero-sub span { color: var(--cyan); font-weight: 600; }

  /* WAITLIST FORM */
  .waitlist-box {
    margin-top: 2.5rem; width: 100%; max-width: 480px;
    animation: fade-up 0.9s ease 0.6s both;
  }
  .waitlist-label {
    font-size: 0.75rem; color: var(--gray); letter-spacing: 2px;
    margin-bottom: 0.8rem; text-align: center;
  }
  .waitlist-form {
    display: flex; gap: 0;
    background: var(--surface2);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 12px; overflow: hidden;
  }
  .waitlist-input {
    flex: 1; background: transparent;
    border: none; outline: none;
    padding: 0.9rem 1.2rem;
    color: var(--white); font-size: 0.95rem;
  }
  .waitlist-input::placeholder { color: var(--gray2); }
  .waitlist-btn {
    background: var(--cyan); color: var(--bg);
    border: none; padding: 0.9rem 1.4rem;
    font-weight: 800; font-size: 0.85rem;
    letter-spacing: 1px; cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
  }
  .waitlist-btn:hover { opacity: 0.9; }
  .waitlist-btn:disabled { opacity: 0.5; cursor: not-allowed; }
  .waitlist-msg {
    margin-top: 0.8rem; font-size: 0.82rem;
    text-align: center; display: none;
    padding: 0.6rem; border-radius: 8px;
  }
  .waitlist-msg.success { color: var(--green); background: rgba(0,255,135,0.08); border: 1px solid rgba(0,255,135,0.15); }
  .waitlist-msg.error { color: #FF6B6B; background: rgba(255,59,59,0.08); border: 1px solid rgba(255,59,59,0.15); }
  .waitlist-note { font-size: 0.75rem; color: var(--gray2); text-align: center; margin-top: 0.6rem; }

  .hero-scroll {
    margin-top: 3.5rem; animation: fade-in 1s ease 1s both;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--gray2); font-size: 0.75rem; letter-spacing: 2px;
  }
  .scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--cyan), transparent); animation: scroll-fade 2s ease infinite; }
  @keyframes scroll-fade { 0%,100%{opacity:0.3} 50%{opacity:1} }

  .stats-bar {
    background: var(--surface);
    border-top: 1px solid rgba(0,212,255,0.08);
    border-bottom: 1px solid rgba(0,212,255,0.08);
    padding: 2rem; display: flex; justify-content: center; flex-wrap: wrap;
  }
  .stat-item {
    flex: 1; min-width: 140px; max-width: 220px;
    text-align: center; padding: 1rem 2rem;
    border-right: 1px solid rgba(255,255,255,0.06);
  }
  .stat-item:last-child { border-right: none; }
  .stat-num { font-size: 2.2rem; font-weight: 900; color: var(--cyan); letter-spacing: 2px; display: block; }
  .stat-label { font-size: 0.75rem; color: var(--gray); letter-spacing: 2px; margin-top: 4px; }

  .section { padding: 6rem 2rem; max-width: 1100px; margin: 0 auto; }
  .section-label { font-size: 0.7rem; letter-spacing: 4px; color: var(--cyan); font-weight: 700; margin-bottom: 1rem; }
  .section-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; }
  .section-sub { color: var(--gray); font-size: 1.05rem; max-width: 480px; }

  .features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; margin-top: 3rem;
  }
  .feature-card {
    background: var(--surface); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px; padding: 2rem; position: relative; overflow: hidden;
    transition: transform 0.3s, border-color 0.3s; cursor: default;
  }
  .feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0; transition: opacity 0.3s;
  }
  .feature-card:hover { transform: translateY(-4px); border-color: rgba(0,212,255,0.2); }
  .feature-card:hover::before { opacity: 1; }
  .feature-icon {
    width: 48px; height: 48px; background: rgba(0,212,255,0.1);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.2rem; border: 1px solid rgba(0,212,255,0.15);
  }
  .feature-icon.green { background: rgba(0,255,135,0.1); border-color: rgba(0,255,135,0.15); }
  .feature-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
  .feature-desc { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

  .how-section {
    padding: 6rem 2rem;
    background: var(--surface);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .how-inner { max-width: 1100px; margin: 0 auto; }
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 3rem; }
  .step { text-align: center; padding: 2rem 1.5rem; }
  .step-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--cyan);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 900; color: var(--cyan);
    margin: 0 auto 1.5rem; transition: background 0.3s;
  }
  .step:hover .step-num { background: var(--cyan); color: var(--bg); }
  .step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
  .step-desc { color: var(--gray); font-size: 0.88rem; }

  .retos-grid { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
  .reto-pill {
    display: flex; align-items: center; gap: 10px;
    background: var(--surface2); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 100px; padding: 0.7rem 1.4rem;
    font-size: 0.9rem; font-weight: 600;
    transition: border-color 0.3s, transform 0.2s;
  }
  .reto-pill:hover { border-color: var(--cyan); transform: scale(1.03); }
  .reto-dot { width: 8px; height: 8px; border-radius: 50%; }
  .dot-cyan { background: var(--cyan); }
  .dot-green { background: var(--green); }
  .dot-purple { background: #A78BFA; }
  .dot-orange { background: #F59E0B; }
  .dot-gray { background: var(--gray); }

  .cta-section {
    padding: 7rem 2rem; text-align: center;
    position: relative; overflow: hidden;
  }
  .cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,255,135,0.04) 0%, transparent 70%);
    pointer-events: none;
  }
  .cta-section h2 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900; letter-spacing: 3px; margin-bottom: 1rem; line-height: 1.05; }
  .cta-section h2 span { color: var(--green); }
  .cta-section p { color: var(--gray); font-size: 1.1rem; max-width: 400px; margin: 0 auto 2rem; }

  footer {
    background: var(--surface); border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2.5rem 2rem; text-align: center;
  }
  .footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 1rem; }
  .footer-logo img { width: 28px; height: auto; }
  .footer-logo span { font-size: 0.9rem; font-weight: 700; letter-spacing: 3px; }
  footer p { color: var(--gray2); font-size: 0.8rem; }
  footer a { color: var(--gray); text-decoration: none; }
  footer a:hover { color: var(--cyan); }

  /* AUTH PAGES */
  .auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
  .auth-card {
    background: var(--surface); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px; padding: 3rem 2.5rem;
    width: 100%; max-width: 420px; text-align: center;
  }
  .auth-card img { width: 60px; height: auto; margin-bottom: 1.5rem; }
  .auth-card h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; }
  .auth-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 2rem; }
  .auth-input {
    width: 100%; background: var(--bg); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; padding: 0.9rem 1.2rem;
    color: var(--white); font-size: 1rem; outline: none; margin-bottom: 1rem;
    transition: border-color 0.2s;
  }
  .auth-input:focus { border-color: var(--cyan); }
  .auth-input::placeholder { color: var(--gray2); }
  .auth-btn {
    width: 100%; background: var(--cyan); color: var(--bg);
    border: none; border-radius: 10px; padding: 1rem;
    font-weight: 800; font-size: 1rem; letter-spacing: 1px; cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
  }
  .auth-btn:hover { opacity: 0.9; transform: translateY(-1px); }
  .auth-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
  .auth-msg { margin-top: 1rem; font-size: 0.85rem; padding: 0.8rem; border-radius: 8px; display: none; }
  .auth-msg.success { background: rgba(0,255,135,0.1); color: var(--green); border: 1px solid rgba(0,255,135,0.2); }
  .auth-msg.error { background: rgba(255,59,59,0.1); color: #FF6B6B; border: 1px solid rgba(255,59,59,0.2); }

  .confirmed-icon {
    width: 80px; height: 80px; background: rgba(0,255,135,0.1);
    border: 2px solid rgba(0,255,135,0.3); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 1.5rem; animation: pop 0.5s ease;
  }
  @keyframes pop { 0%{transform:scale(0);opacity:0} 70%{transform:scale(1.1)} 100%{transform:scale(1);opacity:1} }

  .glow-line { height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent); opacity: 0.3; }

  @keyframes fade-in { from{opacity:0} to{opacity:1} }
  @keyframes fade-up { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  @media (max-width: 600px) {
    .stat-item { min-width: 120px; }
    .auth-card { padding: 2rem 1.5rem; }
    nav { padding: 1rem; }
    .waitlist-form { flex-direction: column; border-radius: 12px; }
    .waitlist-btn { border-radius: 0 0 10px 10px; padding: 0.9rem; }
    .waitlist-input { border-radius: 10px 10px 0 0; }
  }

  /* password toggle */
  .input-with-toggle { position: relative; margin-bottom: 1rem; }
  .input-with-toggle .auth-input { margin-bottom: 0; padding-right: 3rem; }
  .pw-toggle {
    position: absolute; top: 0; right: 0; height: 100%; width: 3rem;
    background: transparent; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; padding: 0;
  }
  .pw-toggle .icon-eye-off { display: none; }
  .pw-toggle.is-visible .icon-eye { display: none; }
  .pw-toggle.is-visible .icon-eye-off { display: block; }
  .pw-toggle:hover svg { stroke: var(--cyan); }
