@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* Color Variables and Design Tokens */
:root {
  --background: #000000;
  --surface: #121414;
  --surface-bright: #383939;
  --surface-container-low: #1a1c1c;
  --surface-container: #1e2020;
  --surface-container-high: #292a2a;
  --surface-container-lowest: #0d0e0f;
  --on-surface: #ffffff;
  --on-surface-variant: #e7bdb2;
  --on-surface-muted: #a0a0a0;
  --primary: #ff5625;
  --primary-glow: rgba(255, 86, 37, 0.12);
  --primary-glow-dense: rgba(255, 86, 37, 0.4);
  --outline: #ad887e;
  --border-glow: rgba(255, 255, 255, 0.08);
  
  --radius-sm: 0.125rem;
  --radius-default: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;
  
  --section-gap: 160px;
  --section-gap-mobile: 80px;
  --container-padding: 24px;
  --grid-gutter: 24px;
  
  --stack-sm: 8px;
  --stack-md: 16px;
  --stack-lg: 32px;
}

/* Base Settings */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--background);
  color: var(--on-surface);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--background);
}

/* Typography Helpers */
.display-xl {
  font-size: 80px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.display-xl-mobile {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.headline-lg {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.headline-lg-mobile {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.body-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0em;
}

.body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.label-caps {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

/* Brand & Style: Elevation and Depth */
.level-0 {
  background-color: var(--background);
}

.level-1 {
  background-color: var(--surface);
}

.glass-card {
  background: rgba(18, 20, 20, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.machined-edge {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.machined-edge::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
  border-radius: inherit;
}

/* Ambient Accents & Glows */
.light-leak {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, rgba(255, 86, 37, 0) 70%);
  opacity: 0.12;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  
  /* GPU Hardware Acceleration to eliminate scroll repaint latency */
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 86, 37, 0.15), inset 0 1px 0 0 rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 0 45px rgba(255, 86, 37, 0.45), inset 0 1px 0 0 rgba(255, 255, 255, 0.2); }
}

.pulsing-glow {
  animation: pulse-glow 3.5s infinite ease-in-out;
}

@keyframes shimmer {
  0% { transform: translateX(-150%) rotate(45deg); }
  100% { transform: translateX(150%) rotate(45deg); }
}

.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg);
  animation: shimmer 4.5s infinite ease-in-out;
  pointer-events: none;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #ffb5a0 0%, #ff5625 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav Styles */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  text-decoration: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--on-surface-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #000000;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background-color: transparent;
  color: var(--on-surface);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

/* Scroll Revealing */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Hero Content Overlay (sticky viewport center-aligned) */
.hero-content-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 0 var(--container-padding);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 25;
}

.hero-content-overlay.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateY(0);
}

.hero-title {
  margin-bottom: var(--stack-md);
}

.hero-subtitle {
  color: var(--on-surface-variant);
  margin-bottom: var(--stack-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sticky Scroll Canvas Player Styles */
.scroll-sequence-section {
  position: relative;
  width: 100%;
  background: var(--background);
}

/* The outer scroll container needs to be very tall to provide scroll length */
.scroll-height-container {
  position: relative;
  width: 100%;
  height: 300vh; /* Optimal length for engaging, tight scroll animation pacing */
}

/* The viewport-locked container */
.scroll-sticky-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: contain; /* ensures image aspect ratio is retained */
  max-width: 100%;
  max-height: 100%;
  
  /* High-end contrast-enhanced hardware sharp rendering for fine curves and crisp borders */
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
  
  /* GPU hardware-acceleration & 3D perspective settings */
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Overlay elements that scroll with the canvas sequence */
.scroll-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

.scroll-text-card {
  position: absolute;
  max-width: 380px;
  padding: var(--stack-lg);
  border-radius: var(--radius-xl);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: auto;
}

.scroll-text-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Text positions */
.card-left-1 { top: 25%; left: 10%; }
.card-right-1 { top: 40%; right: 10%; }
.card-left-2 { top: 60%; left: 12%; }
.card-right-2 { top: 70%; right: 12%; }

#sequence-container-1, #sequence-container-2 {
  height: 140vh; /* Ultra-accelerated fast scroll animation tracks for active pacing */
}

/* Redesign Section */
.exploded-section {
  position: relative;
  padding: 0 0 var(--section-gap) 0; /* Completely removed top padding to eliminate transitional gaps */
  background: linear-gradient(to bottom, #000000 0%, var(--surface) 160px, var(--surface) 100%); /* Smooth gradient transition from pure black scroll sequence to charcoal internals */
  overflow: hidden;
}

.grid-cols-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gutter);
  align-items: center;
}

