/* ═══════════════════════════════════════
   TOKENS & RESET
═══════════════════════════════════════ */
:root {
  --bg: #09090b;
  /* --bg: #dbdbfd; */
  --bg2: #0f0f12;
  --surface: #141418;
  --surface2: #1c1c22;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.12);

  --accent: #6c63ff;
  --accent2: #8b85ff;
  --accent-glow: rgba(108, 99, 255, 0.35);
  --gold: #e8b84b;
  --gold-dim: rgba(232, 184, 75, 0.15);
  --ember: #ff5a36;

  --text: #f4f4f5;
  --text2: #a1a1aa;
  --text3: #71717a;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--surface2);
  border-radius: 3px;
}

/* ═══════════════════════════════════════
   UTILITY
═══════════════════════════════════════ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border2);
  background: var(--surface);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text2);
}
.tag.accent {
  border-color: rgba(108, 99, 255, 0.4);
  color: var(--accent2);
  background: rgba(108, 99, 255, 0.08);
}
.tag.gold {
  border-color: rgba(232, 184, 75, 0.35);
  color: var(--gold);
  background: rgba(232, 184, 75, 0.06);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-label::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--accent);
}

h2.section-h {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
h2.section-h span {
  color: var(--accent2);
}

p.section-sub {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.6;
  max-width: 520px;
  margin-top: 8px;
}

.divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2) 30%, var(--border2) 70%, transparent);
}

/* ═══════════════════════════════════════
   NOISE OVERLAY
═══════════════════════════════════════ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.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 200px;
}

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  height: auto;
}
.nav-logo .logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.nav-logo span {
  color: var(--accent2);
}
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 7px 16px;
  border-radius: var(--r-sm);
  color: var(--text2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn-sm {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-ghost-sm {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text2);
}
.btn-ghost-sm:hover {
  border-color: var(--accent);
  color: var(--accent2);
}
.btn-accent-sm {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-accent-sm:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}

/* Mesh gradient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.18) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: blob-drift1 18s ease-in-out infinite;
}
.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 184, 75, 0.1) 0%, transparent 70%);
  bottom: 0;
  right: 5%;
  animation: blob-drift2 22s ease-in-out infinite;
}
@keyframes blob-drift1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, 60px) scale(1.08);
  }
}
@keyframes blob-drift2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, -50px) scale(1.05);
  }
}

.hero-left {
  position: relative;
  z-index: 1;
}

.anniversary-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid rgba(232, 184, 75, 0.3);
  margin-bottom: 28px;
  animation: fadeUp 0.7s both;
}
.ap-badge {
  background: var(--gold);
  color: #0a0a0a;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.ap-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text2);
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
  animation: fadeUp 0.7s 0.1s both;
}
.hero-title .hl {
  background: linear-gradient(135deg, var(--accent2), #c4c0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .hl-gold {
  background: linear-gradient(135deg, var(--gold), #f5d38a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  margin-top: 20px;
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.75;
  max-width: 480px;
  animation: fadeUp 0.7s 0.2s both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  animation: fadeUp 0.7s 0.3s both;
}
.hs-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hs-num {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.hs-label {
  font-size: 0.75rem;
  color: var(--text3);
  font-weight: 500;
}
.hs-sep {
  width: 1px;
  background: var(--border2);
}

/* Countdown */
.hero-countdown {
  margin-top: 36px;
  animation: fadeUp 0.7s 0.35s both;
}
.hcd-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hcd-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 8px var(--ember);
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}
.hcd-blocks {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hcd-block {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-md);
  padding: 14px 18px;
  text-align: center;
  min-width: 72px;
  position: relative;
  overflow: hidden;
}
.hcd-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}
.hcd-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hcd-unit {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-top: 4px;
}
.hcd-sep {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text3);
  padding-bottom: 4px;
}

