/* ============================================
   VOICE OF COUNSEL - Premium Legal AI Website
   Design System & Styles
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Color Palette */
  --gold-primary: #d8b23d;
  --gold-light: #dcc07f;
  --gold-dark: #b6912c;
  --teal-primary: #54848c;
  --teal-dark: #2f444c;
  --mint-light: #c2ddd8;

  /* Dark Theme Colors */
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #252540;
  --bg-card: rgba(37, 37, 64, 0.6);

  /* Text Colors */
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b80;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  --gradient-cta: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 50%, var(--gold-primary) 100%);
  --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(216, 178, 61, 0.15) 0%, transparent 60%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(216, 178, 61, 0.3);
  --shadow-glow-sm: 0 0 20px rgba(216, 178, 61, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 900px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  min-height: 100vh;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

@media (min-width: 768px) {
  h1 {
    font-size: var(--text-6xl);
  }

  h2 {
    font-size: var(--text-5xl);
  }

  h3 {
    font-size: var(--text-4xl);
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: var(--text-7xl);
  }
}

.text-gold {
  color: var(--gold-primary);
}

.text-teal {
  color: var(--teal-primary);
}

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

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
}

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

@media (min-width: 768px) {
  .section {
    padding: var(--space-24) 0;
  }
}

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

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- Grid System ---------- */
.grid {
  display: grid;
  gap: var(--space-6);
}

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

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
  background: rgba(216, 178, 61, 0.1);
}

.btn-large {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
}

.btn-icon {
  font-size: 1.25em;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: rgba(216, 178, 61, 0.3);
  transform: translateY(-4px);
}

.card-gold {
  border-color: rgba(216, 178, 61, 0.2);
  background: linear-gradient(135deg, rgba(216, 178, 61, 0.05) 0%, transparent 50%);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-gold);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
}

.card h3,
.card h4 {
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--text-secondary);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(15, 15, 26, 0.98);
  box-shadow: var(--shadow-lg);
}

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

.logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo-icon {
  color: var(--gold-primary);
}

.nav {
  display: none;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}

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

.nav a:hover,
.nav a.active {
  color: var(--gold-primary);
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: block;
  }
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

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

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  padding: var(--space-6);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 999;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  display: block;
  padding: var(--space-4) 0;
  color: var(--text-primary);
  font-size: var(--text-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(216, 178, 61, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(216, 178, 61, 0.1);
  border: 1px solid rgba(216, 178, 61, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--gold-primary);
  margin-bottom: var(--space-6);
}

.hero h1 {
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

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

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: var(--text-xl);
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gold-primary);
  display: block;
}

@media (min-width: 768px) {
  .hero-stat-value {
    font-size: var(--text-4xl);
  }
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-10) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--gold-primary);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-2);
}

.stat-source {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* ---------- Problem Section ---------- */
.problem-section {
  background: var(--bg-primary);
}

.problem-cards {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .problem-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.problem-card {
  position: relative;
  padding-left: var(--space-6);
}

.problem-card::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: #e74c3c;
  font-weight: bold;
}

.problem-card h4 {
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.problem-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* ---------- Agents Section ---------- */
.agents-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.agent-card {
  position: relative;
  padding: var(--space-10);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.agent-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  color: var(--bg-primary);
  font-weight: 700;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.agent-card h3 {
  margin-bottom: var(--space-2);
}

.agent-tagline {
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: var(--space-4);
}

.agent-features {
  margin-top: var(--space-6);
}

.agent-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.agent-features li::before {
  content: '✓';
  color: var(--gold-primary);
  font-weight: bold;
  flex-shrink: 0;
}

/* ---------- Timeline Section ---------- */
.timeline-section {
  background: var(--bg-secondary);
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-primary) 0%, var(--teal-primary) 100%);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .timeline-item {
    padding-left: 0;
    padding-right: 0;
  }

  .timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
  }

  .timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
  }
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 0;
  width: 18px;
  height: 18px;
  background: var(--gold-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-secondary);
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-time {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: var(--space-2);
}

.timeline-content h4 {
  margin-bottom: var(--space-1);
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.timeline-highlight {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: rgba(216, 178, 61, 0.1);
  border: 1px solid rgba(216, 178, 61, 0.3);
  border-radius: var(--radius-xl);
  text-align: center;
}

.timeline-highlight p {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold-primary);
}

/* ---------- Pricing Section ---------- */
.pricing-section {
  background: var(--bg-primary);
  position: relative;
}

.pricing-comparison {
  display: grid;
  gap: var(--space-8);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-comparison {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.pricing-old {
  text-align: center;
  opacity: 0.7;
}

.pricing-old h4 {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.pricing-old .price {
  font-size: var(--text-3xl);
  text-decoration: line-through;
  color: #e74c3c;
}

.pricing-old .price-subtext {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-new {
  background: var(--bg-card);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--bg-primary);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
}

.pricing-new .price {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 700;
  color: var(--gold-primary);
}

.pricing-new .price-subtext {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-top: var(--space-2);
}

.pricing-features {
  margin-top: var(--space-8);
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--gold-primary);
  font-weight: bold;
}

/* ---------- Guarantee Section ---------- */
.guarantee-section {
  background: var(--bg-secondary);
}

.guarantee-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-12);
  background: linear-gradient(135deg, rgba(216, 178, 61, 0.08) 0%, transparent 50%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-2xl);
  position: relative;
}

