/* ═══════════════════════════════════════════════════════════════
   HAWAA HAWAAI — PREMIUM DESIGN SYSTEM
   Dark Luxury · Glassmorphism · SaaS Aesthetics
═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Backgrounds */
  --bg-void:        #050508;
  --bg-deep:        #0a0a12;
  --bg-dark:        #0f0f1a;
  --bg-card:        rgba(15, 15, 28, 0.7);
  --bg-card-hover:  rgba(20, 20, 40, 0.85);
  --bg-glass:       rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  /* Accent Colors */
  --accent-purple:  #a855f7;
  --accent-purple2: #7c3aed;
  --accent-pink:    #ec4899;
  --accent-pink2:   #db2777;
  --accent-blue:    #60a5fa;
  --accent-cyan:    #22d3ee;

  /* Text */
  --text-primary:   #ffffff;
  --text-secondary: #b4bcd0;
  --text-muted:     #6b7280;
  --text-accent:    #a855f7;

  /* Borders */
  --border-subtle:  rgba(255, 255, 255, 0.06);
  --border-glass:   rgba(255, 255, 255, 0.10);
  --border-accent:  rgba(168, 85, 247, 0.30);
  --border-pink:    rgba(236, 72, 153, 0.30);

  /* Glows */
  --glow-purple:    0 0 60px rgba(168, 85, 247, 0.15);
  --glow-pink:      0 0 60px rgba(236, 72, 153, 0.15);
  --glow-strong:    0 0 100px rgba(168, 85, 247, 0.25);

  /* Gradients */
  --grad-purple:    linear-gradient(135deg, #a855f7, #7c3aed);
  --grad-pink:      linear-gradient(135deg, #ec4899, #db2777);
  --grad-accent:    linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --grad-text:      linear-gradient(135deg, #ffffff 0%, #a855f7 50%, #ec4899 100%);
  --grad-card:      linear-gradient(135deg, rgba(168,85,247,0.08), rgba(236,72,153,0.05));

  /* Transitions */
  --trans-fast:  0.15s ease;
  --trans-base:  0.3s ease;
  --trans-slow:  0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', 'Inter', sans-serif;
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
}

/* ── Global Performance Optimizations ── */
section:not(.hero-section):not(.page-hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

img {
  content-visibility: auto;
}

::selection {
  background: rgba(168, 85, 247, 0.3);
  color: #fff;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, 0.4); border-radius: 3px; }

/* ══════════════════════════════════════════
   LAYOUT UTILITIES
══════════════════════════════════════════ */
.container-luxury {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 96px 0;
}

.section-pad-sm {
  padding: 64px 0;
}

/* ══════════════════════════════════════════
   ANIMATED BACKGROUND
══════════════════════════════════════════ */
.luxury-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg-void);
  overflow: hidden;
  pointer-events: none;
}

.luxury-bg::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  animation: orb-drift 18s ease-in-out infinite alternate;
}

.luxury-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
  animation: orb-drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

/* Noise overlay for texture */
.luxury-bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   MOUSE GLOW EFFECT
══════════════════════════════════════════ */
#mouse-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear;
}

/* ══════════════════════════════════════════
   FLOATING PARTICLES
══════════════════════════════════════════ */
.particles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.4);
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.nav-luxury {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1200px;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all var(--trans-base);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

.nav-luxury.scrolled {
  background: rgba(5, 5, 12, 0.92);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), var(--glow-purple);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-accent);
}

.nav-logo-text {
  font-size: 16px;
  font-weight: 700;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link-item {
  position: relative;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.nav-link-item:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-link-item.active {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.15);
}

.nav-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all var(--trans-fast);
}

.nav-cart-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }

.cart-badge {
  position: absolute;
  top: 2px;
  right: 4px;
  background: var(--grad-accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-cta {
  text-decoration: none;
  background: var(--grad-accent);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  transition: all var(--trans-base);
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

/* ── Mobile Bottom Navigation ── */
.mobile-nav {
  position: fixed;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(10, 10, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 62px;
  padding: 0 8px;
  z-index: 999;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 16px;
  transition: all var(--trans-fast);
  min-width: 52px;
}

.mobile-nav-item svg {
  width: 20px;
  height: 20px;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.12);
}

.mobile-cart-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  background: var(--grad-accent);
  color: white;
  font-size: 9px;
  font-weight: 700;
  border-radius: 9999px;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════════
   GLASS CARDS
══════════════════════════════════════════ */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity var(--trans-base);
}

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

.glass-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--glow-purple), 0 20px 60px rgba(0,0,0,0.4);
}

