:root {
  /* Color Palette */
  --primary: #00d4ff;
  --primary-glow: rgba(0, 212, 255, 0.4);
  --secondary: #176b87;
  --dark-bg: #001220;
  --dark-surface: rgba(17, 25, 40, 0.75);
  --glass-border: rgba(255, 255, 255, 0.125);
  --text-main: #ffffff;
  --text-muted: #b0c4de;
  --white: #ffffff;

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
}

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

/* SEO: Visually hidden but crawlable by search engines */
.seo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark-bg);
  /* The immersive background */
  background-image:
    linear-gradient(rgba(0, 18, 32, 0.7), rgba(0, 18, 32, 0.7)),
    url("assets/hero.png");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
.logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

ul {
  list-style: none;
}

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

/* Glassmorphism Utilities */
/* Glassmorphism Utilities */
.glass-card,
.glass-form {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(35px) saturate(180%);
  -webkit-backdrop-filter: blur(35px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}


/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  border: none;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 10px 20px var(--primary-glow);
}

.btn.primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--primary-glow);
}

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

.btn.secondary:hover {
  background: var(--primary);
  color: var(--dark-bg);
}

/* Header & Nav */
header {
  position: fixed;
  top: 42px; /* Set to the exact height of the urgency banner */
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
  transition: all 0.4s ease;
}

.glass-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  padding: 0 50px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transition: all 0.4s ease;
}

.glass-nav.scrolled {
  background: linear-gradient(to bottom, rgba(0, 18, 32, 0.95) 0%, rgba(0, 18, 32, 0.7) 60%, transparent 100%);
  padding: 0 40px;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
}

.logo span {
  color: var(--primary);
}

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

.nav-links li a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  height: 110vh; /* Extra height for overlap */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
  background-color: var(--dark-bg);
  /* The ultimate fix for rigid transitions: Fade the entire hero wrapper into body */
  -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 110vh;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);

  filter: brightness(0.6);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 18, 32, 0.4), var(--dark-bg));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 25px;
  letter-spacing: -2px;
}

.hero-content h1 span {
  background: linear-gradient(to bottom, var(--primary), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Section Common */
section {
  padding: 120px 0;
  position: relative;
  background: transparent;
}

/* Backgrounds removed allowing the whole page to be one continuous ocean */
.hook, .instructor, .courses, .experience {
  background: transparent;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 10px;
}

.centered {
  text-align: center;
}

.badge {
  display: inline-block;
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid var(--primary);
}
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.6;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--white);
  border-radius: 20px;
  margin: 0 auto 10px;
  position: relative;
}

.mouse::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 6px;
  background: var(--white);
  left: 50%;
  transform: translateX(-50%);
  top: 8px;
  border-radius: 2px;
  animation: scroll 2s infinite;
}

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

/* Cinematic Sections */
.cinematic-section {
  position: relative;
  padding: 15vh 0; /* Huge breathing room */
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent; /* Seamless ocean */
}

.massive-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -1px;
  background: linear-gradient(to bottom, #fff, #B0C4DE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.cinematic-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 50px auto;
  color: var(--text-muted);
}

/* Floating Visuals with Edge Fading */
.floating-visual {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  position: relative;
}

.floating-visual img,
.floating-visual video {
  border-radius: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  /* Edge Fading Technique Fixed for 16:9 Video! */
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 90%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 90%);
  opacity: 0.85; /* Blend into dark bg */
  transform: scale(1.05); /* Extra cinematic feel */
}

.turtle-visual {
  margin-top: -50px; /* Overlap content slightly */
}

.instructor-visual {
  margin-top: 50px;
}

/* Trainer Section - 3 Column Layout */
.trainer-section {
  padding: 120px 0;
  position: relative;
  background: transparent;
}

.mb-50 {
  margin-bottom: 50px;
}

.trainer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.trainer-features, .trainer-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 2;
}

