/* LearNix marketing site */
:root {
  --ln-orange: #ff6b00;
  --ln-orange-deep: #e05e00;
  --ln-ink: #0c0c0d;
  --ln-ink-soft: #2a2a2e;
  --ln-muted: #6b6b73;
  --ln-line: rgba(12, 12, 13, 0.1);
  --ln-bg: #f6f5f3;
  --ln-surface: #ffffff;
  --ln-dark: #121214;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; color-scheme: light; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ln-ink);
  background: var(--ln-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
h1, h2, .hero-brand, .hero-slogan { text-wrap: balance; }
.hero-lead, .section .sub, .page-hero p, .cta-band p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; max-width: 100%; }
input, select, textarea, option {
  color: var(--ln-ink);
  background-color: #fff;
  color-scheme: light;
}
input::placeholder,
textarea::placeholder {
  color: var(--ln-muted);
  opacity: 1;
}
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--ln-ink);
  caret-color: var(--ln-ink);
  box-shadow: 0 0 0 1000px #fff inset;
}
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

/* Brand mark */
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.32rem; letter-spacing: -0.02em;
}
.brand-text em { font-style: normal; color: var(--ln-orange); }
.brand-mark {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid; place-items: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.55));
  box-shadow:
    0 0 0 1px rgba(255,107,0,.18),
    0 8px 20px rgba(255,107,0,.22),
    0 2px 6px rgba(12,12,13,.08);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
  pointer-events: none;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(-3deg);
  box-shadow:
    0 0 0 1px rgba(255,107,0,.28),
    0 14px 28px rgba(255,107,0,.28),
    0 4px 10px rgba(12,12,13,.1);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(246, 245, 243, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.site-header.scrolled {
  border-bottom-color: var(--ln-line);
  background: rgba(246, 245, 243, 0.92);
  box-shadow: 0 10px 30px rgba(12,12,13,.04);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px 0;
  min-width: 0;
}
.site-header .brand { min-width: 0; flex-shrink: 0; }
.nav-links {
  display: flex; align-items: center; gap: 18px;
  font-size: 0.88rem; font-weight: 500; color: var(--ln-muted);
  flex: 1; justify-content: center; min-width: 0;
}
.nav-links a { white-space: nowrap; flex-shrink: 0; }
.nav-links a {
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: var(--ln-orange);
  border-radius: 2px;
  transition: right .3s var(--ease-out);
}
.nav-links a:hover { color: var(--ln-ink); }
.nav-links a:hover::after { right: 0; }
.nav-links a.is-active { color: var(--ln-ink); }
.nav-links a.is-active::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; min-width: 0; }
.nav-actions .btn { white-space: nowrap; padding: 9px 14px; font-size: 0.86rem; }
.nav-mobile-auth { display: none; }
.lang-select { max-width: 72px; flex-shrink: 0; }
.nav-profile { position: relative; }
.profile-chip {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--ln-line); background: #fff;
  border-radius: 999px; padding: 4px 12px 4px 4px;
  cursor: pointer; font: inherit; text-align: left;
}
.profile-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ln-orange), var(--ln-orange-deep));
  color: #fff; font-size: 0.72rem; font-weight: 700;
}
.profile-chip-text { display: flex; flex-direction: column; line-height: 1.15; }
.profile-chip-text strong {
  font-size: 0.82rem;
  max-width: 9ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-chip-text small { font-size: 0.7rem; color: var(--ln-muted); }
.profile-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 180px; background: #fff;
  border: 1px solid var(--ln-line); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(12,12,13,.12);
  padding: 8px; z-index: 70;
}
.profile-menu a, .profile-menu button {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; padding: 10px 12px;
  border-radius: 10px; font: inherit; cursor: pointer; color: inherit;
}
.profile-menu a:hover, .profile-menu button:hover { background: var(--ln-bg); }
.level-card {
  display: flex; flex-direction: column; align-items: center;
  min-width: 88px; padding: 14px 18px;
  border-radius: 20px; background: var(--ln-ink); color: #fff;
}
.level-num { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.stats-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; margin: 8px 0 28px;
}
.stats-row .stat {
  background: var(--ln-bg); border-radius: 16px; padding: 16px 18px;
}
.stats-row .stat b { display: block; font-size: 1.4rem; }
.stats-row .stat span { color: var(--ln-muted); font-size: 0.82rem; }
.progress-line { margin-top: 10px; }
.progress-bar {
  height: 6px; border-radius: 99px; background: rgba(12,12,13,.08); overflow: hidden;
}
.progress-bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--ln-orange), var(--ln-orange-deep));
  border-radius: inherit;
}
.progress-line small { display: block; margin-top: 6px; color: var(--ln-muted); font-size: 0.78rem; }
.modal-video { width: 100%; max-height: 280px; background: #000; display: block; }
.lang-select {
  border: 1px solid var(--ln-line); background: #fff;
  border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 0.85rem;
  color: var(--ln-ink-soft); cursor: pointer;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 18px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 0.92rem;
  border: none; cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease-out), box-shadow .2s, background .2s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--ln-orange), var(--ln-orange-deep));
  color: #fff; box-shadow: 0 10px 28px rgba(255, 107, 0, 0.28);
}
.btn-ghost {
  background: transparent; color: var(--ln-ink);
  border: 1px solid var(--ln-line);
}
.btn-ghost-light {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }
.btn-lg { padding: 14px 22px; font-size: 1rem; }
.btn-google {
  background: #fff;
  color: #1f1f1f;
  border: 1px solid var(--ln-line);
  box-shadow: 0 8px 22px rgba(12,12,13,.06);
}
.g-logo,
.btn-google::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.btn-google .g-logo + [data-i18n],
.btn-google .g-logo + span { line-height: 1; }
.btn-google:has(.g-logo)::before { content: none; display: none; }
.hero .btn-google {
  box-shadow: 0 14px 36px rgba(0,0,0,.25);
}
.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--ln-line); background: #fff; cursor: pointer;
}

