/* ========================================
   ABSS LANDING PAGE — STYLES v2.0
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Mulish:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --color-blue: #000d49;
  --color-blue-light: #001a6e;
  --color-yellow: #ffc700;
  --color-bg: #F5F7FA;
  --color-text: #1A1A2E;
  --color-muted: #6B7280;
  --color-border: #E5E7EB;
  --font-headline: 'Anton', sans-serif;
  --font-body: 'Mulish', sans-serif;
  --font-numbers: 'Playfair Display', serif;
}

/* ---- Base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2 { font-family: var(--font-headline); text-transform: uppercase; letter-spacing: 0.02em; }
.font-headline { font-family: var(--font-headline); }
.font-body { font-family: var(--font-body); }
.font-numbers { font-family: var(--font-numbers); }

/* ---- Navbar ---- */
#navbar {
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
#navbar.scrolled {
  background-color: rgba(255,255,255,0.95) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(12px);
}
#navbar.scrolled .nav-link {
  color: var(--color-blue) !important;
}
#navbar.scrolled .nav-link:hover {
  color: var(--color-yellow) !important;
}
#navbar.scrolled .nav-logo-white {
  display: none;
}
#navbar.scrolled .nav-logo-color {
  display: block !important;
}
#navbar.scrolled #menuToggle {
  color: var(--color-blue);
}

/* ---- Hero Video Background ---- */
.hero-video {
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
  filter: blur(3px);
  transform: scale(1.04); /* compensate blur edge bleed */
}

/* ---- Hero Text Animations ---- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-anim {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-anim-d1 { animation-delay: 0.15s; }
.hero-anim-d2 { animation-delay: 0.4s; }
.hero-anim-d3 { animation-delay: 0.65s; }
.hero-anim-d4 { animation-delay: 0.9s; }

/* Hero badge float animation */
.hero-badge {
  animation: heroBadgeFloat 3s ease-in-out infinite;
}
@keyframes heroBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}



/* ---- Marquee ---- */
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
  will-change: transform;
  transform: translateZ(0);
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(70%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}
.marquee-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (min-width: 640px) {
  .marquee-logo { height: 36px; }
  .marquee-track { gap: 3.5rem; }
}

/* ---- Counter Numbers ---- */
.counter-number {
  font-family: var(--font-numbers);
  font-weight: 800;
}

/* ---- Benefit Cards ---- */
.benefit-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,13,73,0.08);
}
.benefit-icon {
  transition: transform 0.3s;
}
.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

/* ---- Event Cards ---- */
.event-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  min-height: 240px;
  transition: transform 0.4s;
}
.event-card:hover {
  transform: translateY(-4px);
}
.event-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.event-card:hover .event-card-bg {
  transform: scale(1.05);
}
.event-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.6) 100%);
}

@media (min-width: 640px) {
  .event-card { min-height: 280px; }
}

/* ---- Step Connector ---- */
.step-connector {
  position: absolute;
  top: 2rem;
  left: calc(50% + 2rem);
  width: calc(100% - 4rem);
  height: 2px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-border));
}

/* ---- Pricing Cards ---- */
.pricing-card {
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,13,73,0.2);
}
.pricing-card.featured {
  position: relative;
}
.pricing-card .pricing-benefits {
  flex-grow: 1;
}
.pricing-cta {
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(255,199,0,0.4);
}

/* ---- Mentor Cards ---- */
.mentor-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-yellow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.mentor-card:hover .mentor-photo {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(255,199,0,0.3);
}

@media (min-width: 640px) {
  .mentor-photo { width: 100px; height: 100px; }
}
@media (min-width: 1024px) {
  .mentor-photo { width: 120px; height: 120px; }
}

/* ---- Testimonials ---- */
.testimonial-slide {
  transition: opacity 0.6s ease;
}
.testimonial-dot {
  transition: background-color 0.3s, transform 0.3s;
  cursor: pointer;
  border: none;
}
.testimonial-dot:hover {
  transform: scale(1.3);
}

/* ---- FAQ (native details/summary) ---- */
.faq-details {
  transition: background-color 0.2s;
}
.faq-details:hover { background-color: #fafbfc; }

.faq-summary {
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}
/* Remove default arrow in all browsers */
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::marker { display: none; content: ''; }

.faq-question {
  font-family: var(--font-body) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.faq-chevron {
  transition: transform 0.3s ease;
}
.faq-details[open] .faq-chevron {
  transform: rotate(45deg);
}

/* ---- CTA Pulse ---- */
.cta-pulse {
  animation: ctaPulse 2.5s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,199,0,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255,199,0,0); }
}

/* ---- Modal ---- */
.modal-overlay {
  display: none !important;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.modal-overlay.active {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}
.modal-step {
  display: none;
}
.modal-step.active {
  display: block;
}

/* ---- Cookie Banner ---- */
.cookie-banner {
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show {
  transform: translateY(0);
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-nav-link {
  transition: color 0.2s;
}
.mobile-nav-link:hover {
  color: var(--color-yellow);
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---- Scrollbar (subtle) ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-muted); }

/* =========================================
   RESPONSIVE OVERRIDES
   ========================================= */

/* Small phones (<400px) */
@media (max-width: 399px) {
  .hero-badge {
    bottom: 4.5rem !important;
    right: 0.5rem !important;
  }
  .hero-badge > div {
    padding: 0.5rem 0.75rem;
    max-width: 150px;
  }
  .hero-badge .font-numbers {
    font-size: 1.25rem;
  }
}

/* Tablets & small landscape */
@media (max-width: 767px) {
  .event-card { min-height: 200px; }
  .modal-content {
    max-height: 100vh;
    border-radius: 0;
    height: 100%;
  }
  .modal-overlay { padding: 0; }
}

/* Print hidden items */
@media print {
  #navbar, .cookie-banner, .modal-overlay, .hero-badge, .hero-video { display: none !important; }
}
