:root {
  /* Luxury Gold Theme */
  --bg-color: #050505;
  --accent-color: #FFD700; /* Pure Gold */
  --secondary-color: #FDB931; /* Light Gold */
  --tertiary-color: #bf953f; /* Dark Antique Gold */

  --text-color: #ffffff;
  --text-muted: #a3a3a3;

  /* Glassmorphism Variables */
  --glass-bg: rgba(20, 20, 20, 0.4);
  --glass-border: rgba(255, 215, 0, 0.15); /* Gold tint border */
  --glass-highlight: rgba(255, 215, 0, 0.1);
  --glass-blur: 30px;

  --section-padding: 120px 8%;
  --transition-smooth: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3, .logo, .stat-value {
  font-family: 'Outfit', sans-serif;
}

/* === NOISE TEXTURE (Warm Grain) === */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2003/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* === GOLD DUST CANVAS === */
#gold-dust {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* === CINEMATIC PRELOADER === */
#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform; /* GPU Optimization */
}

#preloader.loaded {
  transform: translateY(-100%);
}

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

.loader-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: -2px;
  margin-bottom: 24px;
  opacity: 0;
  animation: pulse-gold 2s infinite;
  will-change: opacity, transform, filter; /* GPU Optimization */
}

.loader-bar {
  width: 0%;
  height: 2px;
  background: var(--accent-color);
  box-shadow: 0 0 20px var(--accent-color);
  margin: 0 auto;
  transition: width 0.5s ease;
  animation: load-bar 2s ease forwards;
}

@keyframes pulse-gold {
  0% { opacity: 0.3; transform: scale(0.95); filter: blur(2px); }
  50% { opacity: 1; transform: scale(1); filter: blur(0); text-shadow: 0 0 30px var(--accent-color); }
  100% { opacity: 0.3; transform: scale(0.95); filter: blur(2px); }
}

@keyframes load-bar {
  0% { width: 0%; }
  100% { width: 100px; }
}

/* Background Elements */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 215, 0, 0.03) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(255, 215, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}

.ambient-glow {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  animation: float 20s infinite alternate ease-in-out;
  will-change: transform; /* GPU Optimization */
}

.glow-1 {
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, var(--accent-color), transparent 60%);
}

.glow-2 {
  bottom: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--tertiary-color), transparent 60%);
  animation-delay: -7s;
}

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

/* Glass Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.hero-logo-header {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(to right, #fff, var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.02);
  padding: 6px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 100px;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

nav a:hover {
  color: var(--accent-color);
  background: rgba(255, 215, 0, 0.05);
}

/* Active Nav State */
nav a.active {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.2) 50%, rgba(255, 215, 0, 0.1));
  color: var(--accent-color);
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.3),
    inset 0 0 10px rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 10% 80px; /* Added padding bottom for scroll indicator */
  position: relative;
}

#hero-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px; /* Increased width */
}

.hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  margin-bottom: 32px;
  box-shadow: 0 0 60px rgba(255, 215, 0, 0.15);
  transition: transform 0.5s var(--transition-smooth);
  will-change: transform;
}

.hero-logo:hover {
  transform: scale(1.05) rotate(2deg);
}

.hero h1 {
  font-size: clamp(56px, 7vw, 110px); /* Larger font */
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 32px;
  letter-spacing: -3px;
  color: #fff;
}

.text-spotlight {
  /* Metallic Gold Gradient */
  background: linear-gradient(
    to bottom,
    #BF953F,
    #FCF6BA,
    #B38728,
    #FBF5B7,
    #AA771C
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  padding: 0 10px; /* Fix clipping */
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
}

.description {
  /* De-boxed: No border, subtle fade */
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.03) 0%, transparent 70%);
  border: none;
  padding: 0 20px;
  border-radius: 0;
  max-width: 800px;
  color: var(--text-muted);
  font-size: 20px; /* Slightly larger text */
  margin-bottom: 64px;
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.3s;
  pointer-events: none;
  margin-top: 40px;
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
  margin-bottom: 10px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

.arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  animation: scroll-arrow 2s infinite;
  animation-delay: 0.2s;
}

@keyframes scroll-wheel {
  0% { opacity: 1; top: 10px; }
  100% { opacity: 0; top: 30px; }
}

@keyframes scroll-arrow {
  0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* --- LIQUID GOLD BUTTON --- */
.btn {
  position: relative;
  padding: 24px 64px;
  color: #fff; /* White text for better visibility on dark gold */
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 100px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  background: rgba(255, 215, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.3),
    inset 0 0 12px rgba(255, 215, 0, 0.1);
  z-index: 10;
  will-change: transform, box-shadow;
  margin-bottom: 60px; /* Push the scroll indicator away if it wasn't absolute */
}

/* The Liquid Gold Blob */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(
    circle,
    var(--accent-color) 0%,
    var(--secondary-color) 40%,
    var(--tertiary-color) 70%,
    transparent 80%
  );
  transform: translate(-50%, -150%) scale(0.6);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
  z-index: -1;
  opacity: 0;
  filter: blur(15px);
  will-change: transform, opacity; /* GPU Optimization */
}