/* ── Service Card (with 3D tilt) ── */
.service-card {
  background: rgba(12, 12, 24, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  transform-style: preserve-3d;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,0.1), rgba(236,72,153,0.05));
  opacity: 0;
  transition: opacity var(--trans-base);
}

.service-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.2), 0 30px 60px rgba(0,0,0,0.5);
}

.service-card:hover::after { opacity: 1; }

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 20px;
  position: relative;
  z-index: 1;
}

.service-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.service-card-price {
  font-size: 22px;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-accent);
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.35);
  letter-spacing: -0.01em;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.5), 0 10px 30px rgba(0,0,0,0.3);
}

.btn-primary:hover::after { opacity: 1; }

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

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--trans-base);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--border-accent);
  transform: translateY(-1px);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--trans-base);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(37, 211, 102, 0.5);
}

/* ── Small buttons ── */
.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-icon-round {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--trans-fast);
  font-size: 16px;
}

.btn-icon-round:hover {
  background: var(--grad-accent);
  color: white;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

/* ══════════════════════════════════════════
   SECTION HEADINGS
══════════════════════════════════════════ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-title .grad {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 8, 0.7) 0%,
    rgba(5, 5, 8, 0.5) 50%,
    rgba(5, 5, 8, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  animation: fade-up 0.6s ease both;
}

.hero-title {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: 20px;
  animation: fade-up 0.6s 0.1s ease both;
}

.hero-title .grad-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 400;
  animation: fade-up 0.6s 0.2s ease both;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.6s 0.3s ease both;
}

/* ══════════════════════════════════════════
   FLOATING BALLOON ELEMENTS
══════════════════════════════════════════ */
.balloon-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: balloon-float ease-in-out infinite;
  pointer-events: none;
}

@keyframes balloon-float {
  0%, 100% { transform: translateY(0) rotate(-3deg) scale(1); }
  50%       { transform: translateY(-20px) rotate(3deg) scale(1.05); }
}

/* ══════════════════════════════════════════
   OFFERS / BANNERS
══════════════════════════════════════════ */
.offers-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 8px 12px;
  scrollbar-width: none;
}

.offers-scroll::-webkit-scrollbar { display: none; }

.offer-card-luxury {
  min-width: 280px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  padding: 20px;
  background: rgba(12, 12, 24, 0.8);
  border: 1px solid var(--border-subtle);
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
}

.offer-card-luxury::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.08;
  transition: opacity var(--trans-base);
}

.offer-card-luxury:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--glow-purple);
}

/* ══════════════════════════════════════════
   INPUTS & FORMS
══════════════════════════════════════════ */
.input-luxury {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  transition: all var(--trans-base);
  outline: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.input-luxury::placeholder { color: var(--text-muted); }

.input-luxury:focus {
  border-color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.06);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

textarea.input-luxury { resize: vertical; min-height: 90px; }

.input-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════
   MODAL
══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-box {
  background: #0f0f1e;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8), var(--glow-purple);
  scrollbar-width: thin;
  scrollbar-color: rgba(168,85,247,0.3) transparent;
}

.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(168,85,247,0.3); border-radius: 2px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
  font-size: 14px;
  z-index: 1;
}

.modal-close:hover {
  background: rgba(236, 72, 153, 0.2);
  border-color: var(--border-pink);
  color: var(--accent-pink);
}

/* ══════════════════════════════════════════
   STAR RATINGS
══════════════════════════════════════════ */
.stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
  font-size: 14px;
}

/* ══════════════════════════════════════════
   REVIEW CARDS
══════════════════════════════════════════ */
.review-card {
  background: rgba(12, 12, 24, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--trans-base);
}

.review-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--glow-purple);
}

.review-card.featured {
  background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(236,72,153,0.08));
  border-color: rgba(168, 85, 247, 0.2);
}

/* ══════════════════════════════════════════
   CITIES SECTION
══════════════════════════════════════════ */
.city-card {
  background: rgba(12, 12, 24, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--trans-base);
  text-align: center;
}

.city-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--glow-purple);
}

.city-card img {
  width: 100%;
  height: 40px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.city-card:hover img { transform: scale(1.08); }

.city-card-body {
  padding: 4px 2px;
}

.city-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
}

