/* JETSON ONE - Visual Signature & Core Design System */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --primary-deep-blue: #0c1424;
  --steel-gray: #7a869a;
  --base-white: #ffffff;
  --accent-sky-blue: #cfa87b; /* Premium Gold/Bronze Accent */
  --metallic-silver: #cbd2db;
  
  --bg-dark: #03060a;
  --bg-dark-card: rgba(12, 18, 28, 0.6);
  --border-glass: rgba(255, 255, 255, 0.04);
  --border-light: rgba(207, 168, 123, 0.2);
  
  /* Semantic Tokens */
  --bg-primary: var(--base-white);
  --text-primary: #121A24;
  --text-secondary: var(--steel-gray);
  
  /* Fonts */
  --font-title: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: auto; /* Handled by Lenis */
  overflow-x: hidden;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--base-white); /* Core experience is immersive dark/glass overlays */
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-sky-blue);
}

/* Background 3D Canvas */
#webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Sits directly behind content layers */
  pointer-events: none;
  animation: holoSignalFlicker 0.15s infinite alternate, holoSignalGlitch 5s infinite;
}

@keyframes holoSignalFlicker {
  0% { opacity: 0.94; }
  100% { opacity: 1.0; }
}

@keyframes holoSignalGlitch {
  0% { transform: translate(0, 0) skew(0deg); }
  94% { transform: translate(0, 0) skew(0deg); }
  95% { transform: translate(3px, -1px) skew(1.5deg); }
  96% { transform: translate(-2px, 1px) skew(-2deg); }
  97% { transform: translate(0, 0) skew(0deg); }
  100% { transform: translate(0, 0) skew(0deg); }
}

/* Content Container wrapper for Lenis */
#smooth-wrapper {
  position: relative;
  width: 100%;
  z-index: 2; /* Content sits above Three.js canvas but interacts with scroll triggers */
}

#smooth-content {
  position: relative;
  width: 100%;
}

/* Common Layout Elements */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

.section {
  padding: 8rem 0;
  position: relative;
  width: 100%;
}

.viewport-section {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

/* Custom Cursor & Glow */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--accent-sky-blue);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.cursor-glow {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(77, 168, 255, 0.04) 0%, rgba(10, 77, 162, 0) 70%);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: screen;
}

@media (max-width: 1024px) {
  .custom-cursor, .cursor-glow {
    display: none;
  }
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(2, 7, 14, 0.35);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

.logo {
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--base-white);
  display: flex;
  align-items: center;
}

.logo-dot {
  color: var(--accent-sky-blue);
}

.nav-links {
  display: flex;
  gap: 3rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile navigation simplified */
  }
}

.nav-link {
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--metallic-silver);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-sky-blue);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Global Buttons & UI Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.1rem 2.4rem;
  border-radius: 60px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-deep-blue);
  color: var(--base-white);
  border: 1px solid rgba(77, 168, 255, 0.25);
  box-shadow: 0 4px 25px rgba(10, 77, 162, 0.15);
}

.btn-primary:hover {
  background-color: var(--accent-sky-blue);
  box-shadow: 0 4px 35px rgba(77, 168, 255, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--base-white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: var(--base-white);
  color: #02070e;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--base-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-sky-blue);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 0.65rem 1.8rem;
  font-size: 0.75rem;
}

.badge {
  display: inline-flex;
  padding: 0.45rem 1.1rem;
  border-radius: 40px;
  background-color: rgba(77, 168, 255, 0.08);
  border: 1px solid rgba(77, 168, 255, 0.22);
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-sky-blue);
  margin-bottom: 2rem;
  width: fit-content;
}

.badge-accent {
  background-color: rgba(10, 77, 162, 0.15);
  border-color: var(--primary-deep-blue);
}

/* SECTION 1: Cinematic Hero */
.hero-section {
  z-index: 10;
  position: relative;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: brightness(0.55) contrast(1.05); /* Darkened slightly to ensure high contrast for the Garamond serif headers */
  animation: heroKenBurns 9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroKenBurns {
  to {
    transform: scale(1.0);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(3, 6, 10, 0.45) 0%, rgba(3, 6, 10, 0.2) 60%, rgba(3, 6, 10, 0.95) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 15;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 5.2rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--metallic-silver);
  margin-bottom: 3.5rem;
  max-width: 600px;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.05rem;
  }
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
}

