/* ===== APEX TRAINING ACADEMY - Premium CSS ===== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Raleway:wght@300;400;500;600;700&family=Orbitron:wght@400;600;700;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --gold: #D4AF37;
  --gold-light: #FFD700;
  --gold-dark: #B8860B;
  --gold-pale: #F5E6A3;
  --black: #0A0A0A;
  --black-mid: #111111;
  --black-soft: #1A1A1A;
  --black-card: #141414;
  --white: #FFFFFF;
  --white-dim: #E8E8E8;
  --neon-gold: #FFD700;
  --neon-amber: #FF8C00;
  --neon-white: #F0F0FF;
  --gray: #888888;
  --gray-light: #CCCCCC;
  --font-display: 'Cinzel', serif;
  --font-body: 'Raleway', sans-serif;
  --font-tech: 'Orbitron', monospace;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  transition: all 0.15s ease;
  opacity: 0.6;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== LOADING SCREEN ===== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99997;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 100px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(212,175,55,0.2);
  margin-top: 30px;
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  animation: loaderFill 2s ease-in-out forwards;
}

@keyframes loaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}

.loader-text {
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-top: 16px;
  animation: fadeInUp 1s ease 0.5s both;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}

#navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  padding: 12px 60px;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

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

.nav-logo img {
  height: 52px;
  filter: drop-shadow(0 0 10px rgba(212,175,55,0.5));
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

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

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 10px 28px;
  font-family: var(--font-tech) !important;
  font-size: 10px !important;
  letter-spacing: 2px !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}

.nav-cta::after { display: none !important; }

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

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

.hero-radial {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  animation: radialPulse 4s ease-in-out infinite;
}

@keyframes radialPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  animation: particleFloat linear infinite;
  opacity: 0;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) translateX(var(--drift)); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(212,175,55,0.4);
  padding: 8px 24px;
  margin-bottom: 30px;
  font-family: var(--font-tech);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold);
  background: rgba(212,175,55,0.05);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-title .gold-text {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
}

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

.hero-subtitle-main {
  font-family: var(--font-tech);
  font-size: clamp(12px, 2vw, 18px);
  letter-spacing: 8px;
  color: var(--white-dim);
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.9s both;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-light);
  max-width: 680px;
  margin: 0 auto 50px;
  animation: fadeInUp 0.8s ease 1.1s both;
}

.hero-desc span {
  color: var(--gold);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 1.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--black);
  padding: 16px 40px;
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(212,175,55,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--gold);
  padding: 15px 40px;
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--gold);
  clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(212,175,55,0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(212,175,55,0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 0.8s ease 1.8s both;
}

.hero-scroll span {
  font-family: var(--font-tech);
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--gray);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* ===== TICKER ===== */
.ticker-section {
  background: var(--gold-dark);
  padding: 12px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,215,0,0.3);
  border-bottom: 1px solid rgba(255,215,0,0.3);
}

.ticker-track {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--black);
  font-weight: 700;
}

.ticker-up { color: #1a5c1a; }
.ticker-down { color: #8b0000; }

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

/* ===== SECTION COMMONS ===== */
section {
  position: relative;
  overflow: hidden;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '—';
  margin: 0 12px;
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-title .gold { color: var(--gold); }

.section-desc {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px auto 0;
}

/* ===== STATS SECTION ===== */
#stats {
  padding: 80px 60px;
  background: var(--black-soft);
  border-top: 1px solid rgba(212,175,55,0.1);
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(212,175,55,0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  background: var(--black-soft);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  transition: background 0.3s ease;
}

.stat-item:hover {
  background: rgba(212,175,55,0.05);
}

.stat-number {
  font-family: var(--font-tech);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}

.stat-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

/* ===== ABOUT SECTION ===== */
#about {
  padding: 120px 60px;
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-visual {
  position: relative;
}

.about-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.about-logo-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
  animation: radialPulse 3s ease-in-out infinite;
}

.about-logo-ring {
  position: absolute;
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 50%;
  animation: ringExpand 3s ease-in-out infinite;
}

.ring-1 { width: 200px; height: 200px; animation-delay: 0s; }
.ring-2 { width: 280px; height: 280px; animation-delay: 0.5s; }
.ring-3 { width: 360px; height: 360px; animation-delay: 1s; }

@keyframes ringExpand {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.03); }
}