.city-status {
  font-size: 8px;
  color: #4ade80;
  font-weight: 600;
  margin-top: 1px;
}

/* ══════════════════════════════════════════
   GALLERY
══════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery-item-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--trans-base);
}

.gallery-item-wrap:hover {
  border-color: var(--border-accent);
  transform: scale(1.01);
  box-shadow: var(--glow-purple);
}

.gallery-item-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--trans-base);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

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

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer-luxury {
  background: rgba(5, 5, 12, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 120px;
  position: relative;
  overflow: hidden;
}

.footer-luxury::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.05), transparent 70%);
  pointer-events: none;
}

.footer-glow {
  text-align: center;
  padding: 0 24px;
}

.footer-brand {
  font-size: 22px;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

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

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

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--trans-base);
  font-size: 16px;
}

.footer-social-btn:hover {
  background: var(--grad-accent);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 12px;
}

/* ══════════════════════════════════════════
   FLOATING ACTION BUTTONS
══════════════════════════════════════════ */
.fab-wa {
  position: fixed;
  bottom: 88px;
  right: 20px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--trans-base);
  text-decoration: none;
  color: white;
}

.fab-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.fab-ig {
  position: fixed;
  bottom: 88px;
  right: 20px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(220, 39, 67, 0.4);
  transition: all var(--trans-base);
  text-decoration: none;
  color: white;
}

.fab-ig:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(220, 39, 67, 0.6);
}

/* ══════════════════════════════════════════
   PRELOADER
══════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-logo {
  font-size: 28px;
  font-weight: 900;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse-glow 1.5s ease-in-out infinite;
}

.preloader-ring {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(168,85,247,0.2);
  border-top-color: var(--accent-purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════
   SEPARATORS & DIVIDERS
══════════════════════════════════════════ */
.gradient-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(168,85,247,0.3), transparent);
  margin: 0;
}

/* ══════════════════════════════════════════
   CATEGORY FILTERS
══════════════════════════════════════════ */
.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--trans-fast);
  font-family: 'Outfit', sans-serif;
}

.filter-btn:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.08);
}

.filter-btn.active {
  background: var(--grad-accent);
  border-color: transparent;
  color: white;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

/* ══════════════════════════════════════════
   STATS / NUMBERS SECTION
══════════════════════════════════════════ */
.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 900;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
  font-weight: 500;
}

/* ══════════════════════════════════════════
   CART PAGE
══════════════════════════════════════════ */
.cart-item-luxury {
  background: rgba(12, 12, 24, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all var(--trans-base);
}

.cart-item-luxury:hover {
  border-color: var(--border-accent);
}

.cart-total-bar {
  background: rgba(12, 12, 24, 0.9);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: var(--glow-purple);
  flex-wrap: wrap;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
  font-family: 'Outfit', sans-serif;
}

.qty-btn:hover { background: var(--grad-accent); border-color: transparent; }

.qty-value {
  font-size: 16px;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-info-card {
  background: rgba(12, 12, 24, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all var(--trans-base);
}

.contact-info-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--glow-purple);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(236,72,153,0.1));
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-luxury {
    width: calc(100% - 32px);
    padding: 10px 16px;
    top: 10px;
  }

  .nav-links { display: none; }
  .nav-cta { display: none; }

  .hero-title { font-size: 40px; }

  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 40px 0; }

  .glass-card { padding: 20px; }

  .footer-luxury { padding: 40px 0 140px; }

  .cart-total-bar { flex-direction: column; }
}

@media (min-width: 769px) {
  .mobile-nav { display: none; }
  body { padding-bottom: 0; }
}

/* ══════════════════════════════════════════
   UTILITY CLASSES
══════════════════════════════════════════ */
.text-grad {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted-lux { color: var(--text-muted); }
.text-secondary-lux { color: var(--text-secondary); }

.border-accent-glow {
  border: 1px solid var(--border-accent);
  box-shadow: var(--glow-purple);
}

.glow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 8px var(--accent-purple);
  animation: pulse-glow 2s ease infinite;
}

/* Activities horizontal scroll */
.activities-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}

.activities-scroll::-webkit-scrollbar { display: none; }

.activity-card {
  min-width: 180px;
  background: rgba(12, 12, 24, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  transition: all var(--trans-base);
}

.activity-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--glow-purple);
}

.activity-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.activity-card-body {
  padding: 12px;
}

