@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Core Theme Settings --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --border-color: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(0, 0, 0, 0.12);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-gold: #c5a358;
  /* Brabus luxury gold tone */
  --accent-gold-glow: rgba(197, 163, 88, 0.15);
  --accent-blue-glow: rgba(59, 130, 246, 0.15);

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
}



/* --- Selection & Scrollbar --- */
::selection {
  background: var(--accent-gold);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* --- Background Aurora Accents --- */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -10;
  background: radial-gradient(circle at 50% 50%, var(--bg-secondary), var(--bg-primary));
  overflow: hidden;
  pointer-events: none;
}

.aurora-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.08;
  mix-blend-mode: normal;
  pointer-events: none;
}

.glow-1 {
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
  animation: float-aurora 25s infinite alternate ease-in-out;
}

.glow-2 {
  bottom: -15%;
  right: -10%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  animation: float-aurora 30s infinite alternate-reverse ease-in-out;
}

.glow-3 {
  top: 40%;
  left: 25%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 75%);
  opacity: 0.1;
  animation: float-aurora 35s infinite alternate ease-in-out;
}

@keyframes float-aurora {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  50% {
    transform: translate(5%, 8%) scale(1.15) rotate(180deg);
  }

  100% {
    transform: translate(-5%, -5%) scale(0.9) rotate(360deg);
  }
}

/* --- Layout Components --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 50px 0;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 26, 0.2));
}

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

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 1px;
  background-color: var(--accent-gold);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #0f172a 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 100%;
  margin-bottom: 30px;
  font-weight: 400;
}

/* --- Premium Buttons --- */
.btn, .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  gap: 8px;
}

.btn-submit {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.btn-primary, .btn-submit {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #a48134 100%);
  color: #030014;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.btn-primary:hover, .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 163, 88, 0.5);
}

.btn-primary:active, .btn-submit:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* --- Glassmorphism Card Base & Shimmering Metallic Gold Border Animation --- */
@keyframes borderShimmerSweep {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.glass-card,
.bento-card,
.price-card,
.amenity-card,
.gallery-item,
.hero-form,
.hero-stats-quick,
.developer-card,
.travel-item,
.map-card,
.modal-content,
.lead-form-mini {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 163, 88, 0.2);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition-smooth);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

/* Shimmering Metallic Gold Light Wave running along border stroke of ALL cards */
.glass-card::before,
.bento-card::before,
.price-card::before,
.amenity-card::before,
.gallery-item::before,
.hero-form::before,
.hero-stats-quick::before,
.developer-card::before,
.travel-item::before,
.map-card::before,
.modal-content::before,
.lead-form-mini::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(115deg,
      rgba(140, 103, 22, 0.35) 0%,
      rgba(163, 122, 36, 0.8) 25%,
      #e6b800 45%,
      #8c6716 50%,
      #e6b800 55%,
      rgba(163, 122, 36, 0.8) 75%,
      rgba(140, 103, 22, 0.35) 100%);
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderShimmerSweep 6.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(197, 163, 88, 0.6);
  box-shadow: 0 25px 50px rgba(197, 163, 88, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-3px);
}

