/* DataStation Base Styles */
:root{
  --bg:#0A0F1C;
  --surface:#121A2E;
  --surface-2:#1A2340;
  --line:#26315470;
  --text:#E9EDF8;
  --muted:#8792AD;
  --signal:#3DDC91;
  --signal-dim:#3DDC9130;
  --amber:#F5B84C;
  --radius:14px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{font-family:'Space Grotesk',sans-serif; margin:0; letter-spacing:-0.01em;}
.mono{font-family:'IBM Plex Mono',monospace;}
a{color:inherit; text-decoration:none;}
.wrap{max-width:1120px; margin:0 auto; padding:0 24px;}
::selection{background:var(--signal); color:#04140C;}

/* ---------- NAV ---------- */
nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter:blur(10px);
  background:#0A0F1CE6;
  border-bottom:1px solid var(--line);
}
nav .wrap{display:flex; align-items:center; justify-content:space-between; height:72px;}
.logo{display:flex; align-items:center; gap:10px; font-family:'Space Grotesk'; font-weight:700; font-size:19px;}
.logo .bars{display:flex; align-items:flex-end; gap:3px; height:16px;}
.logo .bars i{width:4px; background:var(--signal); border-radius:1px; display:block;}
.logo .bars i:nth-child(1){height:40%;}
.logo .bars i:nth-child(2){height:65%;}
.logo .bars i:nth-child(3){height:85%;}
.logo .bars i:nth-child(4){height:100%;}
.navlinks{display:flex; align-items:center; gap:32px; font-size:14.5px; color:var(--muted);}
.navlinks a:hover{color:var(--text);}
.navlinks{display:none;}
@media(min-width:820px){.navlinks{display:flex;}}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 20px; border-radius:999px;
  font-size:14.5px; font-weight:600;
  border:1px solid transparent; cursor:pointer;
}
.btn-primary{background:var(--signal); color:#04140C;}
.btn-primary:hover{background:#5CE8A6;}
.btn-ghost{border-color:var(--line); color:var(--text);}
.btn-ghost:hover{border-color:var(--signal);}

/* ---------- HERO ---------- */
header.hero{
  position:relative;
  padding:96px 0 88px;
  overflow:hidden;
}
.hero-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(#26315427 1px, transparent 1px),
    linear-gradient(90deg, #26315427 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(ellipse 70% 60% at 50% 20%, black 10%, transparent 75%);
  pointer-events:none;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--signal); font-size:13px; font-weight:600;
  letter-spacing:.04em; text-transform:uppercase;
  background:var(--signal-dim); border:1px solid #3DDC9155;
  padding:6px 14px; border-radius:999px; margin-bottom:24px;
}
.dot{width:6px; height:6px; border-radius:50%; background:var(--signal); animation:pulse 1.6s infinite;}
@keyframes pulse{0%,100%{opacity:1;} 50%{opacity:.3;}}
.hero h1{
  font-size:clamp(38px,6vw,64px); font-weight:700; line-height:1.04;
  max-width:820px;
}
.hero h1 span{color:var(--signal);}
.hero p.lead{
  max-width:560px; margin-top:22px; font-size:17.5px; color:var(--muted); line-height:1.65;
}
.hero-cta{display:flex; flex-wrap:wrap; gap:14px; margin-top:34px;}
.hero-stats{
  display:grid; grid-template-columns:repeat(3,auto); gap:44px;
  margin-top:64px; padding-top:32px; border-top:1px solid var(--line);
  max-width:620px;
}
.hero-stats div b{display:block; font-family:'Space Grotesk'; font-size:28px; font-weight:700; color:var(--text);}
.hero-stats div span{font-size:13px; color:var(--muted);}

/* signature signal-bar visual, top right */
.signal-visual{
  position:absolute; right:-40px; top:70px; width:420px; height:420px;
  display:flex; align-items:flex-end; justify-content:center; gap:10px;
  opacity:.9;
}
.signal-visual i{
  width:26px; border-radius:6px 6px 0 0;
  background:linear-gradient(180deg, var(--signal), #1B7A50);
  animation:rise 2.4s ease-in-out infinite;
  box-shadow:0 0 24px #3DDC9140;
}
.signal-visual i:nth-child(1){height:60px; animation-delay:0s;}
.signal-visual i:nth-child(2){height:110px; animation-delay:.15s;}
.signal-visual i:nth-child(3){height:170px; animation-delay:.3s;}
.signal-visual i:nth-child(4){height:230px; animation-delay:.45s;}
.signal-visual i:nth-child(5){height:300px; animation-delay:.6s; background:linear-gradient(180deg, var(--amber), #8A5E12); box-shadow:0 0 24px #F5B84C40;}
@keyframes rise{
  0%,100%{transform:scaleY(1); transform-origin:bottom;}
  50%{transform:scaleY(.82); transform-origin:bottom;}
}
@media(max-width:900px){.signal-visual{display:none;}}
@media(prefers-reduced-motion:reduce){
  .signal-visual i, .dot{animation:none;}
}

/* ---------- SECTION SHELL ---------- */
section{padding:88px 0;}
.section-head{max-width:600px; margin-bottom:48px;}
.section-head .tag{color:var(--signal); font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;}
.section-head h2{font-size:clamp(28px,4vw,38px); margin-top:10px; font-weight:700;}
.section-head p{color:var(--muted); margin-top:14px; font-size:16px; line-height:1.6;}

/* ---------- NETWORK TABS ---------- */
.tabbar{
  display:flex; gap:8px; flex-wrap:wrap;
  border:1px solid var(--line); padding:6px; border-radius:999px;
  width:fit-content; margin-bottom:36px; background:var(--surface);
}
.tabbar button{
  font-family:'Inter'; font-weight:600; font-size:14px;
  padding:10px 20px; border-radius:999px; border:none;
  background:transparent; color:var(--muted); cursor:pointer;
  display:flex; align-items:center; gap:8px;
}
.tabbar button .swatch{width:9px; height:9px; border-radius:50%;}
.tabbar button.active{background:var(--surface-2); color:var(--text);}

.panel{display:none;}
.panel.active{display:block; animation:fade .35s ease;}
@keyframes fade{from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);}}

.price-grid{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
  gap:14px;
}
.price-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px 20px; position:relative; overflow:hidden;
}
.price-card::before{
  content:""; position:absolute; top:0; left:0; width:100%; height:2px;
  background:var(--card-accent, var(--signal));
}
.price-card .size{font-family:'Space Grotesk'; font-size:22px; font-weight:700;}
.price-card .validity{color:var(--muted); font-size:12.5px; margin-top:4px;}
.price-card .price{
  font-family:'IBM Plex Mono'; font-size:19px; font-weight:600; margin-top:18px; color:var(--signal);
}
.price-card.best .price{color:var(--amber);}
.price-card.best::after{
  content:"Best value"; position:absolute; top:14px; right:14px;
  font-size:10px; font-weight:600; letter-spacing:.03em; text-transform:uppercase;
  color:var(--amber); background:#F5B84C1a; border:1px solid #F5B84C40;
  padding:3px 8px; border-radius:999px;
}
.note-row{margin-top:20px; color:var(--muted); font-size:13.5px;}

/* ---------- HOW IT WORKS ---------- */
.steps{display:grid; gap:20px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr));}
.step{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px 24px;
}
.step .num{
  font-family:'IBM Plex Mono'; color:var(--signal); font-size:13px; font-weight:600;
  border:1px solid #3DDC9155; width:32px; height:32px; border-radius:8px;
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.step h3{font-size:18px; margin-bottom:8px;}
.step p{color:var(--muted); font-size:14.5px; line-height:1.6; margin:0;}

/* ---------- WHY GRID ---------- */
.why-grid{display:grid; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; grid-template-columns:repeat(auto-fit,minmax(230px,1fr));}
.why-item{background:var(--surface); padding:28px 24px;}
.why-item h3{font-size:16.5px; margin-bottom:8px; display:flex; align-items:center; gap:10px;}
.why-item p{color:var(--muted); font-size:14px; line-height:1.6; margin:0;}
.ic{width:8px; height:8px; border-radius:2px; background:var(--signal); display:inline-block;}

/* ---------- FAQ ---------- */
.faq-list{border-top:1px solid var(--line);}
.faq-item{border-bottom:1px solid var(--line);}
.faq-item summary{
  cursor:pointer; list-style:none; padding:22px 4px; font-weight:600; font-size:16px;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+"; color:var(--signal); font-size:20px; font-family:'IBM Plex Mono';}
.faq-item[open] summary::after{content:"–";}
.faq-item p{color:var(--muted); font-size:14.5px; line-height:1.7; padding:0 4px 22px; margin:0; max-width:760px;}

/* ---------- FINAL CTA ---------- */
.cta-band{
  background:linear-gradient(135deg, var(--surface-2), var(--surface));
  border:1px solid var(--line); border-radius:20px;
  padding:56px 40px; text-align:center; position:relative; overflow:hidden;
}
.cta-band h2{font-size:clamp(26px,4vw,34px);}
.cta-band p{color:var(--muted); margin-top:12px; font-size:16px;}
.cta-band .hero-cta{justify-content:center; margin-top:28px;}

/* ---------- FOOTER ---------- */
footer{border-top:1px solid var(--line); padding:48px 0 32px;}
footer .wrap{display:flex; flex-wrap:wrap; justify-content:space-between; gap:24px; align-items:center;}
footer .fmuted{color:var(--muted); font-size:13.5px;}
footer .flinks{display:flex; gap:22px; font-size:13.5px; color:var(--muted);}
footer .flinks a:hover{color:var(--text);}

/* ---------- CONTENT PAGES ---------- */
.content-section{padding:88px 0;}
.content-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:40px;
}
.content-card h1{font-size:32px; margin-bottom:24px; color:var(--signal);}
.content-card h2{font-size:22px; margin:28px 0 16px; color:var(--text);}
.content-card h3{font-size:18px; margin:24px 0 12px; color:var(--text);}
.content-card p{margin:0 0 16px; font-size:15px; color:var(--muted);}
.content-card ul{margin:0 0 16px; padding-left:20px; color:var(--muted);}
.content-card li{margin-bottom:8px;}
.content-card strong{color:var(--text);}
.content-card a{color:var(--signal);}
.content-card a:hover{color:#5CE8A6;}

/* ---------- LOGIN & SIGNUP PAGES ---------- */
.login-body {
  background: radial-gradient(circle at top right, var(--surface-2), var(--bg) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
}
.login-card-wrap {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.login-logo {
  display: block;
  text-align: center;
  margin-bottom: 32px;
}
.login-logo .logo {
  justify-content: center;
}
.login-card-wrap h2 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  font-family: 'Space Grotesk', sans-serif;
}
.login-card-wrap p.subtitle {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.5;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
}
.form-input-dark {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  outline: none;
  font-size: 15px;
  color: var(--text);
  transition: all 0.2s;
  font-family: inherit;
}
.form-input-dark:focus {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--signal);
  box-shadow: 0 0 0 4px var(--signal-dim);
}
.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  margin-bottom: 24px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--muted);
}
.checkbox-label input {
  accent-color: var(--signal);
}
.forgot-link {
  color: var(--signal);
  font-weight: 500;
}
.forgot-link:hover {
  text-decoration: underline;
}
.login-footer-text {
  text-align: center;
  font-size: 14px;
  margin-top: 24px;
  color: var(--muted);
}
.login-footer-text a {
  color: var(--signal);
  font-weight: 600;
}
.login-footer-text a:hover {
  text-decoration: underline;
}
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-error {
  background: rgba(245, 56, 90, 0.1);
  border: 1px solid rgba(245, 56, 90, 0.3);
  color: #F5385A;
}
.alert-success {
  background: rgba(61, 220, 145, 0.1);
  border: 1px solid rgba(61, 220, 145, 0.3);
  color: var(--signal);
}
.shake {
  animation: shakeAnim 0.4s ease-in-out;
}
@keyframes shakeAnim {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