.activity-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.activity-card-price {
  font-size: 14px;
  font-weight: 700;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════
   3D IMAGE CUBE
══════════════════════════════════════════ */
.cube-showcase {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.cube-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(124, 58, 237, 0.10) 0%,
    rgba(236, 72, 153, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* Ground reflection plane */
.cube-showcase::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top,
    rgba(124, 58, 237, 0.04) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.cube-showcase-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 768px) {
  .cube-showcase-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .cube-showcase-inner .cube-scene-wrap {
    order: -1;
  }
}

.cube-scene-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Ground shadow under cube */
.cube-shadow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(168,85,247,0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(12px);
  animation: shadow-pulse 6s ease-in-out infinite alternate;
}

@keyframes shadow-pulse {
  0%   { transform: translateX(-50%) scaleX(1);   opacity: 0.6; }
  100% { transform: translateX(-50%) scaleX(0.75); opacity: 0.3; }
}

/* The 3D scene container — sets perspective */
.cube-scene {
  width: 280px;
  height: 280px;
  perspective: 900px;
  perspective-origin: 50% 40%;
  cursor: grab;
}

.cube-scene:active { cursor: grabbing; }

/* The cube itself */
.cube-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: cube-spin 14s linear infinite;
  transition: animation-play-state 0.3s;
}

.cube-3d.paused,
.cube-scene:hover .cube-3d {
  animation-play-state: paused;
}

@keyframes cube-spin {
  0%   { transform: rotateX(-18deg) rotateY(0deg); }
  100% { transform: rotateX(-18deg) rotateY(360deg); }
}

/* Each face */
.cube-face {
  position: absolute;
  width: 280px;
  height: 280px;
  overflow: hidden;
  border: 2px solid rgba(168, 85, 247, 0.35);
  backface-visibility: visible;
}

.cube-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cube-face::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.08) 0%,
    transparent 40%,
    rgba(0,0,0,0.25) 100%
  );
  pointer-events: none;
}

/* Face positions — half-size = 140px */
.cube-face-front  { transform: rotateY(  0deg) translateZ(140px); }
.cube-face-back   { transform: rotateY(180deg) translateZ(140px); }
.cube-face-right  { transform: rotateY( 90deg) translateZ(140px); }
.cube-face-left   { transform: rotateY(-90deg) translateZ(140px); }
.cube-face-top    { transform: rotateX( 90deg) translateZ(140px); }
.cube-face-bottom { transform: rotateX(-90deg) translateZ(140px); }

/* Edge glows on faces */
.cube-face-front,
.cube-face-right {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: inset 0 0 40px rgba(168,85,247,0.12);
}
.cube-face-back,
.cube-face-left {
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: inset 0 0 40px rgba(236,72,153,0.10);
}
.cube-face-top {
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: inset 0 0 40px rgba(96,165,250,0.08);
}
.cube-face-bottom {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: inset 0 0 30px rgba(34,211,238,0.06);
}

/* Dot nav for cube face selection */
.cube-nav-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.cube-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cube-dot.active {
  background: var(--accent-purple);
  box-shadow: 0 0 10px rgba(168,85,247,0.6);
  transform: scale(1.3);
}

/* ══════════════════════════════════════════
   3D CARD TILT (applied via JS)
══════════════════════════════════════════ */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.tilt-card .tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255,255,255,0.10) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tilt-card:hover .tilt-shine { opacity: 1; }

/* ══════════════════════════════════════════
   3D PERSPECTIVE GRID SECTION
══════════════════════════════════════════ */
.perspective-section {
  perspective: 1200px;
  perspective-origin: 50% 0%;
}

.perspective-grid {
  transform: rotateX(8deg);
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.perspective-section:hover .perspective-grid {
  transform: rotateX(0deg);
}

/* ══════════════════════════════════════════
   3D FLOATING BADGE / LABEL
══════════════════════════════════════════ */
.badge-3d {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(168,85,247,0.2), rgba(124,58,237,0.1));
  border: 1px solid rgba(168,85,247,0.35);
  color: var(--accent-purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow:
    0 4px 15px rgba(168,85,247,0.2),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.3);
  transform: translateZ(0);
  transition: all 0.3s ease;
}

.badge-3d:hover {
  transform: translateY(-3px) translateZ(10px);
  box-shadow:
    0 8px 25px rgba(168,85,247,0.35),
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.2);
}