/* --- Scarcity Top Announcement Ticker --- */
.scarcity-ticker-bar {
  background: linear-gradient(90deg, #171107 0%, #30230d 50%, #171107 100%);
  border-bottom: 1px solid rgba(197, 163, 88, 0.35);
  padding: 6px 16px;
  font-size: 11px;
  color: #f1f5f9;
  position: relative;
  z-index: 1001;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.scarcity-ticker-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.scarcity-badge-pulse {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(225, 29, 72, 0.2);
  border: 1px solid rgba(225, 29, 72, 0.5);
  color: #ff4d6d;
  font-size: 10px;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

.scarcity-text {
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.scarcity-text strong {
  color: var(--accent-gold);
}

.scarcity-link-btn {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  transition: var(--transition-fast);
}

.scarcity-link-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --- Hero Scarcity Inventory Card --- */
.hero-scarcity-card {
  background: linear-gradient(135deg, rgba(22, 17, 28, 0.85) 0%, rgba(12, 15, 26, 0.92) 100%);
  border: 1px solid rgba(197, 163, 88, 0.35);
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 600px;
}

.scarcity-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.scarcity-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scarcity-live-dot {
  width: 8px;
  height: 8px;
  background: #ff4d6d;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff4d6d;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.scarcity-card-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scarcity-count-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(197, 163, 88, 0.15);
  border: 1px solid rgba(197, 163, 88, 0.3);
  padding: 3px 10px;
  border-radius: 12px;
}

.scarcity-meter {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.scarcity-meter-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #c5a358 0%, #ff4d6d 100%);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 77, 109, 0.6);
  animation: meterGlow 3s ease-in-out infinite alternate;
}

@keyframes meterGlow {
  0% { opacity: 0.85; }
  100% { opacity: 1; }
}

.scarcity-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.scarcity-allocated-text {
  color: #ff4d6d;
  font-weight: 600;
}

/* Form Urgency Tag */
.form-urgency-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.25);
  border-radius: 16px;
  color: #e63946;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* --- Floating Navigation Bar --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav-wrapper {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(11, 14, 25, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(197, 163, 88, 0.25);
  border-radius: 0;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Scrolled Navbar Style */
header.scrolled .navbar {
  padding: 10px 40px;
  background: rgba(6, 8, 16, 0.97);
  border-bottom-color: rgba(197, 163, 88, 0.4);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 163, 88, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 25px;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
}

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

.logo img {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-item a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  border-radius: 20px;
  transition: var(--transition-fast);
}

.nav-item a:hover,
.nav-item.active a {
  color: #ffffff;
  background: rgba(197, 163, 88, 0.2);
  border: 1px solid rgba(197, 163, 88, 0.3);
}

/* Neumorphism UI Navigation Phone Button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 10px 22px;
  border-radius: 30px;
  color: #ffffff;
  background: linear-gradient(145deg, #171c2f, #0d101c);
  border: 1px solid rgba(197, 163, 88, 0.25);
  box-shadow: 
    5px 5px 12px rgba(0, 0, 0, 0.7), 
    -4px -4px 10px rgba(255, 255, 255, 0.07),
    inset 0 0 0 1px rgba(197, 163, 88, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.nav-cta-icon {
  width: 15px;
  height: 15px;
  stroke: var(--accent-gold);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s ease;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: linear-gradient(145deg, #1d243c, #0e1222);
  color: var(--accent-gold);
  border-color: rgba(197, 163, 88, 0.55);
  box-shadow: 
    7px 7px 16px rgba(0, 0, 0, 0.8), 
    -5px -5px 12px rgba(255, 255, 255, 0.12), 
    0 0 18px rgba(197, 163, 88, 0.35);
  transform: translateY(-2px);
}

.nav-cta:hover .nav-cta-icon {
  transform: scale(1.18) rotate(12deg);
  stroke: #ffffff;
}

.nav-cta:active {
  background: #0b0e18;
  box-shadow: 
    inset 4px 4px 8px rgba(0, 0, 0, 0.85), 
    inset -4px -4px 8px rgba(255, 255, 255, 0.05),
    0 0 8px rgba(197, 163, 88, 0.2);
  transform: translateY(1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: rgba(197, 163, 88, 0.12);
  border: 1px solid rgba(197, 163, 88, 0.35);
  padding: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.menu-toggle:hover {
  background: rgba(197, 163, 88, 0.25);
  border-color: rgba(197, 163, 88, 0.6);
  box-shadow: 0 0 15px rgba(197, 163, 88, 0.3);
  transform: scale(1.05);
}

.menu-toggle:active {
  transform: scale(0.95);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent-gold);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--accent-gold);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  bottom: -6px;
}

/* Hover line effects */
.menu-toggle:hover span {
  background: var(--accent-gold);
}

.menu-toggle:hover span::before,
.menu-toggle:hover span::after {
  background: var(--accent-gold);
  width: 20px;
  left: 0;
}

/* Menu Toggle Open State */
.menu-toggle.open span {
  background: transparent;
}

.menu-toggle.open span::before {
  transform: rotate(45deg);
  top: 0;
  width: 20px;
  left: 0;
  background: var(--accent-gold);
}

.menu-toggle.open span::after {
  transform: rotate(-45deg);
  bottom: 0;
  width: 20px;
  left: 0;
  background: var(--accent-gold);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 40px;
  position: relative;
  background-image: linear-gradient(180deg, rgba(3, 0, 20, 0.30) 0%, rgba(3, 0, 20, 0.40) 100%), url('image/aeternitastower1.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: scroll;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  background: rgba(15, 20, 36, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 163, 88, 0.4);
  border-radius: 30px;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(197, 163, 88, 0.15);
  animation: shine-pulse 3s infinite;
}

.hero-badge svg {
  stroke: var(--accent-gold);
}

@keyframes shine-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 163, 88, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(197, 163, 88, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(197, 163, 88, 0);
  }
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-title .gold-gradient {
  background: linear-gradient(135deg, #fff2cb 0%, var(--accent-gold) 50%, #9e7a2b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(197, 163, 88, 0.25);
}

.hero-subtitle-light {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
}

.hero-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(197, 163, 88, 0.12);
  border: 1px solid rgba(197, 163, 88, 0.3);
  border-radius: 20px;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-location-tag svg {
  stroke: var(--accent-gold);
}

.hero-desc {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 620px;
}

.hero-desc strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.hero-feature-pill .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-gold);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-stats-quick {
  display: flex;
  gap: 24px;
  padding: 16px 28px !important;
  background: linear-gradient(135deg, rgba(16, 21, 36, 0.88), rgba(8, 11, 20, 0.95)) !important;
  border: 1px solid rgba(197, 163, 88, 0.3) !important;
  border-radius: 18px !important;
  margin-top: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  transition: var(--transition-smooth);
}

.hero-stats-quick:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 163, 88, 0.6) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(197, 163, 88, 0.2) !important;
}

.quick-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.quick-stat-item:not(:last-child) {
  border-right: 1px solid rgba(197, 163, 88, 0.2);
  padding-right: 20px;
}

.quick-stat-value {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-gold);
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.quick-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero Glass Lead Form */
.hero-form-wrapper {
  perspective: 1000px;
  z-index: 20;
}

.hero-form {
  padding: 38px 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 252, 0.90)) !important;
  border: 1px solid rgba(197, 163, 88, 0.4) !important;
  border-radius: 24px !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25), 0 0 30px rgba(197, 163, 88, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero-form:hover {
  border-color: rgba(197, 163, 88, 0.65) !important;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 0 40px rgba(197, 163, 88, 0.18), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

.hero-form h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #0b0e19 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-form p {
  font-size: 13px;
  color: #475569;
  margin-bottom: 24px;
}

/* High-Conversion Form Countdown Box */
.form-countdown-box {
  background: linear-gradient(135deg, rgba(16, 20, 36, 0.95), rgba(8, 11, 20, 0.98));
  border: 1px solid rgba(197, 163, 88, 0.4);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 15px rgba(0, 0, 0, 0.2);
}

.countdown-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  text-align: center;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 163, 88, 0.25);
  border-radius: 8px;
  padding: 4px 8px;
  min-width: 44px;
}

