/* public/css/landing.css */

/* 1. Core Imports & Reset */
@import url("base.css");
@import url("components/buttons.css");
@import url("landing-components.css");

:root {
  --landing-bg: #020617;
  --landing-surface: #0f172a;
  --landing-card-bg: #1e293b;
  --landing-border: rgba(255, 255, 255, 0.1);
  --landing-highlight: rgba(255, 255, 255, 0.2);
  --landing-text-main: #f8fafc;
  --landing-text-muted: #94a3b8;

  --glow-primary: rgba(249, 115, 22, 0.4);
  --grid-line: rgba(255, 255, 255, 0.03);
}

/* Gemini FIX: Strict overflow handling on root */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-color: var(--landing-bg);
  color: var(--landing-text-main);
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  /* 3D Context for the whole page */
  perspective: 2000px;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 2. Background Effects */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    circle at 50% 0%,
    black 30%,
    transparent 80%
  );
  z-index: -2;
  pointer-events: none;
}

.ambient-glow {
  position: absolute;
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
  opacity: 0.2;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.top-center {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
}

/* 3. Navigation */
.landing-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--landing-border);
  background: rgba(2, 6, 23, 0.8);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: white;
}
.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--landing-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-link:hover {
  color: white;
}

/* 4. Buttons */
a.button-primary,
a.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

a.button-primary {
  background: linear-gradient(135deg, #ff8f00 0%, #ff6f00 100%);
  color: white !important;
  border: none;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(255, 143, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
a.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 143, 0, 0.5);
  filter: brightness(1.1);
}

a.button-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--landing-border);
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}
a.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--landing-highlight);
}

.button-primary.big {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}
.button-primary.small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
.button-ghost {
  padding: 0.8rem 2rem;
}

/* 5. Main Layout */
.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  padding-top: 8rem;
  padding-bottom: 4rem;
  /* Gemini FIX: Ensure container clips any rouge children */
  overflow: hidden;
}

/* 6. HERO SECTION */
.hero-section {
  text-align: center;
  margin-bottom: 1rem; /* Reduced from 8rem */
  position: relative;
}

.hero-badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  font-size: 0.8rem;
  color: #fb923c;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.1);
}

h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem 0;
  color: white;
}

.gradient-text {
  background: linear-gradient(to right, #fff 20%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--landing-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem; /* Reduced from 6rem */
}

/* 6.5 HOW IT WORKS */
.how-it-works-section {
  padding: 0 0 4rem 0; /* Reduced bottom padding from 8rem to 4rem */
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; /* Align with Linear Grid gap */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; /* Standardized Gutter */
}

.step-card {
  background: var(--landing-surface);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  
  /* Premium Single Border + Top Highlight (Same as Linear Card) */
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 
    0 4px 20px rgba(0, 0, 0, 0.2); 
  
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
    0 20px 40px -10px rgba(0,0,0,0.5),
    inset 0 0 40px rgba(255, 143, 0, 0.03);
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem; /* Increased margin */
  border: 1px solid rgba(249, 115, 22, 0.2);
  /* Static Glow - "Stable Energy" */
  box-shadow: 0 0 20px rgba(255, 143, 0, 0.15); 
}

.step-card h3 {
  font-size: 1.35rem; /* Increased size */
  color: white;
  margin: 0 0 0.75rem 0;
  font-weight: 700;
}

.step-card p {
  font-size: 0.95rem;
  color: #94a3b8; /* Lighter grey for contrast */
  margin: 0;
  line-height: 1.6;
}

/* End of How It Works Section */

/* 7. GHOST UI (The 3D Dashboard) */
.hero-visual-wrapper {
  perspective: 2000px;
  display: flex;
  justify-content: center;
  position: relative;
  /* Add padding to prevent 3D clipping */
  padding: 40px;
  margin: 0 -40px;
  transform-style: preserve-3d;
}

.ghost-dashboard {
  width: 1000px;
  height: 600px;
  background: var(--landing-surface); /* Glass base */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.3); /* Top highlight */
  border-radius: 16px;
  
  /* 3D Transform - The "Linear" Tilt (Refined to 12deg) */
  transform: rotateX(12deg) scale(0.95);
  transform-style: preserve-3d;
  box-shadow: 
    0 50px 100px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  
  display: flex;
  position: relative;
  z-index: 2;
}

