/* TrueUp — Professional Construction Video Calls
   Colors extracted from logo:
   - Orange (hard hat): #F47920
   - Blue (aperture): #2D8BCB
   - Dark gray (tools): #3D3D3D
*/

:root {
  /* Brand Colors from Logo */
  --color-orange: #F47920;
  --color-orange-dark: #D96A1B;
  --color-orange-light: #FFF4EB;
  --color-blue: #2D8BCB;
  --color-blue-dark: #1E6FA3;
  --color-blue-light: #E8F4FC;

  /* Neutral Colors */
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-text-light: #717171;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-bg-dark: #2c3e50;
  --color-surface: #ffffff;
  --color-border: #e0e0e0;

  /* Semantic Colors */
  --color-success: #22804a;
  --color-accent: var(--color-blue);
  --color-accent-alt: var(--color-orange);

  /* Typography */
  --font-sans: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --radius: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

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

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.site-header .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-header .logo {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.site-header .logo:hover {
  transform: scale(1.02);
}

.site-header .logo img {
  display: block;
  height: 4.25rem;
  width: auto;
  object-fit: contain;
}

.site-header .nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-header .nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color 0.2s ease;
}

.site-header .nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: width 0.3s ease;
}

.site-header .nav a:hover {
  color: var(--color-orange);
}

.site-header .nav a:hover::after {
  width: 100%;
}

.site-header .nav .btn-cta {
  background: var(--color-orange);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.2s ease;
}

.site-header .nav .btn-cta::after {
  display: none;
}

.site-header .nav .btn-cta:hover {
  background: var(--color-orange-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.main {
  padding-top: 5rem; /* Account for fixed header */
}

.main.has-parallax {
  padding: 0;
  padding-top: 0;
  max-width: none;
}

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

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

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #1a2a3a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(244, 121, 32, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(45, 139, 203, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Construction-themed pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(30deg, transparent 40%, rgba(255,255,255,0.02) 40%, rgba(255,255,255,0.02) 60%, transparent 60%),
    linear-gradient(-30deg, transparent 40%, rgba(255,255,255,0.02) 40%, rgba(255,255,255,0.02) 60%, transparent 60%);
  background-size: 60px 100px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: rgba(244, 121, 32, 0.2);
  color: var(--color-orange);
  padding: var(--space-xs) var(--space-md);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(244, 121, 32, 0.3);
}

.hero h1 {
  color: white;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 var(--space-lg);
}

.hero h1 .highlight {
  color: var(--color-orange);
}

.hero h1 .highlight-blue {
  color: var(--color-blue);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.6;
  margin: 0 0 var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-orange);
  color: white;
  box-shadow: 0 4px 14px rgba(244, 121, 32, 0.4);
}

.btn-primary:hover {
  background: var(--color-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 121, 32, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-orange);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-indicator::after {
  content: '';
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-orange);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ==========================================
   PARALLAX SECTIONS
   ========================================== */

.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* For mobile devices where fixed attachment doesn't work well */
@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll;
  }
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.parallax-overlay-dark {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.92) 0%, rgba(26, 42, 58, 0.95) 100%);
}

.parallax-overlay-blue {
  background: linear-gradient(135deg, rgba(45, 139, 203, 0.9) 0%, rgba(30, 111, 163, 0.95) 100%);
}

.parallax-overlay-orange {
  background: linear-gradient(135deg, rgba(244, 121, 32, 0.9) 0%, rgba(217, 106, 27, 0.95) 100%);
}

