/* ==========================================================================
   SiteLink Vision / AuditWebsite.in - Modern Responsive Home Page Stylesheet
   Luxury Dark Theme with Glassmorphism, Fluid Typography & Mobile Optimization
   ========================================================================== */

:root {
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(11, 17, 32, 0.82);
  --bg-glass-nav: rgba(9, 13, 24, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.35);
  --border-cyan-glow: rgba(6, 182, 212, 0.35);

  --accent-indigo: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-sky: #38bdf8;
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #06b6d4 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 20%, #cbd5e1 60%, #94a3b8 100%);
  --gradient-highlight: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  --gradient-dark-card: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-bright: #ffffff;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.25);
  --shadow-cyan-glow: 0 0 30px rgba(6, 182, 212, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Ambient Glow Orbs */
.ambient-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  will-change: transform;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  left: 10%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(79, 70, 229, 0.1) 70%, transparent 100%);
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  top: 20%;
  right: -100px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(59, 130, 246, 0.1) 70%, transparent 100%);
  animation: floatOrb 25s ease-in-out infinite alternate-reverse;
}

.glow-orb-3 {
  width: 650px;
  height: 650px;
  bottom: 10%;
  left: 20%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(236, 72, 153, 0.08) 70%, transparent 100%);
  animation: floatOrb 30s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

/* Background Mesh Grid Lines */
.bg-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* Content Container Wrapper */
.page-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* Fluid Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-bright);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.text-gradient {
  background: var(--gradient-highlight);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: var(--bg-glass-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-normal);
}

.site-nav.scrolled {
  height: 64px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(99, 102, 241, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-sky);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.35);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.nav-brand:hover .brand-icon-box {
  transform: scale(1.06) rotate(3deg);
  border-color: var(--accent-cyan);
}

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

.brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-bright);
}

.brand-title .accent {
  color: var(--accent-sky);
}

.brand-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: #ffffff;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.70rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Nav Links - Desktop */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.06);
}

/* Nav CTA Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 14px rgba(99, 102, 241, 0.45);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 22px rgba(99, 102, 241, 0.75), 0 0 12px rgba(6, 182, 212, 0.4);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px;
  color: var(--text-bright);
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-toggle:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(99, 102, 241, 0.4);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-bright);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer Menu */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  background: rgba(9, 13, 24, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.3);
  padding: 20px 24px 30px;
  z-index: 99;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  flex-direction: column;
  gap: 16px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-drawer.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  min-height: 48px;
}

.mobile-nav-link svg {
  color: var(--accent-sky);
  flex-shrink: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #ffffff;
}

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

.btn-mobile-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Status Pill */
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  animation: pulsePill 3s infinite alternate ease-in-out;
}

@keyframes pulsePill {
  0% { box-shadow: 0 0 12px rgba(99, 102, 241, 0.2); }
  100% { box-shadow: 0 0 24px rgba(99, 102, 241, 0.45); }
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: blinkDot 1.6s infinite ease-in-out;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Headline */
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-bright);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 36px;
  font-weight: 450;
}

/* Hero Omnibar (Interactive Quick Audit) */
.hero-omnibar-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(99, 102, 241, 0.45);
  border-radius: var(--radius-md);
  padding: 8px 10px 8px 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(99, 102, 241, 0.25);
  max-width: 760px;
  margin: 0 auto 20px;
  transition: all var(--transition-normal);
}

.hero-omnibar-card:focus-within {
  border-color: var(--accent-indigo);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.7), 0 0 45px rgba(99, 102, 241, 0.45);
}

.hero-omnibar-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.omnibar-input-group {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 10px;
}

.omnibar-icon {
  color: var(--accent-sky);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.4));
}

.hero-url-input {
  flex: 1;
  min-width: 120px;
  height: 48px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-bright);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
}

.hero-url-input::placeholder {
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.omnibar-tool-select {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  height: 40px;
  padding: 0 10px;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
}

.omnibar-tool-select option {
  background: #0f172a;
  color: #f8fafc;
}

.btn-hero-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.45);
  transition: all var(--transition-fast);
}

.btn-hero-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.7);
}

.btn-hero-submit:active {
  transform: translateY(1px);
}

/* Quick Try Pills */
.hero-quick-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 45px;
}

.quick-pill-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-pill:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--text-bright);
  transform: translateY(-1px);
}

/* Hero Live Interactive Visualizer Preview Canvas */
.hero-preview-frame {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(99, 102, 241, 0.2);
  overflow: hidden;
}

.preview-browser-header {
  height: 42px;
  background: rgba(11, 17, 32, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-url-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 4px 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #7dd3fc;
  max-width: 400px;
  width: 100%;
}

.browser-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-live-canvas {
  font-size: 0.70rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

/* Interactive SVG Diagram Preview in Hero */
.preview-svg-canvas {
  width: 100%;
  height: 420px;
  display: block;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, rgba(9, 13, 22, 0.9) 75%);
}

/* Floating Metrics Badges on Hero Preview */
.floating-metric-badge {
  position: absolute;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--text-bright);
  pointer-events: none;
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.floating-badge-1 {
  top: 60px;
  left: 24px;
  animation-delay: 0s;
}

.floating-badge-2 {
  bottom: 30px;
  left: 30px;
  animation-delay: 1.5s;
}

.floating-badge-3 {
  top: 80px;
  right: 24px;
  animation-delay: 0.8s;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.fmb-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.fmb-icon.green { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.fmb-icon.blue { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }
.fmb-icon.purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }

.fmb-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.fmb-title {
  font-size: 0.82rem;
  color: var(--text-bright);
}

.fmb-sub {
  font-size: 0.70rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==========================================================================
   Trust / Stats Metrics Strip
   ========================================================================== */
.stats-strip {
  padding: 30px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.35);
  margin-top: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-highlight);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent-sky);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Core Suite Products Section (3 Cards)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--gradient-dark-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.25);
}

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