/* Hero right: lead form */
.hero-form-wrap {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s 0.2s both;
}
.hero-form-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.hero-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), rgba(232, 184, 75, 0.6), transparent);
}
.hfc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 90, 54, 0.12);
  border: 1px solid rgba(255, 90, 54, 0.25);
  color: var(--ember);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.hfc-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 6px;
}
.hfc-sub {
  font-size: 0.875rem;
  color: var(--text2);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group select {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder {
  color: var(--text3);
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}
.form-group select {
  cursor: pointer;
}
.form-group select option {
  background: var(--bg2);
}
.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--accent), #8b85ff);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--accent-glow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  margin-top: 6px;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px var(--accent-glow);
}
.btn-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}
.form-note {
  text-align: center;
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text3);
}
.form-note a {
  color: var(--accent2);
  text-decoration: none;
}

/* ═══════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════ */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 20px 5%;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text2);
  font-weight: 500;
}
.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.trust-strong {
  font-weight: 700;
  color: var(--text);
}

/* ═══════════════════════════════════════
   COURSES
═══════════════════════════════════════ */
#courses {
  padding: 100px 5%;
  background: var(--bg);
}
.section-header {
  margin-bottom: 56px;
}
.category-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--text), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 56px auto 32px;
  padding: 0 5%;
  max-width: 1200px;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  width: 100%;
}
.category-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 5%;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.4);
}

/* ── CATEGORY TABS (HORIZONTAL) ── */
.category-tabs-wrapper {
  width: 100%;
  margin: 0 auto 48px;
  padding: 0 5%;
  text-align: center;
  -webkit-overflow-scrolling: touch;
}

.category-tabs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(20, 20, 24, 0.7);
  border: 1.5px solid rgba(108, 99, 255, 0.2);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.category-tab {
  padding: 10px 24px;
  border: 1.5px solid rgba(108, 99, 255, 0.2);
  border-radius: 14px;
  background: rgba(108, 99, 255, 0.08);
  color: var(--text2);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.3px;
  display: inline-block;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.category-tab:hover {
  background: rgba(108, 99, 255, 0.15);
  border-color: rgba(108, 99, 255, 0.5);
  color: var(--accent2);
  transform: translateY(-2px);
}

.category-tab.active {
  background: linear-gradient(135deg, #6c63ff 0%, #8b85ff 100%);
  border-color: #6c63ff;
  color: #ffffff;
  font-weight: 700;
  box-shadow:
    0 6px 20px rgba(108, 99, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ── COURSES GRID WRAPPER ── */
.courses-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.courses-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
  opacity: 0;
}

.courses-grid.active {
  display: grid;
  opacity: 1;
}
/* ── Responsive Category Tabs ── */

.category-tabs-wrapper {
  width: 100%;
  margin: 0 auto 48px;
  padding: 0 5%;
  display: flex;
  justify-content: center;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap; /* allows tabs to go to next line */
  justify-content: center;
  align-items: center;
  gap: 10px;
}

@media (max-width: 600px) {
  .category-tabs {
    justify-content: flex-start;
  }

  .category-tab {
    font-size: 0.8rem;
    padding: 8px 14px;
  }
}
/* .courses-grid[data-category]:first-of-type {
  display: grid !important;
  opacity: 1 !important;
} */

.course-card {
  background: rgba(20, 20, 24, 0.7);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(108, 99, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
  group: true;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108, 99, 255, 0.4);
  background: rgba(20, 20, 24, 0.9);
  box-shadow:
    0 24px 48px rgba(108, 99, 255, 0.15),
    0 0 40px rgba(108, 99, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.course-card:hover .cc-enroll {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
}

/* Discount ribbon */
.cc-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: linear-gradient(135deg, var(--ember), #ff7a5c);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(255, 90, 54, 0.5);
  text-transform: uppercase;
}

/* Card top gradient */
.cc-top {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
/* Gradient overlay on image */
.cc-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
  transition: opacity 0.3s;
}
.cc-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.course-card:hover .cc-image {
  transform: scale(1.08);
}
.cc-category {
  position: relative;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(108, 99, 255, 0.25);
  border: 1px solid rgba(108, 99, 255, 0.4);
  padding: 7px 14px;
  border-radius: 20px;
  width: fit-content;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.1);
}

.cc-body {
  padding: 24px;
}
.cc-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cc-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  color: var(--text3);
  font-weight: 500;
}
.cc-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cc-meta-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 3px;
  background: var(--surface2);
}
.cc-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cc-price {
  font-size: 1.5rem;
  font-weight: 900;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}
.cc-price-old {
  font-size: 0.85rem;
  color: var(--text3);
  text-decoration: line-through;
  opacity: 0.6;
}
.cc-save {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(30, 195, 113, 0.15), rgba(26, 188, 156, 0.1));
  border: 1px solid rgba(30, 195, 113, 0.3);
  color: #1ec371;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cc-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 16px;
}
.cc-enroll {
  width: 100%;
  padding: 12px 16px;
  background: rgba(108, 99, 255, 0.1);
  border: 1.5px solid rgba(108, 99, 255, 0.3);
  color: var(--accent2);
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
}

/* ═══════════════════════════════════════
   FACULTY — HORIZONTAL VIDEO
═══════════════════════════════════════ */
#faculty {
  padding: 100px 5%;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
/* Ambient glow behind the player */
#faculty::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.faculty-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.faculty-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 24px;
  flex-wrap: wrap;
}

