/* ═══════════════════════════════════════════════════════════
   JAMES CARTER — İNGİLİZCE USTALIK AKADEMİSİ
   Premium Dark Theme CSS
   ═══════════════════════════════════════════════════════════ */

/* ─── FONTS ─────────────────────────────────────────────── */
/* Playfair Display (serif, display) + DM Sans (body) + DM Mono */

/* ─── CSS VARIABLES ──────────────────────────────────────── */
:root {
  /* Colors */
  --ink:        #0A0B0F;
  --ink-2:      #11131A;
  --ink-3:      #181B24;
  --ink-4:      #1F2330;
  --ink-5:      #262B3A;

  --gold:       #C9A84C;
  --gold-light: #E2C47A;
  --gold-dim:   #8A6E2F;
  --gold-glow:  rgba(201, 168, 76, 0.18);

  --text:       #EAE8E0;
  --text-2:     #B8B4A8;
  --text-3:     #6E6B62;
  --text-4:     #3A3830;

  --accent:     #4A7FBF;
  --accent-dim: rgba(74, 127, 191, 0.15);

  --green:      #3DAA72;
  --green-dim:  rgba(61, 170, 114, 0.15);

  --red:        #C04A4A;

  --border:     rgba(255, 255, 255, 0.07);
  --border-2:   rgba(255, 255, 255, 0.12);

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

  /* Spacing */
  --section-py: clamp(5rem, 10vw, 9rem);
  --container:  1200px;

  /* Effects */
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 32px rgba(0,0,0,0.4);
  --shadow-lg:  0 12px 64px rgba(0,0,0,0.6);
  --glow-gold:  0 0 40px rgba(201,168,76,0.2);

  /* Transitions */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: none; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ─── NOISE OVERLAY ─────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  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)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── CUSTOM CURSOR ─────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease), width 0.2s var(--ease), height 0.2s var(--ease), opacity 0.2s;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s, border-color 0.3s;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor { width: 16px; height: 16px; }
body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower {
  width: 48px; height: 48px;
  border-color: var(--gold);
}

/* ─── CONTAINER ─────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

/* ─── SECTION BASE ───────────────────────────────────────── */
.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.4rem 1rem;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  background: var(--gold-glow);
  margin-bottom: 1.5rem;
}

.section__heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.section__heading em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.section__sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.75;
}

.section__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section__header .section__sub { text-align: center; }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ─── FLOAT ANIMATION ────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(1deg); }
  66%       { transform: translateY(-6px) rotate(-0.5deg); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-16px) rotate(1deg); }
}

@keyframes float-med {
  0%, 100% { transform: translateY(0px); }
  40%       { transform: translateY(-9px) rotate(0.5deg); }
}

.float     { animation: float 6s ease-in-out infinite; }
.float--slow { animation: float-slow 8s ease-in-out infinite; }
.float--med  { animation: float-med 5s ease-in-out infinite; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::before { opacity: 1; }

.btn--primary {
  background: var(--ink-5);
  color: var(--text);
  border: 1px solid var(--border-2);
}

.btn--primary:hover {
  border-color: var(--gold-dim);
  box-shadow: 0 0 20px var(--gold-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-2);
}

.btn--gold {
  background: linear-gradient(135deg, #C9A84C, #A8893D);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(201,168,76,0.25);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(201,168,76,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}

.btn--outline:hover {
  border-color: var(--gold-dim);
  color: var(--gold-light);
}

.btn--lg {
  padding: 1rem 2.2rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(10, 11, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0,0,0,0.4);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover {
  color: var(--text);
  background: var(--ink-5);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav__burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE MENU ────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink-2);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

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

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  padding: 0 2rem;
}

.mobile-menu a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-2);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.mobile-menu a:hover {
  color: var(--text);
  background: var(--ink-4);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

/* Background grid */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
}

/* Orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74,127,191,0.06) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.4rem 1rem;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  background: var(--gold-glow);
  margin-bottom: 2rem;
}

.hero__tag-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.hero__heading em {
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* Hero Stats */
.hero__stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: fit-content;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.72rem;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-2);
}

