*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --brand:       #6d28d9;
      --brand-light: #a78bfa;
      --brand-glow:  rgba(109,40,217,0.25);
      --bg:          #030712;
      --bg-card:     #0f172a;
      --border:      rgba(255,255,255,0.07);
      --text:        #e2e8f0;
      --muted:       #94a3b8;
      --green:       #4ade80;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Inter', sans-serif;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px 16px;
      overflow-x: hidden;
    }

    /* Background effects */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 50% at 50% -5%, rgba(109,40,217,0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 80% 80%, rgba(109,40,217,0.07) 0%, transparent 60%);
      pointer-events: none;
      z-index: 0;
    }

    /* Grid pattern */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
      background-size: 50px 50px;
      pointer-events: none;
      z-index: 0;
    }

    .wrap {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 520px;
      text-align: center;
    }

    /* Logo */
    .logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 48px;
      text-decoration: none;
    }
    .logo-mark {
      width: 36px; height: 36px;
      background: var(--brand);
      border-radius: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Outfit', sans-serif;
      font-weight: 800;
      font-size: 1.1rem;
      color: white;
    }
    .logo-text {
      font-family: 'Outfit', sans-serif;
      font-weight: 700;
      font-size: 1.15rem;
      color: var(--text);
    }
    .logo-text span { color: var(--brand-light); }

    /* Badge */
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(109,40,217,0.12);
      border: 1px solid rgba(109,40,217,0.3);
      border-radius: 50px;
      padding: 6px 14px;
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--brand-light);
      letter-spacing: 0.3px;
      margin-bottom: 24px;
    }
    .badge-dot {
      width: 6px; height: 6px;
      background: var(--green);
      border-radius: 50%;
      animation: pulse 2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.8); }
    }

    /* Heading */
    h1 {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(2rem, 6vw, 3rem);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -1px;
      margin-bottom: 16px;
      color: #f8fafc;
    }
    h1 .gradient {
      background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .subtitle {
      font-size: 1rem;
      color: var(--muted);
      line-height: 1.7;
      margin-bottom: 36px;
      max-width: 420px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Workflow list */
    .workflows {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 36px;
      text-align: left;
    }
    .workflow-item {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 12px 16px;
      font-size: 0.875rem;
      color: var(--text);
      transition: border-color 0.2s;
    }
    .workflow-item:hover { border-color: rgba(109,40,217,0.3); }
    .workflow-icon {
      width: 32px; height: 32px;
      background: rgba(109,40,217,0.15);
      border-radius: 7px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 0.9rem;
    }
    .workflow-name { font-weight: 500; flex: 1; }
    .workflow-tag {
      font-size: 0.7rem;
      font-weight: 600;
      color: var(--green);
      background: rgba(74,222,128,0.1);
      border: 1px solid rgba(74,222,128,0.2);
      padding: 2px 8px;
      border-radius: 4px;
    }

    /* Form card */
    .card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 32px 28px;
      margin-bottom: 24px;
    }

    .form-group { margin-bottom: 12px; }
    input[type="text"],
    input[type="email"] {
      width: 100%;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 13px 16px;
      color: var(--text);
      font-family: 'Inter', sans-serif;
      font-size: 0.95rem;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    input::placeholder { color: #475569; }
    input:focus {
      border-color: rgba(109,40,217,0.5);
      box-shadow: 0 0 0 3px rgba(109,40,217,0.12);
    }

    .btn-submit {
      width: 100%;
      background: var(--brand);
      color: white;
      border: none;
      border-radius: 10px;
      padding: 14px;
      font-family: 'Outfit', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      cursor: pointer;
      margin-top: 4px;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
      box-shadow: 0 4px 20px rgba(109,40,217,0.35);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .btn-submit:hover {
      background: #5b21b6;
      transform: translateY(-1px);
      box-shadow: 0 6px 28px rgba(109,40,217,0.45);
    }
    .btn-submit:active { transform: translateY(0); }
    .btn-submit svg { flex-shrink: 0; }

    .privacy-note {
      font-size: 0.75rem;
      color: #475569;
      margin-top: 14px;
    }
    .privacy-note a { color: var(--muted); text-decoration: underline; }

    /* Success state */
    .success-box {
      background: rgba(74,222,128,0.07);
      border: 1px solid rgba(74,222,128,0.2);
      border-radius: 16px;
      padding: 40px 28px;
      margin-bottom: 24px;
    }
    .success-icon {
      width: 56px; height: 56px;
      background: rgba(74,222,128,0.15);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
    }
    .success-box h2 {
      font-family: 'Outfit', sans-serif;
      font-size: 1.4rem;
      font-weight: 700;
      color: #f8fafc;
      margin-bottom: 10px;
    }
    .success-box p {
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.6;
    }
    .success-box p strong { color: var(--green); }

    /* Error */
    .error-msg {
      background: rgba(239,68,68,0.08);
      border: 1px solid rgba(239,68,68,0.2);
      border-radius: 8px;
      padding: 10px 14px;
      font-size: 0.85rem;
      color: #f87171;
      margin-bottom: 12px;
      text-align: left;
    }

    /* Footer note */
    .foot-note {
      font-size: 0.78rem;
      color: #334155;
    }
    .foot-note a {
      color: #475569;
      text-decoration: none;
    }
    .foot-note a:hover { color: var(--muted); }

    /* Animations */
    .wrap { animation: fadeUp 0.5s ease both; }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 480px) {
      .card { padding: 24px 18px; }
      h1 { font-size: 1.8rem; }
    }