/* ==========================================================================
   Soul & Psyche — 3D Ultra-Premium Design System & Stylesheet
   Designed for Luxury, Trust, and Modern Telemedicine Aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Root Variables & Theme Tokens (Unified @brand Design System) --- */
:root {
  /* Surfaces — Ivory Atelier */
  --bg-base: #F7F3E9;
  --bg-surface: #FFFDF7;
  --bg-surface-elevated: #FFFDF7;
  --bg-subtle: #EFE9D9;
  --bg-glass: rgba(255, 253, 247, 0.85);
  --bg-glass-card: rgba(255, 253, 247, 0.92);

  --border-subtle: rgba(28, 58, 91, 0.12);
  --border-glass: rgba(28, 58, 91, 0.18);
  --border-active: rgba(201, 162, 39, 0.50);

  /* Typography */
  --text-primary: #1C3A5B;
  --text-secondary: #3D4C5C;
  --text-muted: #5F6E7C;
  --text-inverse: #FFFDF7;

  /* Brand Accents — Sage & Royal Gold */
  --brand-primary: #2D5A43;
  --brand-primary-light: #3F7257;
  --brand-primary-glow: rgba(45, 90, 67, 0.22);
  
  --brand-gold: #C5A059;
  --brand-gold-hi: #E2C167;
  --brand-gold-deep: #8A6A12;
  --brand-gold-glow: rgba(201, 162, 39, 0.28);
  --brand-gold-wash: rgba(201, 162, 39, 0.12);

  --brand-secondary: #C5A059;
  --brand-secondary-light: #E2C167;
  --brand-secondary-glow: rgba(197, 160, 89, 0.25);
  
  --brand-gradient: linear-gradient(135deg, #E2C167 0%, #C9A227 46%, #2D5A43 100%);
  --brand-gradient-text: linear-gradient(135deg, #1C3A5B 0%, #2D5A43 50%, #8A6A12 100%);

  /* Accent highlights */
  --accent-gold: #C5A059;
  --accent-rose: #B14A44;
  --accent-success: #2D5A43;

  /* 3D Shadows & Depth */
  --shadow-sm: 0 2px 8px rgba(28, 58, 91, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(28, 58, 91, 0.10), 0 8px 10px -6px rgba(28, 58, 91, 0.05);
  --shadow-lg: 0 20px 40px -10px rgba(28, 58, 91, 0.18), 0 10px 15px -5px rgba(28, 58, 91, 0.08);
  --shadow-3d: 0 25px 50px -12px rgba(28, 58, 91, 0.20), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  --shadow-glow: 0 0 40px rgba(201, 162, 39, 0.25);

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Dark Theme Tokens (Obsidian Observatory) --- */
[data-theme="dark"] {
  --bg-base: #08182A;
  --bg-surface: #0C1B2C;
  --bg-surface-elevated: #16304D;
  --bg-subtle: #102338;
  --bg-glass: rgba(12, 27, 44, 0.85);
  --bg-glass-card: rgba(22, 48, 77, 0.75);

  --border-subtle: rgba(242, 240, 230, 0.10);
  --border-glass: rgba(242, 240, 230, 0.18);
  --border-active: rgba(217, 180, 73, 0.50);

  --text-primary: #FFFDF7;
  --text-secondary: #CBD5E1;
  --text-muted: #7C8AA1;
  --text-inverse: #0C1B2C;

  --brand-primary: #8FA87C;
  --brand-primary-light: #B0C79E;
  --brand-primary-glow: rgba(143, 168, 124, 0.35);

  --brand-gold: #D9B449;
  --brand-gold-hi: #EFD79A;
  --brand-gold-deep: #A8811C;
  --brand-gold-glow: rgba(217, 180, 73, 0.35);
  --brand-gold-wash: rgba(217, 180, 73, 0.15);

  --brand-secondary: #D9B449;
  --brand-secondary-light: #EFD79A;
  --brand-secondary-glow: rgba(217, 180, 73, 0.30);

  --brand-gradient: linear-gradient(135deg, #EFD79A 0%, #D9B449 46%, #8FA87C 100%);
  --brand-gradient-text: linear-gradient(135deg, #FFFDF7 0%, #EFD79A 50%, #8FA87C 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(217, 180, 73, 0.20);
  --shadow-3d: 0 30px 60px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(217, 180, 73, 0.2) inset;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Background Atmospheric Glow Blurs */
.snp-bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.snp-bg-glow::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-primary-glow) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(80px);
  animation: pulseGlow 12s ease-in-out infinite alternate;
}
.snp-bg-glow::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: -15%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-secondary-glow) 0%, rgba(20, 184, 166, 0) 70%);
  filter: blur(90px);
  animation: pulseGlow 15s ease-in-out infinite alternate-reverse;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.15) translate(30px, 40px); opacity: 1; }
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.font-display {
  font-family: var(--font-display);
}

.gradient-text {
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header & Navbar */
.snp-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.snp-navbar.scrolled {
  padding: 0.65rem 0;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

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

.snp-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.snp-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px var(--brand-primary-glow);
  color: #fff;
  transition: transform 0.3s ease;
}
.snp-logo:hover .snp-logo-icon {
  transform: rotate(5deg) scale(1.05);
}

.snp-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.snp-nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  position: relative;
  padding: 0.3rem 0;
}
.snp-nav-link:hover, .snp-nav-link.active {
  color: var(--brand-primary);
}
.snp-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.snp-nav-link:hover::after, .snp-nav-link.active::after {
  width: 100%;
}

.snp-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Switcher Button */
.snp-theme-toggle {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.snp-theme-toggle:hover {
  color: var(--brand-primary);
  transform: translateY(-2px);
  border-color: var(--brand-primary-light);
}

/* Premium Buttons */
.btn-snp-primary {
  background: var(--brand-gradient);
  color: #FFFDF7 !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px var(--brand-gold-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-snp-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}
.btn-snp-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px -5px var(--brand-gold-glow);
}
.btn-snp-primary:hover::before {
  left: 100%;
}

.btn-snp-glass {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-glass);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.btn-snp-glass:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Floating Status Pills */
.snp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-success);
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border-radius: 50%;
  background: var(--accent-success);
  opacity: 0.6;
  animation: pulseAnim 1.8s infinite;
}
@keyframes pulseAnim {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ================================================================
   Hero Section & 3D Interactive Mockups
   ================================================================ */
.snp-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 1.5rem 4.5rem;
  position: relative;
}

.hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 3.85rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 1.25rem 0 1.5rem;
}
.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}
.stat-item h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- 3D Hero Consultation Canvas & Card Mockups --- */
.hero-visual {
  position: relative;
  perspective: 1200px;
}

.hero-3d-card-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.main-consult-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-3d);
  position: relative;
  z-index: 2;
  transform: translateZ(20px);
}

.consult-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}
.doctor-profile-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.doctor-avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.doctor-info-text h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.doctor-info-text p {
  font-size: 0.8rem;
  color: var(--brand-secondary);
  font-weight: 600;
}

.video-call-simulation {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}
.audio-waves {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  margin-bottom: 0.75rem;
}
.audio-bar {
  width: 4px;
  background: var(--brand-primary);
  border-radius: 4px;
  animation: waveAnim 1.2s ease-in-out infinite alternate;
}
.audio-bar:nth-child(2) { animation-delay: 0.2s; height: 75%; }
.audio-bar:nth-child(3) { animation-delay: 0.4s; height: 100%; }
.audio-bar:nth-child(4) { animation-delay: 0.1s; height: 60%; }
.audio-bar:nth-child(5) { animation-delay: 0.3s; height: 90%; }
.audio-bar:nth-child(6) { animation-delay: 0.5s; height: 50%; }

@keyframes waveAnim {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1.1); }
}

.call-status-live {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Floating Satellite 3D Widgets */
.floating-widget-1 {
  position: absolute;
  top: -25px;
  right: -30px;
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  transform: translateZ(50px);
  animation: floatSlow 6s ease-in-out infinite alternate;
}

.floating-widget-2 {
  position: absolute;
  bottom: -35px;
  left: -35px;
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 1.35rem;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  transform: translateZ(60px);
  animation: floatSlow 7s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0% { transform: translateY(0px) translateZ(40px); }
  100% { transform: translateY(-15px) translateZ(55px); }
}

/* ================================================================
   Feature Grid & 3D Glass Cards
   ================================================================ */
.snp-section {
  padding: 6rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4.5rem;
}
.section-header .snp-badge {
  margin-bottom: 1rem;
}
.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

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

.feature-3d-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.feature-3d-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-3d-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-active);
}
.feature-3d-card:hover::after {
  opacity: 1;
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--brand-primary-glow);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-3d-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.feature-3d-card p {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* ================================================================
   Interactive Specialties Showcase (Carousel / Pill Grids)
   ================================================================ */
.specialty-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}
.specialty-pill-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.925rem;
  cursor: pointer;
  transition: var(--transition);
}
.specialty-pill-btn.active, .specialty-pill-btn:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
  box-shadow: 0 8px 20px var(--brand-primary-glow);
  transform: translateY(-2px);
}

/* ================================================================
   How It Works 3-Step Journey
   ================================================================ */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}
.step-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  transition: var(--transition);
}
.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border-subtle);
  line-height: 1;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

/* ================================================================
   App Download Banner & CTA
   ================================================================ */
.snp-cta-banner {
  background: var(--brand-gradient);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  margin: 4rem auto;
  max-width: 1240px;
}
.snp-cta-banner h2 {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  margin-bottom: 1.25rem;
}
.snp-cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* ================================================================
   FAQ Accordions
   ================================================================ */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.faq-item {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--border-active);
  box-shadow: var(--shadow-sm);
}
.faq-header {
  padding: 1.4rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-body {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: none;
}
.faq-item.active .faq-body {
  display: block;
}

/* ================================================================
   Footer
   ================================================================ */
.snp-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 1.5rem 2.5rem;
  margin-top: 6rem;
}
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 320px;
}
.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-column a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.925rem;
  transition: color 0.25s ease;
}
.footer-column a:hover {
  color: var(--brand-primary);
}
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Legal & Document Styling */
.snp-legal-container {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-3d);
}

.snp-legal-container h1 {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  margin-bottom: 0.75rem;
}

.snp-legal-container h2 {
  font-size: 1.65rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.snp-legal-container h3 {
  font-size: 1.2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.snp-legal-container p, .snp-legal-container li {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.snp-legal-container ul, .snp-legal-container ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.snp-note {
  background: rgba(99, 102, 241, 0.08);
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.snp-note--calm {
  background: rgba(20, 184, 166, 0.08);
  border-left-color: var(--brand-secondary);
}

.snp-toc {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
}
.snp-toc ol {
  margin-bottom: 0;
}
.snp-toc a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.snp-toc a:hover {
  text-decoration: underline;
}

.snp-legal-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.snp-legal-container th {
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-weight: 700;
  text-align: left;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}
.snp-legal-container td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.snp-legal-container tr:last-child td {
  border-bottom: none;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .steps-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .snp-nav-links {
    display: none;
  }
  .snp-legal-container {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

