/* ==========================================================================
   DreaMarz, LLC - Official Design System & Stylesheet
   Brand Colors:
     - Cosmic Midnight: #080312 / #0f0622
     - Neon Violet / Magenta: #cb00fe
     - Deep Royal Purple / Indigo: #5000b1 / #6b21a8
     - Star Spark Gold: #fbbf24
     - Clean Slate & Pure White: #f8fafc / #cbd5e1 / #94a3b8
   ========================================================================== */

:root {
  --bg-dark: #080312;
  --bg-darker: #04010a;
  --bg-card: rgba(20, 10, 38, 0.75);
  --bg-card-hover: rgba(30, 15, 56, 0.85);
  --bg-surface: #140a26;
  --bg-glass: rgba(255, 255, 255, 0.04);
  
  --primary: #cb00fe;
  --primary-glow: rgba(203, 0, 254, 0.35);
  --primary-subtle: rgba(203, 0, 254, 0.12);
  --primary-gradient: linear-gradient(135deg, #cb00fe 0%, #7928ca 50%, #5000b1 100%);
  
  --secondary: #5000b1;
  --secondary-light: #7c3aed;
  --accent-gold: #fbbf24;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-subtle: rgba(203, 0, 254, 0.18);
  --border-focus: rgba(203, 0, 254, 0.6);
  --border-light: rgba(255, 255, 255, 0.08);
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 0 35px rgba(203, 0, 254, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light theme support */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-darker: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --bg-surface: #ffffff;
  --bg-glass: rgba(0, 0, 0, 0.03);
  
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  
  --border-subtle: rgba(203, 0, 254, 0.2);
  --border-light: rgba(0, 0, 0, 0.08);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(203, 0, 254, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(80, 0, 177, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(203, 0, 254, 0.08) 0%, transparent 45%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Badges & Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--primary-subtle);
  border: 1px solid var(--border-subtle);
  color: #f17aff;
  width: fit-content;
}

.pill-glow {
  box-shadow: 0 0 15px var(--primary-subtle);
}

.pill-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #f39fff 50%, #cb00fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #cb00fe 0%, #a855f7 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 3, 18, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(203, 0, 254, 0.4));
  transition: var(--transition);
}

.brand-link:hover .brand-logo-img {
  transform: rotate(5deg) scale(1.05);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.brand-star {
  color: var(--accent-gold);
  font-size: 0.95rem;
}

.brand-tagline {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(203, 0, 254, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(203, 0, 254, 0.6);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--primary-subtle);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: 0.5rem;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Hero Section */
.hero-section {
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  margin-top: 0.5rem;
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-proof-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-number {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
}

.proof-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Interactive Mockup / Telemetry Dashboard */
.hero-telemetry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-glow), var(--shadow-card);
  backdrop-filter: blur(20px);
  position: relative;
}

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

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.console-dot.red { background: #ef4444; }
.console-dot.yellow { background: #eab308; }
.console-dot.green { background: #10b981; }

.console-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.telemetry-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.telemetry-tab-btn {
  flex: 1;
  padding: 0.45rem 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.telemetry-tab-btn.active {
  background: var(--primary-subtle);
  color: #f17aff;
  box-shadow: 0 0 10px rgba(203, 0, 254, 0.25);
}

.telemetry-feed {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.feed-row.success { border-color: var(--accent-emerald); }
.feed-row.warning { border-color: var(--accent-gold); }
.feed-row.info { border-color: var(--accent-cyan); }

.feed-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feed-badge {
  font-size: 0.675rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.feed-badge.sec { color: #f472b6; background: rgba(244, 114, 182, 0.15); }
.feed-badge.data { color: #38bdf8; background: rgba(56, 189, 248, 0.15); }

.feed-time {
  color: var(--text-dim);
  font-size: 0.725rem;
}

/* Trust Bar / Logos */
.trust-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(10, 5, 22, 0.5);
}

.trust-title {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.trust-badges-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: var(--transition);
}

.trust-badge-item:hover {
  opacity: 1;
  color: #ffffff;
  transform: translateY(-2px);
}

.trust-badge-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

/* Section Common Styling */
.section-padding {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-header.text-left {
  text-align: left;
  align-items: flex-start;
  margin-left: 0;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* Dual Engine Synergy Section */
.synergy-section {
  background: radial-gradient(circle at 50% 50%, rgba(203, 0, 254, 0.08) 0%, transparent 60%);
}

.synergy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.synergy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.synergy-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-glow);
}

.synergy-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.synergy-card h3 {
  margin-bottom: 1rem;
}

.synergy-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.synergy-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.synergy-list li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px -10px rgba(203, 0, 254, 0.25);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.service-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}

.service-link:hover {
  gap: 0.7rem;
  color: #e074ff;
}

/* Assessment Teaser Card */
.assessment-cta-box {
  background: linear-gradient(135deg, rgba(30, 10, 60, 0.9) 0%, rgba(15, 5, 30, 0.95) 100%);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 0 50px rgba(203, 0, 254, 0.2);
}

.assessment-cta-content h2 {
  margin-bottom: 1rem;
}

.assessment-cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.assessment-score-preview {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  margin: 0 auto 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--primary-subtle);
}

.score-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
}

.score-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Case Studies / Scenarios */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.case-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-4px);
}

.case-industry {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.case-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.case-metric-box {
  background: rgba(203, 0, 254, 0.06);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
  border: 1px solid rgba(203, 0, 254, 0.15);
}

.case-metric-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
}

.case-metric-lbl {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Leadership Team Section */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1040px;
  margin: 0 auto;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.founder-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.founder-img-wrap {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
  background: #110524;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.founder-card:hover .founder-img {
  transform: scale(1.03);
}

.founder-overlay-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(8, 3, 18, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #f17aff;
  border: 1px solid var(--border-subtle);
}

.founder-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.founder-name {
  font-size: 1.55rem;
  font-weight: 700;
}

.founder-role {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}

.founder-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.founder-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.spec-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-subtle);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.75rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.75rem 1.5rem;
}

/* Banner CTA */
.cta-banner {
  background: radial-gradient(circle at 50% 50%, rgba(203, 0, 254, 0.18) 0%, rgba(80, 0, 177, 0.25) 50%, rgba(8, 3, 18, 0.9) 100%);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2.5rem;
  text-align: center;
  margin: 4rem auto;
  box-shadow: 0 0 60px rgba(203, 0, 254, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Site Footer */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2.5rem;
  margin-top: 5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-legal-notice {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Assessment Tool Specific Styles */
.assessment-container {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.quiz-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 20%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.quiz-question-title {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.quiz-question-sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.quiz-option-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
}

.quiz-option-card:hover {
  background: var(--primary-subtle);
  border-color: var(--border-subtle);
}

.quiz-option-card.selected {
  background: rgba(203, 0, 254, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(203, 0, 254, 0.2);
}

.quiz-radio-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.quiz-option-card.selected .quiz-radio-indicator {
  border-color: var(--primary);
}

.quiz-option-card.selected .quiz-radio-indicator::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.quiz-option-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.quiz-option-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.quiz-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Results State */
.results-card {
  text-align: center;
}

.results-gauge {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 1.5rem auto;
  border: 8px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px var(--primary-subtle);
}

.results-score-big {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
}

.results-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2.5rem 0;
  text-align: left;
}

.domain-score-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.domain-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.domain-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.domain-bar-fill {
  height: 100%;
  background: var(--primary-gradient);
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(203, 0, 254, 0.3);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-telemetry-card {
    max-width: 600px;
    margin: 0 auto;
  }
  .synergy-grid,
  .team-grid,
  .assessment-cta-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-actions {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .section-padding {
    padding: 4rem 0;
  }
  .assessment-cta-box {
    padding: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .results-breakdown-grid {
    grid-template-columns: 1fr;
  }
  .founder-img-wrap {
    height: 320px;
  }
}

/* Mobile Slide-in Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: #0d051f;
  border-left: 1px solid var(--border-subtle);
  z-index: 2000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.3s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
}

.drawer-overlay.open {
  display: block;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.drawer-links a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}

