@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:ital,wght@0,400..700;1,400..700&display=swap');

:root, [data-theme="dark"] {
  --bg: #09080F;
  --bg-subtle: #0E0C17;
  --panel: #131120;
  --panel-card: rgba(24, 21, 39, 0.7);
  --panel-hover: rgba(33, 29, 54, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(47, 217, 208, 0.35);
  --border-violet: rgba(124, 77, 224, 0.4);
  
  --tx-primary: #F7F6FC;
  --tx-secondary: #D4D0E4;
  --tx-muted: #8E87A5;
  --tx-dim: #635C7A;
  
  --accent-teal: #2FD9D0;
  --accent-teal-glow: rgba(47, 217, 208, 0.25);
  --accent-violet: #7C4DE0;
  --accent-violet-glow: rgba(124, 77, 224, 0.35);
  --accent-lavender: #B79BFF;
  --accent-warn: #FFB250;
  --accent-danger: #FF6666;
  --accent-success: #26D07C;
  
  --btn-grad: linear-gradient(105deg, #7C4DE0 0%, #4D32B8 50%, #2FD9D0 100%);
  --btn-grad-hover: linear-gradient(105deg, #8E60F2 0%, #5E3DD6 50%, #43E5DC 100%);
  --card-grad: linear-gradient(165deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  --hero-glow: radial-gradient(circle, rgba(124,77,224,0.22) 0%, rgba(47,217,208,0.12) 50%, transparent 75%);
  
  --header-bg: rgba(9, 8, 15, 0.78);
  --modal-bg: rgba(15, 13, 26, 0.95);
  --scrim: rgba(4, 3, 8, 0.82);
  --shadow-lg: 0 24px 60px -15px rgba(0, 0, 0, 0.7), 0 0 35px -10px rgba(124, 77, 224, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
  --bg: #F8F6F2;
  --bg-subtle: #F0EDE6;
  --panel: #FFFFFF;
  --panel-card: rgba(255, 255, 255, 0.9);
  --panel-hover: #FFFFFF;
  --border: rgba(20, 16, 32, 0.09);
  --border-strong: rgba(20, 16, 32, 0.18);
  --border-accent: rgba(11, 142, 136, 0.35);
  --border-violet: rgba(98, 52, 201, 0.35);
  
  --tx-primary: #15121F;
  --tx-secondary: #353046;
  --tx-muted: #645D77;
  --tx-dim: #9088A5;
  
  --accent-teal: #0E8E88;
  --accent-teal-glow: rgba(14, 142, 136, 0.2);
  --accent-violet: #6234C9;
  --accent-violet-glow: rgba(98, 52, 201, 0.2);
  --accent-lavender: #5B2FCB;
  --accent-warn: #8D5408;
  --accent-danger: #B52820;
  --accent-success: #0C874C;
  
  --btn-grad: linear-gradient(105deg, #6234C9 0%, #4721A8 50%, #0E8E88 100%);
  --btn-grad-hover: linear-gradient(105deg, #7444E0 0%, #5628C4 50%, #12A8A2 100%);
  --card-grad: linear-gradient(165deg, rgba(255,255,255,0.95) 0%, rgba(245,242,250,0.85) 100%);
  --hero-glow: radial-gradient(circle, rgba(98,52,201,0.12) 0%, rgba(14,142,136,0.08) 50%, transparent 75%);
  
  --header-bg: rgba(248, 246, 242, 0.85);
  --modal-bg: rgba(255, 255, 255, 0.98);
  --scrim: rgba(15, 12, 24, 0.45);
  --shadow-lg: 0 20px 50px -15px rgba(52, 36, 90, 0.15), 0 0 25px -10px rgba(98, 52, 201, 0.1);
  --shadow-card: 0 8px 24px -8px rgba(30, 20, 50, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--tx-primary);
  font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography Helpers */
.font-serif {
  font-family: 'Instrument Serif', Georgia, serif;
}
.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Links & Buttons */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* Ambient Background Canvas */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.65;
  will-change: transform;
}

.orb-1 {
  top: -15vw;
  left: -10vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(124, 77, 224, 0.32), transparent 70%);
  animation: driftOrb1 32s ease-in-out infinite alternate;
}

.orb-2 {
  top: 30vw;
  right: -15vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(47, 217, 208, 0.22), transparent 70%);
  animation: driftOrb2 38s ease-in-out infinite alternate;
}

.orb-3 {
  bottom: 10vw;
  left: 20vw;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(91, 47, 203, 0.18), transparent 70%);
  animation: driftOrb3 45s ease-in-out infinite alternate;
}

@keyframes driftOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8%, 12%) scale(1.15); }
}
@keyframes driftOrb2 {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-10%, -8%) scale(0.95); }
}
@keyframes driftOrb3 {
  0% { transform: translate(0, 0) scale(0.9); }
  100% { transform: translate(-6%, 10%) scale(1.12); }
}

