/* ═══════════════════════════════════════════════════════════════
   REVOLUTIONAL IBT — Main Stylesheet
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --red:       #D32F2F;
  --red-dark:  #9B1B1B;
  --red-light: #FF5252;
  --black:     #0D0D0D;
  --charcoal:  #1A1A1A;
  --grey:      #555555;
  --light:     #F5F5F5;
  --white:     #FFFFFF;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
}

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

/* ─── ACCESSIBILITY ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  background: var(--red); color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 4px 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  z-index: 9999; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── SHARED UTILITIES ─────────────────────────────────────────── */
.section-label {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--red);
  margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.7rem;
}
.section-label::before {
  content: ''; display: inline-block; width: 28px; height: 2px;
  background: var(--red); border-radius: 2px; flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900; line-height: 1; letter-spacing: -0.01em;
  text-transform: uppercase; color: var(--black); margin-bottom: 1.2rem;
}
.section-title span { color: var(--red); }

.btn {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: 0.85rem 2rem; border-radius: 3px; border: 2px solid transparent;
  cursor: pointer; transition: all 0.25s ease; display: inline-block;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(211,47,47,0.4); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.07); transform: translateY(-2px); }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ─── NAVBAR ───────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px; background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
nav.scrolled { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.12); }
nav.scrolled .nav-links a { color: var(--black); }
nav.scrolled .nav-links a:hover { color: var(--red); }
nav.scrolled .nav-logo-fallback { color: var(--black); }
nav.scrolled .hamburger span { background: var(--black); }

.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo-img { height: 42px; width: auto; object-fit: contain; transition: opacity 0.3s; }
.nav-logo-img:hover { opacity: 0.85; }
.nav-logo-fallback {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 900;
  letter-spacing: 0.04em; color: var(--white); text-transform: uppercase;
  transition: color 0.4s; display: none;
}
.nav-logo-fallback span { color: var(--red-light); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.88);
  text-decoration: none; transition: color 0.25s;
}
.nav-links a:hover { color: var(--red-light); }
.nav-cta { background: var(--red); color: var(--white) !important; padding: 0.45rem 1.2rem; border-radius: 3px; transition: background 0.25s !important; }
.nav-cta:hover { background: var(--red-dark) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: background 0.4s, transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: var(--white); padding: 1.5rem 5%; flex-direction: column;
  gap: 1rem; box-shadow: 0 8px 30px rgba(0,0,0,0.12); z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--black); text-decoration: none; }
.mobile-menu a:hover { color: var(--red); }

/* ─── HERO ─────────────────────────────────────────────────────── */
#hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--black); overflow: hidden; }
.hero-bg-stripes { position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px); pointer-events: none; }
.hero-accent-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(to bottom, var(--red), var(--red-dark)); }
.hero-watermark { position: absolute; bottom: -40px; right: -20px; font-family: var(--font-display); font-size: clamp(8rem, 18vw, 20rem); font-weight: 900; color: rgba(255,255,255,0.035); line-height: 1; pointer-events: none; user-select: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; width: 100%; max-width: 1200px; margin: 0 auto; padding: 120px 5% 80px; }
.hero-text { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-eyebrow { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--red-light); opacity: 0; animation: fadeUp 0.7s 0.2s forwards; }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 900; line-height: 0.95; text-transform: uppercase; color: var(--white); opacity: 0; animation: fadeUp 0.7s 0.4s forwards; }
.hero-title em { font-style: normal; color: var(--red-light); display: block; }
.hero-sub { font-size: 1.1rem; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 440px; opacity: 0; animation: fadeUp 0.7s 0.6s forwards; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.7s 0.8s forwards; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 40px; padding: 0.4rem 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.6); opacity: 0; animation: fadeUp 0.7s 1s forwards; width: fit-content; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4CAF50; box-shadow: 0 0 6px #4CAF50; animation: pulse 2s infinite; }
.hero-visual { display: flex; align-items: center; justify-content: center; opacity: 0; animation: fadeIn 1.2s 0.5s forwards; }
.hero-svg-wrap { position: relative; width: 100%; max-width: 560px; }
.hero-svg-wrap::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 70%; height: 60%; background: radial-gradient(ellipse, rgba(211,47,47,0.25) 0%, transparent 70%); pointer-events: none; border-radius: 50%; }
.bike-svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6)); }
#wheel-rear  { animation: spin 3s linear infinite; }
#wheel-front { animation: spin 3s linear infinite; }
.scroll-hint { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.35); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; font-family: var(--font-display); opacity: 0; animation: fadeIn 1s 1.4s forwards; }
.scroll-hint svg { animation: bounce 1.8s ease-in-out infinite; }

