:root {
  /* Colors */
  --color-obsidian: #0D0D0D;
  --color-midnight-teal: #003B3B;
  --color-graphite: #262626;
  --color-twilight-blue: #1A2634;
  --color-maroon-black: #2C0F1F;
  --color-accent: #00D9FF;
  --color-accent-secondary: #7C3AED;
  --color-light: #F5F5F5;
  --color-gray: #A0A0A0;
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-2xl: 2.5rem;
  --font-size-3xl: 3.5rem;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 217, 255, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 217, 255, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 217, 255, 0.2);
  --shadow-glow: 0 0 40px rgba(0, 217, 255, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-light);
  background: linear-gradient(135deg, var(--color-obsidian) 0%, var(--color-twilight-blue) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-md); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-gray);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) 0;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
  z-index: 1000;
  transform: translateY(0);
  transition: transform var(--transition-base);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-light);
  letter-spacing: -0.02em;
  position: relative;
  padding-left: var(--space-sm);
}

.logo::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 70%;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
  border-radius: var(--radius-full);
}

.nav-desktop {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-gray);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-light);
}

/* Mobile Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-xs);
}

.burger-line {
  width: 24px;
  height: 2px;
  background: var(--color-light);
  transition: all var(--transition-base);
  border-radius: var(--radius-full);
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(20px);
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
  flex-direction: column;
  gap: var(--space-md);
}

.nav-mobile.active {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
  color: var(--color-light);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-light);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

/* Container & Sections */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.error-page .container,
.thank-you-container .container {
  padding: 110px 0;
}
.section {
  padding: var(--space-3xl) 0;
  min-height: 50vh;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--font-size-md);
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-xl);
  color: var(--color-gray);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Glass Cards */
.glass-card {
  background: rgba(38, 38, 38, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 217, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: var(--shadow-md);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Feature Cards */
.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.feature-icon i {
  font-size: var(--font-size-lg);
  color: var(--color-light);
}

.feature-title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.feature-description {
  font-size: var(--font-size-sm);
  color: var(--color-gray);
}

/* Product Cards */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.product-title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
}

.product-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.product-description {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-md);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(38, 38, 38, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 217, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-light);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-light);
  background: rgba(13, 13, 13, 0.6);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: start;
  gap: var(--space-xs);
}

.form-checkbox input {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: var(--font-size-xs);
  color: var(--color-gray);
  cursor: pointer;
}