.time-unit span {
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1;
}

.time-unit small {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-top: 2px;
}

.time-sep {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
}

.form-cta-btn {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  margin-top: 8px;
  box-shadow: 0 8px 25px rgba(197, 163, 88, 0.35);
  transition: all 0.3s ease;
}

.form-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(197, 163, 88, 0.5);
}

.form-trust-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 11px;
  color: #475569;
  font-weight: 600;
}

.form-trust-guarantee svg {
  stroke: #16a34a;
}

/* --- Bottom Sticky Conversion Bar --- */
.bottom-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 14, 25, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(197, 163, 88, 0.35);
  padding: 10px 24px;
  z-index: 998;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.sticky-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
}

.sticky-bar-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-gold);
  font-family: var(--font-heading);
}

.sticky-bar-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.sticky-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.sticky-call {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sticky-call:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sticky-wa {
  background: #25d366;
  color: #ffffff;
}

.sticky-wa:hover {
  background: #20bd5a;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.sticky-enquire {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #a48134 100%);
  color: #030014;
  box-shadow: 0 4px 15px rgba(197, 163, 88, 0.3);
}

.sticky-enquire:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 163, 88, 0.5);
}

/* --- Live Activity Conversion Toast --- */
.live-activity-toast {
  position: fixed;
  bottom: 80px;
  left: 24px;
  background: rgba(15, 20, 36, 0.94);
  border: 1px solid rgba(197, 163, 88, 0.4);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 997;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.live-activity-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-pulse-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 12px #22c55e;
  flex-shrink: 0;
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.toast-title {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.toast-desc {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
}

.hero-form .form-control {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

.hero-form .form-control::placeholder {
  color: #94a3b8;
}

.hero-form .form-control:focus {
  background: #ffffff;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(197, 163, 88, 0.25);
}

.hero-form .form-consent span {
  color: #64748b;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-gold);
  background: #ffffff;
  box-shadow: 0 0 15px rgba(197, 163, 88, 0.1);
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  margin-bottom: 24px;
}

.form-consent input {
  margin-top: 4px;
  accent-color: var(--accent-gold);
}

.form-consent span {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-form .btn {
  width: 100%;
}

/* --- Bento Grid Stats Section --- */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 20px;
}

.bento-card {
  position: relative;
  overflow: hidden;
}

/* Bento hover glow handled by rotating card border */

.bento-glow-border {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid transparent;
  background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(197, 163, 88, 0.3), transparent 40%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.bento-card-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-large {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
}

.bento-card .stat-num {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1.25;
  padding-bottom: 4px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bento-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 10px;
  color: var(--text-primary);
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.5;
}

.bento-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

/* Custom compact overrides for Engineered to Perfection section */
#stats .icon-wrap {
  display: none !important;
}

#stats .bento-card {
  padding: 18px 20px !important;
}

#stats .bento-card h4 {
  margin-top: 0;
}

/* Spec and Layout cards background visual */
.bento-visual-bg {
  position: absolute;
  right: -20px;
  bottom: -20px;
  opacity: 0.15;
  width: 50%;
  pointer-events: none;
  transform: rotate(-10deg);
}

/* --- Overview Section --- */
.overview-section {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.overview-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 3;
}

.overview-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.overview-visual:hover img {
  transform: scale(1.05);
}

.overview-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 16px 24px;
  background: rgba(8, 7, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.overview-badge-logo {
  width: 40px;
  height: 40px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.overview-badge-text h5 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.overview-badge-text p {
  font-size: 11px;
  color: #cbd5e1;
}

.overview-info h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 24px;
  line-height: 1.2;
}

.overview-info p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 15px;
}

.overview-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.oh-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.oh-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(197, 163, 88, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 12px;
}

.oh-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* --- Pricing Section --- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.price-card {
  perspective: 1000px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 163, 88, 0.35) !important;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), 0 0 20px rgba(197, 163, 88, 0.08);
}

