:root {
  --bg: #060814;
  --bg-alt: #0b1022;
  --bg-card: #11162b;
  --gold: #f9c449;
  --gold-soft: #f6e3aa;
  --accent-red: #e44545;
  --accent-maroon: #5b1420;
  --text: #f5f7ff;
  --muted: #9ca3c7;
  --border: rgba(249, 196, 73, 0.28);
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 120px rgba(249, 196, 73, 0.4);
  --nav-height: 76px;

  --surface: #0b1022;
  --surface-light: #11162b;
  --primary: #f9c449;
  --text-light: #f5f7ff;
  --text-muted: #9ca3c7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #10163a 0, #050612 50%, #020308 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  /* Prevent double scrollbar by ensuring only html or body scrolls, typically html is enough if body is standard */
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: radial-gradient(circle at top, #10163a 0, #050612 50%, #020308 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

body.splash-active {
  overflow: hidden;
  height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  /* Remove overflow-x: hidden from main as it might create a new stacking/scroll context if not carefully managed */
  overflow: clip;
  /* Modern replacement for hidden that doesn't cause scrollbars as easily */
  overflow-x: hidden;
}

.section {
  padding: calc(var(--nav-height) + 4rem) 1.5rem 4.5rem;
}

.section--dark {
  background: radial-gradient(circle at top, #141936 0, #050612 60%, #020308 100%);
}

.section__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.center {
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--gold-soft);
  margin-bottom: 0.75rem;
}

.section__header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 2.2vw + 1.5rem, 2.5rem);
}

.section__description {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

/* NAV */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, rgba(249, 196, 73, 0.12), transparent 60%) rgba(4, 5, 18, 0.94);
  border-bottom: 1px solid rgba(249, 196, 73, 0.28);
  z-index: 40;
}

.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.nav__overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.nav__logo-img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: contain;
  box-shadow: 0 0 14px rgba(249, 196, 73, 0.7);
}

.nav__logo-text {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  color: var(--gold-soft);
}

.nav__links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-size: 0.86rem;
}

.nav__links a {
  position: relative;
  color: var(--muted);
  padding-bottom: 0.15rem;
}

.nav__links a.active {
  color: var(--text);
}

.nav__links a.active::after {
  width: 100%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(249, 196, 73, 0.6);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #ffb37a);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a:hover::after {
  width: 80%;
}

.nav__cta {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold), #ffb37a);
  color: #1a1025 !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(249, 196, 73, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 196, 73, 0.6);
}

.nav__cta::after {
  display: none !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav__burger span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-soft);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(249, 196, 73, 0.5);
  display: none;
  /* Hidden by default, shown in mobile media query */
  align-items: center;
  justify-content: center;
  background: rgba(8, 9, 24, 0.95);
  color: var(--gold-soft);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
  z-index: 100;
}

.nav__close:hover {
  background: rgba(249, 196, 73, 0.2);
}

/* HERO */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 2.5rem;
  padding-top: calc(var(--nav-height) + 3rem);
  text-align: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__spotlight {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle,
      rgba(249, 196, 73, 0.15) 0%,
      transparent 60%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  animation: pulse-spotlight 8s ease-in-out infinite alternate;
}

@keyframes pulse-spotlight {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(249, 196, 73, 0.6);
  background: radial-gradient(circle at left, rgba(249, 196, 73, 0.3), transparent 60%) rgba(10, 8, 27, 0.92);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #35ff9b;
  box-shadow: 0 0 18px rgba(53, 255, 155, 0.9);
}

.hero__title {
  margin: 1rem 0 0.75rem;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero__title .accent {
  background: linear-gradient(135deg, #f9c449 0%, #ffb37a 50%, #fffbe3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(249, 196, 73, 0.4));
}

.hero__subtitle {
  margin: 0 0 2.5rem;
  color: var(--muted);
  max-width: 680px;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 300;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    color 0.18s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), #ffb37a);
  color: #1a1025;
  box-shadow: 0 10px 30px rgba(249, 196, 73, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  font-weight: 600;
}

.btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.6),
      transparent);
  transition: 0.5s;
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(249, 196, 73, 0.6);
}

.btn--ghost {
  background: rgba(11, 11, 32, 0.8);
  color: var(--gold-soft);
  border: 1px solid rgba(147, 197, 253, 0.2);
}

