/* CSS Variables & Core Theme Setup */
:root {
  --bg: #090909;
  --card-bg: #111111;
  --primary: #ffffff;
  --accent: #D5001C; /* Porsche Red */
  --accent-hover: #b00016;
  --secondary: #BEBEBE; /* Porsche GT Silver */
  --font-headings: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-quick: all 0.25s ease;
  
  --glass-bg: rgba(9, 9, 9, 0.75);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glow-radius: 400px;
}

/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Scroll Progress Bar */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #ff4d64);
  z-index: 10002;
  transition: width 0.1s ease-out;
}

/* Mouse Follow Global Spotlight */
.mouse-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(213, 0, 28, 0.035) 0%, transparent 60%);
  z-index: 9999;
}

/* Typography Utility Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.6;
  font-weight: 300;
  color: var(--secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-quick);
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.center-text {
  text-align: center;
}

.section-header {
  margin-bottom: 60px;
}

.section-padding {
  padding: 120px 0;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-medium);
  z-index: 1;
}

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

.btn-primary:hover {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(213, 0, 28, 0.3);
}

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

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

.btn-secondary-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary-outline:hover {
  background-color: var(--primary);
  color: #000;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

.btn-full {
  width: 100%;
}

/* Ripple effect container styles */
.ripple {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* MAIN HEADER NAVIGATION */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 40px;
  transition: var(--transition-smooth);
}

/* Scrolled Navbar Style (Glassmorphism) */
#main-header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--glass-border);
}

#main-header.scrolled .navbar-container {
  padding: 16px 40px;
}

.porsche-logo-svg {
  width: 140px;
  height: 25px;
  color: var(--primary);
  transition: var(--transition-smooth);
}

#main-header.scrolled .porsche-logo-svg {
  width: 120px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-item {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  position: relative;
  padding: 8px 0;
}

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

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-quick);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-quick);
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Drawer Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-nav-item {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mobile-nav-item:hover {
  color: var(--accent);
}

.mobile-cta {
  margin-top: 20px;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 0.1s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(9, 9, 9, 0.4) 0%, rgba(9, 9, 9, 0.95) 100%);
  z-index: -1;
}

/* Smoke particle canvas container */
.smoke-particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  max-width: 1000px;
  padding: 0 40px;
  z-index: 2;
  margin-top: 60px;
}

.hero-title {
  font-size: 5rem;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #bebebe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 48px;
  font-weight: 300;
}

/* Performance Badges Grid */
.performance-badges-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 48px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 18px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
}

.badge-check {
  color: var(--accent);
  font-weight: 900;
}

.badge-text {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--primary);
}

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

/* Scroll Down Mouse */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 2;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel-anim 1.6s infinite ease;
}

.scroll-arrow-text {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition-quick);
}

.scroll-indicator:hover .scroll-arrow-text {
  color: var(--primary);
}

@keyframes scroll-wheel-anim {
  0% { opacity: 1; transform: translate(-50%, 0); }
  50% { opacity: 0.3; transform: translate(-50%, 10px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}

/* SECTION 2: PERFORMANCE SPLIT LAYOUT */
.performance-section {
  background-color: var(--bg);
  position: relative;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.performance-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-image-container:hover .performance-img {
  transform: scale(1.03);
}

.section-description {
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* Performance Statistics Cards */
.performance-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.spec-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 24px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: var(--transition-medium);
}

.spec-card:hover {
  border-color: rgba(213, 0, 28, 0.3);
  transform: translateY(-5px);
}

.spec-label {
  font-size: 0.7rem;
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.1em;
}

.spec-val {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.spec-unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-left: 4px;
}

/* SECTION 3: AERODYNAMICS SECTION */
.aerodynamics-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.aero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

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

.aero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 9, 9, 0.95) 0%, rgba(9, 9, 9, 0.7) 50%, rgba(9, 9, 9, 0.95) 100%);
  z-index: -1;
}

.aero-content {
  position: relative;
  z-index: 1;
}

