/* ============================================================
   Merit Campus — Premium CSS
   Aesthetic: Refined editorial luxury with organic warmth
   Fonts: Playfair Display (display) + DM Sans (body) + DM Mono
 ============================================================ */

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

:root {
  /* Brand palette */
  --green-900: #062917;
  --green-800: #0D5C45;
  --green-700: #137A5C;
  --green-600: #1A9C72;
  --green-400: #34d399;
  --green-200: #A7F3D0;
  --green-100: #d1fae5;
  --green-50: #ECFDF5;
  --mint: #7FFFD4;

  --gold: #C8A951;
  --gold-light: #F0D98A;

  --ink: #0F1E17;
  --ink-mid: #1E3A2F;
  --slate: #4B6859;
  --mist: #8BA89A;
  --fog: #C8D8D2;
  --paper: #F7FAF8;
  --white: #FFFFFF;

  --bg: #F4F7F5;
  --surface: #FFFFFF;
  --border: #DDE8E3;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;

  /* Spacing */
  --nav-h: 76px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container: 1360px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --brand-orange: #ff7b00;
  --brand-orange-light: #ff9d42;
  --brand-orange-soft: #fff1e6;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(13, 92, 69, .07);
  --shadow-md: 0 8px 28px rgba(13, 92, 69, .12);
  --shadow-lg: 0 20px 60px rgba(13, 92, 69, .18);
  --shadow-xl: 0 32px 80px rgba(13, 92, 69, .22);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── CUSTOM SCROLLBAR (Main Browser) ───────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--green-800);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-700);
}

/* Firefox Support */
@supports (scrollbar-width: thin) {
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--green-800) var(--bg);
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ─── CURSOR GLOW ────────────────────────────────────────── */
.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 156, 114, .12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: left .12s ease, top .12s ease;
}

/* ─── HEADER / NAV ───────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 250, 248, .88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
  height: var(--nav-h);
}

header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(13, 92, 69, .08);
  background: rgba(247, 250, 248, .97);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.logo-mark {
  position: relative;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(13, 92, 69, .3);
}

.logo-mark.sm {
  width: 40px;
  height: 40px;
}

.logo-letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: white;
  line-height: 1;
}

.logo-mark.sm .logo-letter {
  font-size: 1.25rem;
}

.logo-dot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: .05rem;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-800);
  letter-spacing: -.3px;
}

.logo-name.white {
  color: var(--white);
}

.logo-tagline {
  font-size: .68rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: .6px;
  text-transform: uppercase;
}

.logo-tagline.muted {
  color: var(--mist);
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  gap: .25rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate);
  padding: .5rem .8rem;
  border-radius: var(--radius-sm);
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-link.active {
  color: var(--green-800);
  font-weight: 600;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-login {
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green-800);
  padding: .6rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}

.btn-login:hover {
  background: var(--green-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 92, 69, .3);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.hamburger:hover {
  background: var(--green-50);
  border-color: var(--green-200);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform .35s var(--ease-out-expo), opacity .25s ease, width .3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 14px;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE DRAWER ──────────────────────────────────────── */
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 41, 23, .55);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  transition: opacity .35s ease;
}

.drawer-backdrop.open {
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50vw;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s var(--ease-out-expo);
  box-shadow: -12px 0 60px rgba(13, 92, 69, .2);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  width: 40px;
  height: 40px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .2s, color .2s;
}

.drawer-close:hover {
  background: var(--green-50);
  color: var(--green-800);
}

.drawer-nav {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1;
  overflow-y: auto;
}

.drawer-link {
  display: flex;
  align-items: center;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
  color: var(--slate);
  transition: background .2s, color .2s, padding-left .2s;
}

.drawer-link:hover,
.drawer-link.active {
  background: var(--green-50);
  color: var(--green-800);
  padding-left: 1.5rem;
}