.price-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
}

/* Featured Signature Selection (Middle Card - 5 BHK Luxury) */
.price-card.featured-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(197, 163, 88, 0.7) !important;
  box-shadow: 0 20px 50px rgba(197, 163, 88, 0.25), 0 0 30px rgba(197, 163, 88, 0.15);
  transform: translateY(-6px);
}

.featured-banner {
  position: absolute;
  top: 16px;
  right: -32px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #a48134 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 36px;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.price-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  background: rgba(197, 163, 88, 0.12);
  border: 1px solid rgba(197, 163, 88, 0.35);
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  color: #9a7b2c;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  z-index: 2;
}

.price-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  z-index: 2;
}

.price-size {
  font-size: 13px;
  font-weight: 600;
  color: #b8860b;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.price-value {
  margin-bottom: 16px;
  z-index: 2;
}

.price-value span {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.price-value h4 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #b8860b 0%, #8c6716 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-specs {
  list-style: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 24px;
  padding-top: 20px;
  margin-bottom: 24px;
  z-index: 2;
}

.price-specs li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #334155;
  margin-bottom: 12px;
}

.price-specs li:last-child {
  margin-bottom: 0;
}

.price-specs li svg {
  color: #b8860b;
  flex-shrink: 0;
}

.price-card .btn {
  width: 100%;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #c5a358 0%, #9a7b2c 100%);
  color: #ffffff;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 15px rgba(197, 163, 88, 0.25);
  transition: all 0.3s ease;
}