/* ══════════════════════════════════════════
   ENHANCED SERVICE CARD 3D
══════════════════════════════════════════ */
.service-card {
  transform-style: preserve-3d;
  perspective: 800px;
}

/* Floating price tag with 3D depth */
.price-tag-3d {
  display: inline-block;
  background: linear-gradient(145deg, rgba(168,85,247,0.25), rgba(236,72,153,0.15));
  border: 1px solid rgba(168,85,247,0.35);
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 20px;
  font-weight: 900;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: var(--grad-accent);
  box-shadow:
    4px 4px 10px rgba(0,0,0,0.3),
    -1px -1px 6px rgba(168,85,247,0.1),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transform: translateZ(6px);
  margin-bottom: 14px;
}

/* ══════════════════════════════════════════
   STATS COUNTER — 3D FLIP HOVER
══════════════════════════════════════════ */
.stat-item-3d {
  perspective: 600px;
  text-align: center;
}

.stat-inner-3d {
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.stat-item-3d:hover .stat-inner-3d {
  transform: rotateX(-8deg) scale(1.04);
}

/* ══════════════════════════════════════════
   3D HERO DEPTH LAYERS
══════════════════════════════════════════ */
.hero-depth-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Floating 3D elements in hero */
.hero-orb-3d {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform-style: preserve-3d;
}

@keyframes orb-3d-float {
  0%, 100% {
    transform: translateY(0px) translateZ(0px) rotateX(0deg);
    box-shadow: 0 20px 60px rgba(168,85,247,0.3);
  }
  33% {
    transform: translateY(-28px) translateZ(30px) rotateX(15deg);
    box-shadow: 0 40px 80px rgba(168,85,247,0.2);
  }
  66% {
    transform: translateY(-12px) translateZ(15px) rotateX(-8deg);
    box-shadow: 0 30px 70px rgba(236,72,153,0.25);
  }
}

/* ══════════════════════════════════════════
   GLASS CARD — ENHANCED 3D DEPTH
══════════════════════════════════════════ */
.glass-card-3d {
  background: rgba(12, 12, 28, 0.75);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transform-style: preserve-3d;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 4px 6px rgba(0,0,0,0.3),
    0 20px 50px rgba(0,0,0,0.5),
    0 0 80px rgba(168,85,247,0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Top-left highlight edge simulating light source */
.glass-card-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.18) 40%,
    rgba(168,85,247,0.25) 70%,
    transparent 100%
  );
}

.glass-card-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(168,85,247,0.05) 0%,
    transparent 50%,
    rgba(236,72,153,0.03) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card-3d:hover::after { opacity: 1; }

.glass-card-3d:hover {
  border-color: rgba(168,85,247,0.25);
  box-shadow:
    0 0 0 1px rgba(168,85,247,0.15),
    0 8px 16px rgba(0,0,0,0.4),
    0 30px 70px rgba(0,0,0,0.6),
    0 0 100px rgba(168,85,247,0.12);
  transform: translateY(-6px) translateZ(10px);
}

/* ══════════════════════════════════════════
   CUBE HINT TEXT (hover instruction)
══════════════════════════════════════════ */
.cube-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 16px;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

/* ══════════════════════════════════════════
   SHIMMER BORDER ANIMATION
══════════════════════════════════════════ */
@keyframes border-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.shimmer-border {
  position: relative;
}

.shimmer-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168,85,247,0.6),
    rgba(236,72,153,0.6),
    rgba(96,165,250,0.4),
    transparent
  );
  background-size: 200% 100%;
  animation: border-shimmer 3s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE 3D
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .cube-scene {
    width: 220px;
    height: 220px;
    perspective: 700px;
  }

  .cube-face {
    width: 220px;
    height: 220px;
  }

  .cube-face-front  { transform: rotateY(  0deg) translateZ(110px); }
  .cube-face-back   { transform: rotateY(180deg) translateZ(110px); }
  .cube-face-right  { transform: rotateY( 90deg) translateZ(110px); }
  .cube-face-left   { transform: rotateY(-90deg) translateZ(110px); }
  .cube-face-top    { transform: rotateX( 90deg) translateZ(110px); }
  .cube-face-bottom { transform: rotateX(-90deg) translateZ(110px); }

  .cube-shadow {
    width: 170px;
    bottom: -30px;
  }
}

