/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties / Design Tokens */
:root {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Colors */
  --bg-dark: hsl(222, 47%, 7%);
  --bg-darker: hsl(222, 47%, 4%);
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  --color-primary: hsl(210, 40%, 98%);
  --color-secondary: hsl(215, 20%, 65%);
  --color-accent-blue: hsl(217, 91%, 60%);
  --color-accent-blue-rgb: 59, 130, 246;
  --color-accent-red: hsl(352, 85%, 58%);
  --color-accent-red-rgb: 239, 68, 68;
  --color-accent-green: hsl(142, 71%, 45%);

  /* Shadows & Blur */
  --glow-blue: 0 0 25px rgba(59, 130, 246, 0.25);
  --glow-red: 0 0 25px rgba(239, 68, 68, 0.25);
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --card-blur: blur(16px);

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--color-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(239, 68, 68, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--color-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: var(--card-blur);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.header-scrolled {
  height: 70px;
  background: rgba(11, 15, 25, 0.85);
  box-shadow: var(--shadow-lg);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 50%, var(--color-accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-red));
  border-radius: var(--border-radius-sm);
  color: white;
  font-weight: 900;
  font-size: 1rem;
  -webkit-text-fill-color: white;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-secondary);
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--color-accent-blue), #2563eb);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: var(--glow-blue);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

/* Sections General Layout */
section {
  padding: 8rem 2rem 4rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-blue);
  background: rgba(59, 130, 246, 0.1);
  border-radius: 9999px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  min-height: calc(100vh - var(--header-height));
  padding-top: calc(var(--header-height) + 2rem);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-badge-tag {
  background: linear-gradient(135deg, var(--color-accent-red), hsl(352, 90%, 65%));
  color: white;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  box-shadow: var(--glow-red);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-accent-blue), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-blue), #1d4ed8);
  color: white;
  box-shadow: var(--glow-blue);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-primary);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.play-store-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #000000;
  border: 1px solid #333333;
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.play-store-badge:hover {
  border-color: var(--color-accent-blue);
  transform: translateY(-2px);
}

.play-store-badge svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.play-store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.play-store-badge-text .small {
  font-size: 0.65rem;
  color: #9ca3af;
  text-transform: uppercase;
}

.play-store-badge-text .bold {
  font-size: 0.95rem;
  font-weight: 700;
}

/* Hero Visual Frame */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-container {
  width: 100%;
  max-width: 380px;
  height: 580px;
  position: relative;
  border-radius: var(--border-radius-lg);
  border: 4px solid var(--border-light);
  background: var(--bg-card);
  backdrop-filter: var(--card-blur);
  box-shadow: var(--shadow-lg), var(--glow-blue);
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.mockup-title {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-green);
  box-shadow: 0 0 8px var(--color-accent-green);
}

.mockup-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  gap: 1.5rem;
}

.mockup-preview-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
}

.mockup-preview-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #60a5fa;
}

.mockup-preview-card p {
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Glassmorphism Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: var(--card-blur);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--color-accent-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-accent-red);
  border-color: rgba(239, 68, 68, 0.2);
}

.feature-card:nth-child(2)::before {
  background: linear-gradient(to right, var(--color-accent-red), transparent);
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Simulator Section */
.simulator-section {
  background: var(--bg-darker);
  position: relative;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 8rem 2rem;
}

.simulator-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.simulator-box {
  background: var(--bg-card);
  backdrop-filter: var(--card-blur);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Focus Mode RSVP Display */
.rsvp-display-wrapper {
  position: relative;
  height: 180px;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rsvp-focus-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right, 
    rgba(0, 0, 0, 0.6) 0%, 
    transparent 15%, 
    transparent 85%, 
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
}

/* Crosshair / Guide Ticks */
.rsvp-guides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  justify-content: center;
  z-index: 3;
}

.rsvp-guide-line {
  position: absolute;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.rsvp-guide-line.left {
  left: calc(38% - 0.5px);
  height: 100%;
}

.rsvp-guide-line.center {
  left: calc(50% - 0.5px);
  height: 100%;
}

.rsvp-guide-tick-top,
.rsvp-guide-tick-bottom {
  position: absolute;
  width: 2px;
  height: 12px;
  background: var(--color-accent-red);
  left: 50%;
  transform: translateX(-50%);
  box-shadow: var(--glow-red);
}

.rsvp-guide-tick-top {
  top: 15px;
}

.rsvp-guide-tick-bottom {
  bottom: 15px;
}

/* RSVP Word Element */
.rsvp-word-container {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  display: flex;
  position: relative;
  z-index: 1;
  letter-spacing: 0.05em;
  transform: translateY(-2px);
}

.rsvp-word-part {
  white-space: pre;
}

.rsvp-word-left {
  text-align: right;
  flex: 1;
}

.rsvp-word-center {
  color: var(--color-accent-red);
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
  font-weight: 800;
  flex: 0;
}

.rsvp-word-right {
  text-align: left;
  flex: 1;
}

/* Teleprompter Scroll Display */
.teleprompter-display-wrapper {
  height: 180px;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
  overflow-y: scroll;
  padding: 1.5rem;
  position: relative;
  scroll-behavior: smooth;
}

/* Hide scrollbar for teleprompter */
.teleprompter-display-wrapper::-webkit-scrollbar {
  display: none;
}
.teleprompter-display-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.teleprompter-text {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--color-secondary);
  line-height: 1.8;
  text-align: left;
}

.teleprompter-word {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.1rem 0.25rem;
  border-radius: 4px;
  transition: all 0.1s ease;
}

.teleprompter-word.active {
  color: var(--color-accent-blue);
  background: rgba(59, 130, 246, 0.15);
  font-weight: 600;
  transform: scale(1.05);
}

/* Control Panels */
.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
  min-width: 180px;
}