.guarantee-badge {
  width: 100px;
  height: 100px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  font-size: var(--text-3xl);
}

.guarantee-box h3 {
  margin-bottom: var(--space-4);
}

.guarantee-box blockquote {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.8;
}

.guarantee-box blockquote strong {
  color: var(--text-primary);
}

/* ---------- Who Is This For ---------- */
.who-section {
  background: var(--bg-primary);
}

.who-grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .who-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.who-column h4 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.who-column.yes h4::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #27ae60;
  color: white;
  border-radius: 50%;
  font-weight: bold;
}

.who-column.no h4::before {
  content: '✕';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  font-weight: bold;
}

.who-column ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: var(--text-secondary);
}

/* ---------- Founder Section ---------- */
.founder-section {
  background: var(--bg-secondary);
}

.founder-content {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .founder-content {
    grid-template-columns: 300px 1fr;
  }
}

.founder-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 4px solid var(--gold-primary);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-6xl);
  color: var(--text-muted);
}

.founder-text h3 {
  margin-bottom: var(--space-4);
}

.founder-text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.founder-signature {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-signature .name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gold-primary);
}

.founder-signature .title {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* ---------- Final CTA Section ---------- */
.final-cta-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  text-align: center;
  padding: var(--space-24) 0;
}

.final-cta-section h2 {
  margin-bottom: var(--space-6);
}

.final-cta-section blockquote {
  max-width: 700px;
  margin: 0 auto var(--space-10);
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.8;
}

.final-cta-section blockquote strong {
  color: var(--gold-primary);
}

.cta-steps {
  max-width: 600px;
  margin: var(--space-10) auto 0;
  text-align: left;
}

.cta-steps li {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  color: var(--text-secondary);
}

.cta-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--gradient-gold);
  color: var(--bg-primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-top {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.footer-links h5 {
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

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

.footer-ps {
  padding: var(--space-8) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-ps p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.footer-ps strong {
  color: var(--gold-primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-8);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

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

.footer-legal a:hover {
  color: var(--gold-primary);
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-base);
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(216, 178, 61, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.form-radio {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
}

.form-radio input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-primary);
}

/* ---------- Lead Gen Page ---------- */
.demo-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-10)) 0 var(--space-16);
}

.demo-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .demo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.demo-content h1 {
  margin-bottom: var(--space-6);
}

.demo-content p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.demo-benefits {
  margin-top: var(--space-8);
}

.demo-benefits li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: var(--text-secondary);
}

.demo-benefits li::before {
  content: '✓';
  color: var(--gold-primary);
  font-weight: bold;
}

.demo-form-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
}

.demo-form-card h3 {
  text-align: center;
  margin-bottom: var(--space-8);
}

/* ---------- Contact Page ---------- */
.contact-section {
  padding-top: calc(var(--header-height) + var(--space-16));
}

.contact-grid {
  display: grid;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h3 {
  margin-bottom: var(--space-6);
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-gold);
  border-radius: var(--radius-md);
  font-size: var(--text-xl);
}

/* ---------- Practice Areas ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .practice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .practice-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.practice-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.practice-item:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.practice-item span {
  color: var(--gold-primary);
  font-size: var(--text-xl);
}

/* ---------- Quote Cards (Authority) ---------- */
.quote-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: var(--text-6xl);
  color: var(--gold-primary);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-card blockquote {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  padding-left: var(--space-8);
}

.quote-source {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-left: var(--space-8);
}

.quote-source-name {
  font-weight: 600;
  color: var(--text-primary);
}

.quote-source-title {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ---------- Media Quotes Section (Deck of Cards) ---------- */
.media-quotes-section {
  background: var(--bg-primary);
  padding: var(--space-16) 0;
  min-height: 90vh;
  position: relative;
}

.media-quotes-container {
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-quotes-stack {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 280px;
}

@media (min-width: 768px) {
  .media-quotes-stack {
    max-width: 600px;
    height: 320px;
  }
}

.media-quote-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 480px;
  transform-origin: center center;
  transition: none;
  will-change: transform;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

@media (min-width: 768px) {
  .media-quote-card {
    max-width: 560px;
  }
}

.media-quote-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Initial z-index positions (JS updates these dynamically during animation) */
.media-quote-card[data-index="0"] {
  z-index: 1;
}

.media-quote-card[data-index="1"] {
  z-index: 2;
}

.media-quote-card[data-index="2"] {
  z-index: 3;
}

.media-quote-card[data-index="3"] {
  z-index: 4;
}

.media-quote-card[data-index="4"] {
  z-index: 5;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: var(--shadow-glow-sm);
  }

  50% {
    box-shadow: var(--shadow-glow);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Utilities ---------- */
.text-center {
  text-align: center;
}

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

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

.mt-4 {
  margin-top: var(--space-4);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mt-12 {
  margin-top: var(--space-12);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.pt-header {
  padding-top: var(--header-height);
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}