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

  :root {
    --bg:       #0a0b0e;
    --surface:  #111318;
    --surface2: #171b22;
    --surface3: #1e2330;
    --border:   #252b38;
    --border2:  #2e3547;
    --text:     #e8eaf0;
    --text2:    #8b94a8;
    --text3:    #4a5368;
    --green:    #00d97e;
    --green-dim:#00d97e18;
    --green-mid:#00d97e40;
    --red:      #ff4757;
    --blue:     #4a9eff;
    --mono:     'JetBrains Mono', monospace;
    --sans:     'Inter', sans-serif;
  }

  html, body {
    height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
  }

  /* ── Background grid texture ── */
  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background-image:
      linear-gradient(rgba(0,217,126,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,217,126,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
  }

  /* ── Glow orbs ── */
  .orb {
    position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0;
  }
  .orb-1 { width: 500px; height: 500px; background: rgba(0,217,126,0.06); top: -150px; right: -100px; }
  .orb-2 { width: 400px; height: 400px; background: rgba(74,158,255,0.05); bottom: -100px; left: -100px; }

  /* ── Screen system ── */
  .screen { display: none; position: relative; z-index: 1; min-height: 100vh; }
  .screen.active { display: flex; }

  /* ── Auth layout ── */
  .auth-wrap {
    min-height: 100vh; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr;
  }

  /* Left panel */
  .auth-left {
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 48px; background: var(--surface);
    border-right: 1px solid var(--border);
    position: relative; overflow: hidden;
  }
  .auth-left::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,217,126,0.04) 0%, transparent 60%);
    pointer-events: none;
  }

  .auth-brand { display: flex; align-items: center; gap: 12px; }
  .auth-brand-icon {
    width: 40px; height: 40px; background: var(--green-dim);
    border: 1px solid var(--green-mid); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
  }
  .auth-brand-name {
    font-size: 20px; font-weight: 700; letter-spacing: -0.5px; color: var(--text);
  }
  .auth-brand-sub {
    font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text3); margin-top: 1px;
  }

  .auth-hero { padding: 20px 0; }
  .auth-hero-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--green-dim); border: 1px solid var(--green-mid);
    border-radius: 20px; padding: 5px 12px;
    font-size: 11px; font-weight: 600; color: var(--green);
    letter-spacing: 0.5px; margin-bottom: 28px;
  }
  .auth-hero-tag::before { content: '●'; font-size: 7px; }
  .auth-hero-title {
    font-size: 38px; font-weight: 700; letter-spacing: -1.5px;
    line-height: 1.1; color: var(--text); margin-bottom: 16px;
  }
  .auth-hero-title span { color: var(--green); }
  .auth-hero-desc {
    font-size: 14px; color: var(--text2); line-height: 1.7; max-width: 340px;
  }

  .auth-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border); border-radius: 12px; overflow: hidden;
  }
  .auth-stat {
    background: var(--surface2); padding: 16px;
  }
  .auth-stat-val {
    font-family: var(--sans); font-size: 20px; font-weight: 600;
    color: var(--green); letter-spacing: -0.5px;
  }
  .auth-stat-label { font-size: 10px; color: var(--text3); margin-top: 4px; letter-spacing: 0.5px; }

  /* Right panel */
  .auth-right {
    display: flex; align-items: center; justify-content: center;
    padding: 48px; background: var(--bg);
  }

  .auth-card {
    width: 100%; max-width: 400px;
  }
  .auth-card-title {
    font-size: 24px; font-weight: 700; letter-spacing: -0.5px;
    margin-bottom: 6px;
  }
  .auth-card-sub {
    font-size: 13px; color: var(--text2); margin-bottom: 32px;
  }
  .auth-card-sub a {
    color: var(--green); text-decoration: none; font-weight: 500;
  }
  .auth-card-sub a:hover { text-decoration: underline; }

  /* Form */
  .form-field { margin-bottom: 16px; }
  .form-label {
    display: block; font-size: 11px; font-weight: 600;
    letter-spacing: 0.8px; text-transform: uppercase;
    color: var(--text3); margin-bottom: 7px;
  }
  .form-input {
    width: 100%; background: var(--surface);
    border: 1px solid var(--border); border-radius: 9px;
    color: var(--text); font-family: var(--sans); font-size: 14px;
    padding: 12px 14px; outline: none; transition: border-color 0.15s;
  }
  .form-input::placeholder { color: var(--text3); }
  .form-input:focus { border-color: var(--green); }
  .form-input-wrap { position: relative; }
  .form-input-icon {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    color: var(--text3); cursor: pointer; font-size: 15px; user-select: none;
  }
  .form-input-icon:hover { color: var(--text2); }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  .form-hint { font-size: 11px; color: var(--text3); margin-top: 5px; }
  .form-error { font-size: 11px; color: var(--red); margin-top: 5px; display: none; }
  .form-input.invalid { border-color: var(--red); }
  .form-input.valid   { border-color: var(--green); }
  .security-badge {
    display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
    background: rgba(0,217,126,0.06); border: 1px solid rgba(0,217,126,0.15);
    border-radius: 8px; padding: 9px 12px; font-size: 11px; color: var(--text3);
  }
  .security-badge span { color: var(--green); font-size: 13px; }
  .alert-banner {
    background: rgba(255,71,87,0.08); border: 1px solid rgba(255,71,87,0.25);
    border-radius: 8px; padding: 10px 14px; margin-bottom: 16px;
    font-size: 12px; color: var(--red); display: none; line-height: 1.5;
  }
  .btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

  .form-forgot {
    text-align: right; font-size: 12px; color: var(--text3);
    margin-top: -8px; margin-bottom: 16px;
  }
  .form-forgot a { color: var(--text2); text-decoration: none; }
  .form-forgot a:hover { color: var(--green); }

  /* Buttons — scoped to auth forms only */
  .auth-card .btn-primary {
    width: 100%; padding: 13px; border-radius: 9px; border: none;
    background: var(--green); color: #000;
    font-family: var(--sans); font-size: 14px; font-weight: 700;
    cursor: pointer; transition: all 0.15s; letter-spacing: 0.2px;
  }
  .auth-card .btn-primary:hover { background: #00f090; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,217,126,0.3); }
  .auth-card .btn-primary:active { transform: translateY(0); }

  .btn-secondary {
    width: 100%; padding: 12px; border-radius: 9px;
    background: transparent; border: 1px solid var(--border);
    color: var(--text2); font-family: var(--sans); font-size: 13px;
    cursor: pointer; transition: all 0.15s; display: flex;
    align-items: center; justify-content: center; gap: 8px;
  }
  .btn-secondary:hover { border-color: var(--border2); color: var(--text); background: var(--surface); }

  .divider {
    display: flex; align-items: center; gap: 12px; margin: 20px 0;
    font-size: 11px; color: var(--text3);
  }
  .divider::before, .divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
  }

  /* Terms */
  .form-terms {
    font-size: 11px; color: var(--text3); text-align: center; margin-top: 16px; line-height: 1.6;
  }
  .form-terms a { color: var(--text2); text-decoration: none; }
  .form-terms a:hover { color: var(--green); }

  /* Password strength */
  .pwd-strength { margin-top: 8px; }
  .pwd-bars { display: flex; gap: 4px; margin-bottom: 5px; }
  .pwd-bar { height: 3px; flex: 1; border-radius: 2px; background: var(--border); transition: background 0.2s; }
  .pwd-bar.weak   { background: var(--red); }
  .pwd-bar.medium { background: #f59e0b; }
  .pwd-bar.strong { background: var(--green); }
  .pwd-label { font-size: 10px; color: var(--text3); }

  /* ── Pricing screen ── */
  .pricing-wrap {
    min-height: 100vh; width: 100%;
    display: flex; flex-direction: column; align-items: center;
    padding: 60px 24px;
  }
  .pricing-back {
    align-self: flex-start; background: none; border: none;
    color: var(--text3); font-family: var(--sans); font-size: 13px;
    cursor: pointer; display: flex; align-items: center; gap: 6px;
    margin-bottom: 48px; padding: 0; transition: color 0.15s;
  }
  .pricing-back:hover { color: var(--text2); }

  .pricing-header { text-align: center; margin-bottom: 56px; }
  .pricing-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--green-dim); border: 1px solid var(--green-mid);
    border-radius: 20px; padding: 5px 14px;
    font-size: 11px; font-weight: 600; color: var(--green);
    margin-bottom: 20px;
  }
  .pricing-title {
    font-size: 44px; font-weight: 700; letter-spacing: -2px;
    line-height: 1.1; margin-bottom: 14px;
  }
  .pricing-title span { color: var(--green); }
  .pricing-sub { font-size: 15px; color: var(--text2); max-width: 480px; margin: 0 auto; line-height: 1.6; }

  /* Billing toggle */
  .billing-toggle {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 48px; font-size: 13px; color: var(--text2);
  }
  .toggle-switch {
    width: 44px; height: 24px; background: var(--surface2);
    border: 1px solid var(--border); border-radius: 12px;
    cursor: pointer; position: relative; transition: background 0.2s;
  }
  .toggle-switch.on { background: var(--green); border-color: var(--green); }
  .toggle-knob {
    position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
    background: var(--text3); border-radius: 50%; transition: all 0.2s;
  }
  .toggle-switch.on .toggle-knob { left: 23px; background: #000; }
  .billing-save {
    background: var(--green-dim); border: 1px solid var(--green-mid);
    border-radius: 6px; padding: 2px 8px; font-size: 10px;
    color: var(--green); font-weight: 600;
  }

  /* Plans grid */
  .plans-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px; width: 100%; max-width: 900px; margin-bottom: 48px;
  }

  .plan-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: 28px; position: relative;
    transition: border-color 0.2s, transform 0.2s;
    display: flex; flex-direction: column;
  }
  .plan-card:hover { border-color: var(--border2); transform: translateY(-2px); }
  .plan-card.featured {
    border-color: var(--green); background: var(--surface);
    box-shadow: 0 0 40px rgba(0,217,126,0.08);
  }
  .plan-card.featured::before {
    content: 'MÁS POPULAR';
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    background: var(--green); color: #000;
    font-size: 9px; font-weight: 800; letter-spacing: 1.5px;
    padding: 4px 12px; border-radius: 10px;
  }

  .plan-name { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text3); margin-bottom: 16px; }
  .plan-price {
    display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px;
  }
  .plan-currency { font-size: 20px; font-weight: 600; color: var(--text2); }
  .plan-amount { font-family: var(--sans); font-size: 48px; font-weight: 700; letter-spacing: -2px; color: var(--text); line-height: 1; }
  .plan-period { font-size: 13px; color: var(--text3); }
  .plan-price-sub { font-size: 11px; color: var(--text3); margin-bottom: 24px; min-height: 16px; }

  .plan-divider { height: 1px; background: var(--border); margin-bottom: 20px; }

  .plan-features { list-style: none; flex: 1; margin-bottom: 24px; }
  .plan-features li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: var(--text2); padding: 7px 0;
    border-bottom: 1px solid var(--border);
  }
  .plan-features li:last-child { border-bottom: none; }
  .plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
  .plan-features li.off { color: var(--text3); }
  .plan-features li.off::before { content: '—'; color: var(--text3); font-weight: 400; }

  .btn-plan {
    width: 100%; padding: 13px; border-radius: 9px;
    font-family: var(--sans); font-size: 13px; font-weight: 700;
    cursor: pointer; transition: all 0.15s;
  }
  .btn-plan-outline {
    background: transparent; border: 1px solid var(--border); color: var(--text2);
  }
  .btn-plan-outline:hover { border-color: var(--border2); color: var(--text); background: var(--surface2); }
  .btn-plan-primary { background: var(--green); border: none; color: #000; }
  .btn-plan-primary:hover { background: #00f090; box-shadow: 0 4px 20px rgba(0,217,126,0.25); }

  /* FAQ strip */
  /* Founder card */
  .founder-card {
    border-color: #f59e0b;
    background: linear-gradient(135deg, var(--surface) 0%, rgba(245,158,11,0.04) 100%);
    box-shadow: 0 0 40px rgba(245,158,11,0.07);
  }
  .founder-card:hover { border-color: #fbbf24; }
  .founder-card::before {
    content: 'OFERTA LIMITADA';
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(90deg,#f59e0b,#fbbf24);
    color: #000; font-size: 9px; font-weight: 800; letter-spacing: 1.5px;
    padding: 4px 12px; border-radius: 10px;
  }
  .founder-name { color: #f59e0b !important; }
  .founder-sub  { margin-bottom: 0; }
  .founder-spots {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3);
    border-radius: 6px; padding: 3px 10px;
    font-size: 11px; font-weight: 600; color: #f59e0b;
  }
  .btn-founder {
    width: 100%; padding: 13px; border-radius: 9px;
    background: linear-gradient(90deg,#f59e0b,#fbbf24);
    border: none; color: #000;
    font-family: var(--sans); font-size: 13px; font-weight: 700;
    cursor: pointer; transition: all 0.15s;
  }
  .btn-founder:hover { opacity: 0.9; box-shadow: 0 4px 20px rgba(245,158,11,0.3); transform: translateY(-1px); }

  .pricing-footer {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center;
    font-size: 12px; color: var(--text3);
  }
  .pricing-footer span { display: flex; align-items: center; gap: 6px; }
  .pricing-footer span::before { content: '✓'; color: var(--green); font-weight: 700; }

  /* ── Nav tabs (demo only) ── */
  .demo-nav {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 12px; padding: 6px;
    z-index: 100;
  }
  .demo-btn {
    background: none; border: none; color: var(--text3);
    font-family: var(--sans); font-size: 11px; font-weight: 600;
    padding: 7px 16px; border-radius: 7px; cursor: pointer;
    transition: all 0.12s; letter-spacing: 0.3px;
  }
  .demo-btn:hover { color: var(--text2); background: var(--surface2); }
  .demo-btn.active { background: var(--surface2); color: var(--text); }

  /* Animations */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .screen.active .auth-card,
  .screen.active .pricing-header,
  .screen.active .plans-grid { animation: fadeUp 0.4s ease both; }
  .screen.active .auth-left  { animation: fadeUp 0.35s ease both; }

  @media (max-width: 900px) {
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-left { display: none; }
    .auth-right { padding: 40px 32px; }
    .plans-grid { grid-template-columns: 1fr; max-width: 400px; }
  }

  @media (max-width: 480px) {
    .auth-right { padding: 36px 24px; }
    .auth-card { max-width: 100%; }
  }

  @media (max-width: 380px) {
    .auth-right { padding: 28px 18px; }
  }

