:root {
  --bg: #0b0c0e;
  --panel: #111216;
  --panel-2: #0f1013;
  --text: #e6e8eb;
  --muted: #a6adbb;
  --line: #1b1d22;
  --accent: #4ea8ff;
  --accent-2: #7bdcff;
  --success: #23d18b;
  --warning: #f5a524;
  --danger: #ff5d5d;
  --shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.03) inset;
  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text); background: radial-gradient(1200px 600px at 70% -10%, rgba(78,168,255,.12), transparent 60%), var(--bg);
  line-height: 1.45; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 60px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(1.2) blur(8px);
  background: linear-gradient(to bottom, rgba(11,12,14,.85), rgba(11,12,14,.6)); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; }
.brand .logo {
  height: 32px;       /* tweak as needed */
  width: auto;        /* keeps aspect ratio */
  display: block;
}

.links { display: none; gap: 18px; color: var(--muted); }
.links a { padding: 8px 10px; border-radius: 10px; }
.links a:hover { color: var(--text); background: rgba(255,255,255,.03); }

.cta { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; border-radius: 12px; padding: 10px 14px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); color: var(--text); transition: transform .06s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); border-color: rgba(78,168,255,.45); box-shadow: 0 14px 40px rgba(78,168,255,.12), var(--shadow); }
.btn.primary { background: linear-gradient(180deg, #0078d4, #005a9e); border-color: rgba(0, 120, 212, 0.8); box-shadow: 0 14px 36px rgba(0,120,212,.45), 0 0 0 1px rgba(255,255,255,.05) inset; color: #ffffff;}
.btn.primary:hover { transform: translateY(-2px); }

.hamburger { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; }
.hamburger span { width: 18px; height: 2px; background: var(--text); position: relative; display: block; }
.hamburger span::before,.hamburger span::after{ content:""; position:absolute; left:0; width: 18px; height:2px; background: var(--text); }
.hamburger span::before{ top:-6px;} .hamburger span::after{ top:6px;}

/* Mobile menu */
.mobile-menu{ display:none; border-top:1px solid var(--line); background: var(--panel); }
.mobile-menu a{ display:block; padding:14px 8px; color: var(--muted);} 
.mobile-menu a + a{ border-top:1px solid var(--line); }
.mobile-menu a:hover{ color:var(--text); background: rgba(255,255,255,.02); }

@media(min-width: 980px){
  .links { display: flex; }
  .hamburger, .mobile-menu { display: none !important; }
}

/* Hero */
.hero { padding: 80px 0 40px; }
.headline { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 14px; }
.subhead { color: var(--muted); font-size: clamp(16px, 2.1vw, 20px); max-width: 760px; margin-bottom: 26px; justify-content: center; text-align: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; justify-content: center; text-align: center;}
.hero .headline {
  text-align: center;
}
.hero .subhead {
  text-align: center;      /* center the text inside */
  margin-left: auto;       /* center the block itself */
  margin-right: auto;
  display: block;
}
.hero .hero-ctas {
  text-align: center;
  justify-content: center; /* centers the buttons row */
}

.trust-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); }
.trust-logo { height: 26px; opacity:.7; filter: grayscale(1); display:flex; align-items:center; justify-content:center; }
.trust-logo span { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .2px; }

/* App window preview */
.window { margin: 30px auto 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03) inset; overflow: hidden; }
.win-top { display:flex; align-items:center; gap:8px; padding: 12px; border-bottom:1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); }
.dots{ display:flex; gap:6px; }
.dot{ width:10px; height:10px; border-radius:50%; }
.dot.red{ background:#ff5f57;} .dot.yellow{ background:#ffbd2e;} .dot.green{ background:#28c840;}
.win-title { color: var(--muted); font-size: 12px; margin-left: 6px; }
.win-body { display:grid; grid-template-columns: 300px 1fr; min-height: 420px; }
.sidebar { border-right:1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,0)); padding:12px; }
.side-item { display:flex; align-items:center; gap:10px; padding:10px 8px; border-radius:10px; color: var(--muted); }
.side-item.active { background: rgba(78,168,255,.08); color: var(--text); border: 1px solid rgba(78,168,255,.35); }

