/* ==========================================================================
   OryxBox Global Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  /* ----------------------------------------------------------------------
     Color Palette 8: Golden Investments
     ---------------------------------------------------------------------- */
     
  /* Primary & Accents */
  --color-warm-yellow: #FFD700;      /* Main Action Color */
  --color-pale-ivory: #EFE8D3;       /* Secondary / Cards */
  --color-charcoal-gray: #333333;    /* Accent / Text / Deep */

  /* Backgrounds */
  --color-bg-light: #FFFDF0;         /* Suggested Background */
  --color-surface-light: #FFFFFF;    /* Pure white for elevation */
  
  /* Text Colors */
  --color-text-main: #333333;        /* Using Charcoal Gray for readability */
  --color-text-muted: #6B7280;

  /* ----------------------------------------------------------------------
     Typography
     ---------------------------------------------------------------------- */
  --font-display: 'Space Grotesk', sans-serif;         /* Modern, geometric, friendly */
  --font-body: 'Manrope', sans-serif; /* Highly legible, professional */

  /* ----------------------------------------------------------------------
     Spacing & Layout Variables
     ---------------------------------------------------------------------- */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 9999px;

  /* ----------------------------------------------------------------------
     Shadows & Physics
     ---------------------------------------------------------------------- */
  --shadow-sm: 0 4px 6px -1px rgba(51, 51, 51, 0.1), 0 2px 4px -1px rgba(51, 51, 51, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(51, 51, 51, 0.1), 0 4px 6px -2px rgba(51, 51, 51, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(51, 51, 51, 0.1), 0 10px 10px -5px rgba(51, 51, 51, 0.04);
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Base Resets
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Accounts for the 80px sticky navbar */
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-charcoal-gray);
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* ==========================================================================
   Core Components
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition-bounce);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-warm-yellow);
  color: var(--color-charcoal-gray);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  background: #FFDF33;
}