.col-span-5 {
  grid-column: span 12;
}

.col-span-7 {
  grid-column: span 12;
}

@media (min-width: 1024px) {
  .col-span-5 {
    grid-column: span 5;
  }
  .col-span-7 {
    grid-column: span 7;
  }
}

.exploded-image-wrap {
  position: relative;
  width: 100%;
}

.exploded-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chip-callout {
  margin-top: 24px;
}

@media (min-width: 1024px) {
  .chip-callout {
    position: absolute;
    bottom: -40px;
    left: -60px;
    max-width: 320px;
    margin-top: 0;
    z-index: 30;
  }
}

.chip-card {
  padding: var(--stack-md);
  border-radius: var(--radius-xl);
}

.chip-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--stack-sm);
}

/* Bento Grid */
.bento-section {
  padding: var(--section-gap) 0;
  background-color: var(--surface-container-lowest);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gutter);
  margin-top: var(--stack-lg);
}

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

.bento-card {
  position: relative;
  overflow: hidden;
  padding: 40px;
  background-color: var(--surface);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px;
  
  /* Cinematic, ultra-smooth snappy transition curves for the pop-up effect */
  transition: border-color 0.48s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.48s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.48s cubic-bezier(0.25, 1, 0.5, 1);
  
  /* Levitation drift animation */
  animation: bento-levitate 7s ease-in-out infinite;
}

/* Stagger card floating delays for organic drift */
.bento-grid > .bento-card:nth-child(1) {
  animation-delay: 0s;
}

.bento-grid > .bento-card:nth-child(2) {
  animation-delay: 1.8s;
}

.bento-grid > .bento-card:nth-child(3) {
  animation-delay: 3.6s;
}

.bento-card:hover {
  animation: none; /* Terminate the active keyframe animation during hover to allow static transform overrides */
  border-color: rgba(255, 86, 37, 0.45);
  transform: translateY(-16px) scale(1.025); /* Snappy premium lift and micro-scale pop up */
  box-shadow: 0 32px 60px rgba(255, 86, 37, 0.22), inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

@keyframes bento-levitate {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45), inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.05);
  }
  50% {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(255, 86, 37, 0.12), inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 86, 37, 0.2);
  }
}

/* Ensure text and values float perfectly over the WebGL background scene */
.bento-card > div:not(.bento-3d-container) {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* WebGL Background Scene Wrapper */
.bento-3d-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 0.48s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-card:hover .bento-3d-container {
  opacity: 1.0;
}

.bento-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 24px;
}

.bento-value {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

/* Material Craftsmanship */
.material-section {
  position: relative;
  padding: var(--section-gap) 0;
  background-color: var(--background);
}

.material-panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/9;
  width: 100%;
}

@media (max-width: 768px) {
  .material-panel {
    aspect-ratio: 4/3;
  }
}

.material-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 20, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--stack-lg);
}

.material-text {
  max-width: 600px;
  text-align: center;
}

/* CTA Section */
.cta-section {
  padding: var(--section-gap) 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 86, 37, 0.08));
  text-align: center;
}

.cta-form {
  max-width: 500px;
  margin: var(--stack-lg) auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--stack-md);
}

@media (min-width: 640px) {
  .cta-form {
    flex-direction: row;
    align-items: flex-end;
  }
}

.form-group {
  flex-grow: 1;
  text-align: left;
}

.form-input {
  width: 100%;
  background: var(--surface-container);
  border: none;
  border-bottom: 2px solid rgba(255, 86, 37, 0.25);
  color: var(--on-surface);
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: var(--primary);
}

.cta-btn {
  padding: 14px 32px;
  background-color: var(--on-surface);
  color: var(--background);
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 16px;
}

.cta-btn:hover {
  background-color: var(--primary);
  color: #000000;
}

/* Footer Styles */
footer {
  background-color: var(--surface-container-lowest);
  border-t: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gutter);
  padding: 60px 0;
}

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