.drawer-link.active {
  font-weight: 600;
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-drawer-login {
  display: block;
  text-align: center;
  background: var(--green-800);
  color: white;
  padding: .9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s;
}

.btn-drawer-login:hover {
  background: var(--green-600);
}

.drawer-socials {
  display: flex;
  gap: .75rem;
  justify-content: center;
}

.drawer-socials a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  transition: background .2s, color .2s, border-color .2s;
}

.drawer-socials a:hover {
  background: var(--green-50);
  color: var(--green-800);
  border-color: var(--green-200);
}

.drawer-contact {
  text-align: center;
  font-size: .85rem;
  color: var(--mist);
  display: flex;
  gap: .5rem;
  align-items: center;
  justify-content: center;
}

.drawer-contact a {
  color: var(--green-700);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding-left: max(2rem, calc((100% - var(--container)) / 2 + 2rem));
  padding-right: max(2rem, calc((100% - var(--container)) / 2 + 2rem));
  overflow: visible;
}


/* Hero BG grid */
.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-image:
    linear-gradient(rgba(26, 156, 114, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 156, 114, .06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}


/* Orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 156, 114, .18) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 169, 81, .1) 0%, transparent 70%);
  bottom: 0;
  left: 10%;
  animation: orbFloat 9s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(127, 255, 212, .1) 0%, transparent 70%);
  top: 30%;
  left: 40%;
  animation: orbFloat 15s ease-in-out infinite;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -40px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(.97);
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}

.pill {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  background: var(--green-800);
  color: white;
  padding: .3rem .75rem;
  border-radius: 999px;
  letter-spacing: .5px;
}

.pill-divider {
  font-size: .82rem;
  font-weight: 500;
  color: var(--mist);
  letter-spacing: .3px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.hero-headline .line {
  display: block;
}

.hero-headline .accent-line {
  color: var(--green-700);
  font-style: italic;
  position: relative;
}

.hero-headline .accent-line::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-400), transparent);
  border-radius: 2px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-enroll {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--green-800);
  color: white;
  padding: .85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: all .25s var(--ease-out-expo);
  box-shadow: 0 6px 24px rgba(13, 92, 69, .3);
  white-space: nowrap;
}

.btn-enroll svg {
  width: 16px;
  height: 16px;
  transition: transform .25s ease;
}

.btn-enroll:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(13, 92, 69, .4);
}

.btn-enroll:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--green-800);
  padding: .85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid var(--green-200);
  background: transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: var(--green-50);
  border-color: var(--green-400);
  transform: translateY(-2px);
}

/* Trust row */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-avatars {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  margin-left: -8px;
  flex-shrink: 0;
}

.trust-avatars .avatar:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: .85rem;
  color: var(--slate);
}

.trust-text strong {
  color: var(--green-800);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 1;
  height: 500px;
}

/* Main card */
.visual-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.main-card {
  top: 0;
  left: 0;
  right: 0;
  bottom: 120px;
  padding: 2rem;
}

.card-shine {
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(ellipse at 35% 30%, rgba(26, 156, 114, .07) 0%, transparent 60%);
  pointer-events: none;
}

.vc-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.vc-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.vc-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.vc-sub {
  font-size: .8rem;
  color: var(--mist);
  margin-top: .15rem;
}

.vc-chart {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.bar-group {
  display: grid;
  gap: .4rem;
}

.bar-label {
  font-size: .8rem;
  font-weight: 500;
  color: var(--slate);
}

.bar-track {
  height: 10px;
  background: var(--paper);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--green-700), var(--green-400));
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  font-size: .6rem;
  color: white;
  font-weight: 700;
  animation: growBar .8s var(--ease-out-expo) .4s both;
}