/* Header & Nav */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(24px) saturate(160%);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img, .brand-logo svg {
  width: 36px;
  height: 36px;
  display: block;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tx-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(47, 217, 208, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent-teal);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-pill-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--tx-muted);
  padding: 8px 15px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--tx-primary);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link.active {
  background: rgba(20, 16, 32, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--tx-secondary);
  font-size: 15px;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: var(--border);
  color: var(--tx-primary);
  transform: rotate(15deg);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--btn-grad);
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px -6px rgba(124, 77, 224, 0.55);
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: var(--btn-grad-hover);
  box-shadow: 0 12px 30px -6px rgba(47, 217, 208, 0.55);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--tx-primary);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-lavender);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.burger-line {
  width: 20px;
  height: 2px;
  background: var(--tx-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--modal-bg);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border);
}

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

.mobile-nav-link {
  font-size: 18px;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Global Section Styles */
.section-wrapper {
  position: relative;
  padding: 90px 0;
  border-top: 1px solid var(--border);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--accent-teal);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(47, 217, 208, 0.08);
  border: 1px solid var(--border-accent);
}

.section-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--tx-primary);
  margin-bottom: 20px;
  font-weight: 400;
}

.section-title em {
  font-style: italic;
  background-image: linear-gradient(105deg, var(--accent-lavender), var(--accent-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--tx-muted);
  line-height: 1.65;
  max-width: 680px;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 60px 0 90px;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  margin-bottom: 26px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 12px var(--accent-teal);
  animation: pulseRing 2.2s infinite ease-in-out;
}

@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 16px var(--accent-teal); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-pill-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--tx-secondary);
  font-weight: 600;
}

.hero-heading {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-heading em {
  font-style: italic;
  background-image: linear-gradient(105deg, var(--accent-lavender), var(--accent-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.hero-desc {
  font-size: clamp(16.5px, 1.35vw, 19.5px);
  line-height: 1.6;
  color: var(--tx-muted);
  max-width: 550px;
  margin-bottom: 34px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.badge-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid var(--border);
  color: var(--tx-dim);
  background: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.05em;
}

.badge-item.highlight {
  border-color: var(--border-violet);
  color: var(--accent-lavender);
  background: rgba(124, 77, 224, 0.1);
  font-weight: 600;
}

/* AI MORNING BRIEFING CARD */
.briefing-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.radar-sweep-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 25%;
  background: linear-gradient(180deg, rgba(47, 217, 208, 0.16), transparent);
  animation: sweepDown 7s linear infinite;
  pointer-events: none;
}

@keyframes sweepDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(400%); }
}

.briefing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.briefing-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--tx-dim);
}

.briefing-agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent-teal);
  background: rgba(47, 217, 208, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-accent);
}

.briefing-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 18px;
  color: var(--tx-primary);
  font-weight: 400;
}

.briefing-deal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.deal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.deal-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  transform: translateX(3px);
}

.deal-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--tx-primary);
  margin-bottom: 2px;
}

.deal-note {
  font-size: 12px;
  color: var(--tx-muted);
}

.deal-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.chip-pursue {
  background: rgba(47, 217, 208, 0.15);
  color: var(--accent-teal);
  border: 1px solid var(--border-accent);
}

.chip-warn {
  background: rgba(255, 178, 80, 0.15);
  color: var(--accent-warn);
  border: 1px solid rgba(255, 178, 80, 0.3);
}

.chip-closed {
  background: rgba(38, 208, 124, 0.15);
  color: var(--accent-success);
  border: 1px solid rgba(38, 208, 124, 0.3);
}

.briefing-decision-box {
  padding: 15px;
  border-radius: 14px;
  border: 1px solid var(--border-violet);
  background: linear-gradient(105deg, rgba(124, 77, 224, 0.15), rgba(47, 217, 208, 0.08));
}

.decision-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-lavender);
  margin-bottom: 6px;
}

.decision-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--tx-secondary);
}

/* MARQUEE ROW */
.marquee-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.01);
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  animation: marqueeRoll 36s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  font-size: 14.5px;
  color: var(--tx-muted);
}