.about-logo-img {
  width: 220px;
  position: relative;
  z-index: 10;
  filter: drop-shadow(0 0 30px rgba(212,175,55,0.4));
  animation: logoBob 4s ease-in-out infinite;
}

@keyframes logoBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.about-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.5;
}

.about-corner.tl { top: 20px; left: 20px; border-width: 2px 0 0 2px; }
.about-corner.tr { top: 20px; right: 20px; border-width: 2px 2px 0 0; }
.about-corner.bl { bottom: 20px; left: 20px; border-width: 0 0 2px 2px; }
.about-corner.br { bottom: 20px; right: 20px; border-width: 0 2px 2px 0; }

.about-content {}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.about-feature {
  background: var(--black-card);
  border: 1px solid rgba(212,175,55,0.15);
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.about-feature:hover::before { transform: scaleX(1); }

.about-feature:hover {
  border-color: rgba(212,175,55,0.4);
  background: rgba(212,175,55,0.05);
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.feature-text {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== COURSES SECTION ===== */
#courses {
  padding: 120px 60px;
  background: var(--black-soft);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  background: var(--black-card);
  border: 1px solid rgba(212,175,55,0.1);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(212,175,55,0.1);
}

.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-tech);
  font-size: 8px;
  letter-spacing: 2px;
  padding: 5px 12px;
  border-radius: 0;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  z-index: 10;
}

.badge-beginner { background: rgba(0,180,100,0.2); color: #00b464; border: 1px solid rgba(0,180,100,0.3); }
.badge-intermediate { background: rgba(212,175,55,0.2); color: var(--gold); border: 1px solid rgba(212,175,55,0.3); }
.badge-advanced { background: rgba(200,50,50,0.2); color: #e05050; border: 1px solid rgba(200,50,50,0.3); }

.course-img {
  height: 200px;
  background: linear-gradient(135deg, var(--black-mid), var(--black-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
  overflow: hidden;
}

.course-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212,175,55,0.15), transparent);
}

.course-img-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.course-card:hover .course-img-line { transform: scaleX(1); }

.course-body {
  padding: 28px;
}

.course-level {
  font-family: var(--font-tech);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 10px;
}

.course-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.course-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.course-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--gray);
}

.course-meta-item span {
  font-size: 14px;
}

.course-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-family: var(--font-tech);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.price-label {
  font-size: 10px;
  color: var(--gray);
  font-family: var(--font-body);
}

.btn-course {
  font-family: var(--font-tech);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.3s ease;
}

.btn-course:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(212,175,55,0.3);
}

/* ===== WHY APEX SECTION ===== */
#why {
  padding: 120px 60px;
  background: var(--black);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--black-card);
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}

.why-item:hover {
  border-left-color: var(--gold);
  background: rgba(212,175,55,0.04);
  transform: translateX(6px);
}

.why-number {
  font-family: var(--font-tech);
  font-size: 28px;
  font-weight: 900;
  color: rgba(212,175,55,0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
}

.why-item:hover .why-number {
  color: rgba(212,175,55,0.5);
}

.why-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.why-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

.why-visual {
  position: relative;
}

.gold-card {
  background: linear-gradient(135deg, var(--black-card), rgba(212,175,55,0.05));
  border: 1px solid rgba(212,175,55,0.2);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.gold-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}

.trading-chart {
  margin-top: 30px;
}

.chart-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 150px;
  margin-top: 20px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--gold-dark), var(--gold-light));
  border-radius: 2px 2px 0 0;
  transition: all 0.5s ease;
  position: relative;
  cursor: pointer;
}

.chart-bar:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 10px 20px;
  font-family: var(--font-tech);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-top: 30px;
}

/* ===== AI TECHNOLOGY SECTION ===== */
#technology {
  padding: 120px 60px;
  background: var(--black-soft);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(212,175,55,0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.tech-card {
  background: var(--black-soft);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.tech-card:hover {
  background: rgba(212,175,55,0.04);
}

.tech-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.tech-card:hover::after { transform: scaleX(1); }

.tech-icon-wrap {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(212,175,55,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
  position: relative;
  clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
  background: rgba(212,175,55,0.06);
  transition: all 0.3s ease;
}

.tech-card:hover .tech-icon-wrap {
  background: rgba(212,175,55,0.15);
  border-color: var(--gold);
}

.tech-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}

.tech-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.tech-tag {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--gold-dark);
  border: 1px solid rgba(212,175,55,0.2);
  padding: 4px 12px;
  margin: 4px 2px;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
  padding: 120px 60px;
  background: var(--black);
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 100px, black calc(100% - 100px), transparent);
}

