@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);
}

* {
  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;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  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;
}

.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: #ffffff;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.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(0, 242, 254, 0.25);
  transform: translateY(-2px);
}

.hero-tagline-row strong {
  display: block;
  color: #ffffff;
  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: rgba(10, 15, 30, 0.85);
  border: 1px solid var(--border-color-glow);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.15);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.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);
}

.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: rgba(0, 0, 0, 0.3);
  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;
}

.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: rgba(0, 0, 0, 0.2);
  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: #ffffff;
  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;
}

@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: #4ade80;
  margin-bottom: 12px;
}

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

.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;
}

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

.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: #ffffff;
  font-weight: 600;
}

.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;
}

.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 rgba(0, 0, 0, 0.3), 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.2);
  color: #818cf8;
  transition: all 0.3s ease;
}

.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: #ffffff;
  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 rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.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;
}

.metrics-row div:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 242, 254, 0.2);
}

.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;
}

.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;
}

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

.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;
}

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

.use-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  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;
}

.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);
}

.pricing-card:hover:not(.featured) {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.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: #ffffff;
  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: #ffffff;
  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;
}

.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");
}

.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 rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  align-items: center;
}

.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;
}

.contact-meta-item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

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

/* 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: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.25s ease;
  outline: none;
}

.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);
}

.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;
}

/* ==========================================================================
   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: #ffffff;
  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;
}

.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;
}

.content-panel:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(17, 24, 39, 0.55);
}

.content-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  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;
}

/* 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 rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-details-box h2,
.post-full-content h2,
.post-full-content h3 {
  color: #ffffff;
  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);
}

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

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

.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;
}

/* ==========================================================================
   WordPress Theme Specific Override Styles
   ========================================================================== */
.page-content .content-panel .elementor-widget-button .elementor-button,
.page-content .content-panel .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(0, 242, 254, 0.12);
  color: #ffffff;
  border: 1px solid rgba(0, 242, 254, 0.2);
  text-decoration: none;
  transition: all 0.25s ease;
}

.page-content .content-panel .elementor-widget-button .elementor-button:hover,
.page-content .content-panel .elementor-button:hover {
  background: rgba(0, 242, 254, 0.22);
  border-color: rgba(0, 242, 254, 0.35);
  color: #ffffff;
}

.page-content .content-panel .elementor {
  display: grid;
  gap: 32px;
}

.page-content .content-panel .elementor-widget-wrap {
  display: grid;
  gap: 24px;
}

.page-content .content-panel .elementor-widget-heading .elementor-heading-title,
.page-content .content-panel .elementor-heading-title,
.page-content .content-panel h1,
.page-content .content-panel h2,
.page-content .content-panel h3,
.page-content .content-panel h4,
.page-content .content-panel h5,
.page-content .content-panel h6,
body.wp-theme-aiseointel-wp-theme-final2 .page-content .content-panel .elementor-heading-title,
body.wp-theme-aiseointel-wp-theme-final2 .page-content .content-panel .elementor-widget-heading h2,
body.wp-theme-aiseointel-wp-theme-final2 .page-content .content-panel .elementor-widget-heading h3 {
  color: var(--text-main) !important;
  margin: 0 0 18px;
}

.page-content .content-panel .elementor-widget-text-editor p,
.page-content .content-panel p,
.page-content .content-panel li,
.page-content .content-panel blockquote,
.page-content .content-panel .elementor-widget-text-editor ul,
.page-content .content-panel .elementor-widget-text-editor ol,
.page-content .content-panel .elementor-widget-text-editor * {
  color: var(--text-muted-light) !important;
  line-height: 1.85;
  margin: 0 0 18px;
}

.page-content .content-panel .elementor-widget-text-editor ul,
.page-content .content-panel .elementor-widget-text-editor ol,
.page-content .content-panel ul,
.page-content .content-panel ol {
  margin: 1rem 0 1.25rem 1.4rem;
  color: var(--text-muted-light);
}

.page-content .content-panel .elementor-widget-image img,
.page-content .content-panel .elementor-image img {
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.page-content .content-panel .elementor-widget-divider .elementor-divider {
  margin: 36px 0;
  border-top-color: var(--border-color);
}

.page-content .content-panel .elementor-icon-box {
  padding: 24px;
  border-radius: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
}

.page-content .content-panel .elementor-icon-box-title,
.page-content .content-panel .elementor-icon-box-description {
  color: var(--text-main);
}

.page-content .content-panel .elementor-widget-spacer {
  min-height: 32px;
}

/* 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;
  }
}