/* ══════════════════════════════════════════
   1. 3D PERSPECTIVE MARQUEE
══════════════════════════════════════════ */
.marquee-3d-section {
  padding: 60px 0;
  overflow: hidden;
  position: relative;
  perspective: 1000px;
}

.marquee-3d-section::before,
.marquee-3d-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}
.marquee-3d-section::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-void), transparent);
}
.marquee-3d-section::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-void), transparent);
}

.marquee-3d-container {
  display: flex;
  transform-style: preserve-3d;
  transform: rotateX(20deg) rotateZ(-2deg);
}

.marquee-3d-track {
  display: flex;
  gap: 30px;
  animation: marquee-scroll 30s linear infinite;
  transform-style: preserve-3d;
  padding-left: 30px;
}

.marquee-3d-item {
  width: 260px;
  height: 160px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.marquee-3d-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.marquee-3d-item:hover {
  transform: translateZ(30px) scale(1.05);
  box-shadow: 0 20px 40px rgba(168,85,247,0.3), inset 0 0 0 2px rgba(168,85,247,0.5);
  z-index: 10;
}

.marquee-3d-item:hover img {
  transform: scale(1.1);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   2. 3D FLIP FEATURE CARDS
══════════════════════════════════════════ */
.flip-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  perspective: 1200px;
}

.flip-card-3d {
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
}

.flip-card-3d:hover {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-glass);
}

.flip-card-front {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
}

.flip-card-back {
  background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(236,72,153,0.15));
  transform: rotateY(180deg);
  border-color: rgba(168,85,247,0.4);
  box-shadow: 0 0 30px rgba(168,85,247,0.2);
}

.flip-icon {
  font-size: 40px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(168,85,247,0.5));
}

.flip-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.flip-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   3. 3D ORBITING HERO RINGS
══════════════════════════════════════════ */
.hero-orbit-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  perspective: 1200px;
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 1;
}

.hero-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.1);
  transform-style: preserve-3d;
}

.ring-1 {
  animation: orbit-spin-1 20s linear infinite;
}

.ring-2 {
  width: 600px;
  height: 600px;
  top: 100px;
  left: 100px;
  border-color: rgba(168,85,247,0.15);
  animation: orbit-spin-2 15s linear infinite reverse;
}

.ring-3 {
  width: 400px;
  height: 400px;
  top: 200px;
  left: 200px;
  border: 1px solid rgba(236,72,153,0.1);
  animation: orbit-spin-3 25s linear infinite;
}

.orbit-planet {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--grad-accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-purple);
  transform: translateX(-50%);
}

@keyframes orbit-spin-1 {
  0% { transform: rotateX(70deg) rotateY(-20deg) rotateZ(0deg); }
  100% { transform: rotateX(70deg) rotateY(-20deg) rotateZ(360deg); }
}
@keyframes orbit-spin-2 {
  0% { transform: rotateX(60deg) rotateY(30deg) rotateZ(0deg); }
  100% { transform: rotateX(60deg) rotateY(30deg) rotateZ(360deg); }
}
@keyframes orbit-spin-3 {
  0% { transform: rotateX(80deg) rotateY(10deg) rotateZ(0deg); }
  100% { transform: rotateX(80deg) rotateY(10deg) rotateZ(360deg); }
}

/* ══════════════════════════════════════════
   4. 3D PARTICLE SPHERE
══════════════════════════════════════════ */
.sphere-container {
  width: 200px;
  height: 200px;
  perspective: 800px;
  position: absolute;
  top: 20%;
  right: 10%;
  z-index: 2;
  pointer-events: none;
}

.sphere {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: sphere-rotate 20s linear infinite;
}

.sphere-point {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-pink);
  transform-style: preserve-3d;
}