.bar-fill.b {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.bar-fill.c {
  background: linear-gradient(90deg, var(--mist), var(--fog));
}

@keyframes growBar {
  from {
    width: 0;
  }

  to {
    width: var(--w);
  }
}

/* Float cards */
.float-card {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.float-card i {
  font-size: .9rem;
  color: var(--green-600);
}

.fc-1 {
  bottom: 80px;
  left: 0;
  animation: floatCard 4s ease-in-out infinite;
}

.fc-2 {
  bottom: 80px;
  right: 0;
  animation: floatCard 5s ease-in-out infinite reverse;
}

.fc-3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: floatCard 3.5s ease-in-out infinite;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.fc-3 {
  animation: floatCard3 3.5s ease-in-out infinite;
}

@keyframes floatCard3 {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

/* ─── STATS ──────────────────────────────────────────────── */
.stats-section {
  background: var(--green-800);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(26, 156, 114, .3) 0%, transparent 60%);
}

.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 0;
  position: relative;
}

.stat-item {
  padding: 1rem 1.5rem;
  text-align: center;
}

.stat-item .val {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: .4rem;
}

.stat-item .lbl {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  letter-spacing: .3px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, .15);
}

/* ─── FEATURES SECTION ───────────────────────────────────── */
.features-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) 2rem;
}

/* Section Header Shared */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-badge.light {
  color: var(--green-200);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: .75rem;
}

.section-title em {
  font-style: italic;
  color: var(--green-700);
}

.section-title.light {
  color: white;
}

.section-title.light em {
  color: var(--mint);
}

.section-desc {
  font-size: 1rem;
  color: var(--mist);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-desc.light {
  color: rgba(255, 255, 255, .8);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feat-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all .3s var(--ease-out-expo);
  animation: fadeUp .6s var(--ease-out-expo) var(--delay, 0s) both;
  overflow: hidden;
  cursor: pointer;
}

.feat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--green-50), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}

.feat-card:hover {
  border-color: var(--green-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.feat-card:hover::after {
  opacity: 1;
}

.feat-num {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--fog);
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: 1px;
}

.feat-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: background .3s, color .3s;
}

.feat-card:hover .feat-icon-wrap {
  background: var(--green-700);
  color: white;
}

.feat-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .6rem;
}

.feat-card p {
  font-size: .9rem;
  color: var(--slate);
  line-height: 1.65;
}

.feat-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  font-size: .8rem;
  transition: background .3s, color .3s, transform .3s;
}

.feat-card:hover .feat-arrow {
  background: var(--green-700);
  color: white;
  transform: rotate(-45deg);
}

/* ─── ACHIEVERS SECTION ──────────────────────────────────── */
.achievers-section {
  background: #080C0A;
  /* Deeper, neutral midnight */
  padding: var(--section-pad) 0;
  overflow: hidden;
  position: relative;
}

.achievers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(26, 156, 114, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.achievers-header {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.scroll-track-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 2rem;
}

.scroll-track {
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  cursor: grab;
}

.scroll-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.scroll-track::-webkit-scrollbar {
  display: none;
}

.cards-row {
  display: flex;
  gap: 1.25rem;
  padding: 1rem 0 2rem;
  width: max-content;
}

/* Student Card */
.s-card {
  width: 280px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  flex-shrink: 0;
  position: relative;
}

.s-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none;
}

.s-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 
              inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.s-card-top {
  padding: 2rem 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.s-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.s-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.4rem;
  letter-spacing: -0.2px;
}

