/* ═══════════════════════════════════════════════════════════════════════
   JEENI AI — Signature Noir & Glowing Genie Website Stylesheet
   Adapted cleanly from Jeeni Flutter UI/UX + modern dark AI landing architecture
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --bg-pure: #000000;
  --bg-obsidian: #070709;
  --bg-surface: #0d0d11;
  --bg-card: #111116;
  --bg-elevated: #17171e;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  /* Authentic JeeniMode Accent Colors */
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --sky: #0ea5e9;
  --purple: #a855f7;
  --emerald: #10b981;
  --orange: #f97316;
  --amber: #f59e0b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --radius-card: 20px;
  --radius-pill: 9999px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-pure);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-pure);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Ambient Top & Grid Horizon ── */
.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 50% -10%, rgba(99, 102, 241, 0.14), transparent 55%),
    radial-gradient(circle at 82% 22%, rgba(34, 211, 238, 0.08), transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 72px 72px, 72px 72px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 18%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 18%, #000 35%, transparent 100%);
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--indigo), var(--purple));
  z-index: 1000;
  transition: width 0.08s linear;
}

/* ═══════════════════════════════════════════════════════════════════════
   STICKY GLASSMORPHIC NAVBAR
   ═══════════════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
}

.brand-wordmark {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.22em;
  font-weight: 400;
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 450;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 18px 24px 24px;
  background: rgba(9, 9, 13, 0.98);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 8px 0;
}

.mobile-drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════
   BUTTONS & BADGES
   ═══════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-primary {
  background: #ffffff;
  color: #050507;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 38px rgba(255, 255, 255, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e4e4e7;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO SECTION + ORBITAL RINGS + GENIE + LIVE 3D THINKING ORB
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
  padding: 64px 0 88px;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.9vw, 4.15rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #ffffff;
}

.hero-title .serif-accent {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  background: linear-gradient(110deg, #ffffff 15%, #a5f3fc 48%, #818cf8 78%, #ffffff 95%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 6s linear infinite;
}

@keyframes shimmerText {
  to { background-position: 220% center; }
}

.hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.68;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 540px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-secondary);
}

.trust-item svg {
  color: var(--cyan);
  flex-shrink: 0;
}

/* ── Orbital Constellation Stage (Right Column) ── */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