/* Floating Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  z-index: 15;
  pointer-events: none;
  opacity: 0.8;
}

.mouse-icon {
  width: 24px;
  height: 40px;
  border: 1.5px solid var(--metallic-silver);
  border-radius: 20px;
  position: relative;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-sky-blue);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouseWheel 2.2s ease-in-out infinite;
}

.scroll-text {
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--metallic-silver);
}

@keyframes scrollMouseWheel {
  0% { opacity: 0; top: 8px; }
  30% { opacity: 1; }
  90% { opacity: 0; top: 22px; }
  100% { opacity: 0; }
}

/* SECTION 2: Brand Vision / Manifest */
.manifest-section {
  z-index: 10;
  background-color: rgba(2, 7, 14, 0.85);
  backdrop-filter: blur(10px);
}

.manifest-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-title-small {
  font-family: var(--font-title);
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  color: var(--accent-sky-blue);
  margin-bottom: 2.5rem;
}

.manifest-text {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--base-white);
}

/* Character/Word scrubbing reveal styling */
.manifest-text span {
  opacity: 0.12;
  transition: opacity 0.2s ease;
}

.manifest-text span.revealed {
  opacity: 1;
  color: var(--base-white);
  text-shadow: 0 0 25px rgba(77, 168, 255, 0.2);
}

@media (max-width: 768px) {
  .manifest-text {
    font-size: 1.7rem;
  }
}

/* Vision Sub-Page elements */
.vision-quote-block {
  border-left: 3px solid var(--accent-sky-blue);
  padding-left: 2.5rem;
  margin-bottom: 5rem;
  max-width: 800px;
}

.vision-quote-block blockquote {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--base-white);
  margin-bottom: 1.5rem;
}

.vision-quote-block cite {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--accent-sky-blue);
  text-transform: uppercase;
  font-style: normal;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .vision-grid {
    grid-template-columns: 100%;
  }
}

.vision-card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.vision-card p {
  color: var(--metallic-silver);
  font-weight: 300;
  line-height: 1.8;
}

/* SECTION 3: Aircraft Showcase (Pinned Blueprint Layout) */
.blueprint-section {
  position: relative;
  z-index: 10;
  height: 400vh; /* Controlled by ScrollTrigger pinning */
  background-color: transparent;
}

.blueprint-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(2, 7, 14, 0.9) 0%, rgba(2, 7, 14, 0.65) 100%);
}

.blueprint-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  height: 100%;
  width: 100%;
  align-items: center;
  position: relative;
}

@media (max-width: 1024px) {
  .blueprint-grid {
    grid-template-columns: 100%;
  }
}

.blueprint-details-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  position: relative;
  padding-right: 4rem;
  z-index: 15;
}

@media (max-width: 1024px) {
  .blueprint-details-container {
    padding-right: 0;
    max-width: 550px;
    margin: 0 auto;
    justify-content: flex-end;
    padding-bottom: 6rem;
  }
}

.blueprint-step {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  pointer-events: none;
}

.blueprint-step.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-sky-blue);
  margin-bottom: 1rem;
}

.step-title {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .step-title {
    font-size: 1.8rem;
  }
}

.step-description {
  font-size: 1rem;
  color: var(--metallic-silver);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.75;
}

.step-specs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.step-specs li {
  font-size: 0.9rem;
  color: var(--metallic-silver);
}

.step-specs li strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.75rem;
  color: var(--accent-sky-blue);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

/* Blueprint Visual Area HUD Overlays */
.blueprint-visual-placeholder {
  position: relative;
  height: 70%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .blueprint-visual-placeholder {
    position: absolute;
    top: 5rem;
    left: 0;
    height: 50vh;
    z-index: 10;
  }
}

.canvas-target-hud {
  width: 80%;
  height: 80%;
  border: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(10, 77, 162, 0.04);
  z-index: 5;
  overflow: hidden; /* Crop slider images inside HUD borders */
  border-radius: 16px;
  background: radial-gradient(circle at center, rgba(207, 168, 123, 0.07) 0%, rgba(3, 10, 20, 0.95) 75%);
}

