    :root{
      --brand:#1FB6D5; --brand-dark:#1593AC; --brand-deep:#0C8FB0;
      --brand-soft:rgba(31,182,213,.12); --bg:#F3F8FC; --surface:#ffffff;
      --text:#0B1F2A; --muted:#5B6B76; --border:rgba(11,31,42,.10);
      --shadow-md:0 18px 50px rgba(11,31,42,.10); --nav-h:76px;
      --ring:0 0 0 4px rgba(31,182,213,.15);
    }
    html[data-theme="dark"]{
      --bg:#071821;
      --surface:#0B2230;
      --text:#EAF4FA;
      --muted:#B9D0DD;
      --border:rgba(234,244,250,.12);
    }

    /* HERO */
    .hero-band{ padding-top: calc(var(--nav-h) + 20px); padding-bottom: 20px; }
    .hero-title{ font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 950; letter-spacing: -0.05em; line-height: 1.05; }
    .hero-title span{ color: var(--brand); }
    .hero-sub{ color: var(--muted); font-weight: 650; font-size: 1.2rem; max-width: 600px; margin: 15px 0 25px; }

    /* HERO PHOTO WRAP */
    .hero-media{
      position:relative;
      display:inline-block;
      width:100%;
      max-width:480px;
    }
    .hero-media img{
      width:100%;
      border-radius:40px;
      border:8px solid #fff;
      box-shadow: var(--shadow-md);
      display:block;
    }
    html[data-theme="dark"] .hero-media img{
      border-color: rgba(255,255,255,0.12);
    }

    /* OVERLAY: HUD + buttons */
    .template-overlay{
      position:absolute;
      inset:0;
      z-index:20;
      pointer-events:none;
      padding:14px;
      display:flex;
      flex-direction:column;
      justify-content:space-between;
    }
    .template-topbar{
      display:flex;
      align-items:flex-start;
      justify-content:flex-start;
      width:100%;
    }
    .template-hud{
      background: rgba(255,255,255,0.28);
      border: 1px solid rgba(255,255,255,0.22);
      color: rgba(255,255,255,0.96);
      border-radius: 16px;
      padding: 10px 12px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 14px 40px rgba(0,0,0,0.16);
      display:grid;
      gap: 8px;
      min-width: 170px;
    }
    html[data-theme="dark"] .template-hud{
      background: rgba(255,255,255,0.16);
      border-color: rgba(255,255,255,0.18);
      box-shadow: 0 18px 60px rgba(0,0,0,0.35);
    }
    .hud-row{
      display:flex;
      align-items:center;
      gap:10px;
      font-weight: 900;
      letter-spacing: .01em;
      line-height: 1.1;
    }
    .hud-row i{
      font-size: 1.05rem;
      opacity: .95;
      color: rgba(255,255,255,.92);
    }
    .hud-row .hud-value{
      font-size: .98rem;
      color: rgba(255,255,255,.96);
      text-shadow: 0 1px 10px rgba(0,0,0,0.18);
      white-space:nowrap;
    }

    .template-actions-wrap{
      width: 100%;
      display:flex;
      justify-content:center;
      padding-bottom: 2px;
    }
    .template-actions{
      display:flex;
      align-items:center;
      gap: 14px;
      padding: 10px 12px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.16);
      border: 1px solid rgba(255,255,255,0.14);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 14px 44px rgba(0,0,0,0.16);
    }
    .tbtn{
      width: 52px;
      height: 52px;
      border-radius: 999px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    }
    .tbtn i{font-size:1.2rem}
    .tbtn.hangup{ background: rgba(239, 68, 68, 0.94); }
    .tbtn.info{   background: rgba(31,182,213,0.94); }
    .tbtn.user{   background: rgba(59, 130, 246, 0.94); }
    .tbtn.video{  background: rgba(16, 185, 129, 0.94); }
    .tbtn.sound{  background: rgba(168, 85, 247, 0.94); }

    @media (max-width: 992px){
      .template-overlay{padding:12px}
      .template-hud{min-width: 160px}
      .tbtn{width:48px;height:48px}
      .tbtn i{font-size:1.12rem}
      .template-actions{gap: 12px}
    }
    @media (max-width: 420px){
      .template-actions{gap: 10px}
      .tbtn{width:44px;height:44px}
      .tbtn i{font-size:1.05rem}
      .template-hud{min-width: 150px}
    }

    /* FORM PANEL */
    .form-panel{ background: var(--surface); border: 1px solid var(--border); border-radius: 34px; box-shadow: var(--shadow-md); overflow:hidden; }
    .form-head{ padding: 28px 30px 20px; background: linear-gradient(180deg, rgba(31,182,213,.08), transparent); border-bottom: 1px solid var(--border); text-align: center; }
    .form-body{ padding: 30px; }
    .form-label{ font-weight: 900; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; color: var(--muted); }

    .form-control{
      height: 56px;
      border-radius: 14px;
      border: 1px solid rgba(148,163,184,0.40);
      background: rgba(248,250,252,0.80);
      font-weight: 700;
      transition: .2s ease;
      color: var(--text);
    }
    html[data-theme="dark"] .form-control{
      background: rgba(255,255,255,0.05);
      border-color: rgba(234,244,250,.16);
      color: var(--text);
    }
    .form-control::placeholder{ color: rgba(91,107,118,.75); }
    html[data-theme="dark"] .form-control::placeholder{ color: rgba(185,208,221,.65); }

    .form-control:focus{
      border-color: var(--brand);
      box-shadow: var(--ring);
      outline: none;
    }

    .help-hint{
      margin-top:8px;
      font-size:.82rem;
      color: var(--muted);
      font-weight:700;
    }

    /* SOCIAL BUTTONS */
    .social-row{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
    @media (max-width: 520px){ .social-row{ grid-template-columns:1fr; } }

    .social-btn{
      height:54px;
      border-radius:12px;
      border:1px solid rgba(148,163,184,.45);
      background:#fff;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:12px;
      font-weight:800;
      color:#0B1F2A;
      transition:.16s ease;
      user-select:none;
      padding:0 14px;
    }
    .social-btn:hover{ transform:translateY(-1px); box-shadow:0 10px 26px rgba(11,31,42,.08); }
    .social-btn .logo{ width:20px; height:20px; display:inline-block; }
    .social-btn .label{ font-weight:900; }

    .social-btn.apple .logo{ width:18px; height:18px; }
    .social-btn.apple svg{ display:block; width:18px; height:18px; fill:#111; }

    html[data-theme="dark"] .social-btn{
      background: rgba(255,255,255,0.06);
      border-color: rgba(234,244,250,.16);
      color: var(--text);
    }
    html[data-theme="dark"] .social-btn.apple svg{ fill: var(--text); }

    .orline{
      display:flex; align-items:center; gap:12px;
      margin:38px 0 30px;
      color: var(--muted);
      font-weight:900;
      font-size:.78rem;
      letter-spacing:.12em;
      justify-content:center;
    }
    .orline:before, .orline:after{
      content:""; height:1px; flex:1; background: var(--border);
    }

    /* ✅ FIX: checkbox + legal text */
    .form-check-input{ width:1.15em; height:1.15em; margin-top:.2em; }
    html[data-theme="dark"] .form-check-input{
      background-color: rgba(255,255,255,0.10);
      border-color: rgba(234,244,250,0.30);
    }
    html[data-theme="dark"] .form-check-input:checked{
      background-color: var(--brand);
      border-color: var(--brand);
    }

    .form-legal{ color: rgba(11,31,42,.62); font-weight:800; }
    .form-legal a{ color: inherit; text-decoration:none; }
    html[data-theme="dark"] .form-legal,
    html[data-theme="dark"] .form-legal a{
      color: rgba(234,244,250,.78);
    }
    .form-legal a:hover{ color: var(--brand-dark); }

    /* SECTIONS */
    .section-card{ background: var(--surface); border: 1px solid var(--border); border-radius: 34px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); overflow:hidden; }
    .section-img{ width:100%; border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
    .check-list{ list-style:none; padding:0; }
    .check-list li{ display:flex; gap:12px; align-items:flex-start; margin-bottom: 15px; font-weight: 700; color: var(--text); font-size: 1.05rem; }
    .check-list i{ color: var(--brand-dark); font-size: 1.3rem; }

    .section-surface{ background: var(--bg); }

    /* ✅ FIX #2: those two small text lines in cards in DARK */
    html[data-theme="dark"] .text-muted{
      color: rgba(234,244,250,.72) !important;
    }

    @media (max-width: 992px){
      .hero-band{ text-align:center; }
      .hero-sub{ margin-left:auto; margin-right:auto; }
      .form-body{ padding: 20px; }
    }