/* Blueprint pattern for construction feel */
.parallax-blueprint {
  background:
    linear-gradient(rgba(45, 139, 203, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 139, 203, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(45, 139, 203, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 139, 203, 0.02) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

/* ==========================================
   CONTENT SECTIONS
   ========================================== */

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

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-bg-dark);
  color: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.section-label {
  display: inline-block;
  color: var(--color-orange);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.section-dark .section-title {
  color: white;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   FEATURE CARDS
   ========================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-orange);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--color-orange-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.feature-icon-blue {
  background: var(--color-blue-light);
  color: var(--color-blue);
}

.feature-icon-orange {
  background: var(--color-orange-light);
  color: var(--color-orange);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.feature-card p {
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.7;
}

/* ==========================================
   USE CASES / SCENARIOS
   ========================================== */

.scenarios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.scenario {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.scenario-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
}

.scenario h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 var(--space-xs);
  color: white;
}

.scenario p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.9375rem;
}

/* ==========================================
   WHO IT'S FOR SECTION
   ========================================== */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.audience-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-orange);
  box-shadow: var(--shadow-sm);
}

.audience-item span {
  font-weight: 500;
  color: var(--color-text);
}

/* ==========================================
   STATS / BENEFITS BANNER
   ========================================== */

.stats-banner {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  color: white;
}