.canvas-target-hud::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(3, 10, 20, 0.25) 50%
  );
  background-size: 100% 4px;
  z-index: 8;
  pointer-events: none;
  opacity: 0.65;
}

.canvas-target-hud::before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-sky-blue);
  box-shadow: 0 0 8px var(--accent-sky-blue), 0 0 16px var(--accent-sky-blue);
  z-index: 9;
  pointer-events: none;
  animation: scanlineSweep 4.5s linear infinite;
}

@keyframes scanlineSweep {
  0% { top: 0%; opacity: 0; }
  8% { opacity: 0.8; }
  92% { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

.blueprint-image-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slider-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.06);
}

.slider-img-wrap.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) contrast(1.05); /* Calibrated for high contrast tech-blueprint theme */
}

.hud-box {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid var(--accent-sky-blue);
  z-index: 10; /* Float above visual slide */
}

.hud-box.top-left { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.hud-box.top-right { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.hud-box.bottom-left { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.hud-box.bottom-right { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.hud-labels {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 10; /* Float above visual slide */
}

.hud-label-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

#hud-comp-name {
  color: var(--accent-sky-blue);
  font-weight: 700;
  font-size: 0.95rem;
}

.step-image-wrap {
  width: 100%;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  position: relative;
}

.step-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.85);
}

.blueprint-step:hover .step-img {
  transform: scale(1.05);
  filter: brightness(1.0);
}

/* SECTION 4: Engineering Excellence */
.engineering-section {
  z-index: 10;
  background-color: #02070e;
}

.section-header {
  max-width: 600px;
  margin-bottom: 5rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.4rem;
  }
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--steel-gray);
  font-weight: 300;
}

.engineering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .engineering-grid {
    grid-template-columns: 100%;
  }
}

.engineering-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.engineering-card:hover {
  border-color: rgba(77, 168, 255, 0.25);
  box-shadow: 0 10px 40px rgba(10, 77, 162, 0.12);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle 200px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(77, 168, 255, 0.07), transparent 70%);
  pointer-events: none;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(10, 77, 162, 0.08);
  border: 1px solid rgba(10, 77, 162, 0.18);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-sky-blue);
  margin-bottom: 2.5rem;
  transform: translateZ(30px);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  transform: translateZ(20px);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--metallic-silver);
  font-weight: 300;
  line-height: 1.75;
  transform: translateZ(10px);
}

/* SECTION 5: Lifestyle Paradigm */
.lifestyle-section {
  position: relative;
  z-index: 10;
  padding: 8rem 0;
  background-color: rgba(2, 7, 14, 0.9);
  overflow: hidden;
}

/* Text Marquee */
.lifestyle-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 2rem 0;
  margin-bottom: 8rem;
  background: rgba(2, 7, 14, 0.3);
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  justify-content: space-around;
  min-width: 100%;
  gap: 4rem;
  animation: scrollMarquee 26s linear infinite;
}

.marquee-content span {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
}

.marquee-content .separator {
  color: var(--accent-sky-blue);
  -webkit-text-stroke: none;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Panels with CSS Grid & Images */
.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .lifestyle-grid {
    grid-template-columns: 100%;
    gap: 3rem;
  }
}

.lifestyle-img-panel {
  width: 100%;
  height: 550px;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

@media (max-width: 768px) {
  .lifestyle-img-panel {
    height: 400px;
  }
}

.panel-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.5rem;
}

@media (max-width: 480px) {
  .panel-inner {
    padding: 2rem;
  }
}

.panel-img-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%; /* Extra height to support parallax shift */
  z-index: 1;
  transform: translateY(0);
}

.panel-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.7) contrast(1.1);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lifestyle-img-panel:hover .panel-bg-image {
  transform: scale(1.04);
}

.panel-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(2, 7, 14, 0.95) 0%, rgba(2, 7, 14, 0.25) 60%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.panel-content {
  position: relative;
  z-index: 5;
}

.panel-content h4 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.panel-content p {
  font-size: 0.95rem;
  color: var(--metallic-silver);
  font-weight: 300;
  max-width: 450px;
}

/* SECTION 6: High-Conversion Booking Intake */
.booking-section {
  z-index: 10;
  background-color: #02070e;
  overflow: hidden;
}

.booking-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle 800px at 80% 50%, rgba(10, 77, 162, 0.12), transparent 70%);
  pointer-events: none;
}