.price-card .btn:hover {
  background: linear-gradient(135deg, #d4b265 0%, #886a23 100%);
  box-shadow: 0 8px 25px rgba(197, 163, 88, 0.4);
  transform: translateY(-2px);
}

.price-card:hover {
  background: #ffffff !important;
  border-color: rgba(197, 163, 88, 0.8) !important;
  box-shadow: 0 30px 60px rgba(197, 163, 88, 0.25), 0 0 40px rgba(197, 163, 88, 0.15);
  transform: translateY(-6px);
}

/* --- Amenities Section --- */
.amenities-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.amenity-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 165px;
}

.amenity-card-large {
  grid-column: span 2;
}

.amenity-icon {
  display: none;
}

.amenity-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.amenity-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Strategic Location Section --- */
.map-card {
  padding: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.map-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-card:hover .map-img {
  transform: scale(1.02);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: center;
}

/* Connectivity timeline cards list */
.travel-times {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.travel-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
}

.travel-time-bubble {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(197, 163, 88, 0.08);
  border: 1px solid rgba(197, 163, 88, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.travel-time-bubble span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--accent-gold);
  line-height: 1;
}

.travel-time-bubble label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.travel-details h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.travel-details p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* --- Developer Profile --- */
.developer-card {
  padding: 50px;
}

.developer-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}

.developer-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--accent-gold);
  padding: 8px 16px;
  border-radius: 12px;
}

.developer-title h3 {
  font-size: 24px;
  font-weight: 700;
}

.developer-title p {
  font-size: 13px;
  color: var(--text-secondary);
}

.developer-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* --- Apple-Style FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.faq-header {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px;
  cursor: pointer;
  color: var(--text-primary);
  text-align: left;
  outline: none;
}

.faq-header h4 {
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.faq-header:hover h4 {
  color: var(--accent-gold);
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-secondary);
  transition: var(--transition-smooth);
}

/* Plus sign vectors */
.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(135deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 8px;
}

.faq-body p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  padding-bottom: 16px;
}

/* --- Footer & Details --- */
footer {
  background: var(--bg-secondary);
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border-color);
}

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

.footer-contact-wrap {
  text-align: center;
}

.lead-form-mini {
  text-align: left;
}

.footer-phone {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(30px, 2.5vw, 44px);
  color: var(--accent-gold);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.footer-phone:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.footer-brand {
  margin-top: 50px;
}

.footer-logo-box {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(20, 26, 44, 0.85) 0%, rgba(10, 13, 24, 0.95) 100%);
  border: 1px solid rgba(197, 163, 88, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.45), 
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 15px rgba(197, 163, 88, 0.12);
  margin-bottom: 20px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo-box:hover {
  border-color: rgba(197, 163, 88, 0.75);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.6), 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 25px rgba(197, 163, 88, 0.3);
  transform: translateY(-2px);
}

.footer-logo-box h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-logo-box .logo-m3m {
  color: #ffffff;
}

