/* ============================================
   HAFA Technical Services — Global Design System
   Dark + Gold Luxury Theme
   ============================================ */

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

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Background Colors */
  --bg-primary: #08080f;
  --bg-secondary: #0e0e1a;
  --bg-tertiary: #141425;
  --bg-card: rgba(18, 18, 35, 0.65);
  --bg-glass: rgba(18, 18, 35, 0.45);
  --bg-glass-hover: rgba(25, 25, 50, 0.7);
  --bg-navbar: rgba(8, 8, 15, 0.85);

  /* Gold Colors */
  --gold-primary: #d4a853;
  --gold-light: #f0c674;
  --gold-lighter: #f5d998;
  --gold-dark: #b8860b;
  --gold-muted: rgba(212, 168, 83, 0.15);
  --gold-gradient: linear-gradient(135deg, #d4a853, #f0c674, #d4a853);
  --gold-gradient-alt: linear-gradient(135deg, #b8860b, #d4a853, #f0c674);
  --gold-glow: 0 0 20px rgba(212, 168, 83, 0.3);
  --gold-glow-strong: 0 0 40px rgba(212, 168, 83, 0.5);

  /* Text Colors */
  --white: #ffffff;
  --text-primary: #f0f0f0;
  --text-light: #c0c0c0;
  --text-muted: #888888;
  --text-dark: #555555;

  /* Borders */
  --border-glass: rgba(212, 168, 83, 0.15);
  --border-gold: rgba(212, 168, 83, 0.4);
  --border-gold-hover: rgba(212, 168, 83, 0.7);

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 30px rgba(212, 168, 83, 0.15);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-slower: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-primary);
}

button {
  cursor: pointer;
}

/* ============================================
   Scrollbar Styling
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

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

/* ============================================
   Selection
   ============================================ */
::selection {
  background: var(--gold-primary);
  color: var(--bg-primary);
}

/* ============================================
   Container
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  width: 100%;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); }

p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ============================================
   Section Styling
   ============================================ */
.section {
  padding: var(--section-padding);
  position: relative;
}

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

.section-header h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: width var(--transition-slow);
}

.section-header h2:hover::after {
  width: 100%;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 16px auto 0;
}

/* Section background decorations */
.section-bg-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  filter: blur(150px);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.section-bg-glow.gold {
  background: var(--gold-primary);
}

.section-bg-glow.left {
  top: 20%;
  left: -10%;
}

.section-bg-glow.right {
  bottom: 20%;
  right: -10%;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-navbar);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-normal);
  padding: 0 24px;
}

.navbar.scrolled {
  background: rgba(8, 8, 15, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-gold);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  transition: height var(--transition-normal);
}

.navbar.scrolled .container {
  height: 65px;
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.navbar-brand .brand-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  color: var(--bg-primary);
  font-weight: 800;
  font-family: var(--font-heading);
}

.navbar-brand .brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-brand .brand-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-top: -2px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a:not(.btn) {
  position: relative;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 1px;
  transition: all var(--transition-normal);
  transform: translateX(-50%);
  opacity: 0;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--gold-primary);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  width: 20px;
  opacity: 1;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-left: 12px;
}

.lang-toggle button {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  border-radius: var(--radius-xl);
}

.lang-toggle button.active {
  background: var(--gold-gradient);
  color: var(--bg-primary);
}

.lang-toggle button:hover:not(.active) {
  color: var(--gold-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--gold-primary);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 8, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-light);
  transition: all var(--transition-normal);
  transform: translateY(20px);
  opacity: 0;
}

.mobile-nav.active a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a:hover {
  color: var(--gold-light);
}

/* Stagger animation for mobile nav links */
.mobile-nav a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav a:nth-child(6) { transition-delay: 0.35s; }

.mobile-lang-toggle {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-slow) 0.4s;
}

.mobile-nav.active .mobile-lang-toggle {
  transform: translateY(0);
  opacity: 1;
}