/* Hero — full-bleed rotating imagery, no logo watermark */
.hero {
  position: relative;
  min-height: min(94vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #0c0c0d;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 8s linear;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8,8,10,.82) 0%, rgba(8,8,10,.45) 48%, rgba(8,8,10,.55) 100%),
    linear-gradient(180deg, rgba(8,8,10,.2) 0%, rgba(8,8,10,.72) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 78px;
}
.hero-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.hero-brand {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.5vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 16px;
}
.hero-brand span:not(.brand-mark) { color: var(--ln-orange); }
.hero-mark {
  width: 64px; height: 64px;
  border-radius: 18px;
  animation: markFloat 4.5s ease-in-out infinite;
}
@media (min-width: 768px) {
  .hero-mark { width: 78px; height: 78px; border-radius: 22px; }
}
.hero-slogan {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  min-height: 3.6em;
  max-width: 24ch;
  line-height: 1.25;
  transition: opacity .45s ease;
}
.hero-slogan.is-swap {
  opacity: 0;
}
.hero-lead {
  max-width: 36rem;
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,0.78);
  margin: 0 0 28px;
  line-height: 1.55;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-cta .btn, .hero-cta .btn-appstore { white-space: nowrap; }
.hero-dots {
  display: flex; gap: 8px; margin-top: 36px;
}
.hero-dots button {
  width: 28px; height: 3px; padding: 0; border: 0; border-radius: 99px;
  background: rgba(255,255,255,.28); cursor: pointer;
  transition: width .3s, background .3s;
}
.hero-dots button.is-active {
  width: 42px;
  background: var(--ln-orange);
}

@keyframes markFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.hero .reveal { transition-delay: 0s; }
.hero .reveal:nth-child(1) { transition-delay: .05s; }
.hero .reveal:nth-child(2) { transition-delay: .12s; }
.hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .28s; }
.hero .reveal:nth-child(5) { transition-delay: .36s; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: #fff; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 8px; flex-wrap: wrap;
}
.section-head > div { min-width: 0; flex: 1 1 16rem; }
.section-head .btn { flex-shrink: 0; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ln-orange); margin-bottom: 12px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em; line-height: 1.18;
  margin: 0 0 14px; max-width: 28ch;
}
.section .sub {
  color: var(--ln-muted); max-width: 42rem; margin: 0 0 36px;
  font-size: 1.02rem; line-height: 1.6;
}

.course-grid, .instructor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
/* Ana sayfa: seçili kategori kartı + hemen altında açılan video paneli */
.cat-grid-card.is-on {
  border-color: var(--ln-orange);
  box-shadow: 0 0 0 1px var(--ln-orange), 0 10px 24px rgba(255, 107, 0, 0.14);
}
.home-cat-panel {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--ln-line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(12, 12, 13, 0.06);
}
.home-cat-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.home-cat-panel-head strong {
  font-size: 0.95rem;
  color: #1A1A1A;
  letter-spacing: -0.01em;
}
.home-cat-panel-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: #f4f4f5;
  color: #1A1A1A;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.home-cat-panel-close:hover { background: #ececee; }