.footer-logo-box .logo-brand {
  color: var(--accent-gold);
  background: linear-gradient(135deg, #f2e3b6 0%, var(--accent-gold) 60%, #9e7a2b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-logo-box .logo-residences {
  color: rgba(255, 255, 255, 0.88);
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 450px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-contact-info {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.contact-info-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-info-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-info-item a:hover {
  color: var(--accent-gold);
}

.footer-disclaimer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 30px;
  text-align: center;
}

.footer-disclaimer p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: justify;
}

.copyright {
  margin-top: 24px;
  font-size: 11px;
  color: var(--text-muted);
}

/* --- Float Action Bar (Call / WhatsApp) --- */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Hide circle buttons on desktop screens */
@media (min-width: 769px) {
  .floating-actions {
    display: none !important;
  }
}

.float-btn {
  width: 54px;
  
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.float-whatsapp {
  background: #25d366;
}

.float-phone {
  background: #0f172a;
}

.sticky-enquiry-tab {
  position: fixed;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
  z-index: 1001;
  background: var(--accent-gold);
  color: #ffffff;
  padding: 18px 10px;
  border-radius: 12px 0 0 12px;
  /* Rounded only on the left side */
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  writing-mode: vertical-rl;
  text-align: center;
  box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.12);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.sticky-enquiry-tab:hover {
  background: #a48134;
  padding-right: 15px;
  /* Slide out slightly on hover */
}

.float-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.float-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --- Glassmorphic Lead Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 24px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 100%;
  max-width: 500px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(197, 163, 88, 0.25);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-gold);
}

/* Success lead submission state */
.success-msg {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.success-msg-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(197, 163, 88, 0.1);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  margin: 0 auto 24px auto;
  font-size: 24px;
}

.success-msg h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.success-msg p {
  color: var(--text-secondary);
}

/* --- Scroll Entrance Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

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

  .hero-badge,
  .hero-location-tag,
  .hero-features-list,
  .hero-stats-quick {
    justify-content: center;
  }

  .hero-desc,
  .hero-scarcity-card {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .scarcity-ticker-bar,
  .bottom-sticky-bar {
    display: none !important;
  }

  header {
    top: 0;
  }

  .nav-wrapper {
    padding: 0;
  }

  .navbar {
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 10px 16px;
  }

  .logo img {
    height: 26px;
    max-width: 130px;
  }

  @media (max-width: 480px) {
    .logo img {
      height: 22px;
      max-width: 110px;
    }
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 7, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0 0 20px 20px;
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(0);
    transition: var(--transition-smooth);
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
    font-size: 11px;
    padding: 8px 14px;
    gap: 6px;
    border-radius: 20px;
    margin-left: auto;
    margin-right: 12px;
  }

  .hero-form-wrapper {
    display: none;
  }

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

  .bento-large {
    grid-column: span 1;
  }

  .bento-tall {
    grid-row: span 1;
  }

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

  .price-card-inner {
    padding: 16px;
  }

  .price-badge {
    margin-bottom: 8px;
    padding: 4px 8px;
    font-size: 9px;
  }

  .price-title {
    font-size: 20px;
    margin-bottom: 2px;
  }

  .price-size {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .price-specs {
    margin-top: 12px;
    padding-top: 12px;
    margin-bottom: 14px;
  }

  .price-specs li {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .price-value {
    margin-bottom: 6px;
  }

  .price-value span {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .price-value h4 {
    font-size: 26px;
  }

  .price-card .btn {
    padding: 10px 16px;
    font-size: 12px;
    border-radius: 8px;
  }

  .amenities-bento {
    grid-template-columns: 1fr;
  }

  .amenity-card-large {
    grid-column: span 1;
  }

  section {
    padding: 35px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-stats-quick {
    flex-direction: row;
    gap: 8px;
    padding: 10px 12px !important;
  }

  .quick-stat-item {
    width: 33.333%;
  }

  .quick-stat-item:not(:last-child) {
    border-right: 1px solid var(--border-color);
    border-bottom: none;
    padding-right: 8px;
    padding-bottom: 0;
  }

  .quick-stat-value {
    font-size: 14px;
  }

  .quick-stat-label {
    font-size: 8px;
  }

  #stats .bento-grid {
    gap: 12px;
  }

  .developer-card {
    padding: 30px 20px;
  }

  .floating-actions {
    bottom: 20px;
    right: 20px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0;
  }

  .footer-brand p {
    margin: 0 auto 24px auto;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .overview-highlights {
    grid-template-columns: 1fr;
  }

  .price-card-inner {
    padding: 14px;
  }

  .modal-content {
    padding: 18px 16px;
    max-height: 95vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    border-radius: 16px;
  }

  .modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .modal-content form h3 {
    font-size: 17px !important;
    margin-bottom: 3px !important;
  }

  .modal-content form p {
    font-size: 11px !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
  }

  .modal-content .form-group {
    margin-bottom: 8px !important;
  }

  .modal-content .form-group label {
    font-size: 11px !important;
    margin-bottom: 2px !important;
  }

  .modal-content .form-group input {
    padding: 8px 10px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }

  .modal-content .form-consent {
    margin-bottom: 10px !important;
    margin-top: 2px !important;
  }

  .modal-content .form-consent span {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }

  .modal-content .btn-submit {
    padding: 9px 14px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .developer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .neighborhood-score {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .travel-item {
    padding: 16px 12px;
    gap: 12px;
  }
}

/* --- Bento Card with Background Image --- */
.bento-image-card {
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  min-height: 340px;
}

