/* ==========================================================================
   Terrain Rainfall-Runoff Simulator — Stylesheet
   Modern Cyber-Topographic & Hydrodynamic Design System
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #070c18;
  --bg-surface: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-card-glass: rgba(15, 23, 42, 0.6);
  --bg-subtle: #1e293b;
  
  /* Hydro Neon Accents */
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.35);
  --sky-blue: #38bdf8;
  --royal-blue: #2563eb;
  --deep-blue: #1d4ed8;
  --emerald: #10b981;
  --amber-peak: #f59e0b;
  --danger-red: #ef4444;

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(56, 189, 248, 0.2);
  --border-focus: rgba(0, 240, 255, 0.5);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Glow */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-cyan-glow: 0 0 30px rgba(0, 240, 255, 0.25);
  --shadow-cyan-bright: 0 0 40px rgba(0, 240, 255, 0.4);

  /* Transitions */
  --transition-fast: 0.2s 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);

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.12) 0%, rgba(7, 12, 24, 0) 60%),
              radial-gradient(circle at 100% 40%, rgba(0, 240, 255, 0.05) 0%, rgba(7, 12, 24, 0) 50%),
              var(--bg-main);
}

img, video, canvas {
  max-width: 100%;
  display: block;
}

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

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

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

/* Typography Utilities */
.gradient-text {
  background: linear-gradient(135deg, #00f0ff 0%, #38bdf8 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 9999px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #2563eb 100%);
  color: #030712;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 240, 255, 0.55);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(7, 12, 24, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--neon-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 3px;
}

.lang-btn {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 6px;
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: var(--neon-cyan);
  color: #030712;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon-cyan);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px var(--neon-cyan); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-item svg {
  width: 16px;
  height: 16px;
  fill: var(--neon-cyan);
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 18px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.4), rgba(37, 99, 235, 0.2), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow-cyan-glow), var(--shadow-lg);
}

.hero-image {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 240, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
}

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

.floating-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* ==========================================================================
   Stats Highlights Section
   ========================================================================== */
.stats-section {
  padding: 40px 0 80px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 24px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

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

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--neon-cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Core Features Section
   ========================================================================== */
.features-section {
  padding: 80px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 32px;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--border-glass);
  background: rgba(30, 41, 59, 0.7);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), var(--shadow-cyan-glow);
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(37, 99, 235, 0.25));
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.feature-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sky-blue);
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================================================
   Interactive Demo Section
   ========================================================================== */
.demo-section {
  padding: 90px 0;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.9) 0%, var(--bg-main) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-cyan-glow), var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.demo-map-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-hint {
  font-size: 0.75rem;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.demo-map-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #091322;
  cursor: crosshair;
}

#demo-map-canvas {
  width: 100%;
  display: block;
}

.preset-buttons-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.preset-btn {
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.preset-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--sky-blue);
  color: var(--text-primary);
}

.preset-btn.active {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.demo-analytics-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.point-data-card {
  background: rgba(7, 12, 24, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
}

.point-data-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.data-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.stat-item-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-item-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.val-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.risk-low {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.risk-mid {
  background: rgba(56, 189, 248, 0.15);
  color: var(--sky-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.risk-high {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-peak);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.risk-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.chart-wrapper {
  background: rgba(7, 12, 24, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chart-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

#demo-chart-canvas {
  width: 100%;
  height: 240px;
  display: block;
}

.chart-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Use Cases Section
   ========================================================================== */
.usecases-section {
  padding: 80px 0;
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  transition: var(--transition-normal);
}

.usecase-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.usecase-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--sky-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.usecase-icon-wrapper svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.usecase-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.usecase-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */
.compare-section {
  padding: 80px 0;
}

.compare-table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.compare-table th {
  font-family: var(--font-display);
  font-weight: 700;
  background: rgba(30, 41, 59, 0.5);
  color: var(--text-primary);
}

.compare-table th.highlight-col,
.compare-table td.highlight-col {
  background: rgba(0, 240, 255, 0.05);
  border-left: 1px solid rgba(0, 240, 255, 0.2);
  border-right: 1px solid rgba(0, 240, 255, 0.2);
  font-weight: 600;
  color: var(--neon-cyan);
}

.compare-table th.highlight-col {
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.12);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

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

.pricing-card-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
  border: 2px solid rgba(0, 240, 255, 0.4);
  border-radius: 28px;
  padding: 44px 36px;
  box-shadow: var(--shadow-cyan-bright), var(--shadow-lg);
  backdrop-filter: blur(20px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-popular-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  transform: rotate(45deg);
  background: var(--neon-cyan);
  color: #030712;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 40px;
  box-shadow: 0 2px 10px rgba(0, 240, 255, 0.4);
}

.pricing-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.pricing-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.price-curr {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.price-amt {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.price-tax {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-features-list {
  text-align: left;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 24px;
  margin-bottom: 36px;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  fill: var(--neon-cyan);
  flex-shrink: 0;
}

.pricing-btn {
  width: 100%;
  font-size: 1.1rem;
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item:hover {
  border-color: var(--border-glass);
}

.faq-item.active {
  border-color: var(--border-focus);
  background: rgba(30, 41, 59, 0.8);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--neon-cyan);
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 240px;
  padding-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #030712;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-desc {
  max-width: 340px;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Animations & Reveal Classes
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-meta-list {
    align-items: center;
  }

  .floating-badge {
    bottom: -10px;
    right: 10px;
  }

  .demo-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(7, 12, 24, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .preset-buttons-group {
    grid-template-columns: 1fr;
  }

  .data-stats-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 32px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
