
:root{
  --bg:#0b0e17;
  --panel:#121827;
  --panel-soft:#151d30;
  --text:#f7f8ff;
  --muted:#aeb8ca;
  --line:rgba(255,255,255,.10);
  --pink:#ff2da6;
  --yellow:#ffd83d;
  --blue:#22a8ff;
  --green:#45f08c;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 12% -8%, rgba(255,45,166,.18), transparent 34%),
    radial-gradient(circle at 86% 2%, rgba(34,168,255,.16), transparent 32%),
    linear-gradient(180deg,#101525 0%,#0b0e17 48%,#080a10 100%);
  overflow-x:hidden;
}

.bg-grid{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.55;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.8), transparent 72%);
}

.shell{
  width:min(1080px,92vw);
  margin:0 auto;
  padding:38px 0 64px;
  position:relative;
  z-index:2;
}

.hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:26px;
  align-items:center;
  margin-bottom:26px;
}

.brand-lockup{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.hero-logo{
  display:block;
  width:clamp(190px,26vw,310px);
  height:auto;
  margin:2px 0 16px -8px;
  filter:drop-shadow(0 12px 26px rgba(255,45,166,.18));
}

.eyebrow{
  margin:0 0 10px;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:var(--yellow);
  font-size:12px;
  font-weight:850;
}

.subhead{
  margin:0;
  font-size:clamp(17px,2vw,20px);
  line-height:1.55;
  color:#dce4f4;
  max-width:700px;
}

.status-card,.card,.result{
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  box-shadow:0 20px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(16px);
  border-radius:24px;
}

.status-card{
  padding:20px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035)),
    linear-gradient(135deg,rgba(255,45,166,.08),rgba(34,168,255,.07));
}

.status-card strong{
  font-size:16px;
  letter-spacing:-.01em;
}

.status-card p{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.55;
  font-size:14px;
}

.pulse{
  display:inline-block;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 16px rgba(69,240,140,.75);
  margin-right:8px;
}

.tabs{
  display:flex;
  gap:10px;
  margin:0 0 18px;
  flex-wrap:wrap;
}

.tab{
  border:1px solid var(--line);
  background:rgba(18,24,39,.88);
  color:#edf2ff;
  border-radius:999px;
  padding:12px 16px;
  font-weight:850;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.tab:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.2)}

.tab.active{
  background:linear-gradient(90deg,var(--pink),var(--yellow) 52%,var(--blue));
  color:#090b12;
  box-shadow:0 12px 28px rgba(255,45,166,.16);
}

.panel{display:none}
.panel.active{display:block}

.card{padding:24px}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

label{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#edf3ff;
  font-weight:750;
  font-size:14px;
}

.wide{grid-column:1/-1}

input,select,textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:15px;
  background:rgba(8,12,22,.78);
  color:var(--text);
  padding:14px 15px;
  font:inherit;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}

input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:rgba(34,168,255,.6);
  box-shadow:0 0 0 4px rgba(34,168,255,.12);
  background:rgba(9,14,26,.96);
}

input::placeholder,textarea::placeholder{color:#78849a}

input::file-selector-button{
  border:0;
  border-radius:11px;
  padding:9px 13px;
  margin-right:12px;
  background:linear-gradient(90deg,var(--pink),var(--blue));
  color:white;
  font-weight:850;
  cursor:pointer;
}

button[type=submit]{
  grid-column:1/-1;
  border:0;
  border-radius:16px;
  padding:16px 20px;
  font-weight:900;
  font-size:16px;
  background:linear-gradient(90deg,var(--pink),var(--yellow) 54%,var(--blue));
  color:#080910;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease;
}

button[type=submit]:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 34px rgba(255,45,166,.18);
}

.result{margin-top:22px;padding:24px}
.hidden{display:none}

.clip{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  margin:14px 0;
  background:rgba(11,16,29,.82);
}

.clip h3{margin:0 0 8px}
.meta{color:var(--muted);font-size:14px}

.prompt{
  white-space:pre-wrap;
  background:rgba(7,10,18,.9);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  color:#dce9ff;
  line-height:1.55;
}

@media(max-width:780px){
  .shell{padding:28px 0 56px}
  .hero,.form-grid{grid-template-columns:1fr}
  .hero{gap:18px;align-items:start}
  .status-card{max-width:100%}
  .hero-logo{width:clamp(175px,58vw,260px);margin-left:-6px}
  .tab{width:100%;justify-content:center}
}
