/* ─── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg:        #141414;
  --surface:   #1e1e1e;
  --card:      #252525;
  --orange:    #F4831F;
  --orange2:   #ffaa55;
  --chalk:     #f0ece0;
  --muted:     #999;
  --radius:    14px;
  --nav-h:     72px;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--chalk);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── NOISE TEXTURE OVERLAY ─────────────────────────── */
body::before {
  content:'';
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
}

/* ─── NAV ───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(20,20,20,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244,131,31,0.15);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--chalk);
}
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: .45rem 1.1rem;
  border-radius: 8px;
}
.nav-cta:hover { background: var(--orange2) !important; color: #111 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--chalk); border-radius: 2px; transition: .3s; }

/* ─── HERO ──────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) 5% 5rem;
  overflow: hidden;
}
#hero::after {
  content:'';
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(240,236,224,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,236,224,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-badge {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-style: normal;
  letter-spacing: 3px;
  font-size: 1.15rem;
  color: var(--orange);
  border: 1.5px dashed var(--orange);
  padding: .3rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp .6s .2s forwards;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: .95;
  letter-spacing: 4px;
  opacity: 0;
  animation: fadeUp .7s .4s forwards;
}
.hero-title span { color: var(--orange); }
.hero-sub {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 560px;
  opacity: 0;
  animation: fadeUp .7s .6s forwards;
}
.hero-sub strong { color: var(--chalk); }
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin-top: 2.4rem;
  opacity: 0;
  animation: fadeUp .7s .8s forwards;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  letter-spacing: .5px;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--orange2); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid rgba(240,236,224,.25);
  color: var(--chalk);
  font-weight: 700;
  font-size: .95rem;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  transition: border-color .2s, transform .15s;
}
.btn-outline:hover { border-color: var(--orange); transform: translateY(-2px); }
.hero-tags {
  display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center;
  margin-top: 2.6rem;
  opacity: 0;
  animation: fadeUp .7s 1s forwards;
}
.tag {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 99px;
  background: rgba(244,131,31,.1);
  border: 1px solid rgba(244,131,31,.25);
  color: var(--orange2);
}
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: var(--muted); font-size: .75rem; letter-spacing: 1px; text-transform: uppercase;
  opacity: 0; animation: fadeUp .6s 1.2s forwards;
}
.hero-scroll::after {
  content: '';
  display: block; width: 1px; height: 40px;
  background: linear-gradient(var(--orange), transparent);
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* ─── SECTION SHARED ────────────────────────────────── */
section { position: relative; z-index: 1; }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 6rem 5%; }
.label {
  font-family: 'Bebas Neue', sans-serif;
  font-style: normal;
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--orange);
  margin-bottom: .4rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: 2px;
  line-height: 1.05;
}
.divider {
  width: 56px; height: 3px;
  background: var(--orange);
  border-radius: 3px;
  margin: 1rem 0 2rem;
}