.faculty-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.faculty-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text2);
  font-weight: 500;
}
.faculty-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Video container ── */
.fv-container {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border2);
  box-shadow:
    0 0 0 1px rgba(108, 99, 255, 0.12),
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(108, 99, 255, 0.08);
}

/* Top shimmer line */
.fv-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 5;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(108, 99, 255, 0.6) 30%,
    rgba(232, 184, 75, 0.5) 60%,
    transparent 100%
  );
}

/* YouTube Player Wrapper */
.youtube-player-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000;
}

.youtube-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--r-xl);
}

/* Cinematic background layers */
.fv-bg-base {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #060c1a 0%, #0d1b3e 25%, #111830 50%, #0e1520 75%, #080d18 100%);
}
.fv-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
.fv-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 60px 60px;
}
.fv-bg-glow-l {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.fv-bg-glow-r {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 184, 75, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

/* Decorative — waveform lines */
.fv-waveform {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0.12;
  pointer-events: none;
}
.fv-wave-bar {
  width: 3px;
  border-radius: 3px;
  background: var(--accent2);
  animation: wave-dance 1.4s ease-in-out infinite;
}
.fv-wave-bar:nth-child(1) {
  height: 14px;
  animation-delay: 0s;
}
.fv-wave-bar:nth-child(2) {
  height: 22px;
  animation-delay: 0.1s;
}
.fv-wave-bar:nth-child(3) {
  height: 32px;
  animation-delay: 0.2s;
}
.fv-wave-bar:nth-child(4) {
  height: 44px;
  animation-delay: 0.3s;
}
.fv-wave-bar:nth-child(5) {
  height: 36px;
  animation-delay: 0.2s;
}
.fv-wave-bar:nth-child(6) {
  height: 52px;
  animation-delay: 0.15s;
}
.fv-wave-bar:nth-child(7) {
  height: 40px;
  animation-delay: 0.25s;
}
.fv-wave-bar:nth-child(8) {
  height: 28px;
  animation-delay: 0.35s;
}
.fv-wave-bar:nth-child(9) {
  height: 44px;
  animation-delay: 0.1s;
}
.fv-wave-bar:nth-child(10) {
  height: 56px;
  animation-delay: 0.05s;
}
.fv-wave-bar:nth-child(11) {
  height: 38px;
  animation-delay: 0.2s;
}
.fv-wave-bar:nth-child(12) {
  height: 48px;
  animation-delay: 0.3s;
}
.fv-wave-bar:nth-child(13) {
  height: 32px;
  animation-delay: 0.15s;
}
.fv-wave-bar:nth-child(14) {
  height: 24px;
  animation-delay: 0.25s;
}
.fv-wave-bar:nth-child(15) {
  height: 16px;
  animation-delay: 0.4s;
}
@keyframes wave-dance {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.45);
  }
}

