:root {
      --bg1: #07111f;
      --bg2: #0d263d;
      --card: rgba(255,255,255,.095);
      --card2: rgba(255,255,255,.06);
      --text: #f8fafc;
      --muted: #b7c2d2;
      --line: rgba(255,255,255,.16);
      --accent: #f59e0b;
      --accent2: #22c55e;
      --danger: #ef4444;
      --shadow: 0 24px 80px rgba(0,0,0,.38);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 20% 10%, rgba(245,158,11,.18), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(34,197,94,.14), transparent 30%),
        linear-gradient(135deg, var(--bg1), var(--bg2));
      display: grid;
      place-items: center;
      padding: 24px;
    }

    .shell {
      width: min(1080px, 100%);
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 28px;
      align-items: stretch;
    }

    .hero,
    .card {
      border: 1px solid var(--line);
      background: var(--card);
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
      border-radius: 28px;
      overflow: hidden;
    }

    .hero {
      padding: 42px;
      position: relative;
      min-height: 560px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      font-weight: 800;
      letter-spacing: .3px;
      font-size: 22px;
    }

    .sun {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: radial-gradient(circle, #fde68a 0 35%, #f59e0b 36% 70%, rgba(245,158,11,.28) 71%);
      box-shadow: 0 0 40px rgba(245,158,11,.38);
    }

    h1 {
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.02;
      margin: 60px 0 18px;
    }

    .hero p {
      color: var(--muted);
      font-size: 18px;
      line-height: 1.65;
      max-width: 580px;
      margin: 0;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 34px;
    }

    .stat {
      background: var(--card2);
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 18px;
    }

    .stat b {
      display: block;
      font-size: 24px;
      margin-bottom: 5px;
    }

    .stat span {
      color: var(--muted);
      font-size: 13px;
    }

    .card {
      padding: 34px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .card h2 {
      margin: 0 0 8px;
      font-size: 30px;
    }

    .sub {
      color: var(--muted);
      margin: 0 0 30px;
      line-height: 1.55;
    }

    label {
      display: block;
      margin: 16px 0 8px;
      color: #e5e7eb;
      font-size: 14px;
      font-weight: 700;
    }

    input {
      width: 100%;
      border: 1px solid var(--line);
      background: rgba(15,23,42,.62);
      color: var(--text);
      border-radius: 16px;
      padding: 15px 16px;
      font-size: 16px;
      outline: none;
    }

    input:focus {
      border-color: rgba(245,158,11,.82);
      box-shadow: 0 0 0 4px rgba(245,158,11,.14);
    }

    .row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 14px 0 22px;
      gap: 12px;
      color: var(--muted);
      font-size: 14px;
    }

    .check {
      display: flex;
      align-items: center;
      gap: 8px;
      user-select: none;
    }

    .check input {
      width: 16px;
      height: 16px;
      padding: 0;
    }

    button {
      width: 100%;
      border: 0;
      cursor: pointer;
      border-radius: 16px;
      padding: 15px 18px;
      font-size: 16px;
      font-weight: 800;
      color: #111827;
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      box-shadow: 0 16px 36px rgba(245,158,11,.24);
    }

    button:disabled {
      opacity: .65;
      cursor: not-allowed;
    }

    .msg {
      display: none;
      margin-top: 16px;
      padding: 13px 14px;
      border-radius: 14px;
      font-size: 14px;
      line-height: 1.45;
    }

    .msg.ok {
      display: block;
      background: rgba(34,197,94,.13);
      border: 1px solid rgba(34,197,94,.35);
      color: #bbf7d0;
    }

    .msg.err {
      display: block;
      background: rgba(239,68,68,.13);
      border: 1px solid rgba(239,68,68,.35);
      color: #fecaca;
    }

    .api-note {
      margin-top: 24px;
      padding: 14px;
      border: 1px dashed var(--line);
      border-radius: 16px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
      background: rgba(255,255,255,.045);
    }

    code {
      color: #fde68a;
    }

    @media (max-width: 860px) {
      .shell {
        grid-template-columns: 1fr;
      }

      .hero {
        min-height: auto;
        padding: 30px;
      }

      .stats {
        grid-template-columns: 1fr;
      }

      .card {
        padding: 28px;
      }
    }