/* The "Thickness" Trick - Simulates physical slab depth */
.ghost-dashboard::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.6);
  transform: translateZ(-5px); /* Push back 5px */
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  pointer-events: none;
}

.visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(20deg); /* Match tilt */
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle at center,
    var(--glow-primary) 0%,
    transparent 60%
  );
  opacity: 0.15;
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
}

/* Internal Layout for Hero Dashboard */
.ghost-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02) 0%,
    transparent 100%
  );
}

.ghost-header-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.ghost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ghost-chart-area {
  flex: 1;
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

.ghost-chart-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(249, 115, 22, 0.15), transparent);
  clip-path: polygon(
    0 100%,
    100% 100%,
    100% 30%,
    85% 15%,
    70% 40%,
    55% 25%,
    40% 60%,
    25% 45%,
    10% 70%,
    0 85%
  );
  border-top: 2px solid var(--primary);
}

/* 7.5. BENTO GRID (Linear Style) */
.bento-section {
  padding: 0 0 8rem 0;
}

.linear-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; /* Standardized Gutter */
}

.linear-card {
  background: var(--landing-surface);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  
  /* Premium Single Border + Top Highlight */
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1), /* Inner Top Light */
    0 4px 20px rgba(0, 0, 0, 0.2); /* Soft Shadow */
  
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Spans */
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }

/* Micro-Interactions */
.linear-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2), /* Brighter Top */
    0 20px 40px -10px rgba(0,0,0,0.5),
    inset 0 0 40px rgba(255, 143, 0, 0.03); /* Subtle Orange Ambient Glow */
}

.linear-card:hover .mini-phone-mock {
  transform: rotate(0deg) translateY(5px) scale(1.02); /* Straighten on hover */
}

.bento-content {
  padding: 0.5rem 2rem 1.5rem 2rem; /* Phase 12: Shift Content Up */
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bento-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem; /* Reduced from 0.75rem */
  color: white;
}

.bento-content p {
  color: var(--landing-text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.25rem; /* Reduced from 2rem */
}

/* Bento Visualizations (Premium CSS/SVG Mocks) */

/* 0. Engagement Ring (Traffic Quality) */
.engagement-ring {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: 1.5rem auto 0; /* Reduced top margin from 2rem */
  aspect-ratio: 1;
}

.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 250px;
}

.circle-bg {
  fill: none;
  stroke: #334155; /* Slate 700 */
  stroke-width: 2.5;
}

.circle {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  animation: progress 1s ease-out forwards;
}

@keyframes progress {
  0% { stroke-dasharray: 0 100; }
}

.percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem; /* Hero Size */
  font-weight: 800;
  color: white;
  text-align: center;
  line-height: 1;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* 1. Horizontal Traffic Bar Chart */
.traffic-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: auto;
  width: 100%;
}

.chart-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chart-label {
  width: 90px;
  font-size: 0.9rem;
  color: white;
  font-weight: 500;
  text-align: right;
}

.chart-bar-container {
  flex: 1;
  height: 24px;
  display: flex;
  align-items: center;
}

.chart-bar-fill {
  height: 12px;
  background: var(--primary);
  border-radius: 6px;
  transform-origin: left;
  animation: expandBar 1s ease-out forwards;
}