.booking-container {
  position: relative;
  z-index: 5;
}

.booking-grid-inner {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .booking-grid-inner {
    grid-template-columns: 100%;
    gap: 4rem;
  }
}

.booking-info {
  max-width: 500px;
}

.booking-title {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .booking-title {
    font-size: 2.4rem;
  }
}

.booking-subtitle {
  font-size: 1.05rem;
  color: var(--steel-gray);
  margin-bottom: 3.5rem;
  font-weight: 300;
}

.booking-spec-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 0.8rem;
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  font-size: 0.85rem;
  color: var(--steel-gray);
}

.spec-value {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-accent {
  color: var(--accent-sky-blue);
}

/* Floating Input Forms */
.booking-form-wrapper {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 32px;
  padding: 4rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

@media (max-width: 480px) {
  .booking-form-wrapper {
    padding: 2.5rem 1.5rem;
  }
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-row {
  position: relative;
  width: 100%;
}

.input-group {
  position: relative;
  width: 100%;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--base-white);
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  appearance: none; /* Reset standard styles */
}

/* Textarea height */
.input-group textarea {
  resize: none;
}

.input-group label {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  font-size: 0.9rem;
  color: var(--steel-gray);
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), font-size 0.3s ease, color 0.3s ease;
  transform-origin: 0 0;
}

/* Floating Label Animation triggers */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group select:focus ~ label,
.input-group select:not([value=""]):valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-2.25rem) scale(0.82);
  color: var(--accent-sky-blue);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--accent-sky-blue);
  background: rgba(10, 77, 162, 0.04);
  box-shadow: 0 0 15px rgba(77, 168, 255, 0.08);
}

/* Dropdown arrow for Select */
.input-group select {
  cursor: pointer;
}

.input-group::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 1.65rem;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--steel-gray);
  pointer-events: none;
}

.input-group select:focus::after {
  border-top-color: var(--accent-sky-blue);
}

/* Submit magnetic container wrapper */
.magnetic-btn-wrap {
  width: 100%;
  margin-top: 1.5rem;
}

.btn-submit {
  width: 100%;
  padding: 1.2rem;
  font-size: 0.9rem;
}

/* Success panel styles */
.form-success-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark-card);
  backdrop-filter: blur(20px);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
  z-index: 10;
}

@media (max-width: 480px) {
  .form-success-container {
    padding: 2.5rem 1.5rem;
  }
}

.form-success-container.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(77, 168, 255, 0.08);
  border: 1px solid rgba(77, 168, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-sky-blue);
  margin-bottom: 2.5rem;
}

.success-icon svg {
  width: 38px;
  height: 38px;
}

.success-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.success-message {
  font-size: 1rem;
  color: var(--metallic-silver);
  font-weight: 300;
  max-width: 400px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* Footer Section */
.footer {
  background-color: #010408;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding: 4rem 0;
  z-index: 10;
  position: relative;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }
}

.footer-brand .logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: var(--base-white);
  margin-bottom: 0.8rem;
  display: block;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--steel-gray);
  font-weight: 300;
  max-width: 450px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  text-decoration: none;
  font-size: 0.8rem;
  color: var(--steel-gray);
  transition: color 0.3s ease;
}

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

/* Global Progress bar visual indicator */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 1001;
  background-color: rgba(255, 255, 255, 0.02);
}

.scroll-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(to right, var(--primary-deep-blue), var(--accent-sky-blue));
  transition: width 0.1s linear;
}

/* Premium Image Card style wrappers */
.premium-image-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(2, 7, 14, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  height: 100%;
  max-height: 400px;
  display: flex;
}

.premium-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.9) contrast(1.05);
}

.premium-image-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.95) contrast(1.08);
}

.image-card-border {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  pointer-events: none;
  z-index: 3;
}

@media (max-width: 768px) {
  .order-mobile-1 { order: 1; }
  .order-mobile-2 { order: 2; }
}

/* Specifications Detail Cards */
.spec-detail-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.spec-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent-sky-blue);
}

.spec-detail-card h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--accent-sky-blue);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.spec-detail-card p {
  font-size: 0.85rem;
  color: var(--metallic-silver);
  line-height: 1.6;
  margin: 0;
  font-weight: 300;
}