.trainer-features {
  text-align: right;
}

.trainer-stats {
  text-align: left;
}

.feature-item h4 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.stat-item .glow-num {
  font-size: 3rem;
  margin-bottom: 5px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, var(--white), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px var(--primary-glow);
}

.stat-item p {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.trainer-image-wrapper {
  flex: 1.2;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.capsule-frame {
  width: 100%;
  max-width: 350px;
  border-radius: 200px;
  padding: 8px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(0,212,255,0.3));
  box-shadow: 0 15px 50px rgba(0, 18, 32, 0.8), inset 0 0 20px rgba(0, 212, 255, 0.2);
}

.capsule-img {
  width: 100%;
  border-radius: 192px; /* Slightly less than frame */
  aspect-ratio: 1 / 1.5;
  object-fit: cover;
  display: block;
}

/* Instagram Tagged Posts Gallery */
.ig-gallery {
  margin-top: 50px;
}

.ig-post {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  color: #262626;
  transition: transform 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border: 1px solid #dbdbdb;
}

.ig-post:hover {
  transform: translateY(-8px);
}

.ig-header {
  display: flex;
  align-items: center;
  padding: 12px 14px;
}

.ig-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  border: 2px solid #e1306c; /* IG gradient color logic simplified */
  padding: 2px;
}

.ig-user {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ig-username {
  font-size: 0.85rem;
  font-weight: 600;
  color: #262626;
  text-decoration: none;
}

.ig-location {
  font-size: 0.7rem;
  color: #8e8e8e;
  margin-top: 2px;
}

.ig-icon {
  color: #262626;
  font-size: 1.2rem;
  opacity: 0.8;
}

.ig-image-wrap {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
}

.ig-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ig-footer {
  padding: 14px;
  background: #ffffff;
}

.ig-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
}

.ig-actions i {
  font-size: 1.5rem;
  color: #262626;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ig-actions i:hover {
  opacity: 0.6;
}

.ig-likes {
  font-size: 0.85rem;
  font-weight: 600;
  color: #262626;
  margin-bottom: 8px;
}

.ig-caption {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #262626;
  text-align: left;
}

.ig-caption .ig-username {
  margin-right: 4px;
}

/* Testimonials */
.testimonials-slider {
  margin-top: 50px;
}

.testimonial {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
}

.testimonial p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.reviewer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stars {
  color: #ffd700;
  margin-bottom: 5px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

details {
  padding: 20px;
  border-radius: 15px;
  cursor: pointer;
}

summary {
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin-top: 15px;
  color: var(--text-muted);
}

/* Courses Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* Cinematic Stacked Cards */
.stacked-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 20px;
  perspective: 1000px;
}

.stacked-card-shadow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: rotate(var(--rot)) scale(0.96);
  transform-origin: center;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.stacked-card-inner {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  z-index: 2;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.stacked-card-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 18, 32, 0.1) 0%, rgba(0, 18, 32, 0.9) 100%);
  z-index: 1;
}

.stacked-card .card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.stacked-card h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-top: auto;
  margin-bottom: 5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  transition: transform 0.4s ease;
}

.stacked-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin-bottom: 10px;
  max-width: 95%;
  transition: opacity 0.4s ease;
}

.stacked-card .card-num {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: auto;
  transition: all 0.4s ease;
}

.stacked-card .card-btn {
  position: absolute;
  bottom: 25px;
  width: calc(100% - 60px);
  opacity: 0;
  transform: translateY(20px);
  padding: 12px 20px;
}

/* Hover Effects */
.stacked-card:hover .stacked-card-shadow {
  transform: rotate(calc(var(--rot) * 1.5)) scale(1);
  box-shadow: 0 15px 50px var(--primary-glow);
}