@keyframes expandBar {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Tooltip Interaction (Desktop: Hover) */
.chart-tooltip {
  position: absolute;
  top: -32px;
  right: 0;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.2s ease;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.chart-bar-container {
  position: relative; /* For tooltip positioning */
}

.chart-row:hover .chart-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: Static Data Labels */
@media (max-width: 768px) {
  .chart-tooltip {
    opacity: 1;
    transform: none;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 8px; /* Left padding */
    color: #94a3b8; /* Muted text */
    font-size: 0.75rem;
    display: block;
  }
  
  .chart-bar-container {
    overflow: visible; /* Allow label to flow */
  }
}

/* 2. Speed Pulse */
.speed-pulse-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.speed-pulse-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--primary);
  animation: speedPulse 2s infinite ease-in-out;
}

@keyframes speedPulse {
  0% { transform: translateX(-100%); width: 20%; opacity: 0.5; }
  50% { width: 60%; opacity: 1; }
  100% { transform: translateX(300%); width: 20%; opacity: 0.5; }
}

/* 3. Audience Breakdown Bars (Card D) */
.audience-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
  width: 100%;
  flex: 1; /* Push to fill card height */
}

/* Segmented Bar */
.segmented-bar {
  width: 100%;
  height: 16px; /* Increased from 12px for Desktop */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
  display: flex;
  margin-bottom: 0.5rem;
}

