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

:root {
  --obsidian: #0a0a0a;
  --charcoal: #1a1a1a;
  --charcoal-2: #222230;
  --neon-cyan: #00e5ff;
  --neon-cyan-dim: rgba(0, 229, 255, 0.15);
  --electric-magenta: #ff006e;
  --electric-magenta-dim: rgba(255, 0, 110, 0.15);
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --white: #ffffff;
  --text: rgba(255, 255, 255, 0.85);
  --text-dim: rgba(255, 255, 255, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--obsidian);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.neon { color: var(--neon-cyan); }
.magenta { color: var(--electric-magenta); }
.gold { color: var(--gold); }

section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.hero-full {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-stats .stat {
  text-align: center;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 16px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--neon-cyan);
  vertical-align: middle;
  margin: 0 12px;
  opacity: 0.5;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.section-header p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ========== PRELOADER ========== */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--obsidian);
  display: flex;
  align-items: center; justify-content: center;
  transition: opacity 0.8s, visibility 0.8s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.loader-ring {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.1);
  border-top-color: var(--neon-cyan);
  border-bottom-color: var(--electric-magenta);
  animation: spin 1s linear infinite;
}

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

/* ========== NOISE OVERLAY ========== */
.noise-overlay {
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ========== NAVBAR ========== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  padding: 20px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
}

.logo-icon {
  color: var(--gold);
  font-size: 1.1rem;
}

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

.nav-links a {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  transition: var(--transition);
  padding: 8px 18px;
  border-radius: 50px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a:hover::after {
  width: 40%;
}

.nav-links a.active {
  color: var(--neon-cyan);
  background: var(--neon-cyan-dim);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.nav-links a.active::after {
  width: 40%;
  background: var(--neon-cyan);
}

.nav-cta {
  background: linear-gradient(135deg, var(--neon-cyan), var(--electric-magenta));
  color: var(--obsidian) !important;
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  margin-left: 4px;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0, 229, 255, 0.3); background: linear-gradient(135deg, var(--neon-cyan), var(--electric-magenta)) !important; }
.nav-cta.active { background: linear-gradient(135deg, var(--neon-cyan), var(--electric-magenta)) !important; color: var(--obsidian) !important; text-shadow: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 4px;
  z-index: 9001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--electric-magenta));
  color: var(--obsidian);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--glass-border);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--neon-cyan);
  background: var(--neon-cyan-dim);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

/* ========== GLASSMORPHISM CARD ========== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
}

/* ========== PAGE TRANSITION WRAPPER ========== */
.page-transition {
  animation: pageIn 0.8s ease;
}

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

/* ========== FOOTER ========== */
footer {
  background: var(--charcoal);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 340px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--neon-cyan);
  padding-left: 4px;
}

.footer-contact p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-contact a[href*="instagram"]:hover {
  color: #e1306c !important;
  text-shadow: 0 0 20px rgba(225, 48, 108, 0.3);
}

.footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* ========== BACK TO TOP ========== */
#backToTop {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--electric-magenta));
  color: var(--obsidian);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.3);
}

#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover { transform: translateY(-4px) scale(1.05); }

/* ========== RESPONSIVE ========== */
/* Mobile hamburger menu only */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(40px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 30px;
    gap: 20px;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; padding: 14px 32px; }
  .nav-links a::after { bottom: 8px; }
  .nav-cta { margin-left: 0; padding: 14px 32px !important; }
}

@media (min-width: 769px) {
  .nav-links { display: flex !important; }
}