/* Sheen */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.4) 60%,
    transparent 100%
  );
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.8s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.6),
    0 20px 50px rgba(255, 215, 0, 0.25),
    inset 0 0 20px rgba(255, 215, 0, 0.2);
  color: #000;
  text-shadow: none;
}

.btn:hover::before {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 1;
}

.btn:hover::after {
  transform: translateX(100%) skewX(-15deg);
}

section {
  padding: var(--section-padding);
}

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

.section-header span {
  color: var(--accent-color);
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 24px;
  display: block;
  opacity: 0.8;
}

.section-header h2 {
  font-size: 56px;
  color: #fff;
  letter-spacing: -2px;
  text-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.card {
  position: relative;
  background: rgba(3, 3, 3, 0.75);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  padding: 56px 40px;
  overflow: hidden;
  transition: all 0.6s var(--transition-smooth);
  border-radius: 20px;
  border: 1px solid rgba(255, 215, 0, 0.08);
  box-shadow:
    0 0 20px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(0,0,0,0.8);
  will-change: transform, box-shadow; /* GPU Optimization */
}

/* Shine Effect */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(255, 215, 0, 0.5),
    transparent 20%,
    transparent 80%,
    rgba(255, 215, 0, 0.5)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.3;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 215, 0, 0.05),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-10px);
  background: rgba(10, 10, 10, 0.85);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.5),
    0 0 30px rgba(255, 215, 0, 0.05);
  border-color: rgba(255, 215, 0, 0.2);
}

.card:hover::after { opacity: 1; }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 72px;
  height: 72px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent 70%);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  color: var(--accent-color);
  position: relative;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform; /* GPU Optimization */
}

.card:hover .card-icon {
  transform: scale(1.1);
  background: radial-gradient(circle, rgba(255, 215, 0, 0.25), transparent 70%);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  color: #fff;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
}

.card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #fff, var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.card p {
  color: #a0a0a0;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Grid instead of flex for equal width */
  gap: 32px;
  margin-top: 60px;
}

.stat-card {
  position: relative;
  text-align: center;
  padding: 48px 32px;
  background: rgba(255, 255, 255, 0.02); /* Ultra subtle fill */
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  transition: all 0.5s var(--transition-smooth);
  overflow: hidden;
}

.stat-card:hover {
  background: rgba(255, 215, 0, 0.05); /* Slight gold tint */
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.stat-value {
  display: block;
  font-size: 80px; /* Bigger */
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -3px;
  /* Gold Gradient Text */
  background: linear-gradient(
    to bottom,
    #BF953F,
    #FCF6BA,
    #B38728,
    #FBF5B7,
    #AA771C
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.2));
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card:hover .stat-value {
  transform: scale(1.1);
  filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.4));
}

.stat-label {
  color: #fff;
  opacity: 0.6;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}

footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: #000;
  padding: 30px 3%;
  text-align: center;
}
.footer-logo {
  font-size: 24px;
  font-weight: 100;
  margin-bottom: 12px;
  color: var(--accent-color);
  opacity: 0.5;
  letter-spacing: -1px;
}

.other_services {
  width: 1440px;
}

.our_bot_link {
  background-color: #141414;
  width: 200px;
  border-radius: 20px;
  padding: 8px;
  box-shadow: none;
  transition: all 1.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Elastic overshoot */
}

