:root {
      --primary-color: #3b82f6;
      --primary-hover: #2563eb;
      --bg-dark: #0f172a;
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --glass-bg: rgba(255, 255, 255, 0.03);
      --glass-border: rgba(255, 255, 255, 0.08);
      --ok: #10b981;
      --warn: #f59e0b;
      --err: #ef4444;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-main);
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      line-height: 1.6;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }

    .page-wrap {
      max-width: 800px;
      margin: 0 auto;
      padding: 2rem 1.5rem 6rem;
      position: relative;
      z-index: 10;
    }

    .glass-card {
      background: var(--glass-bg);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--glass-border);
      border-radius: 24px;
      padding: 2.5rem;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
      margin-bottom: 2rem;
    }

    .header {
      text-align: center;
      margin-top: 4rem;
      margin-bottom: 3rem;
    }

    .badge {
      display: inline-block;
      background: rgba(59, 130, 246, 0.1);
      color: var(--primary-color);
      font-size: 0.8rem;
      font-weight: 600;
      padding: 0.4rem 1rem;
      border-radius: 99px;
      margin-bottom: 1rem;
      border: 1px solid rgba(59, 130, 246, 0.2);
    }

    h1 {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 800;
      background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 1rem;
    }

    .subtitle {
      color: var(--text-muted);
      font-size: 1.1rem;
      max-width: 600px;
      margin: 0 auto;
    }

    .card-title {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--primary-color);
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .form-grid {
      display: grid;
      gap: 1.5rem;
    }

    .field label {
      display: block;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: var(--text-main);
    }

    .field input {
      width: 100%;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      padding: 0.8rem 1rem;
      color: #fff;
      font-family: inherit;
      font-size: 1rem;
      transition: all 0.3s ease;
      outline: none;
    }

    .field input:focus {
      border-color: var(--primary-color);
      background: rgba(255, 255, 255, 0.06);
      box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    }

    .field input.invalid {
      border-color: var(--err);
      background: rgba(239, 68, 68, 0.05);
    }

    .hint {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 0.4rem;
    }

    .field-error {
      font-size: 0.8rem;
      color: var(--err);
      margin-top: 0.4rem;
      display: none;
    }

    .btn {
      background: var(--primary-color);
      color: #fff;
      border: none;
      border-radius: 12px;
      padding: 1rem 2rem;
      font-weight: 700;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      width: 100%;
      margin-top: 1rem;
    }

    .btn:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
    }

    .progress-wrap {
      display: none;
      margin-bottom: 2rem;
    }

    .progress-bar-bg {
      height: 8px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 99px;
      overflow: hidden;
    }

    .progress-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--primary-color), #60a5fa);
      width: 0%;
      transition: width 0.4s ease;
    }

    .score-row {
      display: flex;
      align-items: center;
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .score-ring {
      position: relative;
      width: 80px;
      height: 80px;
    }

    .score-ring svg { transform: rotate(-90deg); }

    .score-ring .track { stroke: rgba(255, 255, 255, 0.05); stroke-width: 8; fill: none; }
    .score-ring .fill { stroke-width: 8; stroke-linecap: round; fill: none; transition: stroke-dashoffset 1s ease; }

    .score-label {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.5rem;
    }

    .score-text h2 {
      margin: 0 0 0.5rem 0;
      font-size: 1.5rem;
    }

    .score-text p {
      margin: 0;
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    .check-list {
      list-style: none;
      padding: 0;
      display: grid;
      gap: 0.75rem;
    }

    .check-list li {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--glass-border);
      padding: 1rem;
      border-radius: 12px;
      display: flex;
      gap: 1rem;
      font-size: 0.95rem;
    }

    .check-list li span:first-child { font-weight: 700; }
    .check-list li.ok { border-left: 4px solid var(--ok); }
    .check-list li.warn { border-left: 4px solid var(--warn); }
    .check-list li.err { border-left: 4px solid var(--err); }

    .platform-grid {
      display: grid;
      gap: 0.75rem;
    }

    .platform-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.3s ease;
    }

    .platform-row.visible { opacity: 1; transform: translateY(0); }

    .pb-ok { color: var(--ok); }
    .pb-warn { color: var(--warn); }
    .pb-miss { color: var(--text-muted); opacity: 0.5; }

    .cta-box {
      background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
      padding: 3rem 2rem;
      text-align: center;
      border-radius: 24px;
      margin-top: 3rem;
    }

    .cta-box h3 {
      font-size: 1.75rem;
      margin-bottom: 1rem;
    }

    .btn-white {
      background: #fff;
      color: var(--primary-color);
      text-decoration: none;
      padding: 1rem 2rem;
      border-radius: 12px;
      font-weight: 700;
      display: inline-block;
      margin-top: 1.5rem;
      transition: all 0.3s ease;
    }

    .btn-white:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .reset-link button {
      background: none;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      text-decoration: underline;
      font-family: inherit;
      margin-top: 2rem;
    }

    .divider {
      height: 1px;
      background: var(--glass-border);
      margin: 2rem 0;
    }

    @media (max-width: 640px) {
      .score-row { flex-direction: column; text-align: center; }
    }