.stat-value {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
  position: relative;
  padding: var(--space-2xl) 0;
  background: var(--color-bg-dark);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(244, 121, 32, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(45, 139, 203, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.cta-section h2 {
  color: white;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin: 0 0 var(--space-xl);
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-top: 0;
  font-weight: 600;
}

h1 { font-size: 2.5rem; margin-bottom: var(--space-lg); }
h2 { font-size: 1.875rem; margin-bottom: var(--space-md); }
h3 { font-size: 1.5rem; margin-bottom: var(--space-md); }
h4 { font-size: 1.25rem; margin-bottom: var(--space-sm); }

p {
  margin: 0 0 var(--space-md);
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul, ol {
  margin: 0 0 var(--space-md);
  padding-left: 1.5rem;
}

li + li {
  margin-top: var(--space-xs);
}

strong {
  font-weight: 600;
}

hr {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: var(--space-xl) 0;
}

/* ==========================================
   PRICING PAGE
   ========================================== */

.pricing-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

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

.pricing-page .pricing-header h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.pricing-page .pricing-tagline {
  font-size: 1.25rem;
  color: var(--color-orange);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.pricing-page .pricing-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.pricing-table-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-xl);
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.pricing-comparison {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--color-surface);
}

.pricing-comparison th,
.pricing-comparison td {
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.pricing-comparison .feature-col {
  text-align: left;
  vertical-align: middle;
}

.pricing-comparison th {
  font-weight: 600;
  background: var(--color-bg-alt);
}

.pricing-comparison thead th {
  border-bottom: 2px solid var(--color-blue);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.pricing-comparison th.feature-col,
.pricing-comparison td.feature-col {
  width: 35%;
  min-width: 180px;
  color: var(--color-text);
  font-weight: 500;
  text-align: left;
}

.pricing-comparison thead th.feature-col {
  vertical-align: middle;
}

.pricing-comparison .plan-col {
  width: 16.25%;
  min-width: 130px;
  text-align: center;
}

.pricing-comparison .plan-col .plan-name {
  display: block;
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.pricing-comparison .plan-col .plan-desc {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}

.pricing-comparison .plan-col .plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-blue);
  white-space: nowrap;
  margin-top: auto;
}

.pricing-comparison .plan-col .per {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.pricing-comparison .plan-featured {
  background: var(--color-orange-light);
}

.pricing-comparison thead .plan-featured {
  border-top: 3px solid var(--color-orange);
  border-left: 3px solid var(--color-orange);
  border-right: 3px solid var(--color-orange);
  position: relative;
}

.pricing-comparison .plan-featured .plan-name {
  color: var(--color-orange-dark);
}

.pricing-comparison .plan-featured .plan-price {
  color: var(--color-orange);
}

.pricing-comparison thead .plan-featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-orange);
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Featured column highlight for body cells */
.pricing-comparison tbody tr td:nth-child(4) {
  background: rgba(244, 121, 32, 0.06);
  border-left: 3px solid var(--color-orange);
  border-right: 3px solid var(--color-orange);
}


.pricing-comparison td .cell-yes {
  color: var(--color-success);
  font-weight: 700;
  font-size: 1.125rem;
}

.pricing-comparison td .cell-no {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.pricing-comparison td .cell-dash {
  color: var(--color-border);
  font-size: 1.25rem;
}

.pricing-comparison .best-for-row td {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-style: italic;
  padding-top: var(--space-lg);
  background: var(--color-bg-alt);
}

.pricing-comparison .best-for-row td:nth-child(4) {
  background: rgba(244, 121, 32, 0.1);
  border-bottom: 3px solid var(--color-orange);
}

.pricing-notes {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.pricing-notes h2 {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.pricing-notes h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.pricing-notes p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.pricing-notes strong {
  color: var(--color-text);
}

/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl) var(--space-lg);
}

.site-footer .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer-brand {
  max-width: 350px;
}

.footer-brand img {
  height: 2.5rem;
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
  color: white;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer-bottom .copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-bottom .footer-legal {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 20rem;
  margin: 0;
  font-size: 0.875rem;
}

.footer-bottom .footer-legal a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .footer-legal a:hover {
  color: var(--color-orange);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--color-orange);
  font-weight: 500;
  margin: 0;
}

/* Simple footer for non-home pages */
.site-footer.simple .wrap {
  display: block;
  max-width: var(--max-width-narrow);
  text-align: center;
}

.site-footer.simple p {
  margin: 0 0 var(--space-sm);
}

.site-footer.simple .copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-2xl: 3rem;
  }

  .site-header .wrap {
    padding: var(--space-sm) var(--space-md);
  }

  .site-header .logo img {
    height: 3.25rem;
  }

  .site-header .nav {
    gap: var(--space-md);
  }

  .site-header .nav a {
    font-size: 0.9375rem;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 3rem;
  }

  .hero-content {
    padding: var(--space-lg);
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .scroll-indicator {
    display: none;
  }

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

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

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

  .site-footer .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    max-width: none;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .pricing-comparison .plan-col {
    min-width: 100px;
  }

  .pricing-comparison th,
  .pricing-comparison td {
    padding: var(--space-sm);
  }
}

/* ==========================================
   LEGACY SUPPORT - Standard content pages
   ========================================== */

.main:not(.has-parallax) {
  padding: calc(5rem + var(--space-xl)) var(--space-lg) var(--space-xl);
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

/* Wide layout for pricing and other full-width pages */
.main.wide-layout {
  max-width: var(--max-width);
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* Legal pages (Terms of Service, Privacy Policy) */
.legal-page {
  max-width: 48rem;
  margin: 0 auto;
}

.legal-page header {
  margin-bottom: var(--space-xl);
}

.legal-page h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-xs);
}

.legal-page .legal-updated {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.legal-page h2 {
  font-size: 1.125rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-page h2:first-of-type {
  margin-top: 0;
}

.legal-page p,
.legal-page ul {
  margin: 0 0 var(--space-md);
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 1.5rem;
}

.legal-page li + li {
  margin-top: 0.25rem;
}

.legal-page a {
  color: var(--color-blue);
  text-decoration: underline;
}

.legal-page a:hover {
  color: var(--color-blue-dark);
}

/* Footer legal links (simple footer and in footer-bottom) */
.footer-legal {
  font-size: 0.9375rem;
  margin: 0 0 var(--space-sm);
}

.site-footer.simple .footer-legal {
  display: flex;
  justify-content: space-between;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

.site-footer.simple .footer-legal a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer.simple .footer-legal a:hover {
  color: var(--color-orange);
}

.site-footer.simple .footer-tagline {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-orange);
  font-weight: 500;
}

/* ==========================================
   BETA FORM MODAL
   ========================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s ease, opacity 0.2s ease;
}

.modal-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-title {
  flex-shrink: 0;
  margin: 0;
  padding: var(--space-md) var(--space-lg);
  font-size: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.modal-box iframe {
  flex: 1;
  min-height: 500px;
  border: none;
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--color-border);
  color: var(--color-text);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-orange { color: var(--color-orange); }
.text-blue { color: var(--color-blue); }
.text-muted { color: var(--color-text-muted); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
