/**
 * Sunday Back Landing Page — Styles
 *
 * WHAT: Complete CSS for the Sunday Back landing page
 * WHY: Dark navy + warm orange theme matching brand guidelines
 * WHEN: February 12, 2026
 * WHO: Loaded by index.html
 * HOW: Mobile-first responsive design, CSS custom properties for theming
 *
 * Design system:
 *   - Primary color: Sunday Orange #C75B12
 *   - Background: Navy #0F0F1A (deepened from #1A1A2E for better contrast)
 *   - Surface: #1A1A2E (cards, nav)
 *   - Text primary: #F0F0F5
 *   - Text secondary: #9999AA
 *   - Font: Inter
 *   - Vibe: "Linear.app meets friendly AI"
 */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   WHAT: Centralized color, spacing, and typography values
   WHY: Easy theming and consistency across all components
   ========================================================================== */

:root {
  /* Colors — Brand */
  --color-orange: #C75B12;
  --color-orange-light: #E07020;
  --color-orange-bright: #F5A623;
  --color-orange-glow: rgba(199, 91, 18, 0.15);
  --color-orange-glow-strong: rgba(199, 91, 18, 0.3);

  /* Colors — Backgrounds (slightly deeper for more contrast) */
  --bg-primary: #08081A;
  --bg-surface: #0E0E1E;
  --bg-card: #151528;
  --bg-card-hover: #1E1E3A;

  /* Colors — Text (slightly brighter for more punch) */
  --text-primary: #F5F5FA;
  --text-secondary: #A0A0B8;
  --text-muted: #606078;

  /* Colors — Utility */
  --color-success: #34D399;
  --color-error: #EF4444;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);

  /* Typography — sharper scale, bigger hero */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2.25rem;
  --font-size-4xl: 3rem;
  --font-size-5xl: 4rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows — deeper, more layered */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-orange: 0 4px 30px rgba(199, 91, 18, 0.3);
  --shadow-orange-strong: 0 8px 50px rgba(199, 91, 18, 0.4);

  /* Transitions — snappier */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

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

/* ==========================================================================
   RESET & BASE
   WHAT: Normalize browser defaults, set base styles
   WHY: Consistent rendering across browsers
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Offset anchor scroll targets so the fixed nav doesn't cover them */
[id] {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--color-orange-light);
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   UTILITY: Gradient text, glow, and decorative effects
   WHAT: Reusable modern visual effects
   WHY: Adds depth and premium feel throughout the page
   ========================================================================== */

/* Gradient text — orange to warm yellow */
.gradient-text {
  background: linear-gradient(135deg, #E07020 0%, #F5A623 50%, #C75B12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle dot grid pattern overlay for sections */
.dot-grid {
  position: relative;
}

.dot-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.dot-grid > * {
  position: relative;
  z-index: 1;
}

/* Glassmorphism card base */
.glass {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Gradient border effect (used on featured cards) */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-orange), transparent 60%);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.glow-border:hover::before {
  opacity: 1;
}

/* ==========================================================================
   LAYOUT
   WHAT: Container and section spacing
   WHY: Consistent max-width and vertical rhythm
   ========================================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-dark {
  background-color: var(--bg-surface);
  position: relative;
}

/* Subtle top/bottom gradient borders on dark sections */
.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

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

.section-callout {
  text-align: center;
  font-size: var(--font-size-xl);
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-orange-bright), var(--color-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: var(--space-3xl);
  line-height: 1.5;
}

/* ==========================================================================
   BUTTONS
   WHAT: Primary and secondary button styles
   WHY: Consistent CTA styling throughout the page
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange-light) 0%, var(--color-orange) 100%);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-orange-bright) 0%, var(--color-orange-light) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-strong);
}

/* Subtle shimmer sweep on primary buttons */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1.5px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background: var(--color-orange-glow);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(199, 91, 18, 0.15);
}

.btn-large {
  font-size: var(--font-size-lg);
  padding: 1.1rem 2.75rem;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   NAVIGATION
   WHAT: Fixed top navigation bar
   WHY: Persistent access to key sections and CTA
   HOW: Transparent initially, gets background on scroll via .scrolled class
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8, 8, 26, 0.8);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--color-border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-primary);
  font-weight: 700;
  font-size: var(--font-size-lg);
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--text-primary);
}