.product-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent-sky);
}

.card-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.badge-cyan { background: rgba(6, 182, 212, 0.15); color: #38bdf8; border: 1px solid rgba(6, 182, 212, 0.3); }
.badge-indigo { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.3); }
.badge-emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }

.product-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-bright);
}

.product-card-desc {
  font-size: 0.90rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.product-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.feature-bullet svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-card-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.15);
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-card-launch:hover {
  background: var(--gradient-primary);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

/* ==========================================================================
   Deep Technical SEO Audit Features (6 Cards Grid)
   ========================================================================== */
.audit-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.audit-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-fast);
}

.audit-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(30, 41, 59, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.audit-card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: inline-block;
}

.audit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-bright);
}

.audit-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Interactive 8 Clusters Blueprint Spotlight
   ========================================================================== */
.clusters-spotlight {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(11, 17, 32, 0.9) 100%);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.clusters-tab-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 30px;
}

.clusters-tab-bar::-webkit-scrollbar {
  height: 4px;
}

.cluster-model-tab {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cluster-model-tab:hover {
  color: var(--text-bright);
  border-color: rgba(99, 102, 241, 0.35);
}

.cluster-model-tab.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-indigo);
  color: #ffffff;
  font-weight: 700;
}

.cluster-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.cluster-detail-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cluster-detail-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.cluster-best-for {
  background: rgba(15, 23, 42, 0.7);
  border-left: 3px solid var(--accent-sky);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.cluster-detail-visual {
  background: #090e1a;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* ==========================================================================
   How It Works (3 Steps)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.step-card {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(30, 41, 59, 0.6);
}

.step-number-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.4);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-bright);
}

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

/* ==========================================================================
   Comparison Table Section
   ========================================================================== */
.comparison-container {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.7);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.90rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: rgba(11, 17, 32, 0.95);
  font-weight: 700;
  color: var(--text-bright);
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
  background: rgba(99, 102, 241, 0.1);
  border-left: 1.5px solid rgba(99, 102, 241, 0.35);
  border-right: 1.5px solid rgba(99, 102, 241, 0.35);
}

.comparison-table th.highlight-col {
  color: var(--accent-sky);
  font-weight: 800;
}

.check-green {
  color: #10b981;
  font-weight: 800;
  font-size: 1.1rem;
}

.cross-red {
  color: #ef4444;
  font-weight: 800;
  font-size: 1.1rem;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.faq-item.active {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(20, 29, 50, 0.85);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: var(--text-bright);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

.faq-chevron {
  color: var(--accent-sky);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer-panel {
  max-height: 600px;
  padding-bottom: 22px;
  transition: max-height 0.4s ease-in-out;
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.final-cta-section {
  padding: 80px 0 100px;
}

.final-cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.2) 50%, rgba(168, 85, 247, 0.25) 100%);
  border: 1.5px solid rgba(99, 102, 241, 0.5);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(99, 102, 241, 0.3);
  overflow: hidden;
}

.final-cta-card h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: 16px;
}

.final-cta-card p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 32px;
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 32px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.6);
  transition: all var(--transition-fast);
}

.btn-cta-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.8), 0 0 16px rgba(6, 182, 212, 0.5);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.btn-cta-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(99, 102, 241, 0.4);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: rgba(9, 13, 22, 0.98);
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 35px;
  margin-top: auto;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 340px;
  margin-top: 14px;
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color var(--transition-fast);
}

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

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

/* ==========================================================================
   Mobile Responsiveness (Media Queries)
   ========================================================================== */

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .nav-links-desktop {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .audit-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .cluster-detail-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
  .site-nav {
    height: 64px;
  }
  .mobile-drawer {
    top: 64px;
    max-height: calc(100vh - 64px);
  }
  .nav-actions .btn-nav-primary {
    display: none; /* Mobile drawer contains the primary CTA button */
  }
  .brand-subtitle {
    display: none; /* Keep header compact on mobile */
  }
  .hero-section {
    padding: 36px 0 36px;
  }
  .hero-status-pill {
    font-size: 0.74rem;
    padding: 5px 12px;
  }
  .hero-omnibar-form {
    flex-direction: column;
    align-items: stretch;
  }
  .omnibar-input-group {
    width: 100%;
  }
  .omnibar-tool-select {
    width: 100%;
  }
  .btn-hero-submit {
    width: 100%;
  }
  .hero-preview-frame {
    margin: 0 -8px;
    border-radius: var(--radius-md);
  }
  .preview-svg-canvas {
    height: 320px;
  }
  .floating-metric-badge {
    display: none; /* Hide floating badges on small mobile screens to keep canvas uncluttered */
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .audit-features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .clusters-spotlight {
    padding: 24px 16px;
  }
}

/* Extra Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-subtitle {
    font-size: 0.92rem;
  }
  .hero-omnibar-card {
    padding: 12px;
  }
  .hero-url-input {
    font-size: 0.90rem;
    height: 42px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .final-cta-card {
    padding: 40px 18px;
  }
  .btn-cta-large, .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}
