 :root { --cyan: #00d4ff; --gold: #f5c842; --dark: #07090e; --border: rgba(255,255,255,0.08); }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--dark);
      color: #e2e8f0;
      min-height: 100vh;
      display: flex; flex-direction: column;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    h1,h2,h3,h4,h5 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }

    /* Background */
    .bg-mesh {
      position: fixed; inset: 0; z-index: 0; pointer-events: none;
      background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(0,212,255,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 90%, rgba(245,200,66,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(0,212,255,0.04) 0%, transparent 70%);
    }
    .grid-lines {
      position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.025;
      background-image: linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
                        linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
      background-size: 60px 60px;
    }

    .logo-icon {
      width: 34px; height: 34px; background: var(--cyan);
      border-radius: 8px; display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .back-btn {
      display: flex; align-items: center; gap: 6px;
      font-size: 13px; color: #64748b; text-decoration: none;
      transition: color 0.2s;
    }
    .back-btn:hover { color: #e2e8f0; }

    /* Main layout */
    .page-wrapper {
      flex: 1; display: flex; align-items: center; justify-content: center;
      padding: 16px 20px; position: relative; z-index: 1;
      margin-top: -65px;
    }

    @media (max-width: 640px) {
      .page-wrapper {
        align-items: flex-start;
        padding: 12px 16px 32px;
      }
      .page-header { margin-bottom: 24px; }
      .page-header h1 { font-size: 26px; }
      .trial-bar { gap: 16px; padding: 12px 16px; }
    }

    .auth-container {
      width: 100%; max-width: 880px;
      animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1);
    }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(32px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* Header */
    .page-header {
      text-align: center; margin-bottom: 16px;
    }
    .page-header .badge-pill {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(0,212,255,0.08);
      border: 1px solid rgba(0,212,255,0.2);
      border-radius: 20px; padding: 6px 16px;
      font-size: 12px; font-weight: 600; color: var(--cyan);
      margin-bottom: 20px; letter-spacing: 0.5px;
    }
    .badge-pill .dot {
      width: 6px; height: 6px; background: var(--cyan);
      border-radius: 50%; animation: pulse 2s infinite;
    }
    @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

    .page-header h1 {
      font-size: clamp(28px, 5vw, 42px);
      line-height: 1.1; margin-bottom: 12px;
      background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .page-header p { color: #64748b; font-size: 15px; }

    /* Cards grid */
    .cards-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 20px; margin-bottom: 20px;
    }
    @media (max-width: 640px) {
      .cards-grid { grid-template-columns: 1fr; }
    }

    /* Auth card */
    .auth-card {
      background: rgba(15,23,42,0.7);
      border: 1px solid var(--border);
      border-radius: 20px; padding: 32px;
      backdrop-filter: blur(20px);
      cursor: pointer; transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
      text-decoration: none; color: inherit;
      display: flex; flex-direction: column;
      position: relative; overflow: hidden;
    }
    .auth-card::before {
      content: ''; position: absolute; inset: 0;
      border-radius: 20px; opacity: 0;
      transition: opacity 0.3s;
    }
    .auth-card.card-signup::before {
      background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, transparent 60%);
      border: 1px solid rgba(0,212,255,0.3);
    }
    .auth-card.card-login::before {
      background: linear-gradient(135deg, rgba(245,200,66,0.05) 0%, transparent 60%);
      border: 1px solid rgba(245,200,66,0.3);
    }
    .auth-card:hover { transform: translateY(-4px); }
    .auth-card:hover::before { opacity: 1; }
    .auth-card.card-signup:hover { border-color: rgba(0,212,255,0.4); box-shadow: 0 20px 60px rgba(0,212,255,0.1); }
    .auth-card.card-login:hover  { border-color: rgba(245,200,66,0.4); box-shadow: 0 20px 60px rgba(245,200,66,0.08); }

    /* Recommended badge */
    .rec-badge {
      position: absolute; top: -1px; right: 24px;
      background: var(--cyan); color: #07090e;
      font-size: 10px; font-weight: 800;
      padding: 4px 12px; border-radius: 0 0 8px 8px;
      letter-spacing: 0.8px; text-transform: uppercase;
    }

    .card-icon {
      width: 52px; height: 52px; border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px; flex-shrink: 0;
    }
    .card-signup .card-icon { background: rgba(0,212,255,0.1); color: var(--cyan); }
    .card-login  .card-icon { background: rgba(245,200,66,0.1); color: var(--gold); }

    .card-title {
      font-size: 20px; font-weight: 700; margin-bottom: 6px; color: #f1f5f9;
    }
    .card-subtitle { font-size: 13px; color: #64748b; margin-bottom: 24px; line-height: 1.5; }

    .feature-list { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
    .feature-list li {
      display: flex; align-items: center; gap: 10px;
      font-size: 13px; color: #94a3b8;
    }
    .feature-list li .check {
      width: 18px; height: 18px; border-radius: 5px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .card-signup .check { background: rgba(0,212,255,0.15); color: var(--cyan); }
    .card-login  .check { background: rgba(245,200,66,0.15); color: var(--gold); }

    .card-cta {
      margin-top: auto; border-radius: 10px;
      padding: 13px 20px; font-weight: 700; font-size: 14px;
      text-align: center; transition: all 0.2s;
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .card-signup .card-cta {
      background: var(--cyan); color: #07090e;
      box-shadow: 0 4px 20px rgba(0,212,255,0.25);
    }
    .card-login .card-cta {
      background: rgba(245,200,66,0.12);
      border: 1px solid rgba(245,200,66,0.3);
      color: var(--gold);
    }
    .auth-card:hover .card-cta { transform: scale(1.02); }

    /* Trial info bar */
    .trial-bar {
      background: rgba(255,255,255,0.02);
      border: 1px solid var(--border);
      border-radius: 14px; padding: 16px 24px;
      display: flex; align-items: center; justify-content: center;
      gap: 32px; flex-wrap: wrap;
    }
    .trial-stat {
      display: flex; align-items: center; gap: 8px;
      font-size: 13px; color: #64748b;
    }
    .trial-stat .dot2 {
      width: 6px; height: 6px; border-radius: 50%; background: #10b981;
    }
    .trial-stat strong { color: #e2e8f0; }
    .cards-grid { position: relative; }