.segment.mobile { background: var(--primary); }
.segment.desktop { background: #475569; }

.segment-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot.orange { background: var(--primary); }
.dot.slate { background: #475569; }

/* Location Leaderboard */
.location-leaderboard {
  display: flex;
  flex-direction: column;
  flex: 1; /* Fill remaining space */
  justify-content: space-between; /* Evenly distribute countries */
  min-height: 120px; /* Ensure structure */
}

.bar-group.compact {
  gap: 0.25rem;
}

.bar-label {
  font-size: 1rem; /* Increased from 0.85rem for Desktop */
  color: #cad5e1;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.bar-track.small {
  height: 10px; /* Increased from 6px for Desktop */
  background: rgba(255, 255, 255, 0.05);
}

.bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 99px;
  animation: growBar 1.5s ease-out forwards;
}

.bar-fill.orange {
  background: var(--primary);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}

.bar-fill.slate {
  background: #64748b;
}

.bar-value {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
}

@keyframes growBar {
  from { width: 0; }
}


/* 8. PROBLEM SECTION */
.problem-section {
  padding: 6rem 0;
  border-top: 1px solid var(--landing-border);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: white;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--landing-text-muted);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.phone-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.phone-frame {
  width: 280px;
  height: 550px;
  border: 4px solid #333;
  border-radius: 40px;
  background: #000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Villain: Login Wall */
.phone-screen.grey-screen {
  background: #f1f5f9;
}
.browser-bar {
  background: #fff;
  padding: 12px;
  text-align: center;
  font-size: 0.7rem;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
}
.login-wall-ui {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.login-box {
  width: 60px;
  height: 60px;
  background: #cbd5e1;
  border-radius: 12px;
}
.login-btn {
  background: #3b82f6;
  color: white;
  padding: 8px 24px;
  border-radius: 6px;
  font-weight: 600;
}

/* Hero: Instant App */
.phone-screen.vibrant-screen {
  background: #0f0f0f;
}
.app-ui {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.yt-icon-large {
  color: #ff0000;
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}
.video-mock {
  width: 100%;
  height: 140px;
  background: #333;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid #333;
}
.video-title-mock {
  width: 80%;
  height: 10px;
  background: #444;
  border-radius: 4px;
  margin-bottom: 6px;
}

.caption {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  text-align: center;
}
.text-error {
  color: #f87171;
}
.text-success {
  color: #4ade80;
}



/* RESTORED LEGACY BENTO GRID */
.features-section {
  padding: 8rem 0;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 350px;
  gap: 1.5rem;
}

.bento-card {
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  border-top: 1px solid var(--landing-highlight);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.bento-card.wide {
  grid-column: span 2;
}
.bento-card.tall {
  grid-row: span 2;
  height: auto;
}

.card-content {
  margin-bottom: 1.5rem;
}
.card-content h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
  color: white;
}
.card-content p {
  color: var(--landing-text-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* 10. PRICING */
.pricing-section {
  padding: 6rem 0;
  text-align: center;
}
.pricing-header {
  margin-bottom: 4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  padding: 3rem 2rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card.featured {
  border: 1px solid var(--primary);
  background: linear-gradient(
    180deg,
    rgba(249, 115, 22, 0.05) 0%,
    #0f172a 100%
  );
  position: relative;
}

.beta-badge {
  position: absolute;
  top: -12px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-tier {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}
.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-price .strike {
  text-decoration: line-through;
  color: #64748b;
  font-size: 1.5rem;
  font-weight: 400;
}
.pricing-price .period {
  font-size: 1rem;
  color: #94a3b8;
  font-weight: 400;
  margin-top: 12px;
}

/* Pricing List Alignment Fix */
.pricing-list {
  width: 100%;
  margin-bottom: 2.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--on-surface);
}
.pricing-item.included {
  color: var(--landing-text-main);
}
.pricing-item .icon {
  font-weight: 800;
  font-size: 1rem;
}
.pricing-item.included .icon {
  color: var(--success-color);
}
.pricing-item.excluded .icon {
  color: #64748b;
}
.pricing-item.excluded {
  color: #64748b;
}

.button-primary.full,
.button-ghost.full {
  width: 100%;
}

/* 11. FOOTER */
.landing-footer {
  border-top: 1px solid var(--landing-border);
  padding: 4rem 0;
  margin-top: 8rem;
  display: flex;
  justify-content: space-between;
  color: var(--landing-text-muted);
}
.footer-right {
  display: flex;
  gap: 2rem;
}
.footer-right a:hover {
  color: var(--primary);
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  .nav-content {
    padding: 0.8rem 1rem;
  }
  .nav-links {
    gap: 0.75rem;
  }
  .nav-link {
    font-size: 0.85rem;
  }

  /* Gemini FIX: DO NOT HIDE BUTTON. Shrink it instead. */
  .button-primary.small {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  h1 {
    font-size: 2.2rem;
  }
  .landing-container {
    padding-top: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Gemini FIX: Clamp Glow on Mobile */
  .ambient-glow {
    width: 100%;
    height: 300px;
    filter: blur(50px);
  }


  /* Flatten 3D Hero & Focus Content */
  .hero-visual-wrapper {
    perspective: none;
    margin: 1.5rem 0; 
    padding: 0;
    transform-style: flat;
    width: 100%; /* Ensure it fits */
  }

  .ghost-dashboard {
    width: 100%;
    height: auto;
    transform: none !important; 
    border-radius: 12px;
    flex-direction: column;
    overflow: hidden; /* Clip contents */
  }
  
  /* Hide Thickness on Mobile */
  /* Hide Thickness on Mobile */
  .ghost-dashboard::after {
    display: none;
  }
  
  /* Force chart area height on mobile */
  .ghost-chart-area {
    height: 150px;
    min-height: 150px;
  }

  /* Hide Sidebar & Nav on Mobile - Focus on Data */
  .landing-sidebar, 
  .ghost-header-area {
    display: none !important;
  }

  .landing-stat-value {
    font-size: 1.5rem;
  }
  
  /* Stack grid items */
  .ghost-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .ghost-content {
    padding: 1rem;
  }

  /* Stack Steps Grid */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Fix 3: Stacking */
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Stack Bento grid */
  .linear-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0; 
  }
  
  .linear-card.span-7,
  .linear-card.span-5 {
    grid-column: span 1;
  }
  
  .bento-content {
    padding: 1.5rem;
  }
  
  .speed-value {
    font-size: 2.5rem;
  }
  .bento-card.wide,
  .bento-card.tall {
    grid-column: span 1;
    grid-row: auto;
  }

  .landing-footer {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .footer-right {
    justify-content: center;
  }
}
