@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* Default Variables - Dark Theme */
:root {
  color-scheme: dark;
  --bg-base: #030712;
  --bg-surface: rgba(17, 24, 39, 0.45);
  --bg-surface-glow: rgba(17, 24, 39, 0.75);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-glow: rgba(99, 102, 241, 0.3);
  
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --secondary-gradient: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #6366f1 50%, #a855f7 100%);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-muted-light: #d1d5db;
  
  --font-heading: 'Outfit', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  
  --grid-line: rgba(255, 255, 255, 0.015);
  --window-bg: rgba(10, 15, 30, 0.85);
  --glow-opacity: 0.15;
  --btn-outline-text: #ffffff;
  --btn-outline-border: rgba(255, 255, 255, 0.1);
  --btn-outline-bg: rgba(255, 255, 255, 0.03);
  --card-shadow: rgba(0, 0, 0, 0.3);
  --sim-prompt-bg: rgba(0, 0, 0, 0.2);
  --sim-prompt-text: #ffffff;
  --sim-tab-inactive-bg: rgba(0, 0, 0, 0.3);
  
  scroll-behavior: smooth;
}

/* Light Theme Overrides */
[data-theme="light"] {
  color-scheme: light;
  --bg-base: #f8fafc;
  --bg-surface: rgba(255, 255, 255, 0.75);
  --bg-surface-glow: rgba(255, 255, 255, 0.95);
  --border-color: rgba(15, 23, 42, 0.08);
  --border-color-glow: rgba(99, 102, 241, 0.25);
  
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-muted-light: #1e293b;
  
  --grid-line: rgba(15, 23, 42, 0.035);
  --window-bg: rgba(255, 255, 255, 0.92);
  --glow-opacity: 0.06;
  --btn-outline-text: #0f172a;
  --btn-outline-border: rgba(15, 23, 42, 0.15);
  --btn-outline-bg: rgba(0, 0, 0, 0.02);
  --card-shadow: rgba(15, 23, 42, 0.06);
  --sim-prompt-bg: rgba(0, 0, 0, 0.03);
  --sim-prompt-text: #0f172a;
  --sim-tab-inactive-bg: rgba(0, 0, 0, 0.04);
}

/* Clear subpixel text rendering bug on light background by hiding invisible/redundant glows and backdrop-filters that force GPU composition */
[data-theme="light"] body {
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
}

[data-theme="light"] .glow-sphere {
  display: none !important;
}

[data-theme="light"] .feature-card,
[data-theme="light"] .hero-tagline-row div,
[data-theme="light"] .simulator-window,
[data-theme="light"] .btn-outline,
[data-theme="light"] .use-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .lead-form-box,
[data-theme="light"] .lead-form input,
[data-theme="light"] .lead-form select,
[data-theme="light"] .lead-form textarea,
[data-theme="light"] .quote-band,
[data-theme="light"] .footer-links a {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Success message visibility in light theme */
[data-theme="light"] #formSuccess {
  background: rgba(34, 197, 94, 0.08) !important;
  border-color: #22c55e !important;
}
[data-theme="light"] #formSuccess p {
  color: #0f172a !important;
}
[data-theme="light"] #formSuccess p:first-child {
  color: #166534 !important;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Cyber-Grid & Ambient Glows */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.glow-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: var(--glow-opacity);
  mix-blend-mode: screen;
  animation: float 20s infinite alternate;
  transition: opacity 0.3s ease;
}

.glow-sphere-1 {
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #00f2fe 0%, transparent 70%);
  animation-duration: 25s;
}

.glow-sphere-2 {
  top: 40%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  animation-duration: 30s;
}

.glow-sphere-3 {
  bottom: -5%;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  animation-duration: 22s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 40px) scale(1.1); }
}

/* Page Shell & Container */
.page-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 85px 24px 40px; /* space for fixed header */
  position: relative;
  z-index: 10;
}

/* Header & Sticky Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 40px;
  background: rgba(3, 7, 18, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.75);
}

.site-header.scrolled {
  padding: 12px 40px;
  background: rgba(3, 7, 18, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(248, 250, 252, 0.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

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

.brand-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: #030712;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
  position: relative;
}

[data-theme="light"] .brand-mark svg {
  stroke: #ffffff;
  fill: none;
}

[data-theme="light"] .brand-mark {
  color: #ffffff;
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  stroke: #030712;
  stroke-width: 2.5;
  fill: none;
}

.brand-name {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

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

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

.nav-menu a {
  color: var(--text-muted-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #00f2fe;
}

[data-theme="light"] .nav-menu a:hover {
  color: #0284c7;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Header CTA */