/* ─── STORY ─────────────────────────────────────────── */
#story .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story-text p { color: #bbb; margin-bottom: 1rem; }
.story-text p:last-child { margin-bottom: 0; }
.story-text strong { color: var(--chalk); }
.chalk-box {
  background: var(--card);
  border: 1.5px solid rgba(244,131,31,.2);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.chalk-box::before {
  content:'';
  position: absolute; top: -8px; left: -8px; right: -8px; bottom: -8px;
  border: 1px dashed rgba(240,236,224,.08);
  border-radius: calc(var(--radius) + 4px);
  pointer-events: none;
}
.chalk-box .quote {
  font-family: 'Bebas Neue', sans-serif;
  font-style: normal;
  font-size: 1.35rem;
  letter-spacing: 2px;
  color: var(--chalk);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}
.chalk-box .quote-mark {
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.6em;
  color: var(--orange);
  opacity: .6;
  margin-right: .2rem;
}
.mission-pills { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.4rem; }
.mission-pill {
  display: flex; align-items: center; gap: .8rem;
  background: rgba(244,131,31,.07);
  border-left: 3px solid var(--orange);
  padding: .7rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: .9rem; font-weight: 600;
}
.mission-pill .icon { font-size: 1.2rem; }

/* ─── COURSE ─────────────────────────────────────────── */
#course { background: var(--surface); }
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.course-card {
  background: var(--card);
  border: 1px solid rgba(244,131,31,.12);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform .2s, border-color .2s;
}
.course-card:hover { transform: translateY(-4px); border-color: rgba(244,131,31,.4); }
.course-card .c-icon { font-size: 2rem; margin-bottom: 1rem; }
.course-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .5rem; }
.course-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }
.course-highlight {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, rgba(244,131,31,.12), rgba(244,131,31,.04));
  border: 1px solid rgba(244,131,31,.25);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: center;
}
.course-highlight h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1px;
  flex: 1 1 200px;
}
.course-highlight h3 span { color: var(--orange); }
.course-highlight ul { flex: 2 1 300px; list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.course-highlight ul li { font-size: .9rem; color: #bbb; display: flex; align-items: flex-start; gap: .6rem; }
.course-highlight ul li::before { content: '✦'; color: var(--orange); flex-shrink: 0; }

/* ─── VIDEO ──────────────────────────────────────────── */
#video .section-inner { text-align: center; }
.video-wrap {
  margin-top: 2.5rem;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(244,131,31,.2);
  background: var(--card);
}
.video-wrap iframe,
.video-placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  background: var(--card);
}
.play-btn {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform .2s, background .2s;
  animation: pulse 2s infinite;
}
.play-btn:hover { transform: scale(1.1); background: var(--orange2); }
.video-caption { margin-top: .6rem; font-size: .9rem; color: var(--muted); }
.video-caption strong { color: var(--chalk); }

/* ─── TEAM ───────────────────────────────────────────── */
#team { background: var(--surface); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.tutor-card {
  background: var(--card);
  border: 1px solid rgba(244,131,31,.12);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .2s;
}
.tutor-card:hover { transform: translateY(-4px); }
.tutor-header { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.4rem; }
.tutor-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.tutor-header h3 { font-size: 1.3rem; font-weight: 800; }
.tutor-header .role { font-size: .8rem; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.cred-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.4rem; }
.cred-list li { font-size: .9rem; color: #bbb; display: flex; align-items: flex-start; gap: .6rem; }
.cred-list li .cred-icon { font-size: 1rem; flex-shrink: 0; }
.cred-highlight {
  background: rgba(244,131,31,.08);
  border: 1px dashed rgba(244,131,31,.3);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}
.cred-highlight p {
  font-family: 'Arial', sans-serif;
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: .5rem;
}
.cred-highlight .attribution { font-size: .78rem; color: var(--orange); font-weight: 700; }

/* ─── CONTACT ────────────────────────────────────────── */
#contact .section-inner { text-align: center; }
.contact-sub { color: var(--muted); max-width: 520px; margin: .5rem auto 2.5rem; }
.contact-cards {
  display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center;
}
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--card);
  border: 1px solid rgba(244,131,31,.15);
  border-radius: var(--radius);
  padding: 1.4rem 2rem;
  min-width: 220px;
  transition: transform .2s, border-color .2s;
  cursor: pointer;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--orange); }
.contact-card .c-logo { font-size: 2.2rem; }
.contact-card .c-info strong { display: block; font-size: 1rem; font-weight: 800; }
.contact-card .c-info span { font-size: .82rem; color: var(--muted); }

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(240,236,224,.08);
  padding: 2rem 5%;
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
}
footer strong { color: var(--chalk); }
footer .footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: .5rem;
}
footer .footer-logo span { color: var(--orange); }

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity:1; transform:none; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--surface);
    padding: 1.5rem 5%;
    border-bottom: 1px solid rgba(244,131,31,.15);
    gap: 1rem;
  }
  .hamburger { display: flex; }
  #story .section-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .course-highlight { flex-direction: column; }
}