/* Footer */
.footer {
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 217, 255, 0.1);
  padding: var(--space-lg) 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copy {
  font-size: var(--font-size-xs);
  color: var(--color-gray);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-link {
  font-size: var(--font-size-xs);
  color: var(--color-gray);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
}

/* Privacy Popup */
.privacy-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  padding: var(--space-md);
  z-index: 9999;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.privacy-popup.show {
  display: block;
}

.privacy-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.privacy-text {
  flex: 1;
  font-size: var(--font-size-sm);
  color: var(--color-gray);
}

.privacy-buttons {
  display: flex;
  gap: var(--space-sm);
}

/* Map Container */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 404 Page */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-code {
  font-size: clamp(4rem, 15vw, 10rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-md);
}

/* Thank You Page */
.thank-you-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
  border-radius: var(--radius-full);
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.thank-you-icon i {
  font-size: 3rem;
  color: var(--color-light);
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --font-size-3xl: 2.5rem;
    --font-size-2xl: 2rem;
    --font-size-xl: 1.5rem;
    --space-3xl: 4rem;
    --space-2xl: 3rem;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --font-size-sm: 0.813rem;
  }
  
  .header-container {
    padding: 0 var(--space-sm);
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .grid {
    gap: var(--space-md);
  }
  
  .contact-form {
    padding: var(--space-md);
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  :root {
    --font-size-base: 0.875rem;
    --font-size-sm: 0.75rem;
  }
}
/* ============================================
   ULTRA-COMPACT VIEWPORT: 320px Optimization
   Design Philosophy: Precision in Constraint
   ============================================ */

@media (max-width: 320px) {
  
  /* ---- Typography: Hierarchical Compression ---- */
  :root {
    /* Recalibrated scale: maintaining visual hierarchy within extreme constraint */
    --font-size-3xl: 2rem;        /* Hero presence without overwhelm */
    --font-size-2xl: 1.5rem;      /* Section authority */
    --font-size-xl: 1.25rem;      /* Subsection prominence */
    --font-size-lg: 1.125rem;     /* Card headlines */
    --font-size-md: 1rem;         /* Body emphasis */
    --font-size-base: 0.875rem;   /* Primary reading */
    --font-size-sm: 0.75rem;      /* Secondary content */
    --font-size-xs: 0.688rem;     /* Micro-copy legibility threshold */
    
    /* Spatial Economy: Breathing room without waste */
    --space-3xl: 3rem;            /* Major section separation */
    --space-2xl: 2rem;            /* Section breathing */
    --space-xl: 1.5rem;           /* Component grouping */
    --space-lg: 1rem;             /* Element spacing */
    --space-md: 0.75rem;          /* Tight relationships */
    --space-sm: 0.5rem;           /* Minimal separation */
    --space-xs: 0.375rem;         /* Touch-target padding */
    
    /* Border Radius: Softened geometry for smaller surfaces */
    --radius-lg: 1rem;
    --radius-md: 0.75rem;
    --radius-sm: 0.5rem;
  }
  
  /* ---- Body: Refined line-height for compact reading ---- */
  body {
    font-size: var(--font-size-base);
    line-height: 1.5;             /* Tighter leading for efficiency */
  }
  
  /* ---- Header: Minimal footprint, maximum utility ---- */
  .header {
    padding: 0.625rem 0;          /* Compressed vertical rhythm */
  }
  
  .header-container {
    padding: 0 0.75rem;           /* Edge-to-edge economy */
  }
  
  .logo {
    font-size: 1.125rem;          /* Recognizable yet restrained */
    padding-left: 0.625rem;
  }
  
  .logo::before {
    width: 2px;                   /* Refined accent mark */
    height: 60%;
  }
  
  .burger-menu {
    padding: 0.25rem;             /* Touch-optimized hit area */
  }
  
  .burger-line {
    width: 20px;                  /* Proportional to header height */
  }
  
  .nav-mobile {
    top: 52px;                    /* Aligned to compressed header */
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .nav-link {
    font-size: 0.875rem;
    padding: 0.5rem 0;            /* Generous touch target */
  }
  
  /* ---- Hero: Emotional impact within spatial discipline ---- */
  .hero {
    min-height: 85vh;             /* Proportional viewport presence */
    padding-top: 5rem;            /* Account for fixed header */
  }
  
  .hero-title {
    font-size: 1.75rem;           /* Commanding without dominating */
    line-height: 1.15;            /* Tight leading for impact */
    margin-bottom: 0.75rem;
  }
  
  .hero-description {
    font-size: 0.875rem;          /* Readable secondary narrative */
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.625rem;                /* Stack for certainty */
    width: 100%;
  }
  
  /* ---- Buttons: Full-bleed confidence ---- */
  .btn {
    width: 100%;                  /* Eliminate aiming anxiety */
    padding: 0.75rem 1rem;        /* Touch-friendly surface */
    font-size: 0.875rem;
    border-radius: var(--radius-md);
  }
  
  /* ---- Sections: Vertical rhythm optimization ---- */
  .section {
    padding: 2.5rem 0;            /* Breathing without excess */
  }
  
  .container {
    padding: 0 0.75rem;           /* Consistent edge margins */
  }
  
  .section-header {
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;            /* Clear visual hierarchy */
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 0 0.5rem;            /* Inset for optical centering */
  }
  
  /* ---- Glass Cards: Refined surfaces ---- */
  .glass-card {
    padding: 1rem;                /* Proportional interior space */
    border-radius: var(--radius-md);
  }
  
  .glass-card:hover {
    transform: translateY(-3px);  /* Subtle elevation for touch */
  }
  
  /* ---- Grid: Single-column certainty ---- */
  .grid {
    gap: 1rem;                    /* Consistent card separation */
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;   /* Vertical narrative flow */
  }
  
  /* ---- Feature Cards: Compact iconography ---- */
  .feature-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 0.75rem;
    border-radius: var(--radius-sm);
  }
  
  .feature-icon i {
    font-size: 1.125rem;
  }
  
  .feature-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }
  
  .feature-description {
    font-size: 0.813rem;
    line-height: 1.5;
  }
  
  /* ---- Product Cards: Visual economy ---- */
  .product-image {
    height: 160px;                /* Proportional to viewport */
    margin-bottom: 0.75rem;
    border-radius: var(--radius-sm);
  }
  
  .product-title {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
    line-height: 1.3;
  }
  
  .product-price {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .product-description {
    font-size: 0.813rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }
  
  /* ---- Contact Form: Touch-optimized input surfaces ---- */
  .contact-form {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-label {
    font-size: 0.813rem;
    margin-bottom: 0.375rem;
  }
  
  .form-input,
  .form-textarea {
    padding: 0.75rem;             /* Comfortable touch target */
    font-size: 1rem;              /* Prevent zoom on iOS */
    border-radius: var(--radius-sm);
  }
  
  .form-textarea {
    min-height: 100px;            /* Adequate expression space */
  }
  
  .form-checkbox {
    gap: 0.5rem;
  }
  
  .form-checkbox input {
    width: 20px;                  /* Enhanced touch precision */
    height: 20px;
    margin-top: 0.125rem;
  }
  
  .form-checkbox label {
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  /* ---- Footer: Vertical stack for clarity ---- */
  .footer {
    padding: 1.25rem 0;
  }
  
  .footer-container {
    padding: 0 0.75rem;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  
  .footer-copy {
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  .footer-links {
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .footer-link {
    font-size: 0.75rem;
  }
  
  /* ---- Privacy Popup: Streamlined notification ---- */
  .privacy-popup {
    padding: 0.75rem;
  }
  
  .privacy-content {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  
  .privacy-text {
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  .privacy-buttons {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .privacy-buttons .btn {
    width: 100%;
  }
  
  /* ---- Map Container: Proportional geographic window ---- */
  .map-container {
    height: 250px;                /* Balanced viewport presence */
    border-radius: var(--radius-md);
  }
  
  /* ---- Error Page: Emotional clarity ---- */
  .error-code {
    font-size: 5rem;              /* Dramatic yet contained */
    margin-bottom: 1rem;
  }
  
  .error-page h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .error-page p {
    font-size: 0.875rem;
    padding: 0 1rem;
  }
  
  /* ---- Thank You: Celebratory focus ---- */
  .thank-you-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.25rem;
  }
  
  .thank-you-icon i {
    font-size: 2.5rem;
  }
  
  .thank-you-container h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .thank-you-container p {
    font-size: 0.875rem;
    padding: 0 1rem;
  }
  
  /* ---- Utility: Enhanced touch targets ---- */
  a, button, input, select, textarea {
    -webkit-tap-highlight-color: rgba(0, 217, 255, 0.15);
  }
  
  /* Prevent iOS text size adjustment */
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  /* Optimize font rendering */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
}