.aero-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Spotlight Hover Cards Architecture */
.spotlight-card {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 4px;
  padding: 1px; /* Creates border border-glow spacing */
  overflow: hidden;
  z-index: 1;
}

/* CSS radial spotlight bound via mouse coordinates */
.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    var(--glow-radius) circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(255, 255, 255, 0.12),
    transparent 40%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Accent version (for why section) */
.spotlight-card.accent-glow::before {
  background: radial-gradient(
    var(--glow-radius) circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(213, 0, 28, 0.22),
    transparent 50%
  );
}

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

.card-inner {
  background: var(--card-bg);
  padding: 40px;
  height: 100%;
  width: 100%;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-medium);
}

.spotlight-card:hover .card-inner {
  background: rgba(17, 17, 17, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

.card-icon {
  color: var(--primary);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  transition: var(--transition-quick);
}

.spotlight-card:hover .card-icon {
  color: var(--accent);
  background: rgba(213, 0, 28, 0.1);
  transform: scale(1.05);
}

.accent-icon {
  color: var(--accent);
  background: rgba(213, 0, 28, 0.05);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* SECTION 4: TECHNOLOGY */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-col-2 {
  grid-column: span 2;
}

.tech-card .card-inner {
  padding: 48px;
}

/* SECTION 5: GALLERY MASONRY */
.gallery-section {
  background: #060606;
}

.gallery-masonry {
  column-count: 3;
  column-gap: 20px;
  width: 100%;
}

.gallery-item {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 4px;
  break-inside: avoid;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Heights adjustments for dynamic grid */
.gallery-item.h-2 .gallery-img {
  aspect-ratio: 4/5;
  object-fit: cover;
}

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition-medium);
}

.gallery-zoom-icon {
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 8px;
  transform: translateY(15px);
  transition: var(--transition-medium);
}

.gallery-item-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translateY(15px);
  transition: var(--transition-medium);
}

/* Hover Zoom states */
.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-hover-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-zoom-icon,
.gallery-item:hover .gallery-item-title {
  transform: translateY(0);
}

/* LIGHTBOX MODAL */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(6, 6, 6, 0.98);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 3rem;
  color: var(--secondary);
  cursor: pointer;
  transition: var(--transition-quick);
  z-index: 10001;
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--secondary);
  cursor: pointer;
  padding: 20px;
  transition: var(--transition-quick);
  user-select: none;
  z-index: 10001;
}

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

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-content {
  max-width: 85%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lightbox-caption {
  margin-top: 24px;
  text-align: center;
}

#lightbox-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

#lightbox-desc {
  font-size: 0.95rem;
  color: var(--secondary);
}

/* SECTION 6: SPECIFICATIONS TABLES */
.specs-section {
  background: var(--bg);
}

.specs-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.spec-dash-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition-medium);
}

.spec-dash-card:hover {
  border-color: rgba(213, 0, 28, 0.2);
  transform: translateY(-5px);
}

.spec-dash-num {
  font-family: var(--font-headings);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.015);
  position: absolute;
  top: 10px;
  right: 20px;
  user-select: none;
  transition: var(--transition-medium);
}

.spec-dash-card:hover .spec-dash-num {
  color: rgba(213, 0, 28, 0.05);
}

.spec-dash-title {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.spec-dash-val {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 12px;
}

.spec-dash-sub {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 300;
}

/* SECTION 7: WHY CHOOSE GRID */
.why-section {
  background: #060606;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: rgba(255, 255, 255, 0.01);
}

/* SECTION 8: TESTIMONIALS CAROUSEL */
.testimonials-section {
  background: var(--bg);
}

.testimonial-carousel-container {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 60px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.rating {
  color: var(--accent);
  letter-spacing: 4px;
  font-size: 1.1rem;
}

.testimonial-quote {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.author-title {
  font-size: 0.8rem;
  color: var(--secondary);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.dot {
  width: 24px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-quick);
}

.dot.active {
  background: var(--accent);
  width: 48px;
}

/* SECTION 9: CONTACT & LEAD FORM */
.contact-section {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.contact-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

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

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 9, 9, 0.98) 0%, rgba(9, 9, 9, 0.85) 50%, rgba(9, 9, 9, 0.98) 100%);
  z-index: -1;
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.alternative-contacts {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0;
}

.alt-contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.alt-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
}

.alt-link {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.35rem;
}

.alt-link:hover {
  color: var(--accent);
}

.alt-val {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--primary);
}