/* ─── ABOUT ─────────────────────────────────────────────────────── */
#about { background: var(--white); padding: 110px 5% 100px; position: relative; overflow: hidden; }
#about::before { content: ''; position: absolute; left: 5%; top: 80px; bottom: 80px; width: 2px; background: linear-gradient(to bottom, transparent, var(--red) 30%, var(--red) 70%, transparent); opacity: 0.12; }
.about-inner { max-width: 1200px; margin: 0 auto; }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; margin-bottom: 80px; }
.about-intro p { font-size: 1.05rem; font-weight: 300; color: var(--grey); line-height: 1.8; margin-bottom: 1.2rem; }
.about-intro p strong { color: var(--black); font-weight: 500; }
.about-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.stat-pill { display: flex; flex-direction: column; border-left: 3px solid var(--red); padding: 0.6rem 1rem; }
.stat-pill strong { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--black); line-height: 1; }
.stat-pill span { font-size: 0.8rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.2rem; }
.about-info-box { background: var(--light); border-radius: 6px; padding: 2rem 2rem 2rem 2.5rem; border-left: 4px solid var(--red); }
.about-info-box h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--black); margin-bottom: 1rem; }
.about-info-box ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.about-info-box ul li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.97rem; color: var(--grey); line-height: 1.5; }
.about-info-box ul li svg { flex-shrink: 0; margin-top: 2px; }
.about-info-box .rsa-note { margin-top: 1.2rem; font-size: 0.8rem; color: #999; font-style: italic; }
.about-instructor { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--black); border-radius: 8px; overflow: hidden; }
.instructor-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #111; }
.instructor-photo-placeholder { width: 100%; height: 100%; min-height: 420px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1c1c1c 0%, #0f0f0f 100%); position: relative; }
.instructor-photo-placeholder::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(211,47,47,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(211,47,47,0.05) 1px, transparent 1px); background-size: 30px 30px; }
.instructor-svg { position: relative; z-index: 1; }
.instructor-visual-label { position: absolute; bottom: 0; left: 0; right: 0; background: var(--red); padding: 0.65rem 1.5rem; font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: white; z-index: 2; }
.instructor-content { padding: 3rem 3.5rem 3rem 2.5rem; color: var(--white); }
.instructor-content .section-label { color: var(--red-light); }
.instructor-content .section-label::before { background: var(--red-light); }
.instructor-name { font-family: var(--font-display); font-size: clamp(2.4rem, 3.5vw, 3.2rem); font-weight: 900; text-transform: uppercase; line-height: 1; color: var(--white); margin-bottom: 0.3rem; }
.instructor-title { font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.4); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.8rem; }
.instructor-bio { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.68); line-height: 1.85; margin-bottom: 1.5rem; }
.instructor-creds { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cred-tag { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 3px; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.55); }
.cred-tag.highlight { background: var(--red); border-color: var(--red); color: white; }