.stacked-card:hover .stacked-card-inner {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.stacked-card:hover h3 {
  transform: translateY(-10px);
}

.stacked-card:hover p {
  opacity: 0;
}

.stacked-card:hover .card-num {
  opacity: 0;
  transform: translateY(10px);
}

.stacked-card:hover .card-btn {
  opacity: 1;
  transform: translateY(0);
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

/* Contact Form */
.glass-form {
  padding: 60px;
  border-radius: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.input-group {
  margin-bottom: 20px;
}

input,
select {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  padding: 15px 25px;
  color: var(--white);
  border-radius: 15px;
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s;
}

input:focus,
select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Footer */
.main-footer {
  padding: 50px 0;
  border-top: 1px solid var(--glass-border);
}

.socials {
  display: flex;
  gap: 20px;
  font-size: 1.5rem;
}

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

/* Promos & Locations & Contact */
/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background: transparent;
}

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

.pricing-card {
  background: rgba(10, 25, 47, 0.7);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 212, 255, 0.1);
}

.pricing-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.pricing-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pricing-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  color: #fff;
}

.pricing-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 25px;
}

.pricing-meta span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.pricing-cost-group {
  margin-top: auto;
  text-align: left;
  margin-bottom: 25px;
  background: rgba(0, 212, 255, 0.05); /* Slight tint for the price area */
  padding: 15px;
  border-radius: 10px;
}

.cost-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}

.cost-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}

.cost-value .currency {
  font-size: 1.2rem;
  margin-right: 5px;
}

.cost-value .suffix {
  font-size: 1rem;
  margin-left: 5px;
  font-weight: 500;
}

.cost-desc {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 5px;
}

/* Promos Section */
.promo-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--primary);
  color: var(--dark-bg);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
  z-index: 10;
}

.promo-card {
  position: relative;
  padding: 40px 30px;
}

.outline-glow {
  border: 1px solid rgba(0, 212, 255, 0.5) !important;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1) !important;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2) !important;
}

/* Responsive */
@media (max-width: 992px) {
  /* Trainer Mobile Layout Fix - Profile Card Structure */
  .trainer-layout {
    flex-direction: column;
  }
  
  .trainer-image-wrapper {
    order: 1;
    margin-bottom: 20px;
  }

  .trainer-stats {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
  }

  .trainer-features {
    order: 3;
    text-align: center;
    width: 100%;
  }

  .stat-item {
    flex: 1 1 30%;
  }

  .stat-item .glow-num {
    font-size: 2rem;
  }

  .stat-item p {
    font-size: 0.75rem;
  }

  .grid,
  .grid-3 {
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .glass-form {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  /* Layout */
  .grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .experience-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item.large {
    grid-row: auto;
  }

  .gallery-item {
    height: 250px;
  }

  /* Header */
  .nav-links {
    display: none; /* In a real project, add a hamburger menu */
  }

  .glass-nav {
    padding: 0 20px;
  }

  /* Typography */
  .hero-content h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .massive-title {
    font-size: 2.2rem !important;
  }

  /* Spacing */
  section {
    padding: 80px 0;
  }

  .container {
    padding: 0 15px;
  }

  .course-card {
    padding: 30px;
  }

  /* Elements */
  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .flex-between {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ------------------------------------- */
/* Language Toggle Button                */
/* ------------------------------------- */
.lang-toggle-btn {
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  font-family: 'Inter', sans-serif;
}

.lang-toggle-btn:hover {
  background: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
  transform: scale(1.05);
}

/* ------------------------------------- */
/* Base Locations Carousel               */
/* ------------------------------------- */
.base-carousel {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0 50px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.base-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.base-card {
  flex: 0 0 320px;
  height: 420px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  scroll-snap-align: center;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.base-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.4);
}

.base-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 25px 25px 25px;
  background: linear-gradient(to top, rgba(0,10,25,0.95) 0%, rgba(0,10,25,0.6) 60%, transparent 100%);
  text-align: left;
  transition: all 0.3s ease;
}

.base-card:hover .base-overlay {
  background: linear-gradient(to top, rgba(0,10,25,1) 0%, rgba(0,212,255,0.2) 100%);
}

.base-overlay i {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(0,212,255,0.5);
}

.base-overlay h4 {
  font-size: 1.6rem;
  margin-bottom: 5px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}

.base-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .base-carousel {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: -15px;
    margin-right: -15px;
    gap: 15px;
  }
  
  .base-card {
    flex: 0 0 85%;
    height: 380px;
  }
}


/* Lead Capture Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 10, 25, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 450px;
  padding: 40px;
  background: rgba(10, 25, 47, 0.85);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 212, 255, 0.05);
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  transition: 0.3s;
}

.close-modal:hover {
  color: #fff;
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.modal-header h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.input-group input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.modal-footer-note {
  text-align: center;
  margin-top: 15px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ========================================= */
/* URGENCY & CONVERSION WIDGETS              */
/* ========================================= */

/* 1. Sticky Urgency Banner */
#urgency-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  background: linear-gradient(90deg, #00d4ff, #001e3c, #00d4ff);
  background-size: 200% auto;
  color: #fff;
  text-align: center;
  padding: 10px 15px;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 10000;
  letter-spacing: 0.5px;
  animation: shine 3s linear infinite;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

#urgency-timer {
  font-family: 'Montserrat', sans-serif;
  background: rgba(0,0,0,0.4);
  padding: 2px 8px;
  border-radius: 4px;
  margin: 0 5px;
  letter-spacing: 2px;
}

@keyframes shine {
  to { background-position: 200% center; }
}

/* Push header down because of fixed banner */
body {
  padding-top: 40px; /* Approximate height of banner */
}

/* 2. FOMO Popup */
#fomo-popup {
  position: fixed;
  bottom: -100px;
  left: 20px;
  background: rgba(10, 25, 47, 0.9);
  border: 1px solid rgba(0, 212, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(0, 212, 255, 0.2);
  z-index: 9998;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  opacity: 0;
}

#fomo-popup.show {
  bottom: 20px;
  opacity: 1;
}

