/* =============================================
   RESULTS.CSS — APEX MENTORS
   Aesthetic: Bold Stats-driven / Dark-accented
   ============================================= */

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

:root {
  --dark: #0B0B0B;
  --dark2: #141414;
  --dark3: #1E1E1E;
  --white: #FFFFFF;
  --off: #F0EDE8;
  --gold: #F59E0B;
  --gold2: #D97706;
  --silver: #94A3B8;
  --bronze: #B45309;
  --emerald: #10B981;
  --accent: #E53E3E;
  --mid: #777;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body { background: var(--off); color: var(--dark); font-family: var(--font-body); overflow-x: hidden; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.4rem 0; background: rgba(240,237,232,0.92); backdrop-filter: blur(20px); transition: all 0.3s; }
.nav.scrolled { border-bottom: 1px solid rgba(0,0,0,0.08); padding: 1rem 0; }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; gap: 2rem; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 0.15rem; }
.logo-apex { font-family: var(--font-display); font-size: 1.6rem; color: var(--dark); letter-spacing: 0.08em; }
.logo-mentors { font-family: var(--font-body); font-size: 0.6rem; font-weight: 500; color: var(--mid); letter-spacing: 0.3em; text-transform: uppercase; }
.nav-links { display: flex; list-style: none; gap: 2rem; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--mid); font-size: 0.85rem; font-weight: 400; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 1rem; padding: 0.6rem 1.4rem; background: var(--dark); color: var(--white); text-decoration: none; font-size: 0.8rem; font-weight: 600; border-radius: 2px; transition: background 0.3s; white-space: nowrap; }
.nav-cta:hover { background: var(--gold2); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* RESULTS HERO */
.results-hero { min-height: 80vh; display: flex; align-items: center; padding: 8rem 2rem 5rem; background: var(--dark); }
.rh-inner { max-width: 1280px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.rh-eyebrow { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1.5rem; }
.rh-left h1 { font-family: var(--font-display); font-size: clamp(5rem, 10vw, 9rem); line-height: 0.9; color: var(--white); letter-spacing: 0.02em; margin-bottom: 1.5rem; }
.rh-left h1 span { color: var(--gold); }
.rh-left p { font-size: 1.05rem; color: rgba(255,255,255,0.45); line-height: 1.75; }
.mega-stat { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 2rem; }
.ms-num { font-family: var(--font-display); font-size: clamp(6rem, 12vw, 10rem); line-height: 1; color: var(--gold); letter-spacing: -0.02em; }
.ms-sym { font-family: var(--font-display); font-size: 4rem; color: var(--gold); margin-top: -1.5rem; }
.mega-stat p { font-size: 0.9rem; color: rgba(255,255,255,0.4); max-width: 220px; text-align: center; line-height: 1.6; }
.rh-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.05); }
.mini-stat { padding: 1.5rem; background: var(--dark2); }
.mini-stat strong { font-family: var(--font-display); font-size: 2.5rem; color: var(--white); display: block; }
.mini-stat span { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }
.mini-stat p { font-size: 0.72rem; color: rgba(255,255,255,0.3); margin-top: 0.3rem; line-height: 1.5; }

/* TOPPERS */
.toppers-section { padding: 7rem 2rem; background: var(--off); }
.top-inner { max-width: 1280px; margin: 0 auto; }
.section-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold2); font-weight: 600; margin-bottom: 1rem; }
.top-inner h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--dark); margin-bottom: 3.5rem; letter-spacing: 0.02em; }
.toppers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.topper-card {
  padding: 2.5rem 2rem; border-radius: 8px; text-align: center;
  position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
}
.topper-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.15); }
.topper-card.gold { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); border: 1px solid #F59E0B; }
.topper-card.silver { background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%); border: 1px solid #94A3B8; }
.topper-card.bronze { background: linear-gradient(135deg, #FEF3C7 0%, #FED7AA 100%); border: 1px solid #B45309; }
.topper-card.emerald { background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%); border: 1px solid #10B981; }
.tc-rank { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; color: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.topper-card.gold .tc-rank { color: var(--gold2); }
.topper-card.silver .tc-rank { color: var(--silver); }
.topper-card.bronze .tc-rank { color: var(--bronze); }
.topper-card.emerald .tc-rank { color: var(--emerald); }
.tc-score { font-family: var(--font-display); font-size: 3.5rem; line-height: 1; color: var(--dark); letter-spacing: 0.01em; margin-bottom: 1.25rem; }
.tc-score span { font-size: 1.5rem; color: rgba(0,0,0,0.4); }
.tc-avatar-wrap { display: flex; justify-content: center; margin-bottom: 1rem; }
.tc-avatar { width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: rgba(0,0,0,0.3); }
.topper-card h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; }
.topper-card > p { font-size: 0.78rem; color: rgba(0,0,0,0.45); margin-bottom: 1.25rem; }
.tc-quote { font-size: 0.8rem; color: rgba(0,0,0,0.5); font-style: italic; line-height: 1.65; padding-top: 1.25rem; border-top: 1px solid rgba(0,0,0,0.08); }

/* RESULTS BAR */
.results-bar { background: var(--dark); padding: 3.5rem 2rem; }
.rb-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }
.rb-item { display: flex; align-items: center; gap: 1.25rem; flex: 1; min-width: 220px; }
.rb-item i { font-size: 2rem; color: var(--gold); flex-shrink: 0; }
.rb-item strong { display: block; font-size: 0.85rem; color: var(--white); margin-bottom: 0.3rem; }
.rb-item span { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.rb-sep { width: 1px; height: 60px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* TESTIMONIALS */
.testimonials-section { padding: 7rem 2rem; background: var(--white); }
.ts-inner { max-width: 1280px; margin: 0 auto; }
.ts-inner h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--dark); margin-bottom: 3.5rem; letter-spacing: 0.02em; }
.testi-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.tm-col { display: flex; flex-direction: column; gap: 1.5rem; }
.tm-card {
  background: var(--off); border-radius: 8px; padding: 2rem;
  border: 1px solid rgba(0,0,0,0.06); transition: border-color 0.3s, transform 0.3s;
}
.tm-card:hover { border-color: var(--gold2); transform: translateY(-3px); }
.tm-card.highlight { background: var(--dark); }
.tm-card.highlight .stars { color: var(--gold); }
.tm-card.highlight p { color: rgba(255,255,255,0.6); }
.tm-card.highlight .tm-author strong { color: var(--white); }
.tm-card.highlight .tm-author span { color: rgba(255,255,255,0.35); }
.stars { font-size: 0.9rem; color: var(--gold2); margin-bottom: 1rem; letter-spacing: 2px; }
.tm-card p { font-size: 0.88rem; line-height: 1.8; color: var(--mid); margin-bottom: 1.5rem; font-style: italic; }
.tm-author { display: flex; align-items: center; gap: 0.75rem; }
.tm-av { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; color: var(--mid); flex-shrink: 0; }
.tm-card.highlight .tm-av { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); }
.tm-author strong { display: block; font-size: 0.85rem; color: var(--dark); }
.tm-author span { font-size: 0.72rem; color: var(--mid); }