.orbital-stage {
  position: relative;
  width: 390px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-halo {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(99, 102, 241, 0.06) 45%, transparent 72%);
  animation: pulseHalo 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseHalo {
  0%, 100% { transform: scale(0.95); opacity: 0.65; }
  50% { transform: scale(1.06); opacity: 1; }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring-outer {
  inset: 2%;
  animation: spinCW 14s linear infinite;
}

.orbit-ring-mid {
  inset: 12%;
  animation: spinCCW 9s linear infinite;
}

.orbit-ring-inner {
  inset: 21%;
  animation: spinCW 20s linear infinite;
}

@keyframes spinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinCCW {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.genie-showcase-img {
  width: 72%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.16));
  mask-image: radial-gradient(circle at center, #000 58%, transparent 96%);
  -webkit-mask-image: radial-gradient(circle at center, #000 58%, transparent 96%);
  animation: genieFloat 4.8s ease-in-out infinite;
}

@keyframes genieFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-wordmark-badge {
  margin-top: -10px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-wordmark-badge .jeeni-name {
  font-family: var(--font-serif);
  font-size: 32px;
  letter-spacing: 0.34em;
  color: #ffffff;
  font-weight: 400;
}

.hero-wordmark-badge .jeeni-tag {
  font-size: 10.5px;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Floating Live 3D Thinking Orb Status Chip */
.orb-live-chip {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  border-radius: var(--radius-pill);
  background: rgba(17, 17, 22, 0.9);
  border: 1px solid var(--border-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.2s ease;
  position: relative;
  z-index: 4;
}

.orb-live-chip:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.orb-chip-text {
  text-align: left;
}

.orb-chip-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
}

.orb-chip-hint {
  font-size: 11px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════
   SHARED SECTION STYLING & SCROLL REVEAL
   ═══════════════════════════════════════════════════════════════════════ */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 54px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION 2: INTERACTIVE 6-MODE EXPLORER
   ═══════════════════════════════════════════════════════════════════════ */
.modes-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 28px;
  align-items: stretch;
}

.modes-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mode-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  text-align: left;
  transition: all 0.25s ease;
}

.mode-tab:hover {
  background: var(--bg-elevated);
  border-color: rgba(255, 255, 255, 0.18);
}

.mode-tab.active {
  background: #14141c;
  border-color: var(--mode-color, var(--indigo));
  box-shadow: 0 0 28px -8px var(--mode-color, var(--indigo));
}

.mode-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.mode-tab.active .mode-icon-box {
  background: color-mix(in srgb, var(--mode-color, var(--indigo)) 18%, transparent);
  border-color: color-mix(in srgb, var(--mode-color, var(--indigo)) 50%, transparent);
}

.mode-tab-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.mode-tab-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* Interactive Chat Window Preview */
.mode-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--border-subtle);
}

.preview-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mode-pill-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(99, 102, 241, 0.16);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.preview-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.sim-user-bubble {
  align-self: flex-end;
  max-width: 82%;
  padding: 12px 18px;
  border-radius: 18px 18px 4px 18px;
  background: #23232f;
  border: 1px solid var(--border-strong);
  font-size: 14px;
  color: #ffffff;
}

.sim-ai-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-ai-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-ai-state {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.sim-ai-response {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px;
  font-size: 14px;
  color: #e4e4e7;
  line-height: 1.65;
}

.sim-ai-response strong {
  color: #ffffff;
}

.sim-ai-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.sim-chip {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.preview-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.preview-footer-note {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION 3: VISUAL LEARNING ENGINE SANDBOX
   ═══════════════════════════════════════════════════════════════════════ */
.lab-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
}

.lab-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
}

.lab-tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.lab-tab-btn:hover {
  color: #ffffff;
  border-color: var(--border-strong);
}

.lab-tab-btn.active {
  background: #ffffff;
  color: #050507;
  border-color: #ffffff;
}

.lab-panel {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.lab-panel.active {
  display: grid;
}

.canvas-frame {
  background: #060609;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
}

.canvas-frame canvas {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

.lab-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lab-controls h3 {
  font-size: 20px;
  font-weight: 600;
}

.lab-controls p {
  font-size: 14px;
  color: var(--text-secondary);
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-header {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 500;
}

.control-value {
  color: var(--cyan);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #272734;
  border-radius: 999px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 7px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.toggle-pill input {
  accent-color: var(--cyan);
}

.readout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.readout-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
}

.readout-label {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.readout-val {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

/* Quiz Panel */
.quiz-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 12px;
}

.quiz-option {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  text-align: left;
  font-size: 14px;
  transition: all 0.2s ease;
}

.quiz-option:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.quiz-option.correct {
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.14);
  color: #a7f3d0;
}

.quiz-option.wrong {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
}

.quiz-feedback {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: none;
}

.quiz-feedback.visible {
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION 4: BENTO FEATURES GRID WITH SPOTLIGHT HOVER
   ═══════════════════════════════════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-card);
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.07),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  margin-bottom: 18px;
  color: #ffffff;
}

.bento-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION 5: COMPARISON TABLE
   ═══════════════════════════════════════════════════════════════════════ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.compare-card {
  border-radius: var(--radius-card);
  padding: 30px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.compare-card.jeeni {
  background: linear-gradient(160deg, #13131b 0%, #0b0b10 100%);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 55px rgba(99, 102, 241, 0.12);
}

.compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-header h3 {
  font-size: 19px;
  font-weight: 600;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.compare-card.jeeni .compare-list li {
  color: #e4e4e7;
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION 6: FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--border-strong);
}

.faq-question {
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: #ffffff;
}

.faq-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--text-secondary);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION 7: FINAL CTA & FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  border-radius: 28px;
  padding: 64px 32px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.2), rgba(14, 14, 20, 0.95) 68%);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 36px;
  background: var(--bg-obsidian);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════
   APK DOWNLOAD MODAL
   ═══════════════════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 460px;
  background: #121218;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.modal-steps {
  margin: 16px 0 22px;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Legal Subpages */
.legal-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-wrapper h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}

.legal-meta {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.legal-wrapper h2 {
  font-size: 19px;
  margin: 28px 0 10px;
  color: #ffffff;
}

.legal-wrapper p,
.legal-wrapper li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 12px;
}

.legal-wrapper ul {
  padding-left: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS (Tablet <= 980px, Mobile <= 640px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: 44px 0 68px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    align-items: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .modes-grid,
  .lab-panel.active,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .bento-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .orbital-stage {
    width: 300px;
  }

  .section {
    padding: 68px 0;
  }

  .lab-card {
    padding: 18px;
  }

  .cta-banner {
    padding: 44px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
