:root {
  --bg: #020818;
  --bg-soft: #050d20;
  --bg-softer: #09142b;
  --accent: #25c2ff;
  --accent-soft: rgba(37, 194, 255, 0.18);
  --accent-strong: #4df3ff;
  --text: #f5f7ff;
  --text-soft: #a5afc7;
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px rgba(37, 194, 255, 0.45);
  --max-width: 1120px;
}

/* Light theme variables (applies when `.theme-light` is on <html>) */
.theme-light {
  --bg: #f7fbff;
  --bg-soft: #f0f6fb;
  --bg-softer: #e8f1f8;
  --accent: #0b78b3;
  --accent-soft: rgba(11, 120, 179, 0.12);
  --accent-strong: #0f98d1;
  --text: #071428;
  --text-soft: #455a6b;
  --border-soft: rgba(7, 20, 36, 0.06);
}

/* Smooth theme transitions */
.theme-transition * {
  transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

main {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 32px 20px 64px;
}

.shell {
  width: 100%;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 32px;
  background: var(--bg-soft);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 0 0, rgba(37, 194, 255, 0.24), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(33, 150, 243, 0.22), transparent 55%);
  mix-blend-mode: soft-light;
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

.shell-left,
.shell-right { padding: 28px 28px 28px; display:flex; flex-direction:column; gap:20px; }
.shell-right {
  background: var(--bg-soft);
  border-left: 1px solid var(--border-soft);
  position: relative; overflow: hidden;
}

.brand-row { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:8px; }
.brand { display:flex; align-items:center; gap:12px; }

 .logo-img {
  width: 44px; height: 44px; object-fit:contain;
  box-shadow: none;
  border: none;
  background: none;
}

/* Theme toggle button */
.theme-toggle {
  border: 0; background: transparent; color: var(--text);
  padding: 6px 8px; border-radius: 8px; cursor: pointer; display:inline-flex; align-items:center; justify-content:center;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(2,8,24,0.25);
}
.theme-toggle[aria-pressed="true"] { background: var(--accent); color: #fff; }
.theme-icon { display:inline-block; line-height:1; }

.brand-text-primary { font-weight:700; letter-spacing:0.02em; font-size:1rem; }
.brand-text-secondary { font-size:0.78rem; text-transform:uppercase; letter-spacing:0.12em; color:var(--accent); background: rgba(37,194,255,0.08); padding:4px 10px; border-radius:999px; border:1px solid rgba(37,194,255,0.14); }

.pill-row { display:flex; gap:8px; flex-wrap:wrap; font-size:0.73rem; color:var(--text-soft); }
.pill { padding:5px 10px; border-radius:999px; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.03); }

.hero-title { font-size:clamp(1.9rem, 2.4vw + 1.6rem, 2.6rem); line-height:1.05; letter-spacing:-0.02em; margin-top:6px; }
.hero-title span { background: linear-gradient(120deg,#4df3ff,#25c2ff,#7cf5ff); -webkit-background-clip:text; color:transparent; }
.hero-subtitle { margin-top:10px; font-size:1rem; line-height:1.6; color:var(--text-soft); max-width:36rem; }

.mission {
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  background: var(--bg-softer);
  border: 1px solid var(--border-soft);
}
.mission-label { font-size:0.72rem; text-transform:uppercase; color:var(--accent); margin-bottom:6px; }
.mission-text { font-size:0.9rem; color:var(--text-soft); }

.cta-row { margin-top:16px; display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.btn-primary, .btn-ghost { font-size:0.95rem; padding:11px 18px; border-radius:999px; border:1px solid transparent; cursor:pointer; display:inline-flex; gap:8px; align-items:center; }
.btn-primary { background: linear-gradient(90deg,#4df3ff,#25c2ff); color:#02101c; font-weight:700; box-shadow: 0 12px 36px rgba(37,194,255,0.16); }
.btn-ghost { background: rgba(255,255,255,0.02); color:var(--text-soft); border:1px solid rgba(255,255,255,0.04); }

.tagline { font-size:0.86rem; color:var(--text-soft); margin-top:8px; display:flex; gap:10px; align-items:center; }

.feature-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:12px; margin-top:16px; }
.feature-card { border-radius:14px; background: var(--bg-softer); border:1px solid rgba(255,255,255,0.04); padding:12px; box-shadow: 0 8px 26px rgba(0,0,0,0.6); }
.feature-label { font-size:0.72rem; color:var(--text-soft); }
.feature-title { font-size:0.92rem; font-weight:600; margin-top:6px; }
.feature-text { color:var(--text-soft); font-size:0.86rem; margin-top:6px; }
.feature-tag { margin-top:8px; display:inline-block; padding:4px 8px; border-radius:999px; background: rgba(37,194,255,0.06); color:var(--accent); border:1px solid rgba(37,194,255,0.08); font-size:0.78rem; }

.spiral-wrapper { flex:1; display:flex; align-items:center; justify-content:center; position:relative; margin-top:8px; }
.spiral-orbit {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1/1;
  border-radius: 999px;
  background: var(--bg-softer);
  box-shadow: 0 0 80px var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.spiral-glow{ position:absolute; inset:0; background: radial-gradient(circle at 20% 0%, rgba(255,255,255,0.2), transparent 40%), radial-gradient(circle at 80% 100%, rgba(37,194,255,0.3), transparent 60%); mix-blend-mode:screen; opacity:0.7; }
.spiral-label { position:absolute; bottom:-18px; left:0; right:0; margin:0 auto; max-width:260px; text-align:center; color:var(--text-soft); background: rgba(2,8,30,0.88); padding:8px 12px; border-radius:999px; border:1px solid rgba(37,194,255,0.12); }

.quote-block { margin-top:28px; padding:14px; border-radius:14px; background: var(--bg-softer); border:1px solid rgba(255,255,255,0.02); }
.quote-title { font-size:0.78rem; text-transform:uppercase; color:var(--text-soft); }
.quote-text { font-size:0.95rem; color:var(--text-soft); line-height:1.6; }

.meta-row { margin-top:auto; display:flex; justify-content:space-between; gap:10px; align-items:center; padding-top:8px; font-size:0.78rem; color:var(--text-soft); border-top:1px solid rgba(255,255,255,0.04); }
.meta-pill { padding:6px 10px; border-radius:999px; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.02); }

@media (max-width:880px) {
  main{ padding:18px 14px 32px; }
  .shell{ grid-template-columns:1fr; border-radius:24px; }
  .shell-right{ border-left:none; border-top:1px solid var(--border-soft); }
}
@media (max-width:640px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .brand-row { flex-direction:column; align-items:flex-start; }
  .meta-row { flex-direction:column; align-items:flex-start; }
}
@media (max-width:480px) { .feature-grid { grid-template-columns: 1fr; } }

/* small, pleasant animation for the primary CTA */
.btn-primary:hover { transform: translateY(-3px); transition: transform 220ms ease; }

/* Hero logo (right panel) */
.hero-logo { display:flex; align-items:center; justify-content:center; padding:18px 12px; }
.hero-logo-img { width:160px; height:160px; object-fit:contain; box-shadow: none; border: none; background: none; }