/* ─── MODULES ───────────────────────────────────────────────────── */
#modules { background: var(--light); padding: 110px 5% 100px; position: relative; overflow: hidden; }
#modules::before { content: 'MODULES'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%) rotate(90deg); font-family: var(--font-display); font-size: 10rem; font-weight: 900; color: rgba(0,0,0,0.04); pointer-events: none; user-select: none; }
.modules-inner { max-width: 1200px; margin: 0 auto; }
.modules-header { text-align: center; margin-bottom: 70px; }
.modules-header .section-label { justify-content: center; }
.modules-header .section-label::before { display: none; }
.modules-header p { font-size: 1.05rem; color: var(--grey); font-weight: 300; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.modules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.module-card { background: var(--white); padding: 3rem 2.5rem; position: relative; transition: background 0.3s ease; }
.module-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform 0.35s ease; }
.module-card:hover::before { transform: scaleY(1); }
.module-card:hover { background: #fafafa; }
.module-number { font-family: var(--font-display); font-size: 5rem; font-weight: 900; line-height: 1; color: rgba(0,0,0,0.06); position: absolute; top: 1.5rem; right: 2rem; transition: color 0.3s; }
.module-card:hover .module-number { color: rgba(211,47,47,0.1); }
.module-icon { width: 52px; height: 52px; background: var(--black); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: background 0.3s; }
.module-card:hover .module-icon { background: var(--red); }
.module-tag { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.module-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; color: var(--black); line-height: 1.1; margin-bottom: 1rem; }
.module-desc { font-size: 0.97rem; color: var(--grey); line-height: 1.75; font-weight: 300; margin-bottom: 1.5rem; }
.module-topics { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.module-topic { font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.65rem; background: var(--light); color: var(--grey); border-radius: 3px; }

/* ─── HOW IT WORKS ──────────────────────────────────────────────── */
#how-it-works { background: var(--white); padding: 110px 5% 100px; position: relative; overflow: hidden; }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-header { margin-bottom: 70px; }
.steps-container { position: relative; }
.steps-container::before { content: ''; position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--red), rgba(211,47,47,0.1)); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 2.5rem; align-items: start; margin-bottom: 3.5rem; position: relative; }
.step:last-child { margin-bottom: 0; }
.step-number { width: 56px; height: 56px; border-radius: 50%; background: var(--black); border: 3px solid var(--black); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: var(--white); flex-shrink: 0; position: relative; z-index: 1; transition: background 0.3s, border-color 0.3s; }
.step:hover .step-number { background: var(--red); border-color: var(--red); }
.step.active .step-number { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(211,47,47,0.15); }
.step-body { padding-top: 0.8rem; }
.step-label { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 0.3rem; }
.step-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; color: var(--black); margin-bottom: 0.6rem; line-height: 1.1; }
.step-desc { font-size: 1rem; color: var(--grey); font-weight: 300; line-height: 1.75; max-width: 620px; }
.how-cta-box { margin-top: 60px; background: var(--black); border-radius: 8px; padding: 3rem 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.how-cta-box h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; text-transform: uppercase; color: var(--white); line-height: 1.1; }
.how-cta-box h3 span { color: var(--red-light); }
.how-cta-box p { font-size: 0.95rem; color: rgba(255,255,255,0.5); margin-top: 0.4rem; }