.header-cta .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Theme Switcher Widget */
.theme-switcher {
  display: inline-flex;
  align-items: center;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--btn-outline-bg);
  border: 1px solid var(--btn-outline-border);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  outline: none;
}

.theme-toggle-btn:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: scale(1.05);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
}

/* Toggle Sun/Moon display */
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* Animated Hamburger Menu */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1010;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

.menu-toggle.open span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.open span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}

/* General Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #030712;
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.25);
}

[data-theme="light"] .btn-primary {
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.4);
  filter: brightness(1.05);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.3);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Sections */
section {
  padding: 90px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: #818cf8;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

[data-theme="light"] .section-label {
  background: rgba(99, 102, 241, 0.06);
  color: #4f46e5;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 100px;
}

.hero-copy {
  position: relative;
  z-index: 10;
}

.eyebrow-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #00f2fe;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

[data-theme="light"] .eyebrow-glow {
  color: #0284c7;
}

[data-theme="light"] .pulsing-dot {
  background-color: #0284c7;
  box-shadow: 0 0 10px #0284c7, 0 0 20px #0284c7;
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  background-color: #00f2fe;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f2fe, 0 0 20px #00f2fe;
  animation: pulse 1.8s infinite;
}

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

.hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--text-main) 0%, rgba(200, 200, 200, 0.1) 160%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-copy h1 {
  background: none;
  -webkit-text-fill-color: initial;
  color: #0f172a;
}

.hero-copy p {
  font-size: 1.1rem;
  color: var(--text-muted-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-tagline-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-tagline-row div {
  padding: 16px 20px;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.hero-tagline-row div:hover {
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-2px);
}

.hero-tagline-row strong {
  display: block;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-tagline-row span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Interactive AI Search Simulator Widget */
.hero-visual {
  position: relative;
  z-index: 10;
}

.simulator-window {
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  background: var(--window-bg);
  border: 1px solid var(--border-color-glow);
  box-shadow: 0 30px 70px var(--card-shadow), 0 0 40px rgba(99, 102, 241, 0.1);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .window-dots span {
  background-color: rgba(0, 0, 0, 0.15);
}

.window-dots span:nth-child(1) { background-color: #ef4444; }
.window-dots span:nth-child(2) { background-color: #eab308; }
.window-dots span:nth-child(3) { background-color: #22c55e; }

.window-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.simulator-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border-color);
}

.sim-tab {
  padding: 12px;
  text-align: center;
  background: var(--sim-tab-inactive-bg);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.sim-tab.active {
  background: transparent;
  color: #00f2fe;
  border-bottom: 2px solid #00f2fe;
}

[data-theme="light"] .sim-tab.active {
  color: #0284c7;
  border-bottom-color: #0284c7;
}

.simulator-body {
  padding: 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-prompt-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sim-prompt-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.sim-prompt-icon {
  color: #818cf8;
  font-size: 1.1rem;
}

.sim-prompt-text {
  font-size: 0.95rem;
  color: var(--sim-prompt-text);
  font-weight: 500;
  width: 100%;
}

.sim-response-box {
  flex-grow: 1;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted-light);
  margin-bottom: 20px;
  min-height: 120px;
}

.sim-cursor {
  display: inline-block;
  width: 2px;
  height: 15px;
  background: #00f2fe;
  margin-left: 2px;
  animation: blink 0.8s infinite;
  vertical-align: middle;
}

[data-theme="light"] .sim-cursor {
  background: #0284c7;
}

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

.sim-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.72rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e;
  margin-bottom: 12px;
}

.sim-badge-tag.bad {
  background: rgba(239, 68, 110, 0.15);
  border: 1px solid rgba(239, 68, 110, 0.25);
  color: #ef4444;
}

.sim-citation-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(0, 242, 254, 0.2);
  color: #00f2fe;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  transition: all 0.2s ease;
}

[data-theme="light"] .sim-citation-link {
  background: rgba(2, 132, 199, 0.15);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.25);
}

.sim-citation-link:hover {
  background: #00f2fe;
  color: #030712;
}

[data-theme="light"] .sim-citation-link:hover {
  background: #0284c7;
  color: #ffffff;
}

.sim-sources-row {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-sources-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.sim-source-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-main);
  font-weight: 600;
}

[data-theme="light"] .sim-source-bubble {
  background: rgba(0, 0, 0, 0.02);
}

.sim-source-bubble span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #818cf8;
  color: #030712;
  font-size: 0.65rem;
  font-weight: 800;
}

/* Feature Grid Section */
.intro-grid {
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 36px;
  border-radius: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--card-shadow);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-glow);
  box-shadow: 0 20px 40px var(--card-shadow), 0 0 25px rgba(99, 102, 241, 0.1);
}

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

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: #818cf8;
  transition: all 0.3s ease;
}

