/* ===== 1. MDX AUTHENTIC FONTS (@font-face) ===== */
@font-face {
  font-family: 'Aventa';
  src: url('./fonts/Aventa-Light.woff') format('woff'),
       url('https://mdx.so/fonts/aventa/Aventa-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('./fonts/Aventa-Regular.woff') format('woff'),
       url('https://mdx.so/fonts/aventa/Aventa-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('./fonts/Aventa-Medium.woff') format('woff'),
       url('https://mdx.so/fonts/aventa/Aventa-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('./fonts/Aventa-SemiBold.woff') format('woff'),
       url('https://mdx.so/fonts/aventa/Aventa-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('./fonts/Aventa-Bold.woff') format('woff'),
       url('https://mdx.so/fonts/aventa/Aventa-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aventa';
  src: url('./fonts/Aventa-ExtraBold.woff') format('woff'),
       url('https://mdx.so/fonts/aventa/Aventa-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orlean';
  src: url('./fonts/Orlean-Regular.woff') format('woff'),
       url('https://mdx.so/fonts/orlean/Orlean-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Orlean';
  src: url('./fonts/Orlean-Medium.woff') format('woff'),
       url('https://mdx.so/fonts/orlean/Orlean-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Orlean';
  src: url('./fonts/Orlean-Semibold.woff') format('woff'),
       url('https://mdx.so/fonts/orlean/Orlean-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Orlean';
  src: url('./fonts/Orlean-Bold.woff') format('woff'),
       url('https://mdx.so/fonts/orlean/Orlean-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Orlean';
  src: url('./fonts/Orlean-Bold.woff') format('woff'),
       url('https://mdx.so/fonts/orlean/Orlean-Bold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

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

:root {
  /* MDX.so Authentic Design Tokens */
  --primary: #ff8200;
  --primary-light: #ffa133;
  --primary-dark: #e06c00;
  --primary-gradient: linear-gradient(135deg, #ff8200, #ff6711);
  --dark-btn: #101820;
  --dark-btn-hover: #1b2631;
  
  /* Backgrounds matching MDX studio slate grey */
  --bg: #c1c5c9;
  --bg-alt: #b6bac0;
  --card-bg: rgba(255, 255, 255, 0.88);
  
  /* Typography */
  --text: #101820;
  --text-secondary: #565d64;
  
  /* Accents */
  --accent: #ff8200;
  --accent-orange: #ff6711;
  --success: #10b981;
  --whatsapp: #25D366;
  --footer-bg: #0d131a;
  
  /* Shadows & Radius */
  --shadow-sm: 0 4px 20px rgba(16, 24, 32, 0.08);
  --shadow-md: 0 10px 36px rgba(16, 24, 32, 0.14);
  --shadow-lg: 0 20px 60px rgba(16, 24, 32, 0.22);
  --radius: 16px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
body {
  font-family: 'Aventa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
h1,h2 { font-family: 'Orlean', Georgia, 'Times New Roman', serif; letter-spacing: -0.015em; color: var(--text); }
h3,h4,h5 { font-family: 'Aventa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); }
.container { max-width: 1400px; margin: 0 auto; padding: 0 max(24px, 3.5vw); width: 100%; box-sizing: border-box; }


/* ===== 2. SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #b6bac0; }
::-webkit-scrollbar-thumb { background: #101820; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== 3. PRELOADER ===== */
.preloader {
  position: fixed; inset: 0; background: var(--bg);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999; transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { position: relative; display: flex; justify-content: center; align-items: center; width: 150px; height: 150px; }
.preloader-inner .preloader-logo-img { max-width: 90px; z-index: 2; animation: pulse 1.5s ease-in-out infinite; filter: drop-shadow(0 4px 16px rgba(16,24,32,0.25)); }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05);opacity:.85} }
.preloader-spinner { position: absolute; inset: -5px; border: 3px solid rgba(16,24,32,0.1); border-top: 3px solid var(--primary); border-right: 3px solid var(--primary-light); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }

/* ===== 4. NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 16px 0; transition: var(--transition); }
.navbar.scrolled { background: rgba(193, 197, 201, 0.92); backdrop-filter: blur(16px); box-shadow: var(--shadow-sm); padding: 10px 0; border-bottom: 1px solid rgba(16,24,32,0.06); }
.nav-container { max-width: 1440px; margin: 0 auto; padding: 0 max(24px, 3.5vw); display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; border: none; outline: none; background: transparent; text-decoration: none; }
.nav-logo .logo-img { max-height: 48px; width: auto; object-fit: contain; border: none; outline: none; background: transparent; box-shadow: none; border-radius: 0; filter: none; }
.nav-brand-text { display: flex; flex-direction: column; justify-content: center; }
.nav-brand-name { font-family: 'Aventa', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; line-height: 1.15; }
.nav-brand-name strong { font-weight: 800; color: var(--primary); }
.nav-brand-tagline { font-family: 'Aventa', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 8.5px; font-weight: 700; letter-spacing: 1.6px; color: var(--text-secondary); text-transform: uppercase; margin-top: 3px; display: block; opacity: 0.85; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 8px 16px; font-size: 15px; font-weight: 500; color: var(--text-secondary); border-radius: 8px; transition: var(--transition); position: relative; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link::after { content:''; position:absolute; bottom:2px; left:50%; transform:translateX(-50%); width:0; height:2px; background: var(--primary); border-radius:10px; transition:var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 22px; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; background: var(--dark-btn); color: #fff; font-weight: 600; font-size: 14px; border-radius: 50px; transition: var(--transition); box-shadow: 0 4px 18px rgba(16,24,32,0.25); border: 1px solid rgba(255,255,255,0.1); white-space: nowrap; }
.nav-cta i { color: var(--primary); transition: transform 0.3s ease; }
.nav-cta:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 25px rgba(255,130,0,0.35); }
.nav-cta:hover i { color: #fff; transform: translateX(3px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 10px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== 5. HERO ===== */
.hero {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 16px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; width: 100%; max-width: 100%; }
.shape { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.4); mix-blend-mode: overlay; }
.shape-1 { width: 500px; height: 500px; top: -150px; left: -100px; background: radial-gradient(circle, rgba(255,255,255,0.6), transparent 70%); }
.shape-2 { width: 350px; height: 350px; bottom: 50px; right: -80px; background: radial-gradient(circle, rgba(255,130,0,0.12), transparent 70%); }
.shape-3 { width: 200px; height: 200px; top: 40%; left: 50%; background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 70%); }
.shape-dot-grid { width: 220px; height: 220px; top: 20%; right: 15%; background: radial-gradient(circle, rgba(16,24,32,0.12) 1.2px, transparent 1.2px); background-size: 20px 20px; border-radius: 0; opacity: 0.6; }

/* Decorative Elements from Brand Mockup */
.hero-bg-circle-arc {
  position: absolute;
  top: -12%;
  right: -10%;
  width: 950px;
  height: 950px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 130, 0, 0.4);
  pointer-events: none;
  z-index: 1;
  animation: pulseArc 10s ease-in-out infinite alternate;
}
@keyframes pulseArc {
  0% { transform: scale(1) rotate(0deg); border-color: rgba(255, 130, 0, 0.3); }
  50% { transform: scale(1.025) rotate(2deg); border-color: rgba(255, 130, 0, 0.65); box-shadow: 0 0 50px rgba(255, 130, 0, 0.12); }
  100% { transform: scale(1) rotate(0deg); border-color: rgba(255, 130, 0, 0.3); }
}

.hero-bg-chart-watermark {
  position: absolute;
  bottom: 30px;
  right: -10px;
  width: 650px;
  height: 480px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  animation: chartFloat 8s ease-in-out infinite alternate;
}
@keyframes chartFloat {
  0% { transform: translateY(0); opacity: 0.5; }
  100% { transform: translateY(-10px); opacity: 0.7; }
}

.hero-accent-star {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  animation: starSparkle 3s ease-in-out infinite alternate;
}
.star-tr {
  top: 100px;
  right: 70px;
  width: 28px;
  height: 28px;
}
.star-bl {
  bottom: 90px;
  left: 45px;
  width: 24px;
  height: 24px;
  animation-delay: 1.5s;
}
@keyframes starSparkle {
  0% { transform: scale(0.85) rotate(0deg); opacity: 0.75; filter: drop-shadow(0 0 4px rgba(255,130,0,0.3)); }
  100% { transform: scale(1.2) rotate(15deg); opacity: 1; filter: drop-shadow(0 0 14px rgba(255,130,0,0.85)); }
}

.hero-accent-bolt {
  position: absolute;
  bottom: 130px;
  right: 48px;
  z-index: 3;
  pointer-events: none;
  animation: boltPulse 2.5s ease-in-out infinite alternate;
  transition: opacity 0.3s ease;
}
body.fab-open .hero-accent-bolt {
  opacity: 0.2;
}
@keyframes boltPulse {
  0% { transform: scale(0.95) translateY(0); filter: drop-shadow(0 0 6px rgba(255,130,0,0.4)); }
  100% { transform: scale(1.12) translateY(-6px); filter: drop-shadow(0 0 20px rgba(255,130,0,0.9)); }
}

.hero-dot-grid {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.grid-tr {
  top: 50px;
  right: 40px;
  width: 140px;
  height: 100px;
  background-image: radial-gradient(circle, rgba(16, 24, 32, 0.16) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}
.grid-bl {
  bottom: 60px;
  left: 30px;
  width: 140px;
  height: 110px;
  background-image: radial-gradient(circle, rgba(255, 130, 0, 0.28) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: auto auto; /* Vertically centers hero-container in available space */
  padding: clamp(8px, 1.8vh, 20px) max(24px, 3.5vw);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 3.5vw, 52px);
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(16,24,32,0.08);
  color: var(--text);
  border: 1px solid rgba(16,24,32,0.1);
  border-radius: 50px;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: clamp(10px, 1.6vh, 18px);
  animation: fadeInUp 0.6s ease both;
}
.hero-badge i { color: var(--primary); }
.hero-title {
  margin-bottom: clamp(10px, 1.8vh, 18px);
  animation: fadeInUp 0.6s ease 0.1s both;
  color: var(--text);
}
.title-line-1 {
  display: block;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.title-line-2 {
  display: block;
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}
.title-line-3 {
  display: block;
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}
.gradient-text { background: linear-gradient(135deg, #101820 30%, #ff8200 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description {
  font-size: clamp(14px, 1.15vw, 16px);
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: clamp(12px, 2vh, 20px);
  line-height: 1.65;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(14px, 2.2vh, 20px);
  animation: fadeInUp 0.6s ease 0.3s both;
}
.trust-avatars { display: flex; align-items: center; gap: 4px; color: #f59e0b; }
.trust-avatars i { color: #f59e0b; font-size: 15px; }
.trust-avatar { font-size: 15px; color: #f59e0b; }
.trust-text { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }
.trust-text strong { color: var(--text); }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
  animation: fadeInUp 0.6s ease 0.35s both;
}
.hero-sublink {
  font-family: 'Aventa', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.hero-sublink:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Hero Visual - Creative Style */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; animation: fadeIn 0.8s ease 0.3s both; }
.hero-image-creative { position: relative; width: clamp(340px, 28vw, 420px); height: clamp(340px, 28vw, 420px); display: flex; justify-content: center; align-items: center; }

/* Decorative Rings */
.creative-ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(16,24,32,0.18); }
.ring-outer { width: 100%; height: 100%; animation: spinSlow 30s linear infinite; }
.ring-inner { width: 85%; height: 85%; border-style: dotted; border-color: rgba(255,130,0,0.35); animation: spinSlow 25s linear infinite reverse; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* Decorative Dots */
.creative-dots { position: absolute; width: 60px; height: 60px; background: radial-gradient(circle, var(--primary) 2px, transparent 2px); background-size: 12px 12px; opacity: 0.4; }
.dots-top { top: 10px; right: 30px; }
.dots-bottom { bottom: 20px; left: 10px; }

/* Decorative Shapes */
.creative-shape { position: absolute; z-index: 6; animation: float 4s ease-in-out infinite; }
.shape-star { top: 25px; left: 40px; color: var(--primary); font-size: 20px; animation-delay: 0s; }
.shape-diamond { bottom: 50px; right: 20px; color: var(--text); font-size: 16px; animation-delay: 1.5s; }
.shape-bolt { top: 50%; right: 0; color: var(--primary); font-size: 22px; animation-delay: 0.8s; }

/* Main Photo Frame - Circular */
.hero-photo-frame { width: clamp(260px, 21vw, 320px); height: clamp(260px, 21vw, 320px); border-radius: 50%; overflow: hidden; position: relative; z-index: 2; border: 5px solid #ffffff; box-shadow: 0 18px 50px rgba(16,24,32,0.2), 0 0 0 10px rgba(255,130,0,0.12); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(1.08) contrast(1.05); transition: transform 0.5s ease; }
.hero-photo-frame:hover .hero-photo { transform: scale(1.05); }

.hero-image-decoration { position: absolute; top: -30px; right: -40px; z-index: 3; }
.hero-float-card { position: absolute; background: var(--card-bg); backdrop-filter: blur(12px); padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px; z-index: 5; border: 1px solid rgba(255,255,255,0.6); }
.hero-float-card .float-card-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; flex-shrink: 0; }
.card-1 .float-card-icon { background: var(--dark-btn); color: var(--primary); }
.card-2 .float-card-icon { background: var(--primary); }
.card-3 .float-card-icon { background: var(--text); }
.float-card-number { display: block; font-size: 18px; font-weight: 800; color: var(--text); line-height: 1.2; }
.float-card-label { font-size: 11.5px; color: var(--text-secondary); }
.card-1 { top: 6%; right: -8%; animation: float 4s ease-in-out infinite; }
.card-2 { bottom: 18%; left: -10%; animation: float 5s ease-in-out 1s infinite; }
.card-3 { bottom: 0; right: 4%; animation: float 4.5s ease-in-out 2s infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ===== Bottom Ticker / Sub-Header Navigation Bar (Mentorship • Mastery • Freedom) ===== */
.hero-bottom-ticker {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 5;
  box-sizing: border-box;
  padding: 6px 16px 14px;
  clear: both;
}
.ticker-text {
  font-family: 'Aventa', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
  line-height: 1.4;
}
.ticker-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  padding: 3px 8px;
  border-radius: 6px;
}
.ticker-link:hover {
  color: var(--primary);
  background: rgba(255, 130, 0, 0.08);
}
.ticker-bullet {
  color: var(--primary);
  font-weight: 800;
  margin: 0 2px;
  user-select: none;
}
.ticker-track {
  width: 280px;
  max-width: min(280px, 80vw);
  height: 2px;
  background: rgba(16, 24, 32, 0.14);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.ticker-thumb {
  position: absolute;
  top: 0;
  left: 35%;
  width: 30%;
  height: 2px;
  background: var(--primary);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(255, 130, 0, 0.85);
  animation: tickerSlide 4s ease-in-out infinite alternate;
}
@keyframes tickerSlide {
  0% { left: 20%; width: 25%; }
  50% { left: 52%; width: 35%; }
  100% { left: 24%; width: 28%; }
}

/* ===== 6. BRANDS BAR ===== */
.brands-bar { background: var(--bg-alt); padding: 40px 0; border-top: 1px solid rgba(16,24,32,0.08); border-bottom: 1px solid rgba(16,24,32,0.08); overflow: hidden; }
.brands-label { text-align: center; font-size: 14px; color: var(--text); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; }
.brands-track { overflow: hidden; }
.brands-slide { display: flex; gap: 50px; animation: slideLeft 30s linear infinite; width: max-content; }
.brand-item { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--text-secondary); opacity: 0.75; white-space: nowrap; transition: var(--transition); }
.brand-item i { font-size: 22px; color: var(--text); }
.brand-item:hover { opacity: 1; color: var(--primary); }
.brand-item:hover i { color: var(--primary); }
@keyframes slideLeft { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===== 7. BUTTONS (MDX Capsule Style) ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; font-family: 'Aventa', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 15px; font-weight: 600; border-radius: 50px; border: none; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--dark-btn); color: #fff; box-shadow: 0 4px 18px rgba(16,24,32,0.25); border: 1px solid rgba(255,255,255,0.08); }
.btn-primary i { color: var(--primary); transition: transform 0.3s ease; }
.btn-primary:hover { background: var(--primary); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,130,0,0.35); }
.btn-primary:hover i { color: #fff; transform: translateX(3px); }

.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.btn-ghost { background: rgba(16,24,32,0.06); color: var(--text); padding: 14px 20px; border: 1px solid rgba(16,24,32,0.08); }
.btn-ghost i { color: var(--primary); }
.btn-ghost:hover { background: rgba(16,24,32,0.12); color: var(--text); }

.btn-white { background: #ffffff; color: var(--dark-btn); box-shadow: 0 4px 18px rgba(0,0,0,0.15); font-weight: 700; }
.btn-white i { color: var(--primary); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.25); background: var(--primary); color: #fff; }
.btn-white:hover i { color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ===== 7B. DYNAMIC SWAPPING BUTTONS & LINKS ===== */
.swap-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 50px;
  min-width: 232px;
}

.swap-btn .swap-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.swap-btn .swap-content:not(.active) {
  position: absolute;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.swap-btn .swap-content.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.swap-btn .swap-content[data-platform="whatsapp"] i:first-child {
  color: #25D366;
  font-size: 18px;
}

.swap-btn .swap-content[data-platform="discord"] i:first-child {
  color: #5865F2;
  font-size: 17px;
}

.swap-btn:hover .swap-content i:first-child {
  color: #ffffff;
}

/* Hero Swap Link */
.swap-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 24px;
}

.swap-link .swap-link-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.swap-link .swap-link-item:not(.active) {
  position: absolute;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.swap-link .swap-link-item.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.swap-link .swap-link-item[data-platform="discord"] i {
  color: #5865F2;
}

.swap-link .swap-link-item[data-platform="whatsapp"] i {
  color: #25D366;
}

.secondary-whatsapp-link.swap-link .swap-link-item[data-platform="discord"] {
  color: #5865F2 !important;
}

.secondary-whatsapp-link.swap-link:hover .swap-link-item[data-platform="discord"] {
  color: #7983f5 !important;
}

.secondary-whatsapp-link.swap-link .swap-link-item[data-platform="whatsapp"] {
  color: #128C7E !important;
}

.secondary-whatsapp-link.swap-link:hover .swap-link-item[data-platform="whatsapp"] {
  color: #25D366 !important;
}

/* ===== 8. SECTION STYLES ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-flex; align-items: center; justify-content: center; padding: 6px 18px; background: rgba(16,24,32,0.08); color: var(--text); border: 1px solid rgba(16,24,32,0.1); border-radius: 50px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; max-width: 100%; box-sizing: border-box; }
.section-title { font-size: clamp(28px,4vw,42px); font-weight: 800; margin-bottom: 16px; color: var(--text); }
.section-title.text-left { text-align: left; }
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 550px; margin: 0 auto; }

/* ===== 9. SERVICES ===== */
.services { background: var(--bg-alt); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { background: var(--card-bg); backdrop-filter: blur(12px); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); transition: all 0.4s cubic-bezier(0.4,0,0.2,1); border: 1px solid rgba(255,255,255,0.6); border-top: 4px solid transparent; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-top-color: var(--primary); background: #ffffff; }
.service-icon-wrap { width: 60px; height: 60px; border-radius: 50%; background: rgba(16,24,32,0.06); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 24px; margin-bottom: 20px; transition: var(--transition); border: 1px solid rgba(16,24,32,0.08); }
.service-card:hover .service-icon-wrap { background: var(--dark-btn); color: var(--primary); }
.service-name { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.service-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 700; font-size: 14px; transition: var(--transition); }
.service-link i { color: var(--primary); transition: transform 0.3s ease; }
.service-link:hover { color: var(--primary); gap: 10px; }
.service-link:hover i { transform: translateX(3px); }

/* ===== 10. ABOUT ===== */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; }
.about-image-col { position: relative; }
.about-image-wrapper { position: relative; padding: 20px; }
.about-image-main { width: 80%; border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%; overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid #ffffff; position: relative; z-index: 2; }
.about-image-main img { width: 100%; height: 420px; object-fit: cover; object-position: center top; filter: brightness(1.05); }
.about-image-secondary { position: absolute; bottom: 0; right: 0; width: 45%; border-radius: 50%; overflow: hidden; border: 5px solid #ffffff; box-shadow: var(--shadow-md); z-index: 3; }
.about-image-secondary img { width: 100%; height: 200px; object-fit: cover; object-position: center; filter: brightness(1.1); }
.about-experience-badge { position: absolute; bottom: 60px; left: -10px; background: var(--dark-btn); color: #fff; padding: 20px 24px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-md); z-index: 4; border: 1px solid rgba(255,255,255,0.1); animation: float 4s ease-in-out infinite; }
.exp-number { font-size: 36px; font-weight: 900; line-height: 1; color: var(--primary); }
.exp-plus { font-size: 24px; font-weight: 700; color: var(--primary); }
.exp-text { display: block; font-size: 13px; font-weight: 500; margin-top: 4px; color: #d1d5db; }
.about-decorations { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.about-dec-dots { position: absolute; top: -20px; right: 20px; width: 80px; height: 80px; background: radial-gradient(circle, rgba(16,24,32,0.15) 1.5px, transparent 1.5px); background-size: 12px 12px; }
.about-dec-circle { position: absolute; bottom: -40px; left: 40%; width: 80px; height: 80px; border: 3px solid rgba(255,130,0,0.25); border-radius: 50%; }
.about-content-col .section-tag { display: inline-block; }
.about-heading { font-size: 28px; font-weight: 800; margin-bottom: 20px; color: var(--text); }
.about-text { color: var(--text-secondary); font-size: 15px; margin-bottom: 16px; line-height: 1.8; }
.about-text strong { color: var(--text); font-weight: 700; }
.about-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 32px 0; }
.about-stat { text-align: center; padding: 20px 12px; background: var(--card-bg); backdrop-filter: blur(8px); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.6); box-shadow: var(--shadow-sm); }
.stat-num { font-size: 32px; font-weight: 800; color: var(--text); display: inline; }
.stat-plus { font-size: 20px; font-weight: 700; color: var(--primary); }
.stat-label { display: block; font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* ===== 11. COURSES ===== */
.courses { background: var(--bg-alt); }
.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.course-card { background: var(--card-bg); backdrop-filter: blur(12px); border-radius: 20px; padding: 36px; box-shadow: var(--shadow-sm); border: 2px solid rgba(255,255,255,0.7); position: relative; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); background: #ffffff; }
.course-card.featured { border-color: var(--primary); transform: scale(1.05); box-shadow: var(--shadow-md); background: #ffffff; }
.course-card.featured:hover { transform: scale(1.05) translateY(-5px); }
.course-badge { position: absolute; top: 16px; right: 16px; background: var(--dark-btn); color: var(--primary); border: 1px solid rgba(255,255,255,0.1); padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.course-card.featured .course-badge { background: var(--primary-gradient); color: #fff; }
.course-icon { font-size: 40px; color: var(--primary); margin-bottom: 20px; text-align: center; }
.course-name { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 12px; color: var(--text); }
.course-desc { font-size: 14px; color: var(--text-secondary); text-align: center; margin-bottom: 24px; line-height: 1.7; }
.course-features { flex-grow: 1; margin-bottom: 28px; }
.course-features li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--text-secondary); border-bottom: 1px solid rgba(16,24,32,0.06); }
.course-features li i { color: var(--primary); font-size: 13px; }
.course-price { text-align: center; margin-bottom: 24px; }
.price-currency { font-size: 20px; font-weight: 700; color: var(--primary); vertical-align: top; }
.price-amount { font-size: 48px; font-weight: 900; color: var(--text); }
.price-period { font-size: 14px; color: var(--text-secondary); }

/* ===== 12. PORTFOLIO ===== */
.portfolio { background: var(--bg); }
/* Quick-Action Ad Referral Strip */
.broker-ad-strip {
  background: #ffffff;
  border: 1.5px solid rgba(255, 130, 0, 0.28);
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 34px;
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.05), 0 0 0 1px rgba(255, 130, 0, 0.1);
  box-sizing: border-box;
}
.ad-strip-header {
  text-align: center;
  margin-bottom: 20px;
}
.ad-strip-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 130, 0, 0.12);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.ad-strip-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}
.ad-broker-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ad-broker-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--card-bg);
  border: 1.5px solid rgba(16, 24, 32, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  box-sizing: border-box;
}
.ad-broker-btn:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 130, 0, 0.2);
  background: #ffffff;
}
.ad-btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--dark-btn);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  transition: var(--transition);
}
.ad-broker-btn:hover .ad-btn-icon {
  background: var(--primary);
  color: #ffffff;
}
.ad-btn-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}
.ad-broker-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.ad-code-badge {
  font-size: 11.5px;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 3px;
}
.ad-code-badge strong {
  color: var(--primary);
  font-weight: 800;
}
.ad-btn-action {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* Portfolio Filters */
.portfolio-filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.filter-btn { padding: 9px 24px; border-radius: 50px; border: 1.5px solid rgba(16,24,32,0.12); background: var(--card-bg); color: var(--text-secondary); font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); outline: none; }
.filter-btn:hover { background: var(--primary); color: #ffffff; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 130, 0, 0.4); }
.filter-btn.active { background: var(--dark-btn); color: #ffffff; border-color: var(--dark-btn); box-shadow: 0 4px 15px rgba(16,24,32,0.25); }
.filter-btn.active:hover { background: var(--primary); border-color: var(--primary); color: #ffffff; box-shadow: 0 6px 18px rgba(255, 130, 0, 0.45); }

/* Portfolio / Broker Cards Grid */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(16, 24, 32, 0.06);
  border: 1.5px solid rgba(16, 24, 32, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}
.portfolio-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 12px 36px rgba(16, 24, 32, 0.12), 0 0 0 1px rgba(255, 130, 0, 0.3);
}
.portfolio-item.hidden-item { display: none; }
.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 180px;
  width: 100%;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover .portfolio-image img {
  transform: scale(1.06);
}
.broker-top-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(16, 24, 32, 0.88);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 130, 0, 0.35);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,24,32,0.94), rgba(16,24,32,0.4) 60%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.35s ease;
  z-index: 3;
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-overlay h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}
.portfolio-overlay p {
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.overlay-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}
.overlay-cta-link:hover {
  text-decoration: underline;
}

/* Broker Card Body */
.broker-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff;
  box-sizing: border-box;
}
.broker-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}
.broker-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.broker-title i {
  color: var(--primary);
  font-size: 15px;
}
.broker-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(255, 130, 0, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.broker-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* Copyable Referral Code Bar */
.broker-referral-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 24, 32, 0.035);
  border: 1px dashed rgba(16, 24, 32, 0.18);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 14px;
  gap: 8px;
}
.ref-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.ref-code-box {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border: 1px solid rgba(16, 24, 32, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  user-select: all;
}
.ref-code-box:hover {
  border-color: var(--primary);
  background: rgba(255, 130, 0, 0.06);
}
.ref-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.btn-copy-ref {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  display: flex;
  align-items: center;
}
.ref-code-box:hover .btn-copy-ref {
  color: var(--primary);
}

/* Direct Broker Action Buttons */
.btn-broker-action {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--dark-btn);
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}
.btn-broker-action:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 130, 0, 0.35);
}
.btn-broker-action i {
  font-size: 12px;
  transition: transform 0.2s ease;
}
.btn-broker-action:hover i {
  transform: translateX(3px);
}
.btn-broker-whatsapp {
  background: var(--dark-btn);
  border-color: rgba(37, 211, 102, 0.3);
}
.btn-broker-whatsapp i {
  color: #25D366;
  font-size: 14px;
}
.btn-broker-whatsapp:hover {
  background: #25D366 !important;
  color: #ffffff;
  border-color: #25D366 !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35) !important;
}
.btn-broker-whatsapp:hover i {
  color: #ffffff;
}

/* Floating Toast Notification */
.ad-ref-toast {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #101820;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 130, 0, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 130, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.ad-ref-toast i {
  color: var(--primary);
  font-size: 16px;
}
.ad-ref-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ===== 13. TESTIMONIALS ===== */
.testimonials { background: var(--bg-alt); }
.testimonials-slider { position: relative; overflow: hidden; }
.testimonial-track { display: flex; gap: 24px; transition: transform 0.5s ease; }
.testimonial-card { flex: 0 0 calc(33.3333% - 16px); margin: 0; background: var(--card-bg); backdrop-filter: blur(12px); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,0.7); box-sizing: border-box; }
.testimonial-stars { color: var(--primary); margin-bottom: 16px; display: flex; gap: 3px; font-size: 16px; }
.testimonial-text { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--dark-btn); color: var(--primary); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.author-name { font-weight: 700; font-size: 16px; color: var(--text); }
.author-role { font-size: 13px; color: var(--text-secondary); }
.testimonial-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.test-nav-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--text); background: transparent; color: var(--text); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.test-nav-btn:hover { background: var(--text); color: #fff; }
.test-dots { display: flex; gap: 8px; }
.test-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(16,24,32,0.2); cursor: pointer; transition: var(--transition); }
.test-dots .dot.active { background: var(--dark-btn); width: 28px; border-radius: 10px; }

/* ===== 14. CTA BANNER (MDX High Contrast) ===== */
.cta-banner { background: linear-gradient(135deg, #101820 0%, #17212b 100%); padding: 50px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.cta-content { max-width: 600px; margin: 0 auto; }
.cta-icon { font-size: 48px; color: var(--primary); margin-bottom: 20px; }
.cta-title { font-size: clamp(28px,4vw,36px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta-text { font-size: 16px; color: #9ca3af; margin-bottom: 32px; }

.cta-buttons .btn-white i.fa-discord { color: #5865F2; }
.cta-buttons .btn-white i.fa-users, .cta-buttons .btn-white i.fa-bullhorn { color: #25D366; }
.cta-buttons .btn-white i.fa-linkedin-in { color: #0A66C2; }
.cta-buttons .btn-white i.fa-youtube { color: #FF0000; }
.cta-buttons .btn-white:hover i { color: #fff !important; }
/* ===== 15. CONTACT & PAYMENT ===== */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info-col { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--card-bg); backdrop-filter: blur(12px); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.7); box-shadow: var(--shadow-sm); transition: var(--transition); }
.contact-info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: #ffffff; }
.contact-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(16,24,32,0.06); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 20px; flex-shrink: 0; border: 1px solid rgba(16,24,32,0.08); }
.contact-info-card:hover .contact-icon { background: var(--dark-btn); color: var(--primary); }
.contact-label { display: block; font-size: 12px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-value { font-size: 15px; font-weight: 600; color: var(--text); transition: var(--transition); }
a.contact-value:hover { color: var(--primary); }
.social-links { display: flex; gap: 10px; margin-top: 8px; }
.social-link { width: 44px; height: 44px; border-radius: 50%; background: var(--card-bg); display: flex; align-items: center; justify-content: center; color: var(--text); font-size: 18px; transition: var(--transition); border: 1px solid rgba(16,24,32,0.1); }
.social-link:hover { background: var(--dark-btn); color: var(--primary); transform: translateY(-3px); }
.contact-form-col { background: var(--card-bg); backdrop-filter: blur(12px); padding: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.7); box-shadow: var(--shadow-sm); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 18px; background: #ffffff; border: 2px solid rgba(16,24,32,0.08); border-radius: 12px; font-family: 'Aventa', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 15px; color: var(--text); transition: var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,130,0,0.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23101820' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.btn-submit,
#formSubmitBtn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* gap-2 */
  flex-wrap: wrap;
  padding: 14px 22px;
  font-size: 15px;
  box-sizing: border-box;
  text-align: center;
}
.btn-submit .btn-text,
#formSubmitBtn .btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-submit .btn-loading,
#formSubmitBtn .btn-loading {
  display: none;
}
.btn-submit.loading .btn-text,
#formSubmitBtn.loading .btn-text,
.btn-submit.loading .fa-paper-plane,
#formSubmitBtn.loading .fa-paper-plane {
  display: none !important;
}
.btn-submit.loading .btn-loading,
#formSubmitBtn.loading .btn-loading {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px; /* gap-2 */
}

/* ===== 16. FOOTER ===== */
.footer { background: var(--footer-bg); padding: 60px 0 96px; color: #fff; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { max-width: 90px; margin-bottom: 16px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.footer-desc { font-size: 14px; color: #9ca3af; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #9ca3af; font-size: 16px; transition: var(--transition); }
.footer-socials a:hover { background: var(--primary); color: #fff; }
.footer-heading { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: #9ca3af; transition: var(--transition); }
.footer-disclaimer { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 12px; padding: 18px 24px; margin: 36px 0 24px; font-size: 12px; line-height: 1.6; color: #8a929e; }
.disclaimer-header { display: flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; font-size: 12px; letter-spacing: 0.5px; margin-bottom: 8px; }
.disclaimer-header i { font-size: 14px; }
.footer-disclaimer p strong { color: #c1c5c9; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: #8a929e; }
.footer-legal-links { display: flex; align-items: center; gap: 12px; }
.footer-legal-links a { color: #8a929e; font-size: 13px; transition: var(--transition); }
.footer-legal-links a:hover { color: var(--primary); }
.footer-legal-links span { opacity: 0.4; font-size: 10px; }

/* ===== 17. BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 24px; left: 24px; right: auto; width: 48px; height: 48px; background: var(--dark-btn); border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; color: var(--primary); font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition); box-shadow: var(--shadow-md); z-index: 50; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); color: #fff; transform: translateY(-4px); box-shadow: 0 6px 20px rgba(255,130,0,0.35); }

/* ===== 18. FLOATING SOCIAL ACTION MENU (WhatsApp & Discord) ===== */
.social-fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: auto;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Main Trigger Button */
.social-fab-toggle {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8200 0%, #e06d00 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(255, 130, 0, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0;
  outline: none;
  animation: socialFabPulse 2.5s infinite;
  box-sizing: border-box;
}

.social-fab-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(255, 130, 0, 0.6);
}

.social-fab-toggle .icon-social,
.social-fab-toggle .icon-close {
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  pointer-events: none;
  color: #ffffff;
}

.social-fab-toggle .icon-social {
  font-size: 24px;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.social-fab-toggle .icon-close {
  font-size: 22px;
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

/* Active State (When Clicked - Turns to Cross) */
.social-fab-container.active .social-fab-toggle {
  animation: none;
  background: linear-gradient(135deg, #ff8200 0%, #d95e00 100%);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 22px rgba(255, 130, 0, 0.45);
}

.social-fab-container.active .social-fab-toggle .icon-social {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

.social-fab-container.active .social-fab-toggle .icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

@keyframes socialFabPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 130, 0, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(255, 130, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 130, 0, 0); }
}

/* Floating Sub-Buttons Menu (Vertical Stack on top of cross) */
.social-fab-menu {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.85);
  transform-origin: bottom center;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s ease;
}

.social-fab-container.active .social-fab-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Individual Social Items (WhatsApp & Discord) */
.social-fab-item {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-sizing: border-box;
  opacity: 0;
  transform: scale(0.6) translateY(10px);
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.social-fab-container.active .social-fab-item {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.social-fab-container.active .social-fab-item.whatsapp-btn {
  transition-delay: 0.04s;
}

.social-fab-container.active .social-fab-item.discord-btn {
  transition-delay: 0.09s;
}

.social-fab-container.active .social-fab-item.channel-btn {
  transition-delay: 0.14s;
}

.social-fab-container.active .social-fab-item.linkedin-btn {
  transition-delay: 0.19s;
}

.social-fab-container.active .social-fab-item.youtube-btn {
  transition-delay: 0.24s;
}

.social-fab-item.whatsapp-btn {
  background: #25D366;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
}

.social-fab-item.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
}

.social-fab-item.discord-btn {
  background: #5865F2;
  font-size: 21px;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.45);
}

.social-fab-item.discord-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(88, 101, 242, 0.6);
}

.social-fab-item.channel-btn {
  background: #25D366;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
}

.social-fab-item.channel-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
}

.social-fab-item.linkedin-btn {
  background: #0a66c2;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(10, 102, 194, 0.45);
}

.social-fab-item.linkedin-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(10, 102, 194, 0.6);
}

.social-fab-item.youtube-btn {
  background: #FF0000;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.45);
}

.social-fab-item.youtube-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(255, 0, 0, 0.6);
}

/* Sleek Floating Tooltip on Desktop */
.social-fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(16, 24, 32, 0.95);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-fab-item:hover .social-fab-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ===== 19. SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* Short Desktop / Laptop Screens (<800px height): Guarantee 100vh fit with bottom ticker visible */
@media (min-width: 769px) and (max-height: 800px) {
  .hero {
    padding-top: 68px;
    padding-bottom: 10px;
  }
  .hero-container {
    padding: 6px max(20px, 3vw) 4px;
    gap: 32px;
  }
  .hero-badge {
    margin-bottom: 8px;
    padding: 5px 14px;
    font-size: 11px;
  }
  .hero-title {
    margin-bottom: 8px;
  }
  .hero-title .title-line-1 {
    font-size: 15px;
  }
  .hero-title .title-line-2,
  .hero-title .title-line-3 {
    font-size: clamp(28px, 3.2vw, 38px);
  }
  .hero-description {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 10px;
    max-width: 480px;
  }
  .hero-trust {
    margin-bottom: 10px;
  }
  .hero-image-creative {
    width: 340px;
    height: 340px;
  }
  .hero-photo-frame {
    width: 250px;
    height: 250px;
  }
  .hero-float-card {
    padding: 9px 14px;
  }
  .hero-float-card .float-card-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .float-card-number {
    font-size: 16px;
  }
  .float-card-label {
    font-size: 10.5px;
  }
  .hero-bottom-ticker {
    padding: 2px 16px 8px;
  }
}

/* Medium-Desktop Navigation (1025px - 1200px): Prevent squeezing & button wrapping */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-container {
    padding: 0 20px;
  }
  .nav-brand-name {
    font-size: 18px;
  }
  .nav-brand-tagline {
    font-size: 7.5px;
    letter-spacing: 1px;
  }
  .nav-menu {
    gap: 4px;
  }
  .nav-link {
    padding: 6px 11px;
    font-size: 14px;
  }
  .nav-cta {
    padding: 8px 18px;
    font-size: 13.5px;
    white-space: nowrap;
  }
}

/* ===== 20. RESPONSIVE ===== */
@media (max-width: 1024px) {
  /* Navigation on Medium Screens (<=1024px): Clean header + slide-out drawer */
  .nav-container {
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 40px;
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link { padding: 14px 0; font-size: 18px; width: 100%; color: var(--text); }
  .nav-link::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .nav-cta {
    display: inline-flex;
    padding: 8px 18px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 85px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-description { margin: 0 auto 20px; max-width: 500px; }
  .hero-actions { justify-content: center; margin-bottom: 24px; }
  .hero-trust { justify-content: center; margin-bottom: 18px; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .hero-image-creative { width: 360px; height: 360px; }
  .hero-photo-frame { width: 280px; height: 280px; }
  .card-1 { top: 5%; right: -5%; }
  .card-2 { bottom: 20%; left: -5%; }
  .card-3 { bottom: 0; right: 2%; }
  .hero-bottom-ticker {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 20px auto 0;
    width: 100%;
    max-width: 100%;
  }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-image-wrapper { max-width: 400px; margin: 0 auto; }
  .about-stats { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .courses-grid { grid-template-columns: repeat(2,1fr); }
  .course-card.featured { transform: none; }
  .course-card.featured:hover { transform: translateY(-5px); }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  /* Prevent horizontal overflow across all section containers */
  body, html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nav-container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Fixed Mobile Drawer using transform to eliminate horizontal scrollbar */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 40px;
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link { padding: 14px 0; font-size: 18px; width: 100%; color: var(--text); }
  .nav-link::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  
  /* =========================================================
     HERO SECTION MOBILE OPTIMIZATION (< 768px)
     - Compact padding/margins to eliminate screen cut-off
     - Hidden background rings & clutter
     - Scaled, fully responsive image container & floating badges
     ========================================================= */

  /* 1. Header to Hero Top Distance & Section Padding */
  .hero-section,
  .hero {
    min-height: auto !important;
    padding-top: 96px !important; /* 64px fixed nav offset + 32px top breathing room */
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }
  .hero-container {
    padding: 0 20px !important;
    text-align: center;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    overflow: visible;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  /* Compact Pill Badge */
  .hero-badge {
    margin: 0 auto 12px;
    font-size: 11px;
    padding: 5px 14px;
    letter-spacing: 0.8px;
    max-width: 92vw;
  }

  /* Compact Headlines - Reduced Margins, Side Breathing Room & Fluid Sizing */
  .hero-title {
    width: 100%;
    max-width: 340px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 10px;
    box-sizing: border-box !important;
  }
  .hero-title .title-line-1 {
    font-size: 13.5px;
    letter-spacing: 1.2px;
    margin-bottom: 3px;
    font-weight: 700;
    color: var(--primary);
  }
  .hero-title .title-line-2,
  .hero-title .title-line-3 {
    font-size: clamp(23px, 6.2vw, 29px);
    line-height: 1.15;
  }

  /* Compact Description - Capped at 2 lines on small screens with side breathing room */
  .hero-description {
    font-size: 13px;
    line-height: 1.45;
    margin: 0 auto 10px;
    max-width: 340px !important;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box !important;
  }

  /* Compact Centered Social Proof Rating Component (Above CTA) */
  .hero-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    margin: 0 auto 10px;
    width: 100%;
    max-width: 340px;
  }
  .trust-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #f59e0b;
  }
  .trust-avatars i {
    font-size: 13px;
    color: #f59e0b;
  }
  .trust-text {
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    color: var(--text-secondary);
    margin: 0 auto;
    max-width: 300px;
  }

  /* Single High-Contrast Full-Width CTA Button & Secondary WhatsApp Text Link */
  .cta-container,
  .hero-actions,
  .cta-buttons-wrapper,
  .hero-cta-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 4px auto 18px !important;
    gap: 10px !important;
  }
  .hero-actions .btn-cta-main,
  .btn-cta-main {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
    padding: 13px 22px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 18px rgba(16,24,32,0.25) !important;
    border-radius: 50px !important;
  }
  .secondary-whatsapp-link,
  .hero-sublink {
    font-family: 'Aventa', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #128C7E !important; /* Elegant readable WhatsApp green */
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    margin-top: 4px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: all 0.2s ease !important;
  }
  .swap-link {
    width: 100% !important;
    justify-content: center !important;
  }
  .swap-link .swap-link-item {
    font-size: 13px !important;
  }
  .swap-btn {
    min-width: 220px;
    max-width: 290px;
  }
  .secondary-whatsapp-link:hover,
  .hero-sublink:hover {
    color: #25D366 !important;
    text-decoration: underline !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* Scale & Constrain Hero Image Card */
  .hero-visual,
  .hero-image-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    max-width: 270px !important;
    margin: 4px auto 12px !important;
    position: relative !important;
    box-sizing: border-box;
    overflow: visible;
  }
  .hero-image-creative {
    width: auto;
    max-width: 100%;
    height: auto;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-photo-frame {
    width: clamp(160px, 44vw, 190px);
    height: clamp(160px, 44vw, 190px);
    border-radius: 50%;
    border: 3.5px solid #ffffff;
    box-shadow: 0 10px 28px rgba(16,24,32,0.18), 0 0 0 6px rgba(255,130,0,0.15);
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin: 0 auto;
  }
  .hero-photo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
  }

  /* Floating Stat Badges - Scaled to ~85% with safe bounds */
  .hero-float-card,
  .badge-top-right,
  .badge-bottom-left {
    position: absolute;
    padding: 6px 11px;
    border-radius: 11px;
    gap: 7px;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.8);
    z-index: 5;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 48%;
  }
  .badge-top-right,
  .badge-bottom-left,
  .hero-float-card.card-1,
  .hero-float-card.card-2 {
    transform: scale(0.85) !important; /* Scale down badges to ~85% */
  }
  .badge-top-right,
  .card-1 {
    top: 0px !important;
    right: -12px !important;
  }
  .badge-bottom-left,
  .card-2 {
    bottom: 0px !important;
    left: -12px !important;
  }
  .card-3 {
    display: none !important;
  }
  .hero-float-card .float-card-icon {
    width: 28px;
    height: 28px;
    font-size: 11px;
    flex-shrink: 0;
  }
  .float-card-number {
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.1;
  }
  .float-card-label {
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1.1;
  }

  /* Hide Heavy Dashed Decorative Background Rings & Clutter on Mobile */
  .decorative-rings,
  .creative-ring,
  .creative-dots,
  .creative-shape,
  .hero-image-decoration,
  .hero-bg-circle-arc,
  .hero-bg-chart-watermark,
  .hero-accent-star,
  .hero-accent-bolt,
  .hero-dot-grid {
    display: none !important;
  }

  /* Sub-Header Navigation Bar on Mobile - Adequate Spacing & Scaled Text */
  .hero-bottom-ticker {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 24px auto 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 16px 24px; /* pb-6 / pb-8 creates clear separation from section boundary */
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    clear: both;
  }
  .ticker-text {
    font-size: clamp(11.5px, 3.2vw, 13px); /* text-xs to text-sm */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
    line-height: 1.5;
    text-align: center;
  }
  .ticker-link {
    font-size: inherit;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-block;
  }
  .ticker-bullet {
    font-size: 11px;
    margin: 0 2px;
  }
  .ticker-track {
    width: 100%;
    max-width: min(220px, 75vw);
    height: 2px;
    margin-top: 10px;
    background: rgba(16, 24, 32, 0.14);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
  }

  /* Section Padding & Pill Badges on Mobile */
  .section { padding: 60px 0 32px; overflow: hidden; width: 100%; max-width: 100%; }
  .section-tag { font-size: 11px; padding: 5px 14px; letter-spacing: 0.8px; margin-bottom: 14px; max-width: 100%; }
  
  /* Section Below Hero Spacing & Floating Action Button Clearance */
  .partner-brokers-section,
  .brands-bar {
    padding-top: 28px !important;
    padding-bottom: 75px !important; /* Ample space to prevent floating WhatsApp button from covering text */
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }
  .brokers-heading,
  .brands-label {
    margin-bottom: 16px !important;
    padding: 0 16px !important;
    text-align: center !important;
  }
  .services-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-col { padding: 24px; width: 100%; max-width: 100%; box-sizing: border-box; }

  /* About section mobile safety */
  .about-image-wrapper { max-width: 320px; margin: 0 auto; padding: 10px; }
  .about-experience-badge { left: 10px; bottom: 15px; padding: 14px 18px; }
  .about-dec-dots { right: 0; }
  .about-dec-circle { left: 20%; }

  /* Testimonials slider / Comment Cards mobile */
  .testimonials-slider { width: 100%; max-width: 100%; overflow: hidden; }
  .testimonial-track { width: 100%; max-width: 100%; }
  .testimonial-card { flex: 0 0 100%; margin: 0; padding: 26px 20px; border-radius: 16px; box-sizing: border-box; }

  /* Broker Ad Banner & Cards Mobile */
  .ad-broker-buttons { grid-template-columns: 1fr; gap: 10px; }
  .broker-ad-strip { padding: 18px 16px; margin-bottom: 24px; }
  .broker-card-body { padding: 18px 16px 20px; }
  .broker-title { font-size: 15.5px; }

  /* Footer Padding on Mobile (<768px) - pb-24 ensures page content scrolls cleanly above FABs */
  .footer {
    padding-top: 50px;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  /* Floating Action Buttons (FABs) on Mobile (<768px) */
  .social-fab-container {
    position: fixed !important;
    right: 16px !important;
    bottom: 20px !important;
    left: auto !important;
    z-index: 9999 !important;
  }
  .social-fab-toggle {
    width: 50px !important;
    height: 50px !important;
  }
  .social-fab-toggle .icon-social {
    font-size: 21px !important;
  }
  .social-fab-toggle .icon-close {
    font-size: 20px !important;
  }
  .social-fab-menu {
    bottom: calc(100% + 10px) !important;
    gap: 10px !important;
  }
  .social-fab-item {
    width: 44px !important;
    height: 44px !important;
  }
  .social-fab-item.whatsapp-btn { font-size: 22px !important; }
  .social-fab-item.discord-btn { font-size: 19px !important; }
  .social-fab-item.channel-btn { font-size: 18px !important; }
  .social-fab-item.linkedin-btn { font-size: 20px !important; }
  .social-fab-item.youtube-btn { font-size: 19px !important; }
  .social-fab-tooltip { display: none !important; }

  .back-to-top {
    position: fixed !important;
    left: 16px !important;
    bottom: 20px !important;
    right: auto !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 16px !important;
    z-index: 9998 !important;
  }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 14px; }
  .nav-logo .logo-img { max-height: 38px; }
  .nav-brand-name { font-size: 15px; }
  .nav-brand-tagline { font-size: 7px; letter-spacing: 0.8px; }
  
  /* Compact Hero Section for Small Mobile Devices */
  .hero-section,
  .hero {
    padding-top: 92px !important;
    padding-bottom: 20px !important;
  }
  .hero-container {
    padding: 0 14px !important;
    gap: 0;
  }
  .hero-badge {
    margin: 0 auto 10px;
    font-size: 10px;
    padding: 4px 10px;
    letter-spacing: 0.6px;
  }
  .hero-title {
    margin-bottom: 8px;
    max-width: 320px !important;
  }
  .hero-title .title-line-1 {
    font-size: 12px;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
  }
  .hero-title .title-line-2,
  .hero-title .title-line-3 {
    font-size: 22px;
    line-height: 1.15;
  }
  .hero-description {
    font-size: 12.5px;
    line-height: 1.4;
    margin: 0 auto 8px;
    max-width: 310px !important;
  }
  .hero-trust {
    gap: 3px;
    margin: 0 auto 8px;
    max-width: 300px;
  }
  .trust-avatars {
    font-size: 11.5px;
    gap: 3px;
  }
  .trust-avatars i {
    font-size: 11.5px;
  }
  .trust-text {
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
    max-width: 280px;
  }

  /* Single CTA button and sublink for small mobile */
  .cta-container,
  .hero-actions,
  .cta-buttons-wrapper,
  .hero-cta-wrapper {
    gap: 7px;
    margin: 0 auto 12px !important;
    width: 100%;
    max-width: 290px;
  }
  .hero-actions .btn-cta-main,
  .btn-cta-main {
    width: 100% !important;
    max-width: 290px !important;
    padding: 12px 18px !important;
    font-size: 13.5px !important;
  }
  .secondary-whatsapp-link,
  .hero-sublink {
    font-size: 12px !important;
  }

  /* Centered Flexible Profile Frame on Small Mobile */
  .hero-visual,
  .hero-image-container {
    width: 100%;
    max-width: 260px !important;
    margin: 4px auto 8px !important;
  }
  .hero-image-creative {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  .hero-photo-frame {
    width: 145px;
    height: 145px;
    max-width: 100%;
    border-width: 3px;
    box-shadow: 0 8px 22px rgba(16,24,32,0.16), 0 0 0 5px rgba(255,130,0,0.14);
  }
  .hero-photo {
    object-position: center 15%;
  }
  .hero-float-card {
    padding: 5px 8px;
    border-radius: 9px;
    gap: 5px;
  }
  .badge-top-right,
  .card-1 {
    top: 0 !important;
    right: -8px !important;
  }
  .badge-bottom-left,
  .card-2 {
    bottom: 0 !important;
    left: -8px !important;
  }
  .hero-float-card .float-card-icon {
    width: 24px;
    height: 24px;
    font-size: 9.5px;
  }
  .float-card-number {
    font-size: 11px;
  }
  .float-card-label {
    font-size: 8.5px;
  }
  .social-fab-container {
    right: 16px !important;
    bottom: 20px !important;
    left: auto !important;
  }
  .back-to-top {
    left: 16px !important;
    bottom: 20px !important;
    right: auto !important;
  }

  .hero-bottom-ticker {
    margin: 8px auto 0;
    padding: 0 10px 14px;
  }
  .ticker-text {
    font-size: 10.5px;
    gap: 4px 6px;
    letter-spacing: 0.2px;
  }
  .ticker-link {
    padding: 2px 6px;
    font-size: 10.5px;
  }
  .ticker-bullet {
    font-size: 8px;
  }
  .ticker-track {
    max-width: min(170px, 68vw);
  }
  .section-tag {
    font-size: 10.5px;
    padding: 4px 12px;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
  }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .about-stat { padding: 14px 8px; }
  .stat-num { font-size: 26px; }
  .ad-broker-btn { padding: 12px 14px; gap: 10px; }
  .ad-btn-icon { width: 36px; height: 36px; font-size: 16px; }
  .broker-referral-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ref-code-box { width: 100%; justify-content: space-between; box-sizing: border-box; }
  .footer {
    padding-top: 40px;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; padding-bottom: 8px; }
  .footer-legal-links { justify-content: center; flex-wrap: wrap; gap: 8px 14px; }
  .footer-disclaimer { padding: 14px 16px; font-size: 11.5px; margin: 28px 0 20px; }
}