.testimonials-inner {
  display: flex;
  gap: 24px;
  animation: testimonialScroll 30s linear infinite;
  flex-shrink: 0;
}

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

.testimonial-card {
  background: var(--black-card);
  border: 1px solid rgba(212,175,55,0.12);
  padding: 36px;
  min-width: 360px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(212,175,55,0.35);
}

.testimonial-quote {
  font-size: 40px;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.author-role {
  font-family: var(--font-tech);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-top: 2px;
}

.testimonial-stars {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 2px;
}

/* ===== GOLD FACTS SECTION ===== */
#goldfacts {
  padding: 120px 60px;
  background: linear-gradient(135deg, var(--black), var(--black-soft));
  position: relative;
}

.goldfacts-bg {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(212,175,55,0.02) 0px,
    rgba(212,175,55,0.02) 1px,
    transparent 1px,
    transparent 40px
  );
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.fact-card {
  background: var(--black-card);
  border: 1px solid rgba(212,175,55,0.12);
  padding: 40px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.fact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(to bottom, var(--gold-light), var(--gold-dark));
  transition: height 0.4s ease;
}

.fact-card:hover::before { height: 100%; }

.fact-card:hover {
  border-color: rgba(212,175,55,0.3);
  transform: translateX(4px);
}

.fact-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.fact-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.fact-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
}

/* ===== CTA SECTION ===== */
#cta {
  padding: 120px 60px;
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.06) 0%, transparent 70%);
}

.cta-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(212,175,55,0.08);
  border-radius: 50%;
  animation: cta-pulse 4s ease-in-out infinite;
}

.cta-ring-1 { width: 400px; height: 400px; }
.cta-ring-2 { width: 600px; height: 600px; animation-delay: 0.8s; }
.cta-ring-3 { width: 800px; height: 800px; animation-delay: 1.6s; }

@keyframes cta-pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.02); }
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 16px;
  color: var(--gray-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 0 auto 30px;
}

.cta-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.3);
  border-right: none;
  color: var(--white);
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.cta-input::placeholder { color: var(--gray); }
.cta-input:focus { border-color: var(--gold); }

.cta-submit {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  border: none;
  color: var(--black);
  padding: 16px 32px;
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-submit:hover {
  box-shadow: 0 5px 25px rgba(212,175,55,0.4);
  transform: translateY(-1px);
}

/* ===== FOOTER ===== */
footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(212,175,55,0.15);
  padding: 80px 60px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-logo-wrap img {
  height: 48px;
  filter: drop-shadow(0 0 10px rgba(212,175,55,0.3));
}

.footer-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212,175,55,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
}

.social-btn:hover {
  background: rgba(212,175,55,0.1);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '›';
  color: var(--gold-dark);
  font-size: 16px;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-copyright {
  font-size: 11px;
  color: var(--gray);
  font-family: var(--font-tech);
  letter-spacing: 2px;
}

.footer-legal {
  display: flex;
  gap: 30px;
}

.footer-legal a {
  font-size: 11px;
  color: var(--gray);
  text-decoration: none;
  font-family: var(--font-tech);
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.footer-legal a:hover { color: var(--gold); }

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

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

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

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

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

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

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

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

/* DELAY CLASSES */
.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; }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

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

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 3px;
  transition: color 0.3s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid { gap: 60px; }
}

@media (max-width: 768px) {
  #navbar { padding: 16px 24px; }
  #navbar.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  #hero { min-height: 100svh; }
  #stats { padding: 60px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  #about { padding: 80px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-features { grid-template-columns: 1fr; }
  #courses { padding: 80px 24px; }
  .courses-grid { grid-template-columns: 1fr; }
  #why { padding: 80px 24px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  #technology { padding: 80px 24px; }
  .tech-grid { grid-template-columns: 1fr; }
  #testimonials { padding: 80px 24px; }
  #goldfacts { padding: 80px 24px; }
  .facts-grid { grid-template-columns: 1fr; }
  #cta { padding: 80px 24px; }
  .cta-form { flex-direction: column; }
  .cta-input { border-right: 1px solid rgba(212,175,55,0.3); }
  footer { padding: 60px 24px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}