.footer-logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: var(--stack-md);
  text-transform: uppercase;
}

.footer-about {
  color: var(--on-surface-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: var(--stack-md);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  color: var(--on-surface-muted);
  transition: color 0.3s ease;
}

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

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: var(--stack-sm);
}

.footer-column-link {
  font-size: 14px;
  color: var(--on-surface-muted);
  text-decoration: underline;
  transition: color 0.3s ease;
  opacity: 0.8;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: var(--stack-sm);
  align-items: center;
  color: var(--on-surface-muted);
  font-size: 14px;
}

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


/* Creative Preloader Artwork & Apple Branding */
.loader-artwork {
  position: relative;
  width: 160px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-silhouette {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 320px;
  z-index: 10;
  pointer-events: none;
}

#phone-frame-progress {
  transition: stroke-dashoffset 0.15s ease-out;
}

.apple-logo-wrap {
  position: relative;
  z-index: 15;
  animation: pulse-apple 3s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.apple-logo {
  fill: rgba(255, 255, 255, 0); /* Start transparent fill, animate outline stroke instead */
  transition: fill 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 1.4s ease;
  filter: drop-shadow(0 0 0px rgba(255, 86, 37, 0));
}

#apple-logo-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 0.15s ease-out, stroke 0.6s ease;
}

.apple-logo.loaded {
  fill: url(#apple-gold-gradient);
  filter: drop-shadow(0 0 18px rgba(255, 86, 37, 0.5));
}

.loader-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, rgba(255, 86, 37, 0) 70%);
  opacity: 0;
  filter: blur(36px);
  z-index: 5;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.6);
  pointer-events: none;
}

/* Creative Preloader Background Canvas */
#preloader-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Technical CAD concentric spinning aperture rings */
.preloader-precision-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  z-index: 8;
  pointer-events: none;
}

.ring-outer {
  transform-origin: center;
  animation: spin-clockwise 24s linear infinite;
}

.ring-middle {
  transform-origin: center;
  animation: spin-counter 16s linear infinite;
}

.ring-inner {
  transform-origin: center;
  animation: spin-clockwise 10s linear infinite;
}

/* HUD telemetry corner readouts */
.preloader-hud {
  position: absolute;
  font-family: monospace;
  font-size: 10px;
  color: var(--on-surface-muted);
  opacity: 0.45;
  letter-spacing: 0.15em;
  z-index: 12;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  transition: opacity 0.5s ease, color 0.3s ease;
}

.preloader-hud.top-left { top: 24px; left: 24px; }
.preloader-hud.top-right { top: 24px; right: 24px; }
.preloader-hud.bottom-left { bottom: 24px; left: 24px; }
.preloader-hud.bottom-right { bottom: 24px; right: 24px; }