.btn--ghost:hover {
  background: rgba(23, 24, 58, 0.95);
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(249, 196, 73, 0.7);
  color: var(--gold-soft);
}

.btn--outline:hover {
  background: rgba(249, 196, 73, 0.08);
}

.btn--full {
  width: 100%;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat {
  min-width: 120px;
}

.stat__number {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold), #ffb37a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* HERO VISUAL (Abstract Animations) */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  perspective: 1000px;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 30%, var(--bg) 90%);
  pointer-events: none;
  z-index: 6;
}

.hero__abstract-visual {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(249, 196, 73, 0.15);
  box-shadow: 0 0 40px rgba(249, 196, 73, 0.05);
}

.hero__ring--1 {
  width: 100%;
  height: 100%;
  animation: spin 20s linear infinite;
  border-color: rgba(249, 196, 73, 0.1);
  border-top-color: rgba(249, 196, 73, 0.6);
}

.hero__ring--2 {
  width: 75%;
  height: 75%;
  animation: spin-reverse 15s linear infinite;
  border-color: rgba(53, 255, 155, 0.1);
  border-bottom-color: rgba(53, 255, 155, 0.5);
}

.hero__ring--3 {
  width: 50%;
  height: 50%;
  animation: spin 10s linear infinite;
  border-color: rgba(150, 117, 255, 0.1);
  border-left-color: rgba(150, 117, 255, 0.5);
}