.bento-image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 0, 20, 0.1) 0%, rgba(3, 0, 20, 0.9) 100%);
  z-index: 2;
  transition: var(--transition-smooth);
}

.bento-image-card:hover::after {
  background: linear-gradient(180deg, rgba(3, 0, 20, 0.2) 0%, rgba(3, 0, 20, 0.95) 100%);
}

.bento-image-card .bento-card-content {
  z-index: 3;
  justify-content: flex-end;
}

/* --- Split Bento Card Layout --- */
.highlight-split {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  padding: 0 !important;
  overflow: hidden;
}

.highlight-split-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.highlight-split-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
  overflow: hidden;
  border-left: 1px solid var(--border-color);
}

.highlight-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.highlight-split:hover .highlight-split-image img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .highlight-split {
    grid-template-columns: 1fr !important;
  }

  .highlight-split-image {
    order: -1;
    min-height: 150px;
    border-left: none;
    border-bottom: none;
  }

  #highlights .bento-card {
    padding: 20px !important;
  }

  #highlights .highlight-split-content {
    padding: 20px !important;
  }
}

/* --- Gallery Section Styles --- */
.gallery-section {
  padding: 50px 0;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.gallery-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-fast);
}

.gallery-tab:hover {
  background: var(--bg-card-hover);
  color: var(--accent-gold);
  border-color: rgba(197, 163, 88, 0.4);
  transform: translateY(-1px);
}