.btn-secondary {
  background: var(--color-charcoal-gray);
  color: white;
  box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(51, 51, 51, 0.4);
  background: #4D4D4D;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}
/* Cards */
.card {
  background: var(--color-bg-light);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  border: 1px solid rgba(51, 51, 51, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Layout: Navbar
   ========================================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--spacing-md);
  height: 80px; /* Fixed height for consistent vertical alignment */
  background-color: rgba(10, 10, 10, 0.98); /* Almost solid sleek black */
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-logo img {
  height: 120px; /* The golden mean - text will be ~24px tall */
  width: auto;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.navbar-links > a,
.navbar-links .nav-item > a {
  font-weight: 600;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-links > a:hover,
.navbar-links .nav-item > a:hover {
  color: #ffffff;
}

/* --- Mega Menu Styles --- */
.nav-item {
  position: static; /* allows full-width child */
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  transition: border-color var(--transition-fast);
}

.nav-item:hover {
  border-bottom-color: var(--color-warm-yellow);
}

.nav-item:hover > a {
  color: #ffffff;
}

.mega-menu {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100vw;
  background-color: rgba(10, 10, 10, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  display: flex;
  justify-content: center;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  gap: 4rem;
  padding: 0 var(--spacing-sm);
}

.mega-menu-col {
  flex: 1;
}

.mega-menu-col h4 {
  color: var(--color-warm-yellow);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-menu-link {
  display: block;
  margin-bottom: 1.5rem;
  text-decoration: none;
  height: auto;
  border: none !important;
}

.mega-menu-link:last-child {
  margin-bottom: 0;
}

.mega-menu-link h5 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-family: var(--font-body);
  transition: color var(--transition-fast);
}

.mega-menu-link p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.mega-menu-link:hover h5 {
  color: var(--color-warm-yellow);
}

/* ==========================================================================
   Layout: Hero Section
   ========================================================================== */
.hero {
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.95)), url('final_assets/inner_hero_bg_premium.png') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 4.5rem;
  letter-spacing: -0.03em;
  margin-bottom: var(--spacing-md);
  color: white;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
}

/* ==========================================================================
   Layout: Features Section
   ========================================================================== */
.features {
  padding: var(--spacing-xl) var(--spacing-md);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

/* ==========================================================================
   Layout: Footer
   ========================================================================== */
/* Hero Section */
.home-hero {
  background-color: var(--color-charcoal-gray);
  background-image: linear-gradient(rgba(26, 26, 26, 0.6), rgba(26, 26, 26, 0.8)), url('final_assets/hero_bg_light_blur.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 10rem 1rem 8rem; /* Add padding to account for fixed header */
}

.footer {
  background-color: var(--color-charcoal-gray);
  color: white;
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  align-items: start;
}

.footer-col h4 {
  color: var(--color-warm-yellow);
  margin-bottom: var(--spacing-sm);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 4px; /* aligns with logo top */
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
}

.footer-col ul li a:hover {
  color: white;
}

.footer-logo-wrap {
  display: inline-block;
  background: var(--color-bg-light);
  border-radius: var(--border-radius-md);
  padding: 8px 16px;
  margin-bottom: var(--spacing-sm);
}

.footer-logo-wrap img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ==========================================================================
   SECURE GATEWAY
   ========================================================================== */
.gateway-page {
  background: url('homepage-preview.png') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
}

.gateway-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.gateway-card {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.gateway-logo {
  height: 60px;
  margin-bottom: 2rem;
}

.gateway-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gateway-input {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  color: white;
  font-family: var(--font-body);
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 0.1em;
  transition: all var(--transition-fast);
}

.gateway-input:focus {
  outline: none;
  border-color: var(--color-warm-yellow);
  background: rgba(0, 0, 0, 0.5);
}

.gateway-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.gateway-error {
  color: #ef4444;
  font-size: 0.9rem;
  margin-top: 1rem;
  display: none;
}

/* ==========================================================================
   HOMEPAGE SECTIONS
   ========================================================================== */

.home-section {
  padding: 8rem var(--spacing-sm);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.home-section:nth-child(even) {
  background: var(--color-surface-light);
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

/* Reverse grid order for alternating sections */
.home-section.reverse .home-grid {
  direction: rtl;
}
.home-section.reverse .home-grid > * {
  direction: ltr;
}

.home-text h2 {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-main);
}

.home-text p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.home-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.home-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.home-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Cookie Banner (Glossy Pill) */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Inter', sans-serif;
  color: white;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner p {
  font-size: 0.85rem;
  margin: 0;
  color: rgba(255,255,255,0.9);
}

.cookie-banner a {
  color: var(--color-warm-yellow);
  text-decoration: underline;
  margin-left: 0.3rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.cookie-banner a:hover {
  opacity: 0.8;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-cookie {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.btn-cookie.primary {
  background: var(--color-warm-yellow);
  color: var(--color-charcoal-gray);
}

.btn-cookie.primary:hover {
  background: #e6b800;
}

.btn-cookie.secondary {
  color: rgba(255,255,255,0.6);
}

.btn-cookie.secondary:hover {
  color: white;
  background: rgba(255,255,255,0.1);
}

/* Stats Banner */
.stats-banner {
  background: var(--color-bg-light);
  padding: 6rem 1rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Security Banner */
.security-banner {
  padding: 6rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  color: var(--color-warm-yellow);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-bg-light);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition-bounce);
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--color-warm-yellow);
  color: var(--color-charcoal-gray);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Hero Section Specifics */
.home-hero.home-section {
  min-height: 100vh;
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('final_assets/hero_bg_premium_abstract.png') center/cover no-repeat !important;
}

.home-hero.home-section .home-text h2 {
  color: white !important;
}

.home-hero.home-section .home-text p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.home-hero .glow-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* Full Width Glass Effect */
.home-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.0) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
  pointer-events: none;
}

/* Ensure content stays above the glass */
.home-hero .container {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}



.hero-buttons {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.hero-btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  position: relative;
  overflow: hidden;
}

/* The Animated Shine Sweep */
.hero-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shimmerSweep 4s infinite;
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* ==========================================================================
   CSS ANIMATIONS (ON-LOAD)
   ========================================================================== */
.scroll-reveal {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.scroll-reveal-delay {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* We can add staggered delays for each section so they load in beautifully */
.home-section:nth-child(1) .scroll-reveal { animation-delay: 0.1s; }
.home-section:nth-child(2) .scroll-reveal { animation-delay: 0.3s; }
.home-section:nth-child(2) .scroll-reveal-delay { animation-delay: 0.5s; }
.home-section:nth-child(3) .scroll-reveal { animation-delay: 0.5s; }
.home-section:nth-child(3) .scroll-reveal-delay { animation-delay: 0.7s; }
.home-section:nth-child(4) .scroll-reveal { animation-delay: 0.7s; }
.home-section:nth-child(4) .scroll-reveal-delay { animation-delay: 0.9s; }
.home-section:nth-child(5) .scroll-reveal { animation-delay: 0.9s; }
.home-section:nth-child(5) .scroll-reveal-delay { animation-delay: 1.1s; }

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .home-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .home-section.reverse .home-grid {
    direction: ltr;
  }
}

/* Language Selector */
.lang-selector {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
  cursor: pointer;
  color: var(--color-text-muted);
  font-family: var(--font-primary);
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.3s ease;
}

.lang-selector:hover .lang-current {
  color: var(--color-gold);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: -50%;
  background: var(--color-black);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 60px;
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.lang-selector:hover .lang-dropdown {
  display: flex;
}

.lang-dropdown li {
  padding: 1rem 0;
  text-align: center;
  color: var(--color-pale-ivory);
  transition: all 0.3s ease;
}

.lang-dropdown li:hover {
  background: rgba(255,255,255,0.02);
  color: var(--color-gold);
}

/* Floating Language Selector */
.lang-selector-floating {
  position: fixed;
  bottom: 2rem;
  left: 1.5rem; /* Move to bottom-left on mobile for balance */
  right: auto;
  background: rgba(30, 30, 30, 0.95);
  border: 1px solid var(--color-gold);
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.8);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.lang-selector-floating .lang-current {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  transition: color 0.3s ease;
}

.lang-selector-floating:hover .lang-current {
  color: var(--color-gold);
}

.lang-selector-floating .lang-dropdown {
  position: absolute;
  top: auto;
  bottom: calc(100% + 10px);
  right: 0;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid var(--color-gold);
  border-radius: 8px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  min-width: 80px;
  display: none;
  flex-direction: column;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
}

.lang-selector-floating .lang-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}

@media (hover: hover) {
  .lang-selector-floating:hover .lang-dropdown {
    display: flex;
  }
}
.lang-selector-floating.active .lang-dropdown {
  display: flex;
}

.lang-selector-floating .lang-dropdown li {
  padding: 0.75rem 1.5rem;
  text-align: center;
  color: var(--color-pale-ivory);
  transition: all 0.3s ease;
}

.lang-selector-floating .lang-dropdown li:hover {
  background: rgba(255,255,255,0.05);
  color: var(--color-gold);
}

/* Brutal override to kill all Google Translate UI Traces */
.goog-te-banner-frame.skiptranslate, 
.goog-te-gadget-icon, 
.goog-te-balloon-frame,
#goog-gt-tt, 
div#goog-gt-tt,
.VIpgJd-Zvi9od-aZ2wEe-wOHMyf,
.VIpgJd-Zvi9od-ORHb-OEVmcd,
.VIpgJd-Zvi9od-aZ2wEe-wOHMyf-ti6hGc {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
}

body {
    top: 0px !important;
}

.goog-text-highlight,
font {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* ==========================================================================
   Minimal "Alive" Animations (Pure CSS)
   ========================================================================== */

/* Option 2: Hero Background Shimmer */
.hero {
  background: linear-gradient(60deg, rgba(10, 10, 10, 0.8) 0%, rgba(40, 40, 40, 0.9) 50%, rgba(10, 10, 10, 0.8) 100%), url('final_assets/inner_hero_bg_premium.png') center/cover no-repeat !important;
  background-size: 200% 200%, cover !important;
  animation: heroShimmer 15s ease-in-out infinite alternate;
}

@keyframes heroShimmer {
  0% { background-position: 0% 50%, center; }
  100% { background-position: 100% 50%, center; }
}

/* Option 1: Soft Page Load Entrances */
@keyframes softFadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero h1, 
.hero p, 
.hero-buttons {
  opacity: 0;
  animation: softFadeUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Staggered load delays */
.hero h1 { animation-delay: 0.1s; }
.hero p { animation-delay: 0.3s; }
.hero-buttons { animation-delay: 0.5s; }

/* ==========================================================================
   MOBILE OPTIMIZATION (max-width: 900px)
   ========================================================================== */
@media (max-width: 900px) {
  /* Reduce Variables */
  :root {
    --spacing-xl: 4rem;
    --spacing-lg: 3rem;
    --spacing-md: 2rem;
  }
  
  /* Typography Scaling */
  h1 { font-size: 2.5rem !important; }
  h2 { font-size: 2rem !important; }
  h3 { font-size: 1.5rem !important; }
  p { font-size: 1rem !important; }
  .hero-content h1 { font-size: 2.8rem !important; }
  
  /* Layout Grid Stacking */
  .footer-grid,
  .stats-grid,
  .feature-grid,
  .accordion-container,
  .home-grid,
  .hero-content {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }
  
  /* Specific Fixes */
  .container {
    padding: 0 1rem;
  }
  
  /* Hamburger Menu Button */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Above mobile menu */
    padding: 10px;
  }
  
  .hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--color-charcoal-gray);
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  
  /* Transform to X when active */
  .navbar.mobile-menu-active .hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .navbar.mobile-menu-active .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .navbar.mobile-menu-active .hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* Navbar adjustments */
  .navbar {
    padding: 1rem !important;
  }
  
  .navbar-links {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 1);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 100px;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .navbar.mobile-menu-active .navbar-links {
    transform: translateY(0);
  }
  
  /* Mega Menu Override for Mobile */
  .nav-item {
    width: 100%;
    text-align: center;
  }
  
  /* Disable hover mega menus on mobile */
  .nav-item:hover .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
  }
  
  .nav-item.mobile-dropdown-active:hover .mega-menu,
  .nav-item.mobile-dropdown-active .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    position: static;
    display: block;
    width: 100%;
    transform: none !important;
    background: transparent;
    box-shadow: none;
    padding: 1rem 0;
    margin-top: 1rem;
    border: none;
  }
  
  .mega-menu-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .mega-menu-col h4 {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-warm-yellow);
  }
  
  .btn-primary, .btn-outline {
    width: 100%;
    text-align: center;
    margin: 0.5rem 0;
  }
  
  .navbar-links .btn-primary {
    width: 80%;
  }
  
  /* Sidebar fixes for Education */
  aside {
    display: none !important;
  }
  
  /* Image wrapper fixes */
  .home-image-wrapper img, .hero-content img {
    height: auto;
    max-height: 400px;
    width: 100%;
  }
  
  /* Fix Language Selector Dropdown overflow */
  .lang-dropdown {
    right: 0;
  }
}

/* Hide Hamburger by default on Desktop */
@media (min-width: 901px) {
  .hamburger {
    display: none;
  }
  .nav-item.mobile-dropdown-active .mega-menu {
    /* Reset mobile toggle if resized back up */
  }
}

.checkmark-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  text-align: left;
  width: 100%;
  max-width: 310px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 901px) {
  .checkmark-list {
    margin-left: 0;
    margin-right: 0;
  }
}
.checkmark-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}
.checkmark-item .check {
  color: var(--color-warm-yellow);
  font-weight: bold;
  flex-shrink: 0;
}

.security-list {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .security-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    white-space: normal;
    text-align: center;
    border-radius: 20px;
    padding: 1rem;
    width: 90%;
    gap: 1rem;
  }
}

.navbar.mobile-menu-active {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.navbar.mobile-menu-active ~ .lang-selector-floating {
  display: none !important;
}

/* Desktop Login Wrapper */
.nav-login-wrapper {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}
.nav-login-btn {
  height: auto;
  padding: 0.8rem 1.5rem;
  line-height: 1;
}

@media (max-width: 900px) {
  .nav-login-wrapper {
    margin-left: 0;
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
    padding: 0 2rem;
  }
  
  .nav-login-btn {
    width: 100%;
    text-align: center;
    padding: 1.2rem !important;
    font-size: 1.3rem;
    border-radius: 50px;
  }
  
  .navbar-links > a,
  .navbar-links .nav-item > a {
    justify-content: center;
    width: 100%;
    font-size: 2rem !important; /* Huge premium text */
    font-weight: 500;
    padding: 1rem 0;
    color: #ffffff !important;
    letter-spacing: -0.5px;
  }
  
  .navbar-links {
    padding-top: 12vh !important;
    gap: 0.5rem !important;
  }
  
  .nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.05); /* subtle dividers */
    width: 85% !important;
    margin: 0 auto;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .mega-menu {
    display: none !important;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Shift translation widget to sit next to chat widget on desktop */
@media (min-width: 901px) {
    .lang-selector-floating {
        bottom: 2rem !important;
        left: auto !important;
        right: 7rem !important; /* ~112px */
    }
}