@keyframes sphere-rotate {
  0% { transform: rotateX(0) rotateY(0); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* ══════════════════════════════════════════
   5. HERO CONTENT 3D PARALLAX (JS driven)
══════════════════════════════════════════ */
.hero-content-3d {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* ══════════════════════════════════════════
   MOBILE FEATURES: TOUCH RIPPLE & BOTTOM DRAWER
══════════════════════════════════════════ */
.ripple-btn {
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  background-color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Scroll Snapping for horizontal lists on mobile */
@media (max-width: 768px) {
  .activities-scroll,
  .offers-scroll {
    scroll-snap-type: x mandatory;
  }
  .activity-card,
  .offer-card {
    scroll-snap-align: center;
  }
}

/* Mobile Bottom Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 24px;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
  border-top: 1px solid var(--border-glass);
}
.mobile-drawer.active {
  transform: translateY(0);
}

.drawer-drag-handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  margin: -10px auto 20px;
}

.drawer-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.drawer-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text-primary);
  text-decoration: none;
  gap: 8px;
}
.drawer-menu-item:active {
  background: rgba(255,255,255,0.08);
}
.drawer-menu-item svg {
  color: var(--accent-purple);
}

/* ══════════════════════════════════════════
   ADVANTAGE & BUDGET SPLIT GRID
══════════════════════════════════════════ */
.advantage-budget-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.split-line-vertical {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(168,85,247,0.4), transparent);
}

@media (max-width: 900px) {
  .advantage-budget-grid {
    grid-template-columns: 1fr;
  }
  .split-line-vertical {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(168,85,247,0.4), transparent);
  }
}

/* Marquee Background Fixed Layer */
.marquee-bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
  display: flex;
  align-items: center;
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.marquee-bg-layer .marquee-3d-section {
  padding: 0;
  width: 100%;
}

.marquee-bg-layer.forward {
  z-index: 100;
  opacity: 1;
  pointer-events: auto;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
}
.marquee-bg-layer.forward .marquee-3d-container {
  transform: rotateX(0deg) rotateZ(0deg) scale(1.1);
}

/* PAGE HERO FIX */
.page-hero {
    min-height: 420px !important;
    padding: 120px 20px 40px !important;
}

/* MOBILE FIX */
@media (max-width:768px){

    .page-hero{
        min-height: auto !important;
        height: auto !important;
        padding: 90px 16px 24px !important;
    }


    /* Remove horizontal overflow */
    html,
    body{
        overflow-x:hidden;
        width:100%;
    }

    /* Gallery */
    .gallery-grid{
        grid-template-columns:1fr 1fr !important;
        gap:10px !important;
    }

    .gallery-item img{
        width:100%;
        height:auto;
        object-fit:cover;
    }

    /* About */
    .about-mission-grid{
        grid-template-columns:1fr !important;
        gap:24px !important;
    }

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

    /* Contact */
    #contactContentGrid{
        grid-template-columns:1fr !important;
        gap:24px !important;
    }

    /* Prevent zoomed cards/images */
    img,
    video,
    iframe{
        max-width:100%;
        height:auto;
    }

    .glass-card,
    .contact-info-card,
    .gallery-item,
    .service-card{
        width:100%;
    }
}

/* =====================================
   PAGE HERO FIX
===================================== */

.page-hero{
    position: relative;
    min-height: auto !important;
    height: auto !important;
    padding: 120px 20px 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* remove huge mobile gap */
@media (max-width:768px){

    .page-hero{
        padding-top: 90px !important;
        padding-bottom: 20px !important;
        min-height: auto !important;
        height: auto !important;
    }

    .hero-orbit-container{
        display:none !important;
    }

    .hero-orbit-ring{
        display:none !important;
    }

    .hero-content-3d{
        margin:0 !important;
        padding:0 !important;
    }

    #gallery{
        padding-top:10px !important;
    }

    #contactContentGrid{
        grid-template-columns:1fr !important;
    }

    .about-mission-grid{
        grid-template-columns:1fr !important;
    }
}

/* NUCLEAR MOBILE FIX */
@media (max-width:768px){

    .page-hero{
        display:block !important;
        min-height:0 !important;
        height:auto !important;
        max-height:none !important;

        margin:0 !important;
        padding:90px 16px 10px !important;
    }

    .page-hero *{
        margin-top:0 !important;
    }

    .hero-orbit-container{
        display:none !important;
    }

    .luxury-bg,
    .luxury-bg-noise,
    .orbit-3d-bg,
    #mouse-glow,
    .particles-container{
        display:none !important;
    }
}

/* =====================================
   DESKTOP PAGE HERO FIX
===================================== */

.page-hero{
    min-height: 320px !important;
    height: auto !important;

    padding-top: 120px !important;
    padding-bottom: 40px !important;

    display:flex;
    align-items:center;
    justify-content:center;
}

/* move content upward */
.page-hero .hero-content-3d{
    margin-top:0 !important;
    transform:none !important;
}

/* desktop orbit sizing */
.page-hero .hero-orbit-container{
    width:400px !important;
    height:400px !important;
}

/* gallery starts immediately */
#gallery{
    margin-top:0 !important;
    padding-top:20px !important;
}