@keyframes spin-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-counter {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulse-apple {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Pre-order Premium Invitation Card Upgrades */
.cta-wrapper-card {
  background: #0d0e0f !important; /* Solid high-end matte surface to remove laggy backdrop shaders */
  border: 1px solid rgba(255, 86, 37, 0.08) !important;
  
  /* Snappy cubic-bezier transitions matching the bento cards popups */
  transition: border-color 0.48s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.48s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.48s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.cta-wrapper-card:hover {
  border-color: rgba(255, 86, 37, 0.35) !important;
  
  /* Smooth anti-gravity popup lift and micro-scale */
  transform: translateY(-12px) scale(1.015);
  
  box-shadow: 0 40px 80px rgba(255, 86, 37, 0.16), 0 24px 55px rgba(0, 0, 0, 0.65) !important;
}

.cta-form .form-input:focus {
  border-color: var(--primary) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 0 20px rgba(255, 86, 37, 0.15);
}

.cta-form .cta-btn:hover {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 0 25px rgba(255, 86, 37, 0.4);
  transform: scale(1.02);
}

/* ===================================================
   RESPONSIVE DESIGN SYSTEM OVERLAYS (MOBILE/TABLET)
   =================================================== */

/* Tablet & Smaller Screens Override (under 1024px) */
@media (max-width: 1024px) {
  :root {
    --section-gap: 100px;
  }
  
  /* Force both interactive 3D scroll canvases to scale vertically to fill viewport height, cropping wide margins */
  .scroll-canvas {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
  }

  /* Shift Hero overlay further vertically downward near the absolute center of the screen for maximum dramatic overlap */
  .hero-content-overlay {
    top: 48% !important;
    transform: translate(-50%, -48%) !important;
    max-width: 680px;
  }
  
  .display-xl {
    font-size: 80px !important; /* Massive high-end scale identical to the desktop display */
    line-height: 1.1;
  }
  
  .headline-lg {
    font-size: 34px;
  }

  /* Premium vertical stacking for hero buttons on tablets to optimize touch controls and avoid overlap */
  .hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 28px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    max-width: 280px !important;
  }
  
  /* Bento Grid Tablet Polish */
  .bento-card {
    padding: 24px;
    height: auto;
    min-height: 270px;
  }
  
  .bento-value {
    font-size: 38px;
  }
  
  .bento-icon {
    font-size: 34px;
    margin-bottom: 16px;
  }
  
  /* Exploded Internal Board callouts */
  .chip-callout {
    max-width: 480px;
    margin: 24px auto 0 auto;
    text-align: left;
  }
}

/* Mobile & Portrait Tablet Override (under 768px) */
@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
    --container-padding: 16px;
  }
  
  /* Place Hero overlay vertically centered (45%) on portrait phones for robust dramatic poster aesthetic */
  .hero-content-overlay {
    top: 45% !important;
    transform: translate(-50%, -45%) !important;
    max-width: 440px;
    padding: 0 16px;
  }

  .display-xl {
    font-size: 60px !important; /* Giant, beautiful typographic scaling on phones */
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 14.5px !important; /* Polished readability */
    line-height: 1.5;
    margin-bottom: 20px !important;
  }
  
  .headline-lg {
    font-size: 28px;
  }
  
  .body-lg {
    font-size: 15px;
    line-height: 1.5;
  }
  
  /* Centered Horizontal Absolute Text Card Overlays on Mobile Viewports */
  .scroll-text-card {
    width: calc(100% - 32px);
    max-width: 320px;
    left: 50% !important;
    right: auto !important;
    /* Translate to center-horizontal and slide up from 30px */
    transform: translate(-50%, 30px) !important;
  }
  
  .scroll-text-card.visible {
    transform: translate(-50%, 0) !important;
  }
  
  /* Vertically align overlay cards above and below the central contain-scaled phone */
  .card-left-1, .card-left-2 {
    top: 15% !important;
  }
  
  .card-right-1, .card-right-2 {
    top: 72% !important;
  }
  
  /* Pre-order Premium Invitation Card Stacking on Mobiles */
  .cta-wrapper-card {
    padding: 40px 16px !important;
    border-radius: 20px !important;
  }
  
  .cta-wrapper-card h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }
  
  .cta-form {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }
  
  .cta-form .form-group {
    width: 100% !important;
    min-width: 100% !important;
  }
  
  .cta-form .cta-btn {
    width: 100% !important;
    max-width: 100% !important;
    height: 48px !important;
    margin: 0 !important;
  }
}

/* Preloader HUD Cleanup for Mobile Screens (under 500px) */
@media (max-width: 500px) {
  /* Ultra-compact hero text adjustments for small screens to guarantee zero word wrapping */
  .display-xl {
    font-size: 50px !important; /* Even larger and highly punchy on narrow viewports */
    line-height: 1.1;
  }
  
  /* Place Hero overlay vertically centered (44%) on tiny phones */
  .hero-content-overlay {
    top: 44% !important;
    transform: translate(-50%, -44%) !important;
  }

  .preloader-hud {
    font-size: 8px;
    padding: 4px 8px;
    letter-spacing: 0.08em;
  }
  
  /* Hide bottom HUD elements on small phone viewports to keep focus on central logo artwork */
  .preloader-hud.bottom-left,
  .preloader-hud.bottom-right {
    display: none !important;
  }
  
  .preloader-hud.top-left { top: 12px; left: 12px; }
  .preloader-hud.top-right { top: 12px; right: 12px; }
  
  /* Logo adjustments inside preloader */
  .preloader-logo {
    font-size: 13px !important;
  }
  
  /* Adaptive Minimalist Navigation bar sizes for phones */
  .nav-logo {
    font-size: 17px;
  }
  
  .nav-container {
    padding: 0 12px;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}
