:root{
  --bg:#0b1020;
  --card:#111a33;
  --card2:#0f1730;
  --text:#e9ecf5;
  --muted:#a9b2d6;
  --gold1:#FFD54A;
  --gold2:#FFB300;
  --line:rgba(255,255,255,.08);
  --danger:#ff5a72;
  --ok:#42e3a7;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background:
    radial-gradient(1200px 700px at 25% 0%, rgba(255,213,74,.12), transparent 60%),
    radial-gradient(900px 600px at 80% 10%, rgba(255,179,0,.10), transparent 55%),
    linear-gradient(180deg, #070a14 0%, var(--bg) 70%);
  color:var(--text);
}

a{ color:var(--gold1); text-decoration:none; }
a:hover{ text-decoration:underline; }

.header{
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 22px;
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
  background: rgba(7,10,20,.6);
}

.header-left{ display:flex; gap:14px; align-items:center; }
.logo{ width:44px; height:44px; }
.header-text h1{
  margin:0;
  font-size:18px;
  letter-spacing:.4px;
}
.subtitle{
  margin:2px 0 0 0;
  font-size:12px;
  color:var(--muted);
}

.header-right{ display:flex; gap:10px; align-items:center; }
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-size:12px;
}
.pill:hover{ background: rgba(255,255,255,.07); text-decoration:none; }

.container{
  max-width: 980px;
  margin: 24px auto 40px auto;
  padding: 0 16px;
}

.card{
  background: linear-gradient(180deg, rgba(17,26,51,.95), rgba(15,23,48,.95));
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px;
  margin-bottom: 16px;
}

.hero h2{ margin:0 0 8px 0; font-size:22px; }
.hero p{ margin:0 0 12px 0; color:var(--muted); line-height:1.45; }

.trial-row{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-top: 10px;
}
.trial-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,213,74,.12);
  border:1px solid rgba(255,213,74,.25);
  color: var(--gold1);
  font-weight: 700;
  font-size: 12px;
}
.trial-note{ color:var(--muted); font-size:12px; }

.callout{
  margin-top:12px;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  line-height:1.45;
}

.card-head h2{ margin:0; }
.card-head p{ margin:6px 0 0 0; }

.muted{ color: var(--muted); }

.form{ margin-top: 14px; }
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 760px){
  .grid{ grid-template-columns:1fr; }
}

.field label{
  display:block;
  font-size:12px;
  color: var(--muted);
  margin-bottom:6px;
}
.req{ color: var(--gold1); font-weight:800; }

input, select{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,14,30,.6);
  color: var(--text);
  outline:none;
}
input:focus, select:focus{
  border-color: rgba(255,213,74,.45);
  box-shadow: 0 0 0 4px rgba(255,213,74,.10);
}
.hint{
  margin-top:6px;
  font-size:11px;
  color: rgba(169,178,214,.85);
}

.divider{
  height:1px;
  background: var(--line);
  margin: 16px 0;
}

.actions{
  display:flex;
  gap:10px;
  align-items:center;
}
button{
  cursor:pointer;
  border:none;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing:.2px;
}
#submitBtn{
  background: linear-gradient(135deg, var(--gold1), var(--gold2));
  color:#0b1020;
}
#submitBtn:hover{ filter: brightness(1.03); }
.ghost{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color: var(--text);
}
.ghost:hover{ background: rgba(255,255,255,.08); }

.response{
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  display:none;
  line-height:1.45;
  font-size: 13px;
}
.response.ok{
  display:block;
  border-color: rgba(66,227,167,.35);
}
.response.err{
  display:block;
  border-color: rgba(255,90,114,.35);
}
.response strong{ color: var(--text); }

.list{
  margin: 10px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.footer{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding: 8px 6px 0 6px;
  color: var(--muted);
  font-size: 12px;
}