/* ─── FAQ ───────────────────────────────────────────────────────── */
#faq { background: var(--light); padding: 110px 5% 100px; position: relative; }
.faq-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.8fr; gap: 6rem; align-items: start; }
.faq-sidebar { position: sticky; top: 100px; }
.faq-sidebar p { font-size: 1rem; color: var(--grey); font-weight: 300; line-height: 1.75; margin-bottom: 2rem; }
.faq-contact-nudge { background: var(--white); border-radius: 6px; padding: 1.5rem; border-left: 3px solid var(--red); }
.faq-contact-nudge p { font-size: 0.9rem; color: var(--grey); margin-bottom: 1rem; }
.faq-contact-nudge a { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); text-decoration: none; display: flex; align-items: center; gap: 0.4rem; transition: gap 0.2s; }
.faq-contact-nudge a:hover { gap: 0.7rem; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-item:first-child { border-top: 1px solid rgba(0,0,0,0.08); }
.faq-question { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; text-align: left; }
.faq-question span { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--black); transition: color 0.2s; }
.faq-question:hover span, .faq-item.open .faq-question span { color: var(--red); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.25s, border-color 0.25s, transform 0.3s; }
.faq-item.open .faq-icon { background: var(--red); border-color: var(--red); transform: rotate(45deg); }
.faq-item.open .faq-icon svg { stroke: white; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding-bottom: 1.4rem; font-size: 0.97rem; color: var(--grey); font-weight: 300; line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ─── CONTACT ───────────────────────────────────────────────────── */
#contact { background: var(--black); padding: 110px 5% 100px; position: relative; overflow: hidden; }
#contact::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, transparent, transparent 60px, rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 61px); pointer-events: none; }
.contact-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: start; }
.contact-info .section-label { color: var(--red-light); }
.contact-info .section-label::before { background: var(--red-light); }
.contact-info .section-title { color: var(--white); }
.contact-info .section-title span { color: var(--red-light); }
.contact-info p { font-size: 1rem; color: rgba(255,255,255,0.55); font-weight: 300; line-height: 1.8; margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-detail { display: flex; align-items: center; gap: 1rem; }
.contact-detail-icon { width: 44px; height: 44px; border-radius: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-text strong { display: block; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.15rem; }
.contact-detail-text a, .contact-detail-text span { font-size: 0.97rem; color: var(--white); text-decoration: none; font-weight: 400; transition: color 0.2s; }
.contact-detail-text a:hover { color: var(--red-light); }
.contact-form-wrap { background: var(--white); border-radius: 8px; padding: 2.5rem; }
.contact-form-wrap h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; color: var(--black); margin-bottom: 1.8rem; padding-bottom: 1.2rem; border-bottom: 2px solid var(--light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); }
.form-group input, .form-group select, .form-group textarea { font-family: var(--font-body); font-size: 0.97rem; color: var(--black); background: var(--light); border: 1.5px solid transparent; border-radius: 4px; padding: 0.75rem 1rem; outline: none; transition: border-color 0.2s, background 0.2s; width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); background: var(--white); box-shadow: 0 0 0 3px rgba(211,47,47,0.08); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-submit { width: 100%; margin-top: 0.5rem; justify-content: center; font-size: 1.05rem; padding: 1rem; }
.form-success { display: none; text-align: center; padding: 2rem; }
.form-success svg { margin-bottom: 1rem; }
.form-success h4 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; text-transform: uppercase; color: var(--black); margin-bottom: 0.5rem; }
.form-success p { color: var(--grey); font-size: 0.95rem; }

/* ─── FOOTER ────────────────────────────────────────────────────── */
footer { background: #080808; padding: 50px 5% 30px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 2rem; }
.footer-logo-img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-logo-fallback { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; text-transform: uppercase; color: var(--white); display: none; letter-spacing: 0.06em; }
.footer-logo-fallback span { color: var(--red-light); }
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-nav a { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.25); }
.footer-copy span { color: var(--red); }
.footer-rsa { font-size: 0.78rem; color: rgba(255,255,255,0.2); font-style: italic; }

/* ─── ANIMATIONS ────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .faq-inner { grid-template-columns: 1fr; gap: 3rem; }
  .faq-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-badge { margin: 0 auto; }
  .hero-visual { order: -1; }
  .hero-svg-wrap { max-width: 340px; margin: 0 auto; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-instructor { grid-template-columns: 1fr; }
  .instructor-content { padding: 2rem 1.5rem; }
  .instructor-visual, .instructor-photo-placeholder { min-height: 280px; }
  .modules-grid { grid-template-columns: 1fr; }
  .how-cta-box { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  #about, #modules, #how-it-works, #faq, #contact { padding: 80px 5% 70px; }
  .about-stats { gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .btn { padding: 0.75rem 1.4rem; font-size: 0.9rem; }
}