.marquee-item span {
  color: var(--accent-teal);
  font-family: 'JetBrains Mono', monospace;
}

@keyframes marqueeRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* INTERACTIVE AI CRO SIMULATOR SECTION (NEW UPGRADE) */
.simulator-container {
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 40px;
}

.sim-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 14px;
}

.sim-window-dots {
  display: flex;
  gap: 8px;
}

.sim-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.sim-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--tx-secondary);
  letter-spacing: 0.06em;
}

.sim-scenarios {
  display: flex;
  gap: 8px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  overflow-x: auto;
}

.scenario-btn {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--tx-muted);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.scenario-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--tx-primary);
}

.scenario-btn.active {
  background: rgba(124, 77, 224, 0.16);
  border-color: var(--border-violet);
  color: var(--accent-lavender);
  font-weight: 600;
}

.sim-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 28px 24px;
}

.sim-panel-box {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.sim-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--tx-dim);
}

.sim-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.sim-metric-card {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  text-align: center;
}

.sim-metric-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 4px;
}

.sim-metric-lbl {
  font-size: 11px;
  color: var(--tx-dim);
}

.sim-reasoning-output {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--tx-secondary);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  min-height: 180px;
}

.typing-cursor {
  display: inline-block;
  width: 7px;
  height: 15px;
  background: var(--accent-teal);
  margin-left: 4px;
  vertical-align: middle;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* THE 5-STAGE RADIAL FLYWHEEL ("HOW IT WORKS") */
.flywheel-section {
  position: relative;
  padding: 90px 0;
}

.flywheel-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
  padding: 40px;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.dial-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.dial-ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}

.dial-ring-dashed {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(47, 217, 208, 0.4);
  animation: spinDial 60s linear infinite;
}

@keyframes spinDial {
  to { transform: rotate(360deg); }
}

.dial-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 77, 224, 0.25), rgba(47, 217, 208, 0.08) 70%, transparent);
  border: 1px solid var(--border-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  box-shadow: 0 0 40px -10px rgba(47, 217, 208, 0.25);
  animation: coreBreathe 6s ease-in-out infinite;
}

@keyframes coreBreathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.04); box-shadow: 0 0 50px rgba(47, 217, 208, 0.35); }
}

.dial-node {
  position: absolute;
  width: 130px;
  margin: -45px 0 0 -65px;
  text-align: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.dial-node-bubble {
  position: relative;
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid var(--border-strong);
  color: var(--tx-primary);
  transition: all 0.3s ease;
}

.dial-node:hover .dial-node-bubble, .dial-node.active .dial-node-bubble {
  background: var(--btn-grad);
  border-color: var(--accent-teal);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(47, 217, 208, 0.6);
  transform: scale(1.12);
}

.dial-node-title {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tx-primary);
  transition: color 0.2s ease;
}

.dial-node-sub {
  display: block;
  font-size: 11px;
  color: var(--tx-muted);
}

.flywheel-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stage-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.stage-card.active {
  border-color: var(--border-accent);
  background: linear-gradient(150deg, rgba(47, 217, 208, 0.08), rgba(124, 77, 224, 0.06));
  box-shadow: 0 10px 30px -10px rgba(47, 217, 208, 0.15);
}

/* DYNAMIC ROI CALCULATOR SECTION (NEW UPGRADE) */
.roi-card {
  margin-top: 40px;
  border-radius: 26px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.calc-input-group {
  margin-bottom: 28px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.calc-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tx-primary);
}

.calc-value-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-teal);
}

.calc-slider {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: var(--border-strong);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 12px var(--accent-teal);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-result-box {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border-accent);
  background: radial-gradient(circle at top right, rgba(47, 217, 208, 0.15), rgba(124, 77, 224, 0.08) 70%);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.result-main-metric {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.result-val {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(38px, 4.5vw, 54px);
  color: var(--tx-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.result-sub {
  font-size: 13.5px;
  color: var(--tx-muted);
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-mini-card {
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.result-mini-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 4px;
}

.result-mini-lbl {
  font-size: 11.5px;
  color: var(--tx-muted);
}

/* LIVE PIPELINE MATRIX & DEALS TABLE */
.matrix-container {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--panel);
  overflow: hidden;
  margin-top: 40px;
  box-shadow: var(--shadow-card);
}

.matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  flex-wrap: wrap;
  gap: 12px;
}

.matrix-tabs {
  display: flex;
  gap: 6px;
}

.matrix-tab-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--tx-muted);
  transition: all 0.2s ease;
}

.matrix-tab-btn:hover {
  color: var(--tx-primary);
  background: rgba(255, 255, 255, 0.08);
}

.matrix-tab-btn.active {
  background: var(--accent-teal);
  color: #09080F;
  border-color: var(--accent-teal);
}

.table-responsive {
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 760px;
}

.matrix-table th {
  padding: 14px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--tx-dim);
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid var(--border);
}