[data-theme="light"] .feature-card-icon {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.12);
}

.feature-card:hover .feature-card-icon {
  background: var(--accent-gradient);
  color: #030712;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Outcomes / Metrics Section */
.quote-band {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.4) 0%, rgba(10, 15, 30, 0.7) 100%);
  border: 1px solid var(--border-color-glow);
  border-radius: 32px;
  padding: 50px 48px;
  margin: 40px 0;
  box-shadow: 0 25px 60px var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

[data-theme="light"] .quote-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 250, 252, 0.85) 100%);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.metrics-row div {
  padding: 24px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

[data-theme="light"] .metrics-row div {
  background: rgba(0, 0, 0, 0.015);
}

.metrics-row div:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="light"] .metrics-row div:hover {
  background: rgba(0, 0, 0, 0.03);
}

.metrics-row strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #00f2fe;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

[data-theme="light"] .metrics-row strong {
  color: #0284c7;
}

.metrics-row span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted-light);
  line-height: 1.3;
}

/* Use Cases Section */
.use-case-grid {
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.use-card {
  padding: 30px 36px;
  border-radius: 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: 0 10px 30px var(--card-shadow);
}

.use-card:hover {
  transform: translateX(6px);
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(17, 24, 39, 0.6);
}

[data-theme="light"] .use-card:hover {
  background: rgba(255, 255, 255, 0.9);
}

.use-card-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(0, 242, 254, 0.25);
  line-height: 1;
}

[data-theme="light"] .use-card-num {
  color: rgba(2, 132, 199, 0.25);
}

.use-card:hover .use-card-num {
  color: #00f2fe;
}

[data-theme="light"] .use-card:hover .use-card-num {
  color: #0284c7;
}

.use-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.use-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Pricing Section */
.pricing-section {
  text-align: center;
}

.pricing-section h2 {
  margin-bottom: 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  text-align: left;
}

.pricing-card {
  padding: 40px;
  border-radius: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 10px 30px var(--card-shadow);
}

.pricing-card.featured {
  background: rgba(12, 18, 42, 0.85);
  border: 2px solid #6366f1;
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
  transform: translateY(-8px);
}

[data-theme="light"] .pricing-card.featured {
  background: rgba(255, 255, 255, 0.95);
  border-color: #4f46e5;
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.1);
}

.pricing-card:hover:not(.featured) {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-gradient);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pricing-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.price-row {
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-card strong {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted-light);
}

.pricing-card li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f2fe' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

[data-theme="light"] .pricing-card li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.pricing-card.featured li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

[data-theme="light"] .pricing-card.featured li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.pricing-card .btn {
  width: 100%;
}

/* Contact / Lead Form Section */
.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.45) 0%, rgba(10, 15, 30, 0.75) 100%);
  border: 1px solid var(--border-color-glow);
  border-radius: 32px;
  padding: 64px;
  margin-top: 40px;
  box-shadow: 0 25px 60px var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  align-items: center;
}

[data-theme="light"] .contact-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.contact-copy h2 {
  margin-bottom: 16px;
}

.contact-copy p {
  color: var(--text-muted-light);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted-light);
}

.contact-meta-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  font-size: 0.95rem;
}

[data-theme="light"] .contact-meta-icon {
  background: rgba(99, 102, 241, 0.05);
  color: #4f46e5;
  border-color: rgba(99, 102, 241, 0.1);
}

.contact-meta-item a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

.contact-meta-item a:hover {
  color: #00f2fe;
}

[data-theme="light"] .contact-meta-item a:hover {
  color: #0284c7;
}

/* Redesigned Form Fields */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.25s ease;
  outline: none;
}

[data-theme="light"] .lead-form input,
[data-theme="light"] .lead-form select,
[data-theme="light"] .lead-form textarea {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 23, 42, 0.12);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: #6366f1;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .lead-form input:focus,
[data-theme="light"] .lead-form select:focus,
[data-theme="light"] .lead-form textarea:focus {
  background: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.1);
}

.lead-form label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 6px;
}