.hero__orb {
  width: 25%;
  height: 25%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--gold));
  box-shadow: 0 0 60px rgba(249, 196, 73, 0.6);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-15px) scale(1.05);
  }
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(249, 196, 73, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% {
    opacity: 0.5;
    transform: scale(0.9);
  }

  100% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.hero__floating-card {
  position: absolute;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 11, 26, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(249, 196, 73, 0.3);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 6;
  white-space: nowrap;
}

.hero__floating-card--top {
  top: 5%;
  right: -10%;
  transform: rotate(2deg);
}

.hero__floating-card--bottom {
  bottom: 10%;
  left: -10%;
  transform: rotate(-2deg);
}

/* CARDS & ELEMENTS */

.card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(249, 196, 73, 0.1), transparent 60%) var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out,
    border-color 0.25s ease-out,
    background 0.25s ease-out;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(249, 196, 73, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.card:hover::before {
  opacity: 1;
  transform: translate3d(8px, 8px, 0);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.8);
  border-color: rgba(249, 196, 73, 0.6);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.services__grid {
  margin-top: 2.1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.packages__grid {
  margin-top: 2.1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* PLAN CARDS WITH SPLIT BACKGROUND IMAGE */
.plan-card {
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.25), transparent 65%) #050712;
  color: var(--text);
}

.plan-card h3 {
  margin-top: 1.4rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.plan-card ul {
  background: transparent;
  border-radius: 0;
  padding: 0.55rem 0 0.2rem;
  backdrop-filter: none;
  border: none;
}

.plan-card li {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.plan-card--meta-1,
.plan-card--meta-2,
.plan-card--meta-3 {
  background-image: linear-gradient(to bottom, rgba(2, 4, 16, 0.4), rgba(2, 4, 16, 0.95)),
    url("assets/meta.png");
  background-size: 115% 330%;
  background-repeat: no-repeat;
}

.plan-card--meta-1 {
  background-position: center 0%;
}

.plan-card--meta-2 {
  background-position: center 50%;
}

.plan-card--meta-3 {
  background-position: center 100%;
}

.plan-card--google-1,
.plan-card--google-2,
.plan-card--google-3 {
  background-image: linear-gradient(to bottom, rgba(2, 4, 16, 0.4), rgba(2, 4, 16, 0.95)),
    url("assets/google.png");
  background-size: 115% 330%;
  background-repeat: no-repeat;
}

.plan-card--google-1 {
  background-position: center 0%;
}

.plan-card--google-2 {
  background-position: center 50%;
}

.plan-card--google-3 {
  background-position: center 100%;
}

.plan-card--api-1,
.plan-card--api-2,
.plan-card--api-3 {
  background-image: linear-gradient(to bottom, rgba(2, 4, 16, 0.4), rgba(2, 4, 16, 0.95)),
    url("assets/api.png");
  background-size: 115% 330%;
  background-repeat: no-repeat;
}

.plan-card--api-1 {
  background-position: center 0%;
}

.plan-card--api-2 {
  background-position: center 50%;
}

.plan-card--api-3 {
  background-position: center 100%;
}

@media (max-width: 900px) {
  .plan-card h3 {
    margin-top: 1rem;
  }
}

/* Make plan buttons a bit transparent so bg shows through, with glow on hover */
.plan-card .btn--primary {
  background: transparent;
  border: 1px solid rgba(249, 196, 73, 0.9);
  color: var(--gold-soft);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.0);
  backdrop-filter: none;
}

.plan-card .btn--primary:hover {
  box-shadow:
    0 0 18px rgba(249, 196, 73, 0.7),
    0 22px 60px rgba(0, 0, 0, 0.9);
  background: rgba(249, 196, 73, 0.1);
}

/* WEAPON MODAL COMPLETELY REMOVED */

.card--package ul {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.card--package li+li {
  margin-top: 0.28rem;
}

.card__badge {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(249, 196, 73, 0.65);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.card--featured {
  background: radial-gradient(circle at top, rgba(249, 196, 73, 0.2), transparent 60%) linear-gradient(135deg, #1b102a, #0b1327);
  transform: translateY(-6px);
}

.card--featured::before {
  opacity: 0.6;
}

/* PACKAGES TABS REMOVED */

/* NICHES / CHIPS / TIMELINE */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.6rem 0 2rem;
}

.chip {
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(249, 196, 73, 0.5);
  font-size: 0.78rem;
  background: rgba(10, 10, 28, 0.92);
  color: var(--gold-soft);
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out,
    background 0.2s ease-out,
    border-color 0.2s ease-out;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
  background: rgba(18, 18, 40, 0.98);
  border-color: rgba(249, 196, 73, 0.8);
}

.timeline {
  position: relative;
  margin-top: 0.5rem;
  padding-left: 1.4rem;
  border-left: 1px solid rgba(249, 196, 73, 0.4);
}

.timeline__item {
  position: relative;
  padding: 0.5rem 0 1.3rem 0.9rem;
}

.timeline__dot {
  position: absolute;
  left: -1.65rem;
  top: 0.7rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(249, 196, 73, 0.9);
}

.timeline__content h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.timeline__content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ABOUT */

.about__platforms {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.about__platforms-label {
  margin: 0 0 0.9rem;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.about__platforms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(7, 8, 23, 0.85);
  border: 1px solid rgba(249, 196, 73, 0.25);
  color: var(--text);
  font-size: 0.85rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.platform-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 196, 73, 0.55);
  background: rgba(10, 12, 32, 0.9);
}

.platform-pill__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.platform-pill__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

/* ABOUT STATS ROW */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
  padding: 1.8rem 2rem;
  border-radius: 20px;
  background: radial-gradient(circle at top, rgba(249, 196, 73, 0.08), transparent 60%) rgba(11, 16, 34, 0.9);
  border: 1px solid rgba(249, 196, 73, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.about-stats__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about-stats__number {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #ffb37a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.about-stats__label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* OUR PRESENCE GRID */
.presence {
  margin-top: 3rem;
  text-align: center;
}

.presence__title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--gold), #ffb37a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.presence__subtitle {
  margin: 0.4rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.presence__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.presence__card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 180px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(249, 196, 73, 0.3);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.presence__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border-color: rgba(249, 196, 73, 0.7);
}

.presence__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.presence__name {
  position: relative;
  z-index: 2;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.presence__badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #ffb37a);
  color: #1a1025;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(249, 196, 73, 0.5);
}

/* Dubai (center, spans full width of middle column) */
.presence__card--featured {
  border-color: rgba(249, 196, 73, 0.6);
  min-height: 220px;
  box-shadow: 0 0 30px rgba(249, 196, 73, 0.15);
}

/* Unsplash background images */
.presence__card--london {
  background-image: url("https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?w=600&q=80");
}

.presence__card--newyork {
  background-image: url("https://images.unsplash.com/photo-1496442226666-8d4d0e62e6e9?w=600&q=80");
}

.presence__card--dubai {
  background-image: url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=600&q=80");
}

.presence__card--maldives {
  background-image: url("https://images.unsplash.com/photo-1514282401047-d79a71a590e8?w=600&q=80");
}

.presence__card--srilanka {
  background-image: url("https://images.unsplash.com/photo-1586523969720-2e18caba4e15?w=600&q=80");
}

/* Grid layout: row 1 = London, Dubai(center), NewYork | row 2 = Maldives, SriLanka */
.presence__card--london {
  grid-column: 1;
  grid-row: 1;
}

.presence__card--dubai {
  grid-column: 2;
  grid-row: 1 / 3;
}

.presence__card--newyork {
  grid-column: 3;
  grid-row: 1;
}

.presence__card--maldives {
  grid-column: 1;
  grid-row: 2;
}

.presence__card--srilanka {
  grid-column: 3;
  grid-row: 2;
}

@media (max-width: 720px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.2rem 1rem;
  }

  .about-stats__number {
    font-size: 1.5rem;
  }

  .presence__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .presence__card--dubai {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .presence__card--london,
  .presence__card--newyork,
  .presence__card--maldives,
  .presence__card--srilanka {
    grid-column: auto;
    grid-row: auto;
  }

  .presence__card {
    min-height: 150px;
  }
}

/* CONTACT */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.contact__form {
  background: rgba(7, 8, 23, 0.9);
  border-radius: 26px;
  border: 1px solid rgba(249, 196, 73, 0.6);
  padding: 1.6rem 1.7rem 1.7rem;
  box-shadow: var(--shadow-soft);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form__field label {
  font-size: 0.8rem;
  color: var(--gold-soft);
}

.form__field input,
.form__field select,
.form__field textarea {
  background: rgba(5, 6, 18, 0.96);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.7rem 0.85rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: #6b7280;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(249, 196, 73, 0.5);
  background: rgba(7, 8, 23, 0.98);
}

.contact__note {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* WhatsApp country code + number input */
.wa-input-group {
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.wa-input-group:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(249, 196, 73, 0.5);
}

.wa-input-group__code {
  background: rgba(5, 6, 18, 0.96);
  border: none !important;
  border-right: 1px solid rgba(148, 163, 184, 0.3) !important;
  border-radius: 0 !important;
  padding: 0.7rem 0.2rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  width: 80px;
  max-width: 80px;
  flex: 0 0 80px;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.wa-input-group__code:focus {
  box-shadow: none !important;
}

.wa-input-group input {
  flex: 1;
  background: rgba(5, 6, 18, 0.96);
  border: none !important;
  border-radius: 0 !important;
  padding: 0.7rem 0.85rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}

.wa-input-group input:focus {
  box-shadow: none !important;
}

.wa-error {
  display: none;
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.3rem;
}

/* FOOTER */

.footer {
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid rgba(30, 64, 175, 0.4);
  background: rgba(2, 4, 12, 0.98);
}

.footer__sub {
  margin-top: 0.3rem;
  color: #6b7280;
}

/* ANIMATIONS / REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(4px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal--delay-1 {
  transition-delay: 0.08s;
}

.reveal--delay-2 {
  transition-delay: 0.16s;
}

.reveal--delay-3 {
  transition-delay: 0.24s;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    order: -1;
  }

  .about,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__card--offset {
    position: relative;
    inset: auto;
    width: 76%;
    margin: 0.9rem 0 0 auto;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 80vw);
    height: 100dvh;
    background: #050714;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(249, 196, 73, 0.25);
    z-index: 60;
    display: flex;
    /* Ensure it flexes */
  }

  .nav__close {
    display: flex;
    /* Show only on mobile */
  }

  .nav__links--open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav__burger {
    display: flex;
  }

  .nav__burger--open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav__burger {
    display: flex;
    z-index: 50;
    margin-left: auto;
    /* Push to right if needed, though justify-content: space-between on .nav triggers this already */
  }

  .nav__burger--open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* Reposition Replay to Left, Mute to Right on mobile */
@media (max-width: 768px) {
  .video-control--replay {
    top: auto;
    left: 1.5rem !important;
    /* Force override */
    bottom: 2rem !important;
    /* Force override */
    transform: translateY(0);
    width: auto;
    background: rgba(11, 11, 26, 0.9);
    padding: 0.8rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(249, 196, 73, 0.4);
    max-width: 90vw;
    white-space: nowrap;
    z-index: 100;
    animation: pulse-gold 2s infinite;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .video-control--replay svg {
    width: 20px;
    height: 20px;
  }

  .video-control--mute {
    bottom: 2rem !important;
    right: 1.5rem !important;
    width: 44px;
    height: 44px;
    z-index: 100;
  }

  /* Ensure video hint moves up to avoid overlapping */
  .video-hint {
    bottom: 5.5rem !important;
    right: 1.5rem !important;
  }

  @keyframes pulse-gold {
    0% {
      box-shadow: 0 0 0 0 rgba(249, 196, 73, 0.7);
    }

    70% {
      box-shadow: 0 0 0 10px rgba(249, 196, 73, 0);
    }

    100% {
      box-shadow: 0 0 0 0 rgba(249, 196, 73, 0);
    }
  }

  /* Ensure replay button visibility overrides hidden transform if active */
  .video-control--replay:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .video-control--replay.hidden {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding-inline: 1.1rem;
  }

  .hero__title {
    font-size: 2.6rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__stats {
    gap: 1rem;
  }

  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* SPLASH SCREEN & ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-btn {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 196, 73, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(249, 196, 73, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(249, 196, 73, 0);
  }
}

/* WELCOME SPLASH */
.welcome-splash {
  position: fixed;
  inset: 0;
  height: 100dvh;
  /* Mobile viewport fix */
  background: radial-gradient(circle at center, #1b102a 0%, #000000 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.welcome-splash.hidden {
  opacity: 0;
  pointer-events: none;
}

.welcome-splash__content {
  width: 100%;
  height: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* LOGO STYLES */
.welcome-splash__logo-img {
  width: 150px;
  /* Adjust size as needed */
  height: auto;
  filter: drop-shadow(0 0 30px rgba(249, 196, 73, 0.5));
}

/* TEXT CONTAINER */
.welcome-splash__text-container {
  overflow: visible;
  max-height: none;
  opacity: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* No extra state class needed now; container is always visible */

/* TYPING TEXT */
.welcome-splash__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  white-space: normal;
  text-align: center;
}

.welcome-splash__description {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.welcome-splash__description.visible {
  opacity: 1;
  transform: translateY(0);
}

.welcome-btn {
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.welcome-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HERO VIDEO */
.hero__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9/16;
  /* Portrait Video ratio */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(249, 196, 73, 0.3);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-top: calc(var(--nav-height) + 1rem);
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    height: auto;
    margin-bottom: 2rem;
  }

  .hero__video-wrapper {
    max-width: 280px;
    /* Smaller video on mobile */
  }

  .hero__floating-card {
    display: none;
    /* Hide floating cards on mobile to reduce clutter */
  }

  .nav__links {
    position: fixed;
    top: calc(var(--nav-height) + 0.75rem);
    right: 0;
    width: min(260px, 80vw);
    max-height: calc(100dvh - var(--nav-height) - 1.5rem);
    background: #050714;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 1.6rem 1.8rem;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(249, 196, 73, 0.25);
    border-radius: 24px 0 0 24px;
    z-index: 60;
  }

  .nav__links--open {
    transform: translateX(0);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.85);
  }

  .nav__burger {
    display: flex;
    z-index: 50;
  }

  .nav__burger.nav__burger--open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__burger.nav__burger--open span:nth-child(2) {
    opacity: 0;
  }

  .nav__burger.nav__burger--open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  /* When menu is open, hide burger so only one close is visible */
  body.nav-open .nav__burger {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .welcome-splash__logo-img {
    width: 120px;
  }

  .welcome-splash__title {
    font-size: 1.6rem;
    white-space: normal;
    /* allow wrapping on very small screens */
  }

  .btn {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .section {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}

/* (typing animation removed; handled by JS if needed) */

/* HERO VIDEO - separate fullscreen section above hero content */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  /* Mobile viewport fix and dynamic address bar support */
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* REPLAY BUTTON */
.video-control--replay {
  position: absolute;
  left: 2rem;
  bottom: 2.3rem;
  z-index: 20;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 11, 26, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(249, 196, 73, 0.3);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.video-control--replay:hover {
  background: rgba(249, 196, 73, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-control--replay.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

/* MUTE BUTTON */
.video-control--mute {
  position: absolute;
  right: 1.5rem;
  bottom: 2.3rem;
  z-index: 20;
  background: rgba(11, 11, 26, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(249, 196, 73, 0.3);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-control--mute:hover {
  background: rgba(249, 196, 73, 0.2);
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .video-control--mute {
    right: 1rem;
    bottom: 2rem;
    width: 40px;
    height: 40px;
  }
}

/* SMALL POPUP HINT NEAR MUTE BUTTON */
.video-hint {
  position: absolute;
  right: 1.5rem;
  bottom: 6rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(249, 196, 73, 0.6);
  color: var(--gold-soft);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transform-origin: bottom right;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 20;
}

.video-hint::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.8);
  border-right: 1px solid rgba(249, 196, 73, 0.6);
  border-bottom: 1px solid rgba(249, 196, 73, 0.6);
  transform: rotate(45deg);
}

.video-hint--hidden {
  opacity: 0;
  transform: translateY(4px) scale(0.96);
  pointer-events: none;
}

.video-hint:not(.video-hint--hidden) {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 600px) {
  .video-hint {
    right: 1rem;
    bottom: 5.6rem;
    font-size: 0.65rem;
  }
}

/* SCROLL HINT ON VIDEO */
.hero-scroll {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%) translateY(0);
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-soft);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 50;
}

.hero-scroll__mouse {
  width: 24px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(249, 196, 73, 0.7);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
  /* Float animation on the icon itself */
  animation: hero-float 1.5s ease-in-out infinite;
}

.hero-scroll__wheel {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  animation: scroll-wheel 1.4s ease-in-out infinite;
}

.hero-scroll.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

@keyframes scroll-wheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* NAVBAR LOGO ONLY (HIDE TEXT) */
.nav__logo-text {
  display: none;
}

/* MEDIA QUERIES ADJUSTMENTS */
@media (max-width: 900px) {
  .hero {
    min-height: 100dvh;
    /* Mobile viewport fix */
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .nav__links {
    font-size: 1rem;
  }

  .nav__links a {
    width: 100%;
    padding: 0.6rem 0;
  }

  .nav__cta {
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
    justify-content: center;
  }
}

@keyframes hero-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* LAPTOP RESPONSIVENESS (1024px - 1440px) */
@media (min-width: 992px) and (max-width: 1440px) {
  .section__inner {
    max-width: 940px;
    padding-inline: 1rem;
  }

  .hero {
    gap: 2rem;
    padding-top: calc(var(--nav-height) + 2rem);
  }

  .hero__title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .grid {
    gap: 1.25rem;
  }

  .card {
    padding: 1.2rem;
  }

  /* Fix: Increase width of section descriptions on laptop */
  .section__description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Package Navigation */
.package-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem 0;
}

/* Horizontal scroll on mobile */
@media (max-width: 768px) {
  .package-nav {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }
}

.btn--sm {
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  min-width: 60px;
}

/* Scroll target offset for fixed header */
.card--package {
  scroll-margin-top: 140px;
}

/* MODALS */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none !important;
  /* Force hidden */
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  background: rgba(4, 5, 20, 0.95);
  backdrop-filter: blur(8px);
}

.modal--open {
  display: flex !important;
  /* Force flex when open */
  opacity: 1;
  pointer-events: auto;
}

.modal__content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal--open .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(249, 196, 73, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal__close:hover {
  background: rgba(249, 196, 73, 0.2);
  transform: rotate(90deg);
}

/* Modal Grid Adjustment */
.modal__content .packages__grid {
  margin-top: 2rem;
}

/* Modal Form Styles */
.modal-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
  position: relative;
}

.back-to-plans-btn {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-bottom: 1.5rem;
}

.back-to-plans-btn:hover {
  color: var(--color-primary);
  background: transparent;
}

.modal__form-container {
  width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

/* LOGO SLIDER */
.logos-slider {
  background: var(--surface);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.logos-slider::before,
.logos-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logos-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), transparent);
}

.logos-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), transparent);
}

.logos-slider__track {
  display: flex;
  width: max-content;
  /* Ensure seamless loop: 2 sets of items */
  animation: scroll 40s linear infinite;
  will-change: transform;
}

.logo-item {
  height: 60px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s, filter 0.3s;
  filter: grayscale(100%);
  flex-shrink: 0;
  margin-right: 4rem;
  /* Spacing for loop */
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Infinite Scroll Animations (Logos) */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* TESTIMONIALS CAROUSEL (JS Driven) */
.testimonials-slider {
  /* Legacy class cleanup if needed, keeping mostly container styles */
  display: none;
}

.testimonials-slider-container {
  overflow: hidden;
  position: relative;
  padding: 4rem 0;
  /* More padding for scale effect */
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 0;
  /* JS handles positioning */
  width: max-content;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonial-card {
  background: var(--surface-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.05);

  /* Carousel Layout */
  width: clamp(250px, 80vw, 400px);
  /* Responsive: Min 250px (was 280), Ideal 80vw, Max 400px */
  flex-shrink: 0;
  margin: 0 1rem;
  /* Gap between cards - reduced from 1.5rem for safety */

  /* Inactive State */
  opacity: 0.3;
  transform: scale(0.85);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  filter: blur(2px);
}

.testimonial-card.active {
  /* Active State (Center) */
  opacity: 1;
  transform: scale(1.1);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(249, 196, 73, 0.15);
  filter: blur(0);
  z-index: 2;
}

.testimonial__quote {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  flex-direction: column;
}

.testimonial__author strong {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial__author span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* HERO VIDEO (Responsive) */
.hero-video {
  /* Position relative to main flow, usually above hero content */
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  /* Fill remaining height */
  overflow: hidden;
  margin-top: var(--nav-height);
  /* Ensure video starts BELOW the navbar */
}


/* MOBILE REFINEMENTS */
@media (max-width: 768px) {

  /* 1. Hero Stats: 2x2 Grid (Laptop concept block feel) */
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem 1rem;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    /* Ensure background is visible to look like a block */
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
  }

  .stat__number {
    font-size: 1.8rem;
    /* Make numbers pop */
    margin-bottom: 0.2rem;
  }

  .stat__label {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  /* 2. Modal: Ensure "Card + Form" concept fits */
  .modal__content {
    padding: 1.5rem;
    width: 95%;
    max-height: 85vh;
  }

  /* Adjust grid inside modal to be stackable but clean */
  .modal__content .packages__grid {
    grid-template-columns: 1fr;
    /* Stack cards */
    gap: 1.5rem;
  }

  /* 3. Logo Slider: Smaller icons/gaps */
  .logo-item {
    height: 40px;
    margin-right: 2rem;
  }

  .logos-slider__track {
    gap: 0;
    /* Reset gap if set, reliant on margin */
  }

  /* 4. Testimonial Mobile Fix */
  .testimonial-card {
    margin: 0 0.5rem;
    /* Further reduce margin on mobile */
    padding: 1.5rem;
    /* Reduce padding to save space */
  }
}


/* CORRECTED MOBILE STYLES FOR REPLAY BUTTON (Moved to end to override global styles) */
@media (max-width: 768px) {
  .video-control--replay {
    top: auto;
    left: 1.5rem !important;
    /* Force override */
    bottom: 2rem !important;
    /* Force override */
    transform: translateY(0);
    width: auto;
    background: rgba(11, 11, 26, 0.9);
    padding: 0.8rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(249, 196, 73, 0.4);
    max-width: 90vw;
    white-space: nowrap;
    z-index: 100;
    animation: pulse-gold 2s infinite;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .video-control--replay svg {
    width: 20px;
    height: 20px;
  }

  /* Mute button positioning */
  .video-control--mute {
    bottom: 2rem !important;
    right: 1.5rem !important;
    width: 44px;
    height: 44px;
    z-index: 100;
  }

  /* Ensure video hint moves up to avoid overlapping */
  .video-hint {
    bottom: 5.5rem !important;
    right: 1.5rem !important;
  }

  @keyframes pulse-gold {
    0% {
      box-shadow: 0 0 0 0 rgba(249, 196, 73, 0.7);
    }

    70% {
      box-shadow: 0 0 0 10px rgba(249, 196, 73, 0);
    }

    100% {
      box-shadow: 0 0 0 0 rgba(249, 196, 73, 0);
    }
  }

  /* Ensure replay button visibility overrides hidden transform if active */
  .video-control--replay:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .video-control--replay.hidden {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
  }
}