/* Nav logo icon — uses logo 4.png (sun with white arrows, transparent bg) */
.nav-logo-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  font-size: var(--font-size-sm);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--color-orange-light), var(--color-orange));
  color: #fff !important;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 2px 12px rgba(199, 91, 18, 0.3);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--color-orange-bright), var(--color-orange-light));
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(199, 91, 18, 0.4);
}

/* Hamburger menu (mobile) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* ==========================================================================
   HERO SECTION
   WHAT: Main above-the-fold area
   WHY: First impression — must be visually striking and clear
   ========================================================================== */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  position: relative;
  overflow: hidden;
  /* Multi-layered gradient mesh — gives depth and warmth */
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(199, 91, 18, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(100, 50, 200, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(199, 91, 18, 0.06) 0%, transparent 50%),
    var(--bg-primary);
}

/* Animated floating orbs behind the hero for depth */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: heroFloat 8s ease-in-out infinite alternate;
}

/* Large orange orb — top right */
.hero::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(199, 91, 18, 0.15) 0%, transparent 70%);
  top: -10%;
  right: -10%;
}

/* Smaller purple-tinted orb — bottom left */
.hero::after {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(120, 60, 220, 0.08) 0%, transparent 70%);
  bottom: 10%;
  left: -5%;
  animation-delay: -4s;
  animation-duration: 10s;
}

@keyframes heroFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.08); }
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

/* Gradient text applied to hero title span via .gradient-text class */
.hero-title .gradient-text {
  background: linear-gradient(135deg, #F5A623 0%, #E07020 40%, #C75B12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

/* Waitlist form (shared between hero and footer) */
.waitlist-form {
  max-width: 480px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: var(--space-sm);
}

.form-row input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.25rem;
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  background: rgba(21, 21, 40, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.form-row input[type="email"]:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px var(--color-orange-glow), 0 4px 16px rgba(199, 91, 18, 0.1);
  background: rgba(21, 21, 40, 0.8);
}

.form-row input[type="email"]::placeholder {
  color: var(--text-muted);
}

.form-message {
  display: block;
  margin-top: var(--space-sm);
  font-size: var(--font-size-sm);
  min-height: 1.25rem;
}

.form-message.success {
  color: var(--color-success);
}

.form-message.error {
  color: var(--color-error);
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-surface));
  pointer-events: none;
}

/* ==========================================================================
   SOCIAL PROOF BAR
   WHAT: Quick stats strip
   WHY: Trust signals between hero and content
   ========================================================================== */

.social-proof {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--bg-surface);
  position: relative;
}