/* Faculty name card — bottom left overlay */
.fv-faculty-card {
  position: absolute;
  bottom: 84px;
  left: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 18px 12px 12px;
  pointer-events: none;
}
.fv-fc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1e3a8a, #6c63ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  border: 2px solid rgba(108, 99, 255, 0.5);
}
.fv-fc-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.fv-fc-role {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* Live / category badge — top left */
.fv-badge-live {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fv-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 6px var(--ember);
  animation: pulse-dot 1.4s ease-in-out infinite;
}

/* Duration — top right */
.fv-badge-dur {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

/* Central play button */
.fv-play-center {
  position: relative;
  z-index: 4;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.22);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(108, 99, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 0 0 12px rgba(108, 99, 255, 0.07),
    0 0 50px rgba(108, 99, 255, 0.35);
}
.fv-play-center svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  margin-left: 5px;
}
.fv-container:hover .fv-play-center {
  background: rgba(108, 99, 255, 0.45);
  border-color: var(--accent2);
  transform: scale(1.1);
  box-shadow:
    0 0 0 16px rgba(108, 99, 255, 0.06),
    0 0 70px rgba(108, 99, 255, 0.55);
}
.fv-play-center::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(108, 99, 255, 0.25);
  animation: ring-pulse 2.8s ease-out infinite;
}
.fv-play-center::after {
  content: "";
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px solid rgba(108, 99, 255, 0.1);
  animation: ring-pulse 2.8s ease-out infinite 0.7s;
}
@keyframes ring-pulse {
  0% {
    transform: scale(0.88);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

/* Bottom gradient overlay */
.fv-bottom-grad {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  z-index: 3;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, transparent 100%);
  pointer-events: none;
}

/* ── Controls bar ── */
.fv-controls-bar {
  background: #000;
  padding: 14px 24px 18px;
  position: relative;
  z-index: 2;
}

.fv-progress-track {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 14px;
  cursor: pointer;
}
.fv-progress-track:hover .fv-progress-thumb {
  opacity: 1;
}
.fv-progress-loaded {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 68%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}
.fv-progress-played {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 38%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.15s;
}
.fv-progress-thumb {
  position: absolute;
  top: 50%;
  right: calc(62% - 6px);
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(108, 99, 255, 0.9);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.fv-ctrl-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fv-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    border-color var(--transition);
}
.fv-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}
.fv-btn svg {
  pointer-events: none;
}
.fv-btn-play {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-color: transparent;
}
.fv-btn-play:hover {
  background: var(--accent2);
}
.fv-time-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding: 0 4px;
}
.fv-time-label b {
  color: #fff;
  font-weight: 700;
}
.fv-vol-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fv-vol-track {
  width: 64px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}
.fv-vol-fill {
  height: 100%;
  width: 72%;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 3px;
}
.fv-spacer {
  flex: 1;
}
.fv-quality-badge {
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.3);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fv-btn-fs svg {
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

/* ── Below-player info strip ── */
.fv-info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  gap: 20px;
  flex-wrap: wrap;
}
.fv-title-block {
}
.fv-video-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.fv-video-sub {
  font-size: 0.82rem;
  color: var(--text2);
}
.fv-action-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fv-action-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--text2);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.fv-action-btn:hover {
  border-color: var(--accent);
  color: var(--accent2);
  background: rgba(108, 99, 255, 0.06);
}
.fv-action-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.fv-action-btn.primary-action {
  background: linear-gradient(135deg, var(--accent), #8b85ff);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 24px var(--accent-glow);
}
.fv-action-btn.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--accent-glow);
}

@media (max-width: 700px) {
  .faculty-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .fv-ctrl-row .fv-vol-group {
    display: none;
  }
  .fv-quality-badge {
    display: none;
  }
}

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
#testimonials {
  padding: 100px 0;
  background: var(--bg);
  overflow: hidden;
}
#testimonials .inner {
  padding: 0 5%;
  margin-bottom: 56px;
}