.control-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
  display: flex;
  justify-content: space-between;
}

.control-label span.value {
  color: var(--color-accent-blue);
  font-weight: 700;
}

/* Range input styling */
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: background 0.15s ease;
}

.slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent-blue);
  cursor: pointer;
  margin-top: -6px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  transition: transform 0.1s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Radio buttons for Mode selector */
.mode-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 0.35rem;
  width: 100%;
}

.mode-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mode-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.playback-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.btn-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
  color: var(--color-primary);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.08);
  border-color: var(--border-hover);
}

.btn-icon.play-btn {
  background: var(--color-accent-blue);
  color: white;
  border: none;
  box-shadow: var(--glow-blue);
}

.btn-icon.play-btn:hover {
  background: hsl(217, 91%, 65%);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
}

/* Simulator Ingestion Text Area */
.text-input-box {
  width: 100%;
  height: 110px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  resize: none;
  outline: none;
  transition: border-color 0.2s ease;
}

.text-input-box:focus {
  border-color: var(--color-accent-blue);
}

/* Simulator Sidebar info */
.simulator-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-display);
}

.stat-value span.unit {
  font-size: 0.9rem;
  color: var(--color-secondary);
  font-weight: 400;
  margin-left: 0.2rem;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.simulator-guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
}

.simulator-guide-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.simulator-guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.simulator-guide-list li {
  font-size: 0.9rem;
  color: var(--color-secondary);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.simulator-guide-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-accent-blue);
}

/* Data Safety & App Content section */
.data-safety-section {
  border-top: 1px solid var(--border-light);
  background: rgba(11, 15, 25, 0.4);
}

.safety-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.safety-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.safety-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.safety-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.safety-title {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.safety-desc {
  font-size: 0.9rem;
}

/* Call to Action Banner */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
}

.cta-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border-hover);
  border-radius: var(--border-radius-lg);
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(59, 130, 246, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-title {
  font-size: 2.25rem;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-desc {
  max-width: 600px;
  font-size: 1.05rem;
}

/* Footer styling */
footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-darker);
  padding: 4rem 2rem;
  color: var(--color-secondary);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--color-primary);
}

/* Privacy Policy Content Layout */
.policy-container {
  max-width: 800px;
  margin: calc(var(--header-height) + 3rem) auto 6rem;
  padding: 0 2rem;
}

.policy-card {
  background: var(--bg-card);
  backdrop-filter: var(--card-blur);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lg);
}

.policy-title {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

.policy-meta {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.policy-body {
  font-size: 1rem;
  line-height: 1.7;
}

.policy-body h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--color-primary);
}

.policy-body p {
  margin-bottom: 1.25rem;
}

.policy-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.policy-body li {
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

.policy-body hr {
  border: 0;
  height: 1px;
  background: var(--border-light);
  margin: 2.5rem 0;
}

/* Scroll Animations using Scroll-driven animations in modern CSS */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes fade-reveal {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal-on-scroll {
      animation: fade-reveal linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 30%;
    }
  }
}

/* Fallback class for IntersectionObserver (applied via JS if scroll timelines are unsupported) */
.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
}

/* Responsiveness */
@media (max-width: 968px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-top: calc(var(--header-height) + 4rem);
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .simulator-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .safety-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .policy-card {
    padding: 2.5rem 1.5rem;
  }
  .policy-title {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .nav-menu {
    display: none; /* simple hidden layout for mobile */
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .btn {
    width: 100%;
  }
  .rsvp-word-container {
    font-size: 2.5rem;
  }
  .rsvp-guide-line.left {
    left: calc(35% - 0.5px);
  }
}