.home-cat-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.home-cat-panel .empty-note { margin: 0; padding: 8px 2px 4px; }
.home-cat-panel .course-card { border-radius: 16px; }
.home-cat-panel .course-body { padding: 12px 14px 14px; }
.home-cat-panel .course-body h3 { font-size: 0.95rem; min-height: 0; }
@media (min-width: 720px) {
  .home-cat-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.course-card, .instructor-card {
  background: var(--ln-surface);
  border: 1px solid var(--ln-line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s;
  text-align: left;
  color: inherit;
  padding: 0;
  display: block;
  width: 100%;
  min-width: 0;
  cursor: pointer;
}
.course-card:hover, .instructor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(12,12,13,.1);
}
.course-thumb {
  aspect-ratio: 16/10;
  background: #1a1a1c center/cover no-repeat;
  position: relative;
}
.course-thumb::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(transparent, rgba(0,0,0,.35));
}
.course-body, .instructor-card { padding: 16px 16px 18px; }
.instructor-card { padding: 22px; display: flex; gap: 14px; align-items: center; }
.course-body h3 {
  margin: 0 0 6px; font-size: 1.02rem; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.3; min-height: 2.6em;
}
.instructor-card h3 {
  margin: 0 0 6px; font-size: 1.02rem; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.course-meta, .instructor-card p {
  margin: 0; color: var(--ln-muted); font-size: 0.88rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.course-price {
  margin-top: 10px; font-weight: 700; color: var(--ln-orange); font-size: 0.92rem;
}
.course-cta {
  display: inline-block; margin-top: 10px;
  font-size: 0.82rem; font-weight: 700;
  color: var(--ln-ink); letter-spacing: 0.02em;
  opacity: .55; transition: opacity .2s, color .2s;
}
.course-card:hover .course-cta { opacity: 1; color: var(--ln-orange); }
.instructor-avatar {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #ff8a3d, #ff6b00);
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 1.05rem; flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(255,107,0,.25);
}
.course-skeleton {
  min-height: 220px; border-radius: 22px;
  background: linear-gradient(90deg, #eceae6 25%, #f6f5f3 50%, #eceae6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
.empty-note {
  grid-column: 1 / -1;
  padding: 28px; border-radius: 18px;
  border: 1px dashed var(--ln-line);
  color: var(--ln-muted); text-align: center;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* App Store badge */
.btn-appstore {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 14px;
  background: #111; color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .2s var(--ease-out), box-shadow .2s, background .2s;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.btn-appstore:hover { transform: translateY(-2px); background: #000; }
.btn-appstore span { display: flex; flex-direction: column; line-height: 1.05; }
.btn-appstore small { font-size: 0.68rem; opacity: .75; font-weight: 500; }
.btn-appstore strong { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.btn-appstore-dark {
  background: #0c0c0d;
  box-shadow: 0 14px 32px rgba(0,0,0,.2);
}

/* Earn */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.bento-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 220px;
  isolation: isolate;
}
.bento-wide {
  grid-row: span 2;
  min-height: 460px;
}
.bento-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transform: scale(1.06);
  transition: transform 1.1s var(--ease-out);
}
.bento-card:hover img { transform: scale(1.12); }
.bento-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 20px;
  background: linear-gradient(transparent, rgba(8,8,10,.78));
  color: #fff;
  z-index: 1;
}
.bento-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem; letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.bento-caption p {
  margin: 0; opacity: .8; font-size: 0.92rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--ln-line);
  background: #fff;
  padding: 16px 0;
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ln-ink-soft);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.feature-tile {
  padding: 24px 20px;
  border-radius: 22px;
  background: var(--ln-bg);
  border: 1px solid transparent;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s, background .35s;
}
.feature-tile:hover {
  transform: translateY(-6px);
  background: #fff;
  border-color: var(--ln-line);
  box-shadow: 0 18px 40px rgba(12,12,13,.08);
}
.feature-icon {
  font-family: var(--font-display);
  font-size: 1.4rem; color: var(--ln-orange);
  margin-bottom: 12px; letter-spacing: -0.03em;
}
.feature-tile h3 { margin: 0 0 8px; font-size: 1.08rem; }
.feature-tile p { margin: 0; color: var(--ln-muted); font-size: 0.92rem; }

.download-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: center;
}
.phone-stack {
  position: relative;
  height: 380px;
}
.phone {
  position: absolute;
  width: 180px; height: 360px;
  border-radius: 32px;
  background: #111 center/cover no-repeat;
  border: 6px solid #1a1a1c;
  box-shadow: 0 24px 50px rgba(12,12,13,.28);
}
.phone-a {
  left: 18px; top: 24px;
  animation: phoneFloat 5.5s ease-in-out infinite;
}
.phone-b {
  right: 8px; top: 0;
  animation: phoneFloat 6.2s ease-in-out infinite reverse;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-14px) rotate(-4deg); }
}