/* Hero Floating Cards */
.hero__cards {
  position: absolute;
  right: clamp(1rem, 5vw, 5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.word-card {
  background: var(--ink-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 220px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.word-card__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.word-card__word {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.word-card__def {
  font-size: 0.78rem;
  color: var(--text-2);
  font-style: italic;
}

.word-card__tag-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.25rem 0.6rem;
  background: var(--ink-5);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  color: var(--text-2);
}

.tag--gold {
  background: var(--gold-glow);
  border-color: var(--gold-dim);
  color: var(--gold);
}

.word-card__streak {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.word-card__streak-sub {
  font-size: 0.8rem;
  color: var(--text-2);
}

.word-card--1 { animation-delay: 0s; }
.word-card--2 { animation-delay: -2s; }
.word-card--3 { animation-delay: -4s; }

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.5rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hero__scroll-line {
  width: 60px;
  height: 1px;
  background: var(--text-3);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scan 2.5s ease-in-out infinite;
}

@keyframes scan {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.about__img-wrapper {
  position: relative;
  padding-bottom: 2rem;
}

.about__img-frame {
  width: 100%;
  aspect-ratio: 3/4;
  max-width: 360px;
  background: var(--ink-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  overflow: hidden;
  position: relative;
}

.about__img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(201,168,76,0.05) 100%);
}

.about__img-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.about__img-placeholder svg {
  width: 70%;
  height: auto;
}

.about__img-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--ink);
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow);
}

.about__quote {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: var(--ink-3);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.about__quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.about__quote cite {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-style: normal;
}

.about__text {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about__text strong { color: var(--text); }

/* Pillars */
.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.pillar:hover {
  border-color: var(--gold-dim);
  box-shadow: var(--glow-gold);
}

.pillar__icon {
  width: 40px;
  height: 40px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-dim);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold);
}

.pillar__icon svg {
  width: 18px;
  height: 18px;
}

.pillar h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.pillar p {
  font-size: 0.82rem;
  color: var(--text-3);
}

/* Credentials */
.about__credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-2);
}

.credential__icon { font-size: 1rem; }

/* ─── COURSES ────────────────────────────────────────────── */
.courses { background: var(--ink); }

.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.course-card {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.course-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--glow-gold);
}

.course-card:hover::before { opacity: 1; }

.course-card--featured {
  background: linear-gradient(145deg, var(--ink-4), var(--ink-3));
  border-color: var(--gold-dim);
  grid-column: span 2;
}

.course-card--featured::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.course-card__badge {
  display: inline-flex;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--ink);
}

.course-card__badge--new {
  background: linear-gradient(135deg, var(--accent), #3A6FA5);
  color: #fff;
}

.course-card__level {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
}

.course-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.course-card--featured .course-card__title {
  font-size: 1.4rem;
}

.course-card__desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.course-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-3);
}

.course-card__meta svg { color: var(--gold); flex-shrink: 0; }

.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.course-card__progress {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 120px;
}

.course-card__progress span {
  font-size: 0.72rem;
  color: var(--text-3);
  font-family: var(--font-mono);
}

.progress-bar {
  height: 3px;
  background: var(--ink-5);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  width: var(--w, 0%);
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 1s var(--ease);
}

/* CTA Card */
.course-card--cta {
  background: var(--ink-4);
  border-style: dashed;
  border-color: var(--border-2);
  align-items: center;
  justify-content: center;
}

.course-card__cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1rem 0;
  color: var(--text-3);
}

.course-card__cta-inner h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-2);
}

.course-card__cta-inner p {
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ─── PRACTICE LAB ───────────────────────────────────────── */
.practice {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.practice__bg-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(40px);
}

.practice__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.practice__text {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.practice__text strong { color: var(--text); }

.practice__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.practice__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-2);
}

.feature-check {
  width: 22px;
  height: 22px;
  background: var(--green-dim);
  border: 1px solid rgba(61,170,114,0.3);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--green);
  flex-shrink: 0;
  font-weight: 700;
}

/* Practice Mockup */
.mockup {
  background: var(--ink-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  margin-left: auto;
}

.mockup__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  background: var(--ink-4);
  border-bottom: 1px solid var(--border);
}