.s-level {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.s-card-body {
  padding: 0 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

.s-results-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.s-result-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.s-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  transition: transform 0.2s ease;
}

.s-result-row:hover {
  transform: translateX(4px);
}

.s-subject {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.s-grade {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.grade-A {
  background: rgba(52, 211, 153, 0.15);
  color: #10b981;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.grade-B {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.grade-C {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
}

.s-description {
  margin-top: 1.25rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  font-style: italic;
}

/* Dots */
.track-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
  padding: 0 2rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.dot.active {
  background: white;
  transform: scale(1.3);
}

/* ─── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  position: relative;
  background: var(--green-800);
  overflow: hidden;
  margin: 0;
}

.cta-bg-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
}

.c1 {
  width: 600px;
  height: 600px;
  top: -300px;
  right: -200px;
}

.c2 {
  width: 400px;
  height: 400px;
  bottom: -200px;
  left: -100px;
}

.cta-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) 2rem;
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  margin-bottom: .75rem;
  letter-spacing: -1px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  padding: .85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, .3);
  background: transparent;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
  white-space: nowrap;
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .5);
  transform: translateY(-2px);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .75);
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
}

.footer-brand .logo-wrap {
  margin-bottom: 1.25rem;
}

.footer-about {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: .6rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
  transition: background .2s, color .2s, border-color .2s;
}

.footer-socials a:hover {
  background: var(--green-700);
  color: white;
  border-color: var(--green-700);
}

.footer-col h4 {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.footer-col ul li a,
.footer-col ul li span {
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--mint);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
}

.footer-contact-list i {
  width: 16px;
  color: var(--green-400);
  flex-shrink: 0;
}

.footer-bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bar p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .3);
}

.footer-bar-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bar-links a {
  font-size: .82rem;
  color: rgba(255, 255, 255, .3);
  transition: color .2s;
}

.footer-bar-links a:hover {
  color: var(--mint);
}

/* ─── TIMETABLE PAGE ─────────────────────────────────────── */
.timetable-hero {
  padding: calc(var(--nav-h) + 4rem) max(2rem, calc((100% - var(--container)) / 2 + 2rem)) 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Filters */
.timetable-filters-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.filters-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.filter-label {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mist);
}

.filter-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.filter-pill {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--paper);
  border: 1px solid var(--border);
  padding: .45rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}

.filter-pill:hover {
  background: var(--green-50);
  color: var(--green-800);
  border-color: var(--green-200);
}

.filter-pill.active {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
  box-shadow: 0 4px 12px rgba(13, 92, 69, .2);
}

@media (max-width: 900px) {
  .filters-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .filter-group {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    width: 100%;
  }
}



.timetable-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.timetable-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
}

.timetable-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tt-card-header {
  background: var(--ink);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.tt-location {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .95rem;
}

.tt-location i {
  color: var(--brand-orange);
  font-size: 1.1rem;
}

.tt-tag {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .1);
  padding: .3rem .75rem;
  border-radius: 999px;
  letter-spacing: .5px;
  color: var(--brand-orange-light);
}

.tt-card-body {
  padding: 1.5rem;
}

.tt-subject-group {
  margin-bottom: 2rem;
}

.tt-subject-group:last-child {
  margin-bottom: 0;
}

.tt-subject-name {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.tt-subject-name::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand-orange);
  border-radius: 50%;
}

.tt-sessions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-left: 1.25rem;
}

.tt-session-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.tt-info-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--slate);
  background: var(--paper);
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.tt-info-item i {
  color: var(--brand-orange);
  font-size: .85rem;
}

.tt-info-item.day {
  color: var(--brand-orange);
  background: var(--brand-orange-soft);
  border-color: rgba(255, 123, 0, 0.1);
}

/* Notification Bar */
.tt-notice-bar {
  background: #e6f4ef;
  border: 1px solid #cce8dd;
  border-radius: var(--radius-sm);
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 3rem;
  max-width: var(--container);
  font-size: .9rem;
  color: var(--green-900);
}

.tt-notice-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.tt-notice-bar strong {
  color: var(--green-800);
}

@media (max-width: 768px) {
  .timetable-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .tt-notice-bar {
    flex-direction: column;
    text-align: center;
    gap: .5rem;
  }
}


/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 3rem;
    padding-top: calc(var(--nav-h) + 2.5rem);
    padding-bottom: 3rem;
  }

  .hero-visual {
    height: 380px;
  }

  .stats-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .stat-divider {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .btn-login {
    display: none;
  }
}

@media (max-width: 700px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-headline {
    letter-spacing: -1px;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 500px) {
  .nav-inner {
    padding: 0 1rem;
  }

  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .features-section,
  .footer-grid,
  .cta-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-visual {
    height: 320px;
  }

  .main-card {
    padding: 1.25rem;
  }

  .s-card {
    width: 240px;
  }
}

/* ─── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .cursor-glow {
    display: none;
  }
}