.proof-items {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.proof-item {
  text-align: center;
  transition: transform var(--transition-fast);
}

.proof-item:hover {
  transform: scale(1.05);
}

.proof-number {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-orange-bright), var(--color-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proof-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

/* ==========================================================================
   PAIN / PROBLEM SECTION
   WHAT: 4 stat cards showing the pain
   WHY: Emotional resonance — "this person understands me"
   ========================================================================== */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.pain-card {
  background: rgba(21, 21, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.pain-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(199, 91, 18, 0.4), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.pain-card:hover {
  border-color: rgba(199, 91, 18, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(199, 91, 18, 0.1);
}

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

.pain-stat {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-orange-bright), var(--color-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.pain-text {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

/* ==========================================================================
   ORG CHART (Solution Section)
   WHAT: Visual hierarchy showing Founder → PM → 5 Agents
   WHY: Makes the "department" concept tangible and visual
   ========================================================================== */

.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  max-width: 800px;
  margin: 0 auto;
}

.org-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  background: rgba(21, 21, 40, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.org-you {
  border-color: rgba(255, 255, 255, 0.12);
}

.org-manager {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-orange);
  background: linear-gradient(135deg, rgba(21, 21, 40, 0.8), rgba(199, 91, 18, 0.08));
}

.org-icon {
  font-size: 1.75rem;
}

.org-role {
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.org-action {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
}

.org-connector {
  width: 2px;
  height: 24px;
  background: var(--color-border);
}

.org-agents {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.org-agent {
  padding: var(--space-md) var(--space-lg);
}

.org-agent:hover {
  border-color: var(--color-orange);
  transform: translateY(-2px);
}

/* ==========================================================================
   COMPARISON TABLE (Not a Tool section)
   WHAT: Side-by-side comparison of AI tools vs Sunday Back
   WHY: Sharp differentiation positioning
   ========================================================================== */

.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.comparison-col {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  background: rgba(21, 21, 40, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.comparison-col:hover {
  transform: translateY(-2px);
}

.comparison-us {
  border-color: var(--color-orange);
  background: linear-gradient(135deg, rgba(21, 21, 40, 0.6) 0%, rgba(199, 91, 18, 0.08) 100%);
  box-shadow: 0 4px 30px rgba(199, 91, 18, 0.1);
}

.comparison-header {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.comparison-sub {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.comparison-list {
  list-style: none;
  padding: 0;
}

.comparison-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.comparison-us .comparison-list li {
  color: var(--text-primary);
}

.comparison-list li:last-child {
  border-bottom: none;
}

.comparison-bottom {
  margin-top: var(--space-lg);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-muted);
}

.comparison-highlight {
  color: var(--color-orange) !important;
}

/* ==========================================================================
   HOW IT WORKS (3 Steps)
   WHAT: Three-step horizontal flow
   WHY: Reduces perceived complexity
   ========================================================================== */

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-xl);
}

.step {
  text-align: center;
  max-width: 280px;
  flex: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-orange-light), var(--color-orange));
  color: #fff;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 20px rgba(199, 91, 18, 0.35);
}

.step-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.step-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-orange);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.step-description {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-arrow {
  font-size: var(--font-size-2xl);
  color: var(--text-muted);
  padding-top: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   AUTONOMY LADDER ("The Beach Test")
   WHAT: 4-level autonomy progression cards
   WHY: Shows how the system earns trust over time — key differentiator
   ========================================================================== */

.autonomy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.autonomy-card {
  background: rgba(21, 21, 40, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.autonomy-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
}

/* Active autonomy levels (3 & 4) — the beach-ready ones */
.autonomy-card-active {
  border-color: rgba(199, 91, 18, 0.3);
  background: linear-gradient(160deg, rgba(21, 21, 40, 0.6) 0%, rgba(199, 91, 18, 0.06) 100%);
}

.autonomy-card-active:hover {
  border-color: var(--color-orange);
  box-shadow: 0 4px 24px rgba(199, 91, 18, 0.1);
}

.autonomy-level {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.autonomy-card-active .autonomy-level {
  color: var(--color-orange);
}

.autonomy-name {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.autonomy-beach {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

.autonomy-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   PILLARS GRID ("Built Different")
   WHAT: 4 feature pillar cards — Heartbeat, Briefing, Learning, Events
   WHY: Differentiators no competitor has
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.pillar-card {
  background: rgba(21, 21, 40, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 91, 18, 0.3);
  box-shadow: 0 8px 32px rgba(199, 91, 18, 0.08);
}

.pillar-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: var(--space-md);
}

.pillar-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.pillar-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.pillar-tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-orange);
  background: var(--color-orange-glow);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   CREDIT TABLE
   WHAT: Transparent credit cost breakdown
   WHY: Differentiates from Genspark's opaque credit confusion
   ========================================================================== */

.credit-table {
  max-width: 640px;
  margin: 0 auto;
}

.credit-row {
  display: flex;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  gap: var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.credit-row:hover {
  background: rgba(199, 91, 18, 0.04);
}

.credit-row:last-child {
  border-bottom: none;
}

.credit-row-free {
  opacity: 0.8;
}

.credit-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.credit-task {
  flex: 1;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.credit-cost {
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: var(--color-orange);
  white-space: nowrap;
}

.credit-row-free .credit-cost {
  color: var(--color-success);
}

.credit-summary {
  text-align: center;
  margin-top: var(--space-2xl);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.credit-summary strong {
  color: var(--text-primary);
}

/* ==========================================================================
   CUSTOMER STORY (Sarah)
   WHAT: Before/after narrative with savings metrics
   WHY: Makes value tangible with dollars and hours
   ========================================================================== */

.story {
  max-width: 900px;
  margin: 0 auto;
}

.story-intro {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.story-name {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: var(--space-xs);
}

.story-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.story-before,
.story-after {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  background: rgba(21, 21, 40, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.story-before:hover,
.story-after:hover {
  transform: translateY(-2px);
}

.story-after {
  border-color: var(--color-orange);
  background: linear-gradient(135deg, rgba(21, 21, 40, 0.5) 0%, rgba(199, 91, 18, 0.06) 100%);
  box-shadow: 0 4px 24px rgba(199, 91, 18, 0.08);
}

.story-heading {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.story-heading-before {
  color: var(--text-muted);
}

.story-heading-after {
  color: var(--color-orange);
}

.story-heading-after del {
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
  opacity: 0.7;
}

.story-before ul,
.story-after ul {
  list-style: none;
  padding: 0;
}

.story-before ul li,
.story-after ul li {
  padding: var(--space-sm) 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--color-border);
  line-height: 1.5;
}

.story-after ul li {
  color: var(--text-primary);
}

.story-before ul li:last-child,
.story-after ul li:last-child {
  border-bottom: none;
}

.story-total {
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-muted);
}

.story-total-after {
  color: var(--color-orange) !important;
}

.story-savings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.savings-item {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(21, 21, 40, 0.5);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.savings-item:hover {
  border-color: rgba(199, 91, 18, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(199, 91, 18, 0.08);
}

.savings-number {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-orange-bright), var(--color-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.savings-label {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
}

.story-punchline {
  text-align: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-orange);
}

/* ==========================================================================
   PRICING SECTION
   WHAT: Three pricing tiers with founder pricing
   WHY: Core conversion element — show value and create urgency
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: rgba(21, 21, 40, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-hover);
}

.pricing-popular {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-orange);
  transform: scale(1.04);
  background: linear-gradient(160deg, rgba(21, 21, 40, 0.7) 0%, rgba(199, 91, 18, 0.08) 100%);
}

.pricing-popular:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: var(--shadow-orange-strong);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-orange-light), var(--color-orange));
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(199, 91, 18, 0.3);
  white-space: nowrap;
}

/* "Limited" badge variant — subtle border style instead of filled */
.pricing-badge-limited {
  background: transparent;
  border: 1.5px solid var(--color-orange);
  color: var(--color-orange);
  box-shadow: 0 4px 16px rgba(199, 91, 18, 0.15);
}

.pricing-tier {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.pricing-price {
  margin-bottom: var(--space-xs);
}

.pricing-amount {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-period {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
}

.pricing-future {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

/* Strikethrough standard price — clear visual contrast with launch price */
.pricing-future del {
  text-decoration: line-through;
  color: var(--text-muted);
  opacity: 0.7;
}

.pricing-credits {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.pricing-multiplier {
  display: inline-block;
  margin-left: var(--space-sm);
  background: var(--color-orange-glow);
  color: var(--color-orange);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-xl);
  flex: 1;
}

.pricing-features li {
  padding: var(--space-sm) 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓ ';
  color: var(--color-orange);
  font-weight: 700;
}

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

.pricing-footer {
  text-align: center;
  margin-top: var(--space-2xl);
}

.founding-spots {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-orange);
  margin-bottom: var(--space-sm);
}

.pricing-comparison {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.pricing-extras {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   PREVIEW MODE CTA
   WHAT: Free preview callout card
   WHY: Reduce friction — see value before paying
   ========================================================================== */

.preview-section {
  background: var(--bg-primary);
}

.preview-card {
  background: linear-gradient(160deg, rgba(21, 21, 40, 0.7) 0%, rgba(199, 91, 18, 0.1) 100%);
  border: 1.5px solid var(--color-orange);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-orange);
  position: relative;
  overflow: hidden;
}

/* Decorative glow orb behind the preview card */
.preview-card::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(199, 91, 18, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.preview-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  line-height: 1.3;
}

.preview-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  text-align: left;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.preview-step {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}

.preview-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-orange-light), var(--color-orange));
  color: #fff;
  font-weight: 700;
  font-size: var(--font-size-sm);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(199, 91, 18, 0.3);
}

.preview-note {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   FAQ SECTION
   WHAT: Accordion-style FAQ items
   WHY: Overcomes objections without cluttering the page
   ========================================================================== */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-lg) var(--space-sm);
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}

.faq-question:hover {
  color: var(--color-orange);
  background: rgba(199, 91, 18, 0.04);
}

.faq-chevron {
  font-size: var(--font-size-xs);
  transition: transform var(--transition-base);
  color: var(--text-muted);
}

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

.faq-answer {
  padding: 0 0 var(--space-lg) 0;
}

.faq-answer p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   FINAL CTA
   WHAT: Bottom-of-page email capture
   WHY: Warm visitors who scrolled all the way — one more chance
   ========================================================================== */

.final-cta {
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(199, 91, 18, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(100, 50, 200, 0.04) 0%, transparent 50%),
    var(--bg-primary);
  text-align: center;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.final-cta-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.final-cta-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.final-cta-note {
  margin-top: var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.founding-count-inline {
  color: var(--color-orange);
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   WHAT: Bottom footer with links, brand, and AI disclaimer
   WHY: Legal requirements and brand reinforcement
   ========================================================================== */

.footer {
  background: var(--bg-surface);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid transparent;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-logo {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-links a {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
}

.ai-disclaimer {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  font-style: italic;
}

.footer-copy {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   SCROLL ANIMATIONS
   WHAT: Fade-in and slide-up effect for sections
   WHY: Progressive reveal makes the page feel polished
   HOW: Elements start invisible, .visible class triggers animation
   ========================================================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for grid children */
.animate-stagger > *:nth-child(1) { transition-delay: 0ms; }
.animate-stagger > *:nth-child(2) { transition-delay: 80ms; }
.animate-stagger > *:nth-child(3) { transition-delay: 160ms; }
.animate-stagger > *:nth-child(4) { transition-delay: 240ms; }
.animate-stagger > *:nth-child(5) { transition-delay: 320ms; }
.animate-stagger > *:nth-child(6) { transition-delay: 400ms; }

.animate-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   WHAT: Breakpoints for tablet and mobile
   WHY: Mobile-first — most LinkedIn traffic is mobile
   ========================================================================== */

/* Tablet: 768px and below */
@media (max-width: 768px) {
  /* Nav: show hamburger, hide desktop links */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(11, 11, 20, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: var(--font-size-lg);
  }

  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Hero */
  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-xl);
  }

  .hero-trust {
    flex-direction: column;
    gap: var(--space-sm);
  }

  /* Form stacking */
  .form-row {
    flex-direction: column;
  }

  .form-row .btn {
    width: 100%;
  }

  /* Grids → single column */
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-table {
    grid-template-columns: 1fr;
  }

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

  .story-savings {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-popular {
    transform: none;
  }

  .pricing-popular:hover {
    transform: translateY(-4px);
  }

  /* Steps: vertical on mobile */
  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  /* Autonomy grid: 2 columns on tablet */
  .autonomy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pillars grid: single column on tablet */
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  /* Proof bar */
  .proof-items {
    gap: var(--space-xl);
  }

  /* Section spacing */
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Final CTA */
  .final-cta-title {
    font-size: var(--font-size-3xl);
  }

  /* Org chart agents stacking */
  .org-agents {
    flex-direction: column;
    align-items: center;
  }
}

/* Small mobile: 480px and below */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-title {
    font-size: var(--font-size-2xl);
  }

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

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

  .story-savings {
    grid-template-columns: 1fr;
  }

  .proof-items {
    flex-direction: column;
    gap: var(--space-md);
  }

  .preview-card {
    padding: var(--space-xl);
  }
}