.gallery-tab.active {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #a48134 100%);
  color: #030014;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

/* Gallery Carousel Wrapper */
.gallery-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

/* Gallery Grid Carousel Row */
.gallery-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 5px 25px 5px;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

.gallery-grid::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.gallery-item {
  flex: 0 0 calc((100% - 60px) / 3);
  width: calc((100% - 60px) / 3);
  padding: 0 !important;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  transform: scale(1);
  scroll-snap-align: start;
}

/* Carousel Control Buttons (Side Floating Overlays) */
.gallery-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(8, 7, 26, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-carousel-btn.prev {
  left: -28px;
}

.gallery-carousel-btn.next {
  right: -28px;
}

.gallery-carousel-btn:hover {
  background: rgba(197, 163, 88, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 25px rgba(197, 163, 88, 0.3);
}

.gallery-carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

@media (max-width: 1024px) {
  .gallery-carousel-btn {
    display: none;
  }
}

/* Gallery Progress Indicator */
.gallery-progress-container {
  width: 160px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  margin: 35px auto 0 auto;
  overflow: hidden;
}

.gallery-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, #a48134 100%);
  border-radius: 2px;
  transition: width 0.1s ease-out;
}

/* For filtering animation states */
.gallery-item.hidden {
  display: none !important;
  opacity: 0;
  transform: scale(0.9);
}

/* Premium Angled White Light Sweep Animation on Hover */
@keyframes whiteLightShimmer {
  0% {
    left: -130%;
  }

  100% {
    left: 160%;
  }
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  /* Portrait layout for text overlays */
  overflow: hidden;
  background-color: #0f172a;
}

/* 25-degree Angled Premium White Light Beam Overlay on Hover for ALL Section Images */
.gallery-img-wrap::after,
.overview-visual::after,
.highlight-split-image::after,
.map-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -130%;
  width: 75%;
  height: 200%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 20%,
      rgba(255, 255, 255, 0.75) 50%,
      rgba(255, 255, 255, 0.08) 80%,
      transparent 100%);
  transform: rotate(25deg);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-img-wrap::after,
.gallery-img-wrap:hover::after,
.overview-visual:hover::after,
.highlight-split-image:hover::after,
.highlight-split:hover .highlight-split-image::after,
.map-card:hover::after {
  opacity: 1;
  animation: whiteLightShimmer 2.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.06);
}

.gallery-img-hover {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 5;
}

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

.zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(8, 7, 26, 0.6);
  border: 1px solid var(--border-color);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: scale(0.8);
  transition: var(--transition-smooth);
  margin-bottom: 40px;
  /* Push zoom icon up away from footer text overlay */
}

.gallery-item:hover .zoom-icon {
  transform: scale(1);
}

.gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 45px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to top, rgba(3, 0, 20, 0.98) 0%, rgba(3, 0, 20, 0.75) 50%, rgba(3, 0, 20, 0.2) 85%, transparent 100%);
  border-top: none;
  z-index: 5;
  pointer-events: none;
  /* Allow clicks to fall through to the image wrapper */
}

.gallery-category-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 9px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
  background: rgba(197, 163, 88, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(197, 163, 88, 0.15);
}

.gallery-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
  color: #ffffff;
  /* Explicit pure white */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  /* Soft drop shadow for readability */
  letter-spacing: 0.02em;
}

.gallery-info p {
  font-size: 12.5px;
  color: #f1f5f9;
  /* Clean high-contrast white */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  /* Soft drop shadow for readability */
  line-height: 1.5;
  margin-top: 8px;
  opacity: 0.9;
}

/* --- Lightbox Modal Styles --- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 26, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 40px;
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition-fast);
  z-index: 3010;
}

.lightbox-close:hover {
  background: #ffffff;
  color: #030014;
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: var(--transition-smooth);
  z-index: 3010;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: #ffffff;
  color: #030014;
  border-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.lightbox-prev:hover {
  transform: translateY(-50%) translateX(-4px);
}

.lightbox-next:hover {
  transform: translateY(-50%) translateX(4px);
}

.lightbox-content {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-modal.open .lightbox-content {
  transform: scale(1);
}

#lightbox-image {
  max-height: 65vh;
  width: 100%;
  object-fit: contain;
  background: #030014;
}

.lightbox-caption {
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 30px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-caption h3 {
  font-size: 24px;
  font-weight: 800;
  margin-top: 6px;
  margin-bottom: 8px;
  color: #ffffff;
}

.lightbox-caption p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Responsive adjustments for gallery and lightbox */
@media (max-width: 1024px) {
  .gallery-grid {
    gap: 20px;
  }

  .gallery-item {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    gap: 16px;
  }

  .gallery-item {
    flex: 0 0 85%;
    width: 85%;
  }

  .lightbox-modal {
    padding: 20px;
  }

  .lightbox-content {
    border-radius: 16px;
  }

  #lightbox-image {
    max-height: 50vh;
  }

  .lightbox-caption {
    padding: 20px;
  }

  .lightbox-caption h3 {
    font-size: 18px;
  }

  .lightbox-caption p {
    font-size: 12px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}