#fomo-popup .fa-check-circle {
  color: #00d4ff;
  font-size: 1.5rem;
}

.fomo-text {
  font-size: 0.85rem;
  color: #fff;
}

.fomo-name {
  font-weight: 700;
}

.fomo-time {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* 3. Inventory Progress Bar */
.inventory-bar {
  margin-bottom: 20px;
}

.inventory-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
  font-weight: 600;
  text-align: left;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 10px;
  transition: width 1s ease;
}

.pulse-glow {
  animation: pulse-bar 2s infinite;
}

@keyframes pulse-bar {
  0% { opacity: 0.8; }
  50% { opacity: 1; box-shadow: 0 0 10px rgba(255,255,255,0.5); }
  100% { opacity: 0.8; }
}

/* Adjustments for mobile */
@media (max-width: 768px) {
  #urgency-banner {
    font-size: 0.75rem;
    padding: 8px 10px;
  }
  
  #fomo-popup {
    left: 10px;
    right: 10px;
    bottom: -100px;
    border-radius: 20px;
    justify-content: center;
  }
  
  header {
    top: 34px;
  }

  /* ------------------------------------- */
  /* Mobile Swipe Carousel for Pricing Cards */
  /* ------------------------------------- */
  .pricing-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 25px;
    /* Edge bleed effect so user can swipe from edge to edge smoothly */
    padding-left: 15px; 
    padding-right: 15px;
    margin-left: -15px; 
    margin-right: -15px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  
  /* Hide scrollbar for an App-like aesthetic */
  .pricing-grid::-webkit-scrollbar {
    display: none;
  }
  .pricing-grid {
    scrollbar-width: none; /* Firefox */
  }
  
  .pricing-card {
    scroll-snap-align: center;
    flex: 0 0 85%; /* Shows 85% of the card, leaving 15% to peek the next one */
    max-width: 320px;
  }
}