.our_bot_link:hover {
  box-shadow: 0 0 15px var(--accent-color);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet Landscape (1024px - 1280px) */
@media (max-width: 1280px) {
  :root {
    --section-padding: 100px 6%;
  }

  .hero h1 {
    font-size: clamp(48px, 6vw, 90px);
  }

  .section-header h2 {
    font-size: 48px;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

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

  header {
    padding: 20px 5%;
  }

  nav {
    gap: 4px;
    padding: 4px;
  }

  nav a {
    padding: 8px 16px;
    font-size: 12px;
  }

  .hero {
    padding: 100px 8% 60px;
  }

  .hero h1 {
    font-size: clamp(40px, 5vw, 70px);
    letter-spacing: -2px;
    margin-bottom: 24px;
  }

  .description {
    font-size: 18px;
    margin-bottom: 48px;
  }

  .btn {
    padding: 20px 48px;
    font-size: 14px;
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 40px;
  }

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

  .grid {
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .card {
    padding: 40px 32px;
  }

  .stat-value {
    font-size: 64px;
  }

  .stats {
    gap: 24px;
  }
}

/* Mobile Landscape & Small Tablets (481px - 768px) */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 5%;
  }

  /* Hide desktop navigation */
  nav {
    display: none;
  }

  header {
    padding: 16px 5%;
  }

  .logo {
    font-size: 18px;
  }

  .hero-logo-header {
    width: 36px;
    height: 36px;
  }

  /* Hero Section */
  .hero {
    min-height: 100vh;
    padding: 120px 6% 80px;
    text-align: center;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(36px, 8vw, 48px);
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    line-height: 1.1;
  }

  .description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 40px;
    padding: 0 10px;
  }

  .btn {
    padding: 18px 40px;
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 50px;
  }

  /* Scroll Indicator */
  .scroll-indicator {
    bottom: 30px;
    transform: translateX(-50%) scale(0.9);
  }

  /* Section Headers */
  .section-header span {
    font-size: 11px;
    letter-spacing: 4px;
    margin-bottom: 16px;
  }

  .section-header h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

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

  /* Grid & Cards */
  .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card {
    padding: 32px 24px;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
  }

  .card-icon svg {
    width: 28px;
    height: 28px;
  }

  .card h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .card p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Stats */
  .stats {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .stat-card {
    padding: 36px 24px;
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .stat-value {
    font-size: 56px;
    letter-spacing: -2px;
  }

  .stat-label {
    font-size: 13px;
    letter-spacing: 1.5px;
  }

  /* Other Services Card */
  .other_services {
    width: 100%;
  }

  /* Footer */
  footer {
    padding: 24px 5%;
  }

  .footer-logo {
    font-size: 20px;
  }

  /* Background Effects - Reduce complexity on mobile */
  .glow-sphere {
    filter: blur(100px);
  }

  .grid-bg {
    background-size: 40px 40px;
  }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
  :root {
    --section-padding: 50px 4%;
  }

  header {
    padding: 14px 4%;
  }

  .logo-container {
    gap: 12px;
  }

  .logo {
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  .hero-logo-header {
    width: 32px;
    height: 32px;
  }

  /* Hero Section - Extra compact */
  .hero {
    padding: 100px 5% 70px;
  }

  .hero-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: clamp(32px, 9vw, 42px);
    letter-spacing: -1px;
    margin-bottom: 16px;
  }

  .description {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 32px;
    padding: 0 5px;
    max-width: 100%;
  }

  .btn {
    padding: 16px 32px;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 40px;
    width: calc(100% - 40px);
    max-width: 300px;
  }

  /* Scroll Indicator */
  .scroll-indicator {
    bottom: 20px;
    transform: translateX(-50%) scale(0.8);
  }

  .mouse {
    width: 24px;
    height: 40px;
  }

  /* Section Headers */
  .section-header span {
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 12px;
  }

  .section-header h2 {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

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

  /* Cards */
  .card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .card-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
  }

  .card-icon svg {
    width: 24px;
    height: 24px;
  }

  .card h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .card p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Stats */
  .stats {
    gap: 16px;
    margin-top: 32px;
  }

  .stat-card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .stat-value {
    font-size: 48px;
    letter-spacing: -1.5px;
    margin-bottom: 6px;
  }

  .stat-label {
    font-size: 12px;
    letter-spacing: 1px;
  }

  /* Video Showcase */
  #showcase .card {
    padding: 12px;
    border-radius: 20px;
  }

  /* Contact Links */
  .our_bot_link {
    width: 100%;
    max-width: 250px;
    padding: 10px;
    font-size: 14px;
  }

  /* Footer */
  footer {
    padding: 20px 4%;
  }

  .footer-logo {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .copy {
    font-size: 13px;
  }

  /* Performance Optimizations */
  .glow-sphere {
    filter: blur(80px);
    opacity: 0.1;
  }

  .grid-bg {
    background-size: 30px 30px;
    opacity: 0.5;
  }

  /* Disable some animations on very small devices */
  .card::before,
  .card::after {
    display: none;
  }

  .btn::after {
    display: none;
  }
}

/* Extra Small Devices (< 375px) */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 28px;
  }

  .description {
    font-size: 14px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 11px;
  }

  .card {
    padding: 24px 16px;
  }

  .stat-value {
    font-size: 40px;
  }
}

/* Landscape Orientation for Phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 5% 40px;
  }

  .scroll-indicator {
    display: none;
  }

  .hero h1 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .description {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .btn {
    padding: 12px 32px;
    margin-bottom: 20px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-logo,
  .hero-logo-header {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.92); /* Deeper start, slightly shrunk */
  filter: blur(12px); /* Heavy blur start */
  transition: all 1.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Elastic overshoot */
  will-change: opacity, transform, filter; /* GPU Optimization */
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