.matrix-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  vertical-align: middle;
}

.matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.confidence-bar-wrap {
  width: 90px;
  height: 5px;
  border-radius: 4px;
  background: var(--border-strong);
  overflow: hidden;
  margin-top: 5px;
}

.confidence-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-teal));
  transition: width 0.8s ease;
}

/* MODE A VS MODE B SECTION */
.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.mode-card {
  padding: 38px;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  position: relative;
  overflow: hidden;
}

.mode-card.featured {
  border-color: var(--border-accent);
  box-shadow: 0 15px 40px -15px rgba(47, 217, 208, 0.2);
}

.mode-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent-teal);
  margin-bottom: 16px;
}

.mode-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--tx-primary);
  font-weight: 400;
}

.mode-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.mode-pill {
  font-size: 12.5px;
  padding: 7px 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--tx-secondary);
}

/* FOUNDING MEMBER PRICING & COHORT SECTION */
.pricing-section {
  padding: 90px 0;
}

.pricing-cohort-bar {
  max-width: 680px;
  margin: 0 auto 36px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-accent);
  background: rgba(47, 217, 208, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.cohort-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tx-primary);
}

.cohort-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-teal);
}

.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 50px;
}

.billing-toggle-pill {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.billing-btn {
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--tx-muted);
  transition: all 0.2s ease;
}

.billing-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--tx-primary);
}

[data-theme="light"] .billing-btn.active {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.save-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent-teal);
  background: rgba(47, 217, 208, 0.14);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 28px;
}

.price-card {
  padding: 38px 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.price-card.featured {
  border-color: var(--border-violet);
  background: linear-gradient(165deg, rgba(124, 77, 224, 0.1), rgba(47, 217, 208, 0.04));
  box-shadow: 0 20px 50px -15px rgba(124, 77, 224, 0.3);
}

.popular-badge {
  position: absolute;
  top: -13px;
  right: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--btn-grad);
  color: #FFFFFF;
}

.price-tier-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-tier-desc {
  font-size: 13.5px;
  color: var(--tx-muted);
  min-height: 42px;
  margin-bottom: 24px;
}

.price-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
}

.price-currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--tx-muted);
}

.price-number {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 54px;
  line-height: 1;
  color: var(--tx-primary);
}

.price-period {
  font-size: 14px;
  color: var(--tx-dim);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--tx-secondary);
}

.feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(47, 217, 208, 0.15);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex: none;
  margin-top: 2px;
}

/* SECURITY & COMPLIANCE GRID */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  margin-top: 40px;
}

.security-card {
  padding: 26px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.security-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}

.security-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--tx-primary);
}

.security-desc {
  font-size: 13.5px;
  color: var(--tx-muted);
  line-height: 1.5;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 70px 0 35px;
  background: rgba(0, 0, 0, 0.2);
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--tx-dim);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 13.5px;
  color: var(--tx-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--tx-dim);
  flex-wrap: wrap;
  gap: 16px;
}

/* MODAL SYSTEM (EARLY ACCESS / DEMO) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--scrim);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-window {
  width: 100%;
  max-width: 540px;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: var(--modal-bg);
  box-shadow: var(--shadow-lg);
  padding: 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal-window {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx-muted);
  font-size: 18px;
}

.modal-close-btn:hover {
  color: var(--tx-primary);
  background: rgba(255, 255, 255, 0.12);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--tx-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--tx-primary);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-teal);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px var(--accent-teal-glow);
}

/* TOAST NOTIFICATION */
.toast-notice {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1001;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--accent-teal);
  color: var(--tx-primary);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  display: none;
  align-items: center;
  gap: 10px;
  animation: slideToast 0.3s ease;
}

@keyframes slideToast {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .nav-pill-desktop, .header-actions .btn-primary {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  .flywheel-wrapper {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .sim-body {
    grid-template-columns: 1fr;
  }
  .roi-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .modes-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .section-wrapper {
    padding: 60px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .sim-metric-grid {
    grid-template-columns: 1fr;
  }
  .modal-window {
    padding: 24px;
  }
}