.mobile-lang-toggle button {
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.mobile-lang-toggle button.active {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  border-color: transparent;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  box-shadow: var(--gold-glow);
}

.btn-primary:hover {
  box-shadow: var(--gold-glow-strong);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--gold-primary);
  color: var(--gold-light);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold-muted);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ============================================
   Glassmorphism Card
   ============================================ */
.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: 32px;
  transition: all var(--transition-normal);
}

.glass-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

/* ============================================
   Scroll Reveal Animation Classes
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }
.delay-7 { transition-delay: 0.7s !important; }
.delay-8 { transition-delay: 0.8s !important; }

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  font-size: 1.7rem;
  color: white;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold-primary);
  animation: whatsappRing 2s infinite;
  opacity: 0.5;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

@keyframes whatsappRing {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: var(--gold-gradient);
}

.footer-main {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: var(--gold-muted);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column ul li a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-column ul li a i {
  font-size: 0.75rem;
  color: var(--gold-dark);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-dark);
}

.back-to-top {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  transition: all var(--transition-normal);
}

.back-to-top:hover {
  background: var(--gold-muted);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: var(--gold-glow);
}

/* ============================================
   Page Loader
   ============================================ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-glass);
  border-top-color: var(--gold-primary);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

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

/* ============================================
   Utility Animations
   ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes goldGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(212, 168, 83, 0.2); }
  50% { box-shadow: 0 0 30px rgba(212, 168, 83, 0.4); }
}

/* Language transition */
[data-i18n] {
  transition: opacity 0.25s ease;
}

[data-i18n].lang-switching {
  opacity: 0;
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav-links,
  .lang-toggle {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float i {
    font-size: 1.4rem;
  }

  .whatsapp-float::before {
    width: 64px;
    height: 64px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --section-padding: 50px 0;
    --container-padding: 0 16px;
  }

  .glass-card {
    padding: 24px 20px;
  }
}

/* ============================================
   High-Tech UI Enhancements
   ============================================ */

/* 1. Cinematic Noise */
.cinematic-noise {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 2. Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--gold-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition-fast);
}

.custom-cursor-follower {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(212, 168, 83, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.custom-cursor-follower.hover-active {
  width: 60px;
  height: 60px;
  background: rgba(212, 168, 83, 0.1);
  border-color: var(--gold-primary);
  mix-blend-mode: screen;
}

/* Hide default cursor on desktop when custom cursor is active */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, input, select, textarea {
    cursor: none;
  }
}

/* 3. Spotlight Cards */
.glass-card {
  /* Existing styles are applied, just adding the hover variable logic via a pseudo element */
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(800px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(212, 168, 83, 0.08), transparent 40%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

/* 4. Infinite Marquee */
.marquee-container {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 10;
  box-shadow: var(--gold-glow);
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.marquee-content span {
  margin: 0 40px;
}

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

/* 5. Parallax Background Image */
.parallax-bg-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.parallax-bg {
  position: absolute;
  top: -10%; left: -10%; right: -10%; bottom: -10%;
  background-image: url('../images/ac-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.05;
  mix-blend-mode: screen;
  filter: grayscale(50%) contrast(1.2);
  transform: translateZ(0);
}

/* 6. Advanced Text Reveal */
.reveal-text {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

.reveal-text.revealed {
  transform: translateY(0);
  opacity: 1;
}

/* 7. Floating Abstract Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-gradient);
  filter: blur(80px);
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  animation: floatShape 15s ease-in-out infinite alternate;
}

@keyframes floatShape {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.9); }
}

/* 8. Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gold-gradient);
  z-index: 10001; /* Above navbar */
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(212, 168, 83, 0.5);
}

/* 9. Interactive 3D Card Hover Glare */
.tilt-card, .glass-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 250%;
  height: 250%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: overlay;
  z-index: 10;
  transform: translate(-50%, -50%);
}