.download-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px; padding: 40px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--ln-line);
  box-shadow: 0 18px 40px rgba(12,12,13,.05);
}
.download-band h2 {
  max-width: 22ch; margin-bottom: 10px;
}
.download-band p {
  margin: 0; color: var(--ln-muted); max-width: 38rem;
}

.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  counter-reset: step;
}
.step {
  position: relative; padding: 22px 20px 20px;
  border-radius: 20px; background: #fff;
  border: 1px solid var(--ln-line);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(12,12,13,.07);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem; color: var(--ln-orange);
  letter-spacing: -0.04em; margin-bottom: 10px;
}
.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--ln-muted); }

.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pay-card {
  padding: 26px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--ln-line);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.pay-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(12,12,13,.07);
}
.pay-card h3 { margin: 0 0 10px; font-size: 1.12rem; }
.pay-card p { margin: 0; color: var(--ln-muted); }

.faq-list { display: grid; gap: 10px; max-width: 760px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--ln-line);
  border-radius: 16px;
  padding: 0 18px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  padding: 16px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--ln-orange);
  font-size: 1.25rem;
  font-weight: 500;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0 0 16px;
  color: var(--ln-muted);
  padding-bottom: 4px;
}
.modal-stripe {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--ln-muted);
}

.cta-band {
  background: var(--ln-dark); color: #fff;
  border-radius: 28px; padding: 48px 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  position: relative; overflow: hidden;
}
.cta-band > div { min-width: 0; flex: 1 1 18rem; }
.cta-band::before {
  content: "";
  position: absolute; inset: auto -20% -60% auto;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,107,0,.35), transparent 65%);
  pointer-events: none;
  animation: ctaGlow 6s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { transform: translate(0,0) scale(1); opacity: .7; }
  50% { transform: translate(-30px,-20px) scale(1.12); opacity: 1; }
}
.cta-band h2 {
  font-family: var(--font-display); color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 8px; max-width: 22ch;
  position: relative;
}
.cta-band p { margin: 0; color: rgba(255,255,255,0.7); max-width: 32rem; position: relative; }
.cta-band .btn { position: relative; }