.contact-info-buttons {
  display: flex;
  gap: 16px;
}

/* Consultation Lead Form wrapper styling */
.contact-form-wrapper {
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 48px;
  border-radius: 4px;
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-row .form-group {
  margin-bottom: 0;
}

label {
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="datetime-local"],
select,
textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  padding: 14px 18px;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-quick);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(213, 0, 28, 0.15);
}

select option {
  background-color: var(--bg);
  color: var(--primary);
}

textarea {
  resize: vertical;
}

.form-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.85rem;
  font-weight: 300;
  text-transform: none;
  letter-spacing: normal;
  color: var(--secondary);
  line-height: 1.4;
  cursor: pointer;
}

.form-link {
  color: var(--accent);
  text-decoration: underline;
}

/* Feedback display style */
#form-feedback-message {
  margin-top: 16px;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}

.feedback-success {
  color: #25D366;
}

.feedback-error {
  color: var(--accent);
}

/* FOOTER SECTION styling */
.footer-section {
  background: #050505;
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

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

.footer-logo-svg {
  width: 140px;
  height: 25px;
  color: var(--primary);
}

.footer-tagline {
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--secondary);
}

.footer-links-list a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.social-icons {
  display: flex;
  gap: 18px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-quick);
}

.social-icons a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 5px 15px rgba(213, 0, 28, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright, .disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
}

.disclaimer {
  font-style: italic;
  max-width: 500px;
  text-align: right;
}

/* FLOATING WIDGETS */
.floating-widgets {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 998;
}

.widget-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition-medium);
}

.widget-btn:hover {
  transform: scale(1.1) translateY(-5px);
}

.phone-widget {
  background-color: var(--accent);
}
.phone-widget:hover {
  box-shadow: 0 15px 35px rgba(213, 0, 28, 0.4);
}

.whatsapp-widget {
  background-color: #25D366;
}
.whatsapp-widget:hover {
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* SCROLL TRANSITIONS */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE STYLES */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 4rem;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .aero-cards-grid, .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-col-2 {
    grid-column: span 2;
  }
  .specs-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-masonry {
    column-count: 2;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .disclaimer {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .section-padding {
    padding: 80px 0;
  }
  .navbar-container {
    padding: 20px 24px;
  }
  #main-header.scrolled .navbar-container {
    padding: 14px 24px;
  }
  .nav-links, .nav-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1.15rem;
  }
  .performance-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aero-cards-grid, .why-grid, .tech-grid, .specs-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .grid-col-2 {
    grid-column: span 1;
  }
  .gallery-masonry {
    column-count: 1;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-wrapper {
    padding: 30px 20px;
  }
  .testimonial-card {
    padding: 40px 24px;
  }
  .testimonial-quote {
    font-size: 1.35rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .floating-widgets {
    bottom: 24px;
    right: 24px;
  }
  .widget-btn {
    width: 48px;
    height: 48px;
  }
}

/* CINEMATIC SCROLL-SEQUENCE SECTION STYLES */
.scroll-sequence-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #000000;
  z-index: 10;
}

.sequence-sticky-wrapper {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sequence-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sequence-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  font-family: var(--font-headings);
  font-weight: 900;
  font-size: 5rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  width: 90%;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #bebebe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sequence-overlay-text.active {
  opacity: 1;
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
  .sequence-overlay-text {
    font-size: 2.8rem;
    width: 85%;
  }
}

.scroll-sequence-container .scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