/* IMPROVEMENT BARS */
.improvement-section { padding: 7rem 2rem; background: var(--off); }
.imp-inner { max-width: 1280px; margin: 0 auto; }
.imp-inner h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--dark); margin-bottom: 1rem; letter-spacing: 0.02em; }
.imp-sub { font-size: 0.95rem; color: var(--mid); margin-bottom: 3rem; }
.imp-bars { display: flex; flex-direction: column; gap: 2rem; }
.imp-row { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 2rem; }
.imp-label { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.imp-bar-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
.imp-before, .imp-after { height: 36px; border-radius: 4px; display: flex; align-items: center; padding-right: 0.75rem; justify-content: flex-end; width: 0; transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1); }
.imp-before { background: rgba(0,0,0,0.1); }
.imp-after { background: var(--gold); }
.imp-before.animate { width: var(--w); }
.imp-after.animate { width: var(--w); }
.imp-before span, .imp-after span { font-size: 0.75rem; font-weight: 700; color: var(--dark); white-space: nowrap; opacity: 0; transition: opacity 0.3s 1s; }
.imp-before.animate span, .imp-after.animate span { opacity: 1; }
.imp-legend { display: flex; gap: 2rem; margin-top: 2rem; }
.leg-before, .leg-after { font-size: 0.78rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; color: var(--mid); }
.leg-before::before { content: ''; width: 20px; height: 12px; background: rgba(0,0,0,0.1); border-radius: 2px; }
.leg-after::before { content: ''; width: 20px; height: 12px; background: var(--gold); border-radius: 2px; }

/* RESULTS CTA */
.results-cta { padding: 7rem 2rem; background: var(--gold); text-align: center; }
.rc-inner { max-width: 700px; margin: 0 auto; }
.rc-inner h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--dark); line-height: 1; margin-bottom: 1.25rem; letter-spacing: 0.02em; }
.rc-inner p { font-size: 1rem; color: rgba(0,0,0,0.55); margin-bottom: 2.5rem; line-height: 1.75; }
.btn-main { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--dark); color: var(--white); text-decoration: none; padding: 1rem 2.5rem; font-size: 0.95rem; font-weight: 600; border-radius: 2px; transition: all 0.3s; }
.btn-main:hover { background: #222; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

/* FOOTER */
.footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo-apex { color: var(--white); }
.footer-brand p { font-size: 0.84rem; color: rgba(255,255,255,0.3); line-height: 1.7; margin-top: 0.75rem; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); font-size: 0.85rem; text-decoration: none; transition: all 0.3s; }
.social-links a:hover { border-color: var(--gold); color: var(--gold); }
.footer-links h4 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { text-decoration: none; font-size: 0.84rem; color: rgba(255,255,255,0.35); transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer-contact h4 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem; }
.footer-contact p { font-size: 0.83rem; color: rgba(255,255,255,0.35); margin-bottom: 0.7rem; display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.5; }
.footer-contact i { color: var(--gold); width: 12px; flex-shrink: 0; margin-top: 2px; }
.footer-bottom { max-width: 1280px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.2); flex-wrap: wrap; gap: 1rem; }
.footer-bottom i { color: var(--gold); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .rh-inner { grid-template-columns: 1fr; }
  .toppers-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-masonry { grid-template-columns: 1fr; }
  .rh-mini-stats { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--off); padding: 2rem; gap: 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.08); z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .toppers-grid { grid-template-columns: 1fr; }
  .imp-row { grid-template-columns: 1fr; }
  .rb-inner { flex-direction: column; align-items: flex-start; }
  .rb-sep { display: none; }
  .rh-mini-stats { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