/* Modal */
body.modal-open { overflow: hidden; }
.modal[hidden] { display: none !important; }
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: end center;
  padding: 16px;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(8,8,10,.55);
  backdrop-filter: blur(6px);
  animation: fadeIn .25s ease;
}
.modal-sheet {
  position: relative; z-index: 1;
  width: min(520px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 24px 24px 18px 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  animation: sheetUp .4s var(--ease-out);
}
@keyframes sheetUp {
  from { opacity: 0; transform: translateY(28px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.45); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.modal-thumb {
  aspect-ratio: 16/9;
  background: #1a1a1c center/cover no-repeat;
}
.modal-body { padding: 22px 22px 26px; }
.modal-meta {
  margin: 0 0 6px; color: var(--ln-muted); font-size: 0.88rem; font-weight: 600;
}
.modal-body h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.55rem; letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
.modal-desc {
  margin: 0 0 16px; color: var(--ln-ink-soft); line-height: 1.5;
  max-height: 8em; overflow: auto;
}
.modal-price {
  font-size: 1.25rem; font-weight: 800; color: var(--ln-orange);
  margin-bottom: 14px;
}
.modal-note {
  margin: 12px 0 0; font-size: 0.85rem; color: var(--ln-muted);
}
.modal .btn { width: 100%; }

/* Toasts */
.toast-host {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 120; display: grid; gap: 8px; width: min(420px, calc(100% - 32px));
  pointer-events: none;
}
.toast {
  background: #121214; color: #fff;
  padding: 12px 16px; border-radius: 14px;
  font-size: 0.92rem; font-weight: 600;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  animation: toastIn .35s var(--ease-out);
}
.toast.ok { background: #166534; }
.toast.error { background: #991b1b; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Legal pages */
.legal-hero {
  padding: 72px 0 28px;
  border-bottom: 1px solid var(--ln-line);
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em; margin: 0 0 10px;
}
.legal-body { padding: 40px 0 80px; max-width: 720px; }
.legal-body h2 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--ln-ink-soft); }
.legal-body ul { padding-left: 1.2rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--ln-line);
  padding: 48px 0 28px; background: #fff;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px;
  margin-bottom: 36px;
}
.site-footer h4 {
  margin: 0 0 12px; font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ln-muted);
}
.site-footer a {
  display: block; color: var(--ln-ink-soft); font-size: 0.95rem;
  margin-bottom: 8px;
}
.site-footer a:hover { color: var(--ln-orange); }
.footer-copy {
  border-top: 1px solid var(--ln-line); padding-top: 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--ln-muted); font-size: 0.85rem;
}
.footer-copy a { display: inline; margin: 0; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
}
.cookie-inner {
  max-width: 920px;
  margin: 0 auto;
  background: #121214;
  color: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.cookie-inner p {
  margin: 0;
  font-size: .9rem;
  max-width: 46ch;
  color: rgba(255,255,255,.85);
  line-height: 1.45;
}
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cookie-actions .btn { white-space: nowrap; }
.cookie-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.28);
  background: transparent;
}
.cookie-actions .btn-ghost:hover { background: rgba(255,255,255,.12); }
.cookie-actions a {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 16px; right: 16px; top: 64px;
    background: #fff; border: 1px solid var(--ln-line); border-radius: 16px;
    padding: 10px; box-shadow: 0 20px 40px rgba(0,0,0,.08);
    z-index: 60; gap: 0;
  }
  .nav-links.open a {
    padding: 12px 12px;
    border-radius: 10px;
  }
  .nav-links.open a::after { display: none; }
  .nav-links.open .nav-mobile-auth { display: block; width: 100%; text-align: left; }
  .nav-links.open button.nav-mobile-auth {
    border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
    padding: 12px; border-radius: 10px;
  }
  .nav-links a.is-active { color: var(--ln-ink); }
  .nav-actions > a.btn { display: none; }
  .nav-actions > a.nav-instructor-login { display: inline-flex; padding: 8px 10px; font-size: 0.78rem; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-grid, .instructor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .course-grid, .instructor-grid, .steps, .footer-grid, .feature-grid, .bento, .download-stage, .pay-grid { grid-template-columns: 1fr; }
  /* Ana sayfa kategori kartları telefonda da yan yana (2 sütun) kalsın */
  .course-grid.is-cat-view { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .course-grid.is-cat-view .cat-grid-card { padding: 11px; gap: 9px; border-radius: 14px; }
  .course-grid.is-cat-view .category-acc-icon { width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; }
  .course-grid.is-cat-view .cat-grid-card strong { font-size: 0.82rem; }
  .course-grid.is-cat-view .cat-grid-card small { font-size: 0.7rem; }
  .home-cat-panel { padding: 12px; border-radius: 16px; }
  .home-cat-panel-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-row: auto; min-height: 280px; }
  .phone-stack { height: 280px; }
  .phone { width: 140px; height: 280px; }
  .profile-chip-text { display: none; }
  .hero-inner { padding: 108px 0 56px; }
  .hero-brand { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .hero-cta .btn-lg { padding: 12px 16px; font-size: 0.92rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .download-band { padding: 28px 22px; }
  .cta-band { padding: 32px 22px; }
  .section { padding: 64px 0; }
  .lang-select { padding: 7px 8px; }
}

@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 24px)); }
  .course-grid, .instructor-grid { grid-template-columns: 1fr; }
  .course-grid.is-cat-view { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .hero-cta .btn-appstore { width: 100%; justify-content: center; }
  .nav-search { display: none; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-inner p { max-width: none; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* Opening splash */
.intro-splash { display: none; }
html.intro-ready { overflow: hidden; }
html.intro-ready .intro-splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: #0b0b0d;
  color: #fff;
  overflow: hidden;
}
.intro-splash::before {
  content: "";
  position: absolute; width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,.38), transparent 68%);
  animation: introGlow 2.4s var(--ease-out) both;
}
.intro-inner {
  position: relative; z-index: 1;
  text-align: center;
  padding: 24px;
}
.intro-mark {
  width: 78px; height: 78px; margin: 0 auto 18px;
  border-radius: 22px;
  animation: introMark 1.1s var(--ease-out) both;
}
.intro-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: .95;
  animation: introUp .8s var(--ease-out) .18s both;
}
.intro-brand em { font-style: normal; color: var(--ln-orange); }
.intro-slogan {
  margin: 16px auto 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  line-height: 1.35;
  color: rgba(255,255,255,.78);
  animation: introUp .8s var(--ease-out) .42s both;
}
.intro-splash.is-leave {
  animation: introLeave .7s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes introMark {
  from { opacity: 0; transform: scale(.72) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}
@keyframes introUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes introGlow {
  from { opacity: 0; transform: scale(.7); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes introLeave {
  to { opacity: 0; transform: scale(1.04); visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-splash { display: none !important; }
}