.trows {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.trow {
  display: flex;
  gap: 18px;
  width: max-content;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.trow-1 {
  animation: slide-left 55s linear infinite;
}
.trow-2 {
  animation: slide-right 50s linear infinite;
}
.trow:hover {
  animation-play-state: paused;
}

@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes slide-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.tcard {
  flex: 0 0 330px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition:
    border-color var(--transition),
    transform var(--transition);
  cursor: default;
}
.tcard:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}

.tcard-head {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 15px;
}
.tcard-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  background: var(--surface2);
  border: 1px solid var(--border2);
  letter-spacing: -0.02em;
}
.tcard-info {
  flex: 1;
}
.tcard-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.tcard-course {
  font-size: 0.75rem;
  color: var(--accent2);
  font-weight: 500;
  margin-top: 2px;
}
.tcard-stars {
  display: flex;
  gap: 2px;
  margin-top: 5px;
}
.tcard-stars span {
  font-size: 0.75rem;
  color: var(--gold);
}
.tcard-stars span.dim {
  color: var(--surface2);
}
.tcard-quote {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 14px;
}
.tcard-img {
  height: 80px;
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tcard-img-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.tc-img-1 {
  background: linear-gradient(135deg, #0d1b4b, #1e3a8a);
}
.tc-img-2 {
  background: linear-gradient(135deg, #0d2d1e, #166534);
}
.tc-img-3 {
  background: linear-gradient(135deg, #2d1b4b, #6d28d9);
}
.tc-img-4 {
  background: linear-gradient(135deg, #3b1a05, #92400e);
}
.tc-img-5 {
  background: linear-gradient(135deg, #1a0a2e, #4c1d95);
}
.tc-img-6 {
  background: linear-gradient(135deg, #0a1a12, #166534);
}
.tc-img-7 {
  background: linear-gradient(135deg, #1a0505, #7f1d1d);
}
.tc-img-8 {
  background: linear-gradient(135deg, #0c1a2e, #1e3a5f);
}

/* ═══════════════════════════════════════
   APP DOWNLOAD
═══════════════════════════════════════ */
#app-download {
  padding: 80px 5%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-section {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  width: 100%;
  max-width: 1200px;
  padding: 52px 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* subtle top glow */
.app-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(120, 100, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ── LEFT COLUMN ── */
.app-left-col {
  color: #fff;
  position: relative;
  z-index: 2;
}

.app-left-col h2 {
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.app-left-col .app-underline-bar {
  width: 36px;
  height: 3px;
  background: var(--accent2);
  border-radius: 2px;
  margin-bottom: 22px;
}

.app-left-col .app-tagline {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.app-features {
  list-style: none;
  margin-bottom: 34px;
}

.app-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.88);
}

.app-features li svg {
  flex-shrink: 0;
}

/* stats row */
.app-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.app-stat {
  text-align: center;
}

.app-stat-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
}

.app-stat-icon svg {
  width: 22px;
  height: 22px;
}

.app-stat-value {
  font-size: 0.92rem;
  font-weight: 900;
  color: #fff;
  display: block;
}

.app-stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

/* ── CENTRE — phone mockup ── */
.app-phone-col {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  padding-top: 30px;
  z-index: 2;
}

.app-phone-wrapper {
  position: relative;
  width: 224px;
}

.app-phone-frame {
  width: 224px;
  height: 448px;
  border-radius: 38px;
  border: 6px solid rgba(255, 255, 255, 0.12);
  background: #000;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 32px 80px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(100, 80, 255, 0.12);
}

/* dynamic island notch */
.app-phone-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 14px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

/* ── RIGHT COLUMN ── */
.app-right-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  position: relative;
  z-index: 2;
}

.app-store-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  width: 100%;
}

.app-store-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
}

.app-store-card p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.app-store-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: center;
}

/* ── Shared store button base ── */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 11px 22px;
  text-decoration: none;
  width: 190px;
  transition:
    border-color 0.2s,
    transform 0.18s,
    box-shadow 0.18s;
  cursor: pointer;
}

.app-store-btn:hover {
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

.app-store-btn .app-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.app-store-btn .app-btn-text .app-btn-sub {
  font-size: 0.54rem;
  font-weight: 600;
  opacity: 0.7;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.app-store-btn .app-btn-text .app-btn-main {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.1px;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  height: auto;
}
.footer-logo .logo-image {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.footer-logo span {
  color: var(--accent2);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text3);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--text3);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--text2);
}

/* ═══════════════════════════════════════
   MODAL / POPUP
═══════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px) saturate(120%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 480px;
  padding: 40px;
  position: relative;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(108, 99, 255, 0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-backdrop.open .modal {
  transform: translateY(0) scale(1);
}

.modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), rgba(232, 184, 75, 0.5), transparent);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text2);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--ember);
  border-color: var(--ember);
  color: #fff;
}

.modal-course-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.25);
  color: var(--accent2);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 4px;
}
.modal-sub {
  font-size: 0.875rem;
  color: var(--text2);
  margin-bottom: 28px;
  line-height: 1.6;
}
.modal-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.modal-success.show {
  display: block;
}
.ms-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(30, 195, 113, 0.1);
  border: 2px solid #1ec371;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.ms-icon svg {
  width: 28px;
  height: 28px;
  stroke: #1ec371;
  fill: none;
  stroke-width: 2.5;
}
.ms-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.ms-sub {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.6;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface);
  border: 1px solid rgba(30, 195, 113, 0.3);
  color: var(--text);
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .app-section {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    text-align: center;
  }
  .app-left-col {
    order: 1;
  }
  .app-phone-col {
    order: -1;
    padding-top: 0;
    padding-bottom: 30px;
  }
  .app-right-col {
    order: 2;
  }
  .app-features {
    justify-content: center;
  }
  .app-stats {
    justify-content: center;
  }
  .app-store-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.dl-buttons {
  align-items: center;
}
.app-features {
  align-items: stretch;
}
.af-item {
  text-align: left;
}

@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .nav-links {
    display: none;
  }
  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .category-tabs-wrapper {
    padding: 0 5%;
    margin: 0 auto 40px;
  }
  .category-tabs {
    gap: 8px;
    padding: 10px 14px;
    border-radius: 20px;
  }
  .category-tab {
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 12px;
  }
  .category-tab.active {
    font-weight: 700;
  }
  .section-header,
  #testimonials .inner,
  #faculty .inner {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 600px) {
  .hero-stats {
    gap: 18px;
  }
  .hcd-blocks {
    gap: 6px;
  }
  .hcd-block {
    padding: 10px 12px;
    min-width: 58px;
  }
  .hcd-num {
    font-size: 1.5rem;
  }
  .hero-form-card {
    padding: 26px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .category-tabs-wrapper {
    padding: 0 8px;
  }
  .category-tabs {
    gap: 6px;
    padding: 6px 8px;
    border-radius: 16px;
  }
  .category-tab {
    padding: 9px 14px;
    font-size: 0.78rem;
    border-radius: 10px;
  }
  .modal {
    padding: 28px 20px;
  }
}
.flash-toast {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}
.flash-toast.show {
  display: flex;
}
.flash-toast-box {
  background: linear-gradient(135deg, #0a0a0f 0%, #0d1a3d 100%);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 20px;
  padding: 40px 44px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(108, 99, 255, 0.2);
  animation: ftSlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes ftSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.flash-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}
.flash-icon.success {
  background: rgba(30, 195, 113, 0.12);
  border: 2px solid #1ec371;
  color: #1ec371;
}
.flash-icon.duplicate {
  background: rgba(232, 184, 75, 0.12);
  border: 2px solid var(--gold);
  color: var(--gold);
}
.flash-icon.error {
  background: rgba(239, 68, 68, 0.12);
  border: 2px solid #dc2626;
  color: #dc2626;
}

.flash-toast-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.flash-toast-box p {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 22px;
}
.flash-progress {
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 4px;
}
.flash-progress-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  width: 100%;
  transition: width linear;
}
.flash-close-btn {
  margin-top: 18px;
  padding: 10px 28px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--text2);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.flash-close-btn:hover {
  background: var(--surface2);
  border-color: var(--border);
  color: var(--text);
}