.terminal { padding: 16px; font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; position: relative; overflow:auto; }
.prompt { color: #8bd5ff; }
.cmd { color: #e8e8e8; }
.output { color: #98a2b3; }
.cursor { display:inline-block; width:8px; height:1.2em; background: var(--accent); vertical-align: text-bottom; animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Feature sections */
section { padding: 80px 0; border-top: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 34px; padding-top: 40px;}
.eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.h2 { font-size: clamp(26px, 3.8vw, 42px); margin: 8px 0 10px; font-weight: 800; letter-spacing:-.02em; }
.lede { color: var(--muted); max-width: 760px; margin: 0 auto; }

.features { display: grid; gap: 22px; }
.feature { display:grid; gap: 24px; align-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 22px; }
.feature .illus { aspect-ratio: 16/9; border: 1px dashed #283040; border-radius: 12px; background: linear-gradient(180deg, rgba(78,168,255,.06), rgba(78,168,255,0)); display:flex; align-items:center; justify-content:center; color:#89c7ff; }
.feature h3 { margin: 0 0 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); }

@media(min-width: 860px){
  .features .feature { grid-template-columns: 1.1fr 1fr; }
  .features .feature:nth-child(2n) { grid-template-columns: 1fr 1.1fr; }
  .features .feature:nth-child(2n) .illus { order: -1; }
}

/* Pricing tease */
.pricing { display:grid; gap: 20px; grid-template-columns: repeat(12, 1fr); }
.card { grid-column: span 12; border:1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.price { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.small { color: var(--muted); font-size: 14px; }
.badge { display:inline-block; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(78,168,255,.4); background: rgba(78,168,255,.08); color: #cfe8ff; font-size: 12px; font-weight: 600; }

@media(min-width: 960px){
  .card { grid-column: span 6; }
}


/* Testimonials */
.quotes { display:grid; gap: 18px; grid-template-columns: repeat(12, 1fr); }
.quote { grid-column: span 12; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--panel); display:grid; gap: 12px; }
.quote .who { display:flex; align-items:center; gap: 12px; color: var(--muted); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #303443, #1a1e29); border:1px solid #2a2f3c; }
@media(min-width: 860px){ .quote { grid-column: span 6; } }

/* CTA Footer */
.cta-footer { text-align:center; padding: 60px 0; }

/* Site footer */
footer.site { border-top:1px solid var(--line); background: #0a0b0d; }
.footgrid { display:grid; gap: 24px; grid-template-columns: repeat(12, 1fr); padding: 40px 0; }
.footcol { grid-column: span 12; }
.footcol h4 { margin: 0 0 8px; }
.footcol a { display:block; color: var(--muted); padding: 6px 0; }
.fineprint { border-top:1px solid var(--line); color: var(--muted); padding: 18px 0 28px; font-size: 13px; display:flex; flex-wrap:wrap; gap: 10px; justify-content: space-between; }

@media(min-width: 900px){
  .footcol { grid-column: span 3; }
}

.visually-hidden{ position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }
[data-auth="true"]  #signin-btn { display: none !important; }
[data-auth="true"]  #signout-btn { display: inline-flex !important; }

[data-auth="false"] #signin-btn { display: inline-flex !important; }
[data-auth="false"] #signout-btn { display: none !important; }

/* overlay + modal centering */
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(4px);z-index:1000;display:none;}
.overlay[aria-hidden="false"]{display:grid;place-items:center;}
.overlay .modal{max-width:min(520px,92vw);width:auto;margin:0;position:relative;}


/* Tabs container */
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

/* Make tabs look like your .btn but with active state */
.tabs .tab {
  flex: 1; /* stretch evenly */
  text-align: center;
  font-weight: 600;
  background: var(--panel-2, #0f1013);
  border: 1px solid var(--line, #1b1d22);
  border-radius: var(--radius, 16px);
  padding: 10px 14px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.tabs .tab[aria-selected="true"] {
  background: var(--accent, #4ea8ff);
  color: #fff;
  border-color: var(--accent, #4ea8ff);
}

/* Hover */
.tabs .tab:hover {
  background: rgba(255,255,255,.05);
}

/* Actions (VS Code + JupyterLab) */
.tab-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

/* Muted text */
.small.muted {
  margin-top: 6px;
  color: var(--muted, #a6adbb);
  font-size: 14px;
}

:root[data-auth="true"]  #signin-btn { display: none; }
:root[data-auth="false"] #signout-btn, 
:root[data-auth="false"] #hello { display: none; }