.lead-form button {
  margin-top: 8px;
}

/* Footer Section */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #00f2fe;
}

[data-theme="light"] .footer-links a:hover {
  color: #0284c7;
}

/* ==========================================================================
   Subpages Style Override (About, Services, Blog, Detail Pages)
   ========================================================================== */
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.page-intro {
  max-width: 800px;
  color: var(--text-muted-light);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 48px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumb a {
  color: #818cf8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #00f2fe;
}

[data-theme="light"] .breadcrumb a {
  color: #4f46e5;
}

[data-theme="light"] .breadcrumb a:hover {
  color: #0284c7;
}

.page-content {
  padding: 40px 0 80px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.content-panel {
  padding: 36px;
  border-radius: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px var(--card-shadow);
}

.content-panel:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: var(--bg-surface-glow);
}

.content-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.content-panel p {
  color: var(--text-muted-light);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.content-panel p:last-child {
  margin-bottom: 0;
}

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

.page-summary li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted-light);
  font-size: 0.98rem;
}

.page-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 8px #00f2fe;
}

[data-theme="light"] .page-summary li::before {
  background: #0284c7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.4);
}

/* Service Detail and Blog Pages specific elements */
.service-details-box, 
.post-full-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 48px;
  border-radius: 32px;
  box-shadow: 0 25px 50px var(--card-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-details-box h2,
.post-full-content h2,
.post-full-content h3 {
  color: var(--text-main);
  margin-top: 36px;
  margin-bottom: 18px;
  font-family: var(--font-heading);
}

.service-details-box h2:first-child,
.post-full-content h2:first-child {
  margin-top: 0;
}

.service-details-box p,
.post-full-content p {
  color: var(--text-muted-light);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-details-box ul,
.post-full-content ul {
  margin-left: 20px;
  margin-bottom: 24px;
  color: var(--text-muted-light);
}

.service-details-box li,
.post-full-content li {
  margin-bottom: 10px;
}

/* Blog Listing */
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.post-preview {
  padding: 36px;
  border-radius: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px var(--card-shadow);
}

.post-preview:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 15px 30px var(--card-shadow);
}

.post-preview time {
  font-size: 0.82rem;
  color: #818cf8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

[data-theme="light"] .post-preview time {
  color: #4f46e5;
}

.post-preview h2, .post-preview h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.3;
}

.post-preview p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.post-preview .btn {
  align-self: flex-start;
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-tagline-row {
    max-width: 600px;
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .intro-grid,
  .use-case-grid,
  .pricing-grid,
  .contact-section,
  .quote-band {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quote-band {
    text-align: center;
  }

  .metrics-row {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 16px 24px;
  }
  
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    height: calc(100vh - 73px);
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 24px;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-top: 1px solid var(--border-color);
  }

  [data-theme="light"] .nav-links {
    background: rgba(248, 250, 252, 0.98);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu {
    flex-direction: column;
    gap: 30px;
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    font-size: 1.2rem;
  }

  .header-cta {
    width: 100%;
    margin-left: 0;
  }

  .header-cta .btn {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
  }

  .hero-tagline-row,
  .metrics-row,
  .feature-grid,
  .content-grid,
  .blog-list {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 40px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
}

/* ==========================================================================
   AI REDESIGN & INTERACTIVE WIDGET STYLES
   ========================================================================== */

/* Cohort Selector (Personalization Pathway) */
.cohort-selector-container {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cohort-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cohort-selector {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 999px;
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cohort-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cohort-btn:hover {
  color: var(--text-main);
}

.cohort-btn.active {
  background: var(--accent-gradient);
  color: #030712;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

[data-theme="light"] .cohort-btn.active {
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

/* Personalization Fade Transition */
.personalize-fade {
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: translateY(0);
}

.personalize-fade.fade-out {
  opacity: 0;
  transform: translateY(4px);
}

/* Live Semantic Crawler & Heuristic Audit Widget */
.audit-widget {
  background: var(--window-bg);
  border: 1px solid var(--border-color-glow);
  box-shadow: 0 20px 50px var(--card-shadow);
  border-radius: 24px;
  padding: 32px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.audit-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
}

.audit-header {
  margin-bottom: 24px;
}

.audit-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.audit-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.audit-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.audit-input {
  flex-grow: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  outline: none;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.audit-input:focus {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.15);
}

.audit-btn {
  background: var(--primary-gradient);
  color: #030712;
  border: none;
  padding: 0 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="light"] .audit-btn {
  color: #ffffff;
}

.audit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.25);
  filter: brightness(1.05);
}

/* Audit Results Layout */
.audit-results {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  border-top: 1px dashed var(--border-color);
  padding-top: 32px;
  margin-top: 24px;
}

.audit-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding-right: 40px;
}

.score-radial {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.score-radial svg {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-radial circle {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}

.score-radial .bg-circle {
  stroke: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .score-radial .bg-circle {
  stroke: rgba(0, 0, 0, 0.05);
}

.score-radial .progress-circle {
  stroke: url(#scoreGradient);
  stroke-dasharray: 408;
  stroke-dashoffset: 408;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.score-label {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score-label.poor { color: #ef4444; }
.score-label.average { color: #f59e0b; }
.score-label.excellent { color: #10b981; }

.audit-details-col h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.recommendations-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted-light);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

[data-theme="light"] .rec-item {
  background: rgba(0, 0, 0, 0.01);
}

.rec-status-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.rec-item.passed .rec-status-icon { color: #10b981; }
.rec-item.failed .rec-status-icon { color: #ef4444; }
.rec-item.warning .rec-status-icon { color: #f59e0b; }

.rec-title {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

/* Service Detail View Toggles (Technical vs Executive) */
.view-selector-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.view-selector {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 12px;
}

.view-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.view-btn.active {
  background: rgba(255, 255, 255, 0.05);
  color: #00f2fe;
}

[data-theme="light"] .view-btn.active {
  background: rgba(0, 0, 0, 0.04);
  color: #0284c7;
}

.adaptive-view-section {
  display: block;
}

.view-panel {
  display: none;
}

.view-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

/* Multi-Step Conversational Booking Form */
.conversational-form-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-progress-wrapper {
  margin-bottom: 24px;
}

.form-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

[data-theme="light"] .form-progress-bar {
  background: rgba(0, 0, 0, 0.05);
}

.form-progress-fill {
  height: 100%;
  background: var(--accent-gradient);
  width: 33%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-steps-count {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.conversational-step {
  display: none;
}

.conversational-step.active {
  display: block;
  animation: slideInForm 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInForm {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.conversational-step h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
}

.conversational-step .form-group {
  margin-bottom: 0;
}

.form-nav-row {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 16px;
}

.btn-form-prev {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted-light);
}

.btn-form-prev:hover {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .btn-form-prev:hover {
  background: rgba(0, 0, 0, 0.02);
}

/* Ethical AI Transparency Badge & Floating Schema Panel */
.ethics-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: help;
  position: relative;
  text-decoration: none;
}

[data-theme="light"] .ethics-info-badge {
  background: rgba(99, 102, 241, 0.05);
  color: #4f46e5;
  border-color: rgba(99, 102, 241, 0.15);
}

.ethics-info-badge:hover .ethics-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ethics-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  width: 260px;
  background: var(--window-bg);
  border: 1px solid var(--border-color-glow);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  padding: 16px;
  border-radius: 12px;
  color: var(--text-muted-light);
  font-weight: 400;
  line-height: 1.4;
  font-size: 0.78rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  text-align: left;
}

.ethics-tooltip strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 6px;
  font-weight: 700;
}

/* Floating Schema Node Graph Viewer Widget */
.schema-graph-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.3);
  z-index: 999;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .schema-graph-button {
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.25);
}

.schema-graph-button:hover {
  transform: scale(1.08) translateY(-2px);
}

.schema-graph-button svg {
  width: 24px;
  height: 24px;
}

.schema-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border-color);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .schema-drawer {
  background: rgba(248, 250, 252, 0.98);
}

.schema-drawer.open {
  transform: translateX(0);
}

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

.schema-drawer-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

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

.schema-drawer-body {
  padding: 24px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.schema-graph-visualizer {
  height: 220px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.graph-svg-container {
  width: 100%;
  height: 100%;
}

.schema-code-viewer {
  flex-grow: 1;
  background: #010409;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #e6edf3;
  overflow-x: auto;
  white-space: pre;
}

[data-theme="light"] .schema-code-viewer {
  background: #1e1e1e;
}

/* Adjust layout gaps */
@media (max-width: 968px) {
  .audit-results {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .audit-score-col {
    border-right: none;
    border-bottom: 1px dashed var(--border-color);
    padding-right: 0;
    padding-bottom: 30px;
  }
  
  .audit-form-row {
    flex-direction: column;
  }
  
  .audit-btn {
    padding: 14px;
    justify-content: center;
  }
}