.mockup__dots {
  display: flex;
  gap: 5px;
}

.mockup__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-5);
}

.mockup__dots span:nth-child(1) { background: #FF5F57; }
.mockup__dots span:nth-child(2) { background: #FEBC2E; }
.mockup__dots span:nth-child(3) { background: #28C840; }

.mockup__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  flex: 1;
  letter-spacing: 0.04em;
}

.mockup__badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  background: var(--gold-glow);
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  color: var(--gold);
}

.mockup__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mockup__progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
}

.mockup__progress-pct { color: var(--gold); font-weight: 600; }

.mockup__progress-track {
  height: 4px;
  background: var(--ink-5);
  border-radius: 2px;
  overflow: hidden;
}

.mockup__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 0.8s var(--ease);
}

.mockup__question {
  background: var(--ink-4);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.mockup__q-label {
  font-size: 0.7rem;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.mockup__q-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}

.mockup__blank {
  display: inline-block;
  min-width: 80px;
  border-bottom: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

.mockup__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.mockup__opt {
  padding: 0.6rem 0.75rem;
  background: var(--ink-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text-2);
  text-align: left;
  transition: all 0.2s;
  cursor: default;
}

.mockup__opt--correct {
  background: var(--green-dim);
  border-color: rgba(61,170,114,0.4);
  color: var(--green);
  font-weight: 600;
}

.mockup__feedback {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  line-height: 1.6;
}

.mockup__feedback--correct {
  background: var(--green-dim);
  border: 1px solid rgba(61,170,114,0.25);
  color: rgba(61,170,114,0.9);
}

.mockup__feedback strong { color: var(--green); }

/* Exercise tracker */
.mockup__exercises {
  display: flex;
  gap: 0.6rem;
}

.mockup__ex {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-3);
}

.mockup__ex-bar {
  width: 100%;
  height: 4px;
  background: var(--ink-5);
  border-radius: 2px;
}

.mockup__ex--done .mockup__ex-bar { background: var(--green); }
.mockup__ex--done { color: var(--green); }

.mockup__ex--active .mockup__ex-bar {
  background: linear-gradient(90deg, var(--gold), var(--gold-dim));
}
.mockup__ex--active { color: var(--gold); }

.mockup__ex--locked { opacity: 0.35; }
.mockup__ex--locked svg { color: var(--text-3); }

/* ─── STATS DASHBOARD ────────────────────────────────────── */
.stats-section { background: var(--ink); }

.dashboard-preview {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--ink-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Sidebar */
.dashboard-preview__sidebar {
  background: var(--ink-4);
  border-right: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-user__avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--ink);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.dash-user__name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.dash-user__course {
  font-size: 0.72rem;
  color: var(--text-3);
  font-family: var(--font-mono);
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dash-nav__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text-3);
  transition: background 0.2s, color 0.2s;
  cursor: default;
}

.dash-nav__item:hover,
.dash-nav__item--active {
  background: var(--ink-5);
  color: var(--text);
}

.dash-nav__item--active { color: var(--gold); }

/* Main dashboard */
.dashboard-preview__main {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.dash-kpi {
  background: var(--ink-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.25s;
}

.dash-kpi:hover { border-color: var(--gold-dim); }

.dash-kpi__val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.dash-kpi__val--gold { color: var(--gold); }

.dash-kpi__label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Chart */
.dash-chart-area {
  background: var(--ink-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.dash-chart-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 80px;
}

.dash-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  justify-content: flex-end;
}

.dash-bar-group > span {
  font-size: 0.6rem;
  color: var(--text-3);
  font-family: var(--font-mono);
}

.dash-bar {
  width: 100%;
  height: var(--h);
  background: var(--ink-5);
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 3px;
  transition: background 0.3s;
  position: relative;
  min-height: 4px;
}

.dash-bar span {
  font-size: 0.58rem;
  color: var(--text-3);
  font-family: var(--font-mono);
}

.dash-bar:hover { background: var(--ink-3); }

.dash-bar--today {
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
}

.dash-bar--today span { color: var(--ink); font-weight: 700; }
.dash-bar--today:hover { background: linear-gradient(180deg, var(--gold-light), var(--gold)); }

/* Achievements */
.dash-achievements {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.dash-badge {
  width: 44px;
  height: 44px;
  background: var(--ink-4);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  opacity: 0.3;
  filter: grayscale(1);
  transition: all 0.25s var(--ease);
  cursor: default;
}

.dash-badge--earned {
  opacity: 1;
  filter: none;
  border-color: var(--gold-dim);
  background: var(--gold-glow);
}

.dash-badge:hover {
  transform: scale(1.15) rotate(-3deg);
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonials {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.testi-card {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.testi-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.testi-card--highlight {
  background: linear-gradient(145deg, var(--ink-4), var(--ink-3));
  border-color: var(--gold-dim);
  grid-column: span 2;
  position: relative;
  overflow: hidden;
}

.testi-card--highlight::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.testi-card__quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-dim);
  line-height: 0.5;
  height: 40px;
  display: flex;
  align-items: flex-start;
}

.testi-card__stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.testi-card__text {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  flex: 1;
}

.testi-card--highlight .testi-card__text {
  font-size: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text);
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.testi-card__avatar {
  width: 38px;
  height: 38px;
  background: var(--ink-5);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-3);
  flex-shrink: 0;
}

.testi-card__avatar--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--ink);
  border-color: var(--gold);
}

.testi-card__name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.testi-card__course {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* Skill bar in testi card */
.testi-card__rating-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  row-gap: 0.4rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testi-card__rating-detail span:nth-child(odd) {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.testi-bar {
  display: block;
  height: 4px;
  background: var(--ink-5);
  border-radius: 2px;
  overflow: hidden;
}

.testi-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

/* ─── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  background: var(--ink);
}

.cta-banner__inner {
  text-align: center;
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}

.cta-banner__orb {
  position: absolute;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(40px);
}

.cta-banner__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

.cta-banner__heading em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.cta-banner__sub {
  font-size: 1.05rem;
  color: var(--text-2);
  margin-bottom: 2.5rem;
}

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

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer__socials {
  display: flex;
  gap: 0.6rem;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  background: var(--ink-4);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--text-3);
  transition: all 0.25s;
}

.footer__socials a:hover {
  background: var(--gold-glow);
  border-color: var(--gold-dim);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer__col h5 {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 1.25rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col a {
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: var(--text-3);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.78rem;
  color: var(--text-3);
  transition: color 0.2s;
}

.footer__legal a:hover { color: var(--text-2); }

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb {
  background: var(--ink-5);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

/* ─── SELECTION ──────────────────────────────────────────── */
::selection {
  background: rgba(201, 168, 76, 0.25);
  color: var(--text);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */

/* Large tablet */
@media (max-width: 1100px) {
  .courses__grid {
    grid-template-columns: 1fr 1fr;
  }
  .course-card--featured {
    grid-column: span 2;
  }
  .dashboard-preview {
    grid-template-columns: 200px 1fr;
  }
  .dash-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__cards {
    display: none;
  }
  .hero__inner {
    max-width: 100%;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .nav__links,
  .nav__actions { display: none; }
  .nav__burger { display: flex; }

  .hero__heading { font-size: clamp(2.8rem, 8vw, 4.5rem); }

  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__img-wrapper { max-width: 300px; }

  .courses__grid {
    grid-template-columns: 1fr;
  }
  .course-card--featured { grid-column: span 1; }

  .practice__grid {
    grid-template-columns: 1fr;
  }
  .mockup { margin: 0 auto; }

  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }
  .testi-card--highlight { grid-column: span 2; }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }
  .dashboard-preview__sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.5rem;
  }
  .dash-nav { flex-direction: row; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand { grid-column: span 2; }

  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
  button { cursor: pointer; }
}

/* Mobile */
@media (max-width: 600px) {
  .hero__stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .hero__stat-divider { display: none; }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  .testi-card--highlight { grid-column: span 1; }

  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__brand { grid-column: span 1; }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .mockup__options { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }

  .cta-banner__actions { flex-direction: column; align-items: center; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
}
