/* ===================================================
   EGITIM AI — styles.css
   Mobile-first, dark theme, glassmorphism
=================================================== */

/* ---- CUSTOM PROPERTIES ---- */
:root {
  --bg:        #0e0c09;
  --bg-2:      #151108;
  --bg-3:      #1d1710;
  --bg-card:   #131009;
  --border:    rgba(255,200,140,.08);
  --border-h:  rgba(255,200,140,.17);
  --text:      #f5e8dc;
  --text-2:    #a89278;
  --text-3:    #6a5038;
  --accent:    #f07848;
  --accent-d:  #d45e2e;
  --accent-l:  #f5a07a;
  --accent-glow: rgba(240,120,72,.35);
  --teacher:      #4ade80;
  --teacher-d:    #22c55e;
  --teacher-l:    #86efac;
  --teacher-glow: rgba(74,222,128,.3);
  --student:      #fbbf24;
  --student-d:    #f59e0b;
  --student-l:    #fde68a;
  --student-glow: rgba(251,191,36,.3);
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow:    0 4px 32px rgba(0,0,0,.6);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

[data-theme="light"] {
  --bg:        #fdf9f5;
  --bg-2:      #f5ede2;
  --bg-3:      #ede0cc;
  --bg-card:   #ffffff;
  --border:    rgba(160,100,55,.13);
  --border-h:  rgba(160,100,55,.26);
  --text:      #26130a;
  --text-2:    #7a5030;
  --text-3:    #c08050;
  --accent-l:  #c96840;
  --accent-glow: rgba(232,133,90,.2);
  --shadow:    0 4px 24px rgba(0,0,0,.1);
}
[data-theme="light"] .nav.scrolled {
  background: rgba(253,249,245,.92);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
em { font-style: italic; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Instrument Serif', Georgia, serif;
  line-height: 1.18;
  font-weight: 400;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ---- SECTION ---- */
.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 100px 0; } }
@media (min-width: 1024px) { .section { padding: 120px 0; } }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232,133,90,.1);
  border: 1px solid rgba(232,133,90,.2);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.section-title { color: var(--text); margin-bottom: 16px; }
.section-title em { color: var(--accent); font-style: italic; }
.section-desc {
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn--sm  { font-size: .85rem; padding: 9px 18px; }
.btn--md  { font-size: .95rem; padding: 12px 24px; }
.btn--lg  { font-size: 1rem; padding: 14px 28px; border-radius: var(--radius); }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-l);
  box-shadow: 0 0 0 6px var(--accent-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255,255,255,.06);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.10);
  border-color: var(--border-h);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-h);
}
.btn--outline:hover {
  background: rgba(255,255,255,.05);
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(12,10,8,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.nav__logo-icon { flex-shrink: 0; }
.nav__logo-text { color: var(--text); }

.nav__links {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
@media (min-width: 1024px) { .nav__links { display: flex; } }

.nav__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,.06); }

.nav__actions {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
@media (min-width: 1024px) { .nav__actions { display: flex; margin-left: 16px; } }

.nav__hamburger {
  margin-left: auto;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  transition: background var(--transition);
}
.nav__hamburger:hover { background: rgba(255,255,255,.10); }
@media (min-width: 1024px) { .nav__hamburger { display: none; } }

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(12,10,8,.97);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__inner {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu__link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 14px 16px;
  border-radius: 12px;
  transition: all var(--transition);
}
.mobile-menu__link:hover { color: var(--text); background: rgba(255,255,255,.06); }
.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero__orb--1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(232,133,90,.5), transparent 70%);
  top: -220px; left: -120px;
  animation-delay: 0s;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(93,184,150,.35), transparent 70%);
  top: -50px; right: -150px;
  animation-delay: -3s;
}
.hero__orb--3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(245,183,49,.28), transparent 70%);
  bottom: -80px; left: 35%;
  animation-delay: -5s;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 100%);
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 20px) scale(.95); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--accent-l);
  background: rgba(232,133,90,.1);
  border: 1px solid rgba(232,133,90,.25);
  border-radius: 100px;
  padding: 7px 16px;
}
.hero__title { max-width: 820px; }
.hero__title-em {
  background: linear-gradient(120deg, var(--student-l) 0%, var(--accent-l) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  color: var(--text-2);
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  max-width: 600px;
  line-height: 1.7;
}
.desktop-br { display: none; }
@media (min-width: 1024px) { .desktop-br { display: block; } }

.hero__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__demo-btn { position: relative; overflow: hidden; }
.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__stat { text-align: center; }
.hero__stat strong { display: block; font-size: 1.5rem; font-weight: 700; color: var(--text); }
.hero__stat span { font-size: .8rem; color: var(--text-3); }
.hero__stat-sep { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* Preview Window */
.hero__preview { width: 100%; max-width: 640px; margin-top: 8px; }
.preview-window {
  background: rgba(22,17,12,.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(232,133,90,.08);
}
.preview-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.preview-window__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.preview-window__dot--red    { background: #ff5f57; }
.preview-window__dot--yellow { background: #febc2e; }
.preview-window__dot--green  { background: #28c840; }
.preview-window__title {
  margin: 0 auto;
  font-size: .78rem;
  color: var(--text-3);
}
.preview-window__body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.preview-prompt__label { font-size: .72rem; color: var(--text-3); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.preview-prompt__input {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .9rem;
  color: var(--text);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.preview-prompt__text { color: var(--text-2); }
.preview-prompt__cursor {
  color: var(--accent);
  animation: blink .85s step-end infinite;
  margin-left: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.preview-format {
  display: flex;
  gap: 8px;
}
.preview-format__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text-3);
  cursor: pointer;
  transition: all var(--transition);
}
.preview-format__item--active {
  background: rgba(232,133,90,.15);
  border-color: rgba(232,133,90,.4);
  color: var(--accent-l);
}
.preview-output { display: flex; flex-direction: column; gap: 10px; }
.preview-output__line {
  height: 10px;
  background: rgba(255,255,255,.07);
  border-radius: 100px;
  width: 100%;
  animation: shimmerLine 2s ease-in-out infinite;
}
.preview-output__line--title { height: 14px; width: 65%; background: rgba(232,133,90,.2); }
.preview-output__line--short { width: 50%; }
.preview-output__line--med   { width: 75%; }
@keyframes shimmerLine {
  0%, 100% { opacity: .6; }
  50%       { opacity: 1; }
}
.preview-output__shimmer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--accent);
  margin-top: 4px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }

/* ---- FADE-IN (Hero) ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .7s cubic-bezier(.4,0,.2,1) forwards;
}
.fade-in--delay-1 { animation-delay: .1s; }
.fade-in--delay-2 { animation-delay: .25s; }
.fade-in--delay-3 { animation-delay: .4s; }
.fade-in--delay-4 { animation-delay: .55s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }

/* ---- FEATURES ---- */
.features { background: var(--bg); }
.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px)  { .features__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features__grid { grid-template-columns: 1fr 1fr 1fr; } }

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}
.feature-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.feature-card:hover .feature-card__glow { opacity: 1; }
.feature-card__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.feature-card--pdf  .feature-card__glow { background: radial-gradient(ellipse at top left, rgba(255,107,107,.08), transparent 60%); }
.feature-card--word .feature-card__glow { background: radial-gradient(ellipse at top left, rgba(78,205,196,.08), transparent 60%); }
.feature-card--pptx .feature-card__glow { background: radial-gradient(ellipse at top left, rgba(255,200,100,.08), transparent 60%); }
.feature-card--ai   .feature-card__glow { background: radial-gradient(ellipse at top left, rgba(232,133,90,.1), transparent 60%); }
.feature-card--teacher .feature-card__glow { background: radial-gradient(ellipse at top left, rgba(93,184,150,.14), transparent 60%); }
.feature-card--student .feature-card__glow { background: radial-gradient(ellipse at top left, rgba(245,183,49,.14), transparent 60%); }

.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(232,133,90,.12);
  border: 1px solid rgba(232,133,90,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card__title { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.feature-card__desc { font-size: .88rem; color: var(--text-2); line-height: 1.65; margin-bottom: 18px; }
.feature-card__list { display: flex; flex-direction: column; gap: 8px; }
.feature-card__list li {
  display: flex; align-items: center; gap: 8px;
  font-size: .83rem; color: var(--text-2);
}
.feature-card__list li svg { color: var(--accent); flex-shrink: 0; }

.feature-card__badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(232,133,90,.12);
  color: var(--accent);
  border: 1px solid rgba(232,133,90,.2);
}

/* Teacher & Student card overrides */
.feature-card--teacher .feature-card__icon {
  background: rgba(93,184,150,.14);
  border-color: rgba(93,184,150,.25);
  color: var(--teacher);
}
.feature-card--teacher .feature-card__badge {
  background: rgba(93,184,150,.14);
  color: var(--teacher-l);
  border-color: rgba(93,184,150,.3);
}
.feature-card--teacher .feature-card__list li svg { color: var(--teacher); }
.feature-card--teacher:hover { border-color: rgba(93,184,150,.3); box-shadow: 0 20px 60px rgba(93,184,150,.08); }

.feature-card--student .feature-card__icon {
  background: rgba(245,183,49,.14);
  border-color: rgba(245,183,49,.25);
  color: var(--student);
}
.feature-card--student .feature-card__badge {
  background: rgba(245,183,49,.14);
  color: var(--student-l);
  border-color: rgba(245,183,49,.3);
}
.feature-card--student .feature-card__list li svg { color: var(--student); }
.feature-card--student:hover { border-color: rgba(245,183,49,.3); box-shadow: 0 20px 60px rgba(245,183,49,.08); }

/* ---- HOW IT WORKS ---- */
.how { background: var(--bg-2); }
.how__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .how__steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}

.how__step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: all var(--transition);
}
.how__step:hover {
  border-color: var(--border-h);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}
@media (min-width: 768px) {
  .how__step { margin-bottom: 0; margin-right: 16px; }
  .how__step:last-child { margin-right: 0; }
}

.how__step-number {
  font-family: 'Instrument Serif', serif;
  font-size: 3rem;
  color: rgba(232,133,90,.15);
  line-height: 1;
  margin-bottom: 16px;
  font-weight: 400;
}
.how__step-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232,133,90,.2), rgba(232,133,90,.05));
  border: 1px solid rgba(232,133,90,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.how__step-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.how__step-content p { font-size: .88rem; color: var(--text-2); line-height: 1.7; }
.how__step-connector {
  display: none;
}
@media (min-width: 768px) {
  .how__step-connector {
    display: flex;
    position: absolute;
    right: -32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--text-3);
    background: var(--bg-2);
    border-radius: 50%;
    width: 28px; height: 28px;
    align-items: center; justify-content: center;
    border: 1px solid var(--border);
  }
}

/* Demo terminal */
.how__demo-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
@media (min-width: 768px) {
  .how__demo-inner { flex-direction: row; gap: 40px; align-items: center; }
}
.how__demo-left { flex: 1; }
.how__demo-right { flex: 1; }

.demo-terminal {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.demo-terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.demo-terminal__bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.demo-terminal__bar span:nth-child(1) { background: #ff5f57; }
.demo-terminal__bar span:nth-child(2) { background: #febc2e; }
.demo-terminal__bar span:nth-child(3) { background: #28c840; }
.demo-terminal__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.demo-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  line-height: 1.5;
}
.demo-line__prompt { color: var(--accent); font-weight: 600; }
.demo-line__cmd { color: var(--text-2); }
.demo-line__cmd em { color: var(--text); font-style: normal; }
.demo-line--processing { color: var(--text-3); }
.demo-line--success { color: #4ade80; }
.demo-line__cmd--dl { color: var(--accent-l); text-decoration: underline; text-underline-offset: 3px; }
.spin { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.demo-stats { display: flex; flex-direction: column; gap: 20px; }
.demo-stat {
  display: flex;
  align-items: center;
  gap: 16px;
}
.demo-stat > svg {
  width: 40px; height: 40px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(232,133,90,.1);
  color: var(--accent);
  flex-shrink: 0;
}
.demo-stat strong { display: block; font-size: .95rem; font-weight: 600; color: var(--text); }
.demo-stat span { font-size: .8rem; color: var(--text-3); }

/* ---- SCENARIOS ---- */
.scenarios { background: var(--bg); }
.scenarios__tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.scenarios__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all var(--transition);
}
.scenarios__tab:hover { border-color: var(--border-h); color: var(--text); }
.scenarios__tab--active {
  background: rgba(93,184,150,.15);
  border-color: rgba(93,184,150,.4);
  color: var(--teacher-l);
}
.scenarios__tab--active[data-tab="student"] {
  background: rgba(245,183,49,.15);
  border-color: rgba(245,183,49,.4);
  color: var(--student-l);
}

.scenarios__panel { display: none; }
.scenarios__panel--active { display: block; }

.scenario-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px)  { .scenario-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .scenario-cards { grid-template-columns: 1fr 1fr 1fr; } }

.scenario-card {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}
.scenario-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.scenario-card__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(93,184,150,.1);
  border: 1px solid rgba(93,184,150,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--teacher);
  transition: all var(--transition);
}
.scenarios__panel[data-panel="student"] .scenario-card__icon {
  background: rgba(245,183,49,.1);
  border-color: rgba(245,183,49,.2);
  color: var(--student);
}
.scenario-card:hover .scenario-card__icon { transform: scale(1.08); }
.scenario-card__body { flex: 1; }
.scenario-card__format {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.scenario-card__format--pdf  { background: rgba(255,107,107,.12); color: #ff9a9a; border: 1px solid rgba(255,107,107,.2); }
.scenario-card__format--docx { background: rgba(78,205,196,.12); color: #81e6e0; border: 1px solid rgba(78,205,196,.2); }
.scenario-card__format--pptx { background: rgba(255,200,100,.12); color: #ffd97d; border: 1px solid rgba(255,200,100,.2); }
.scenario-card__body h4 { font-size: .95rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.scenario-card__body p  { font-size: .82rem; color: var(--text-2); line-height: 1.6; }

/* ---- PRICING ---- */
.pricing { background: var(--bg-2); }
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.pricing__toggle-label { font-size: .9rem; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.pricing__toggle-btn {
  width: 48px; height: 26px;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
  border: 1px solid var(--border);
  position: relative;
  transition: background var(--transition);
}
.pricing__toggle-btn.on { background: var(--accent); border-color: var(--accent); }
.pricing__toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.pricing__toggle-btn.on .pricing__toggle-thumb { transform: translateX(22px); }
.pricing__discount {
  font-size: .75rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.2);
  padding: 3px 8px;
  border-radius: 100px;
}

.pricing__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 768px)  { .pricing__cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .pricing__cards { grid-template-columns: 1fr 1fr 1fr; align-items: center; }
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.pricing-card:hover { border-color: var(--border-h); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.pricing-card--featured {
  background: linear-gradient(145deg, rgba(232,133,90,.12), rgba(232,133,90,.04));
  border-color: rgba(232,133,90,.4);
  box-shadow: 0 0 0 1px rgba(232,133,90,.15), 0 20px 60px rgba(232,133,90,.1);
}
@media (min-width: 1024px) {
  .pricing-card--featured { transform: scale(1.04); }
  .pricing-card--featured:hover { transform: scale(1.04) translateY(-4px); }
}

.pricing-card__popular {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-l);
  background: rgba(232,133,90,.15);
  border: 1px solid rgba(232,133,90,.3);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.pricing-card__header { margin-bottom: 24px; }
.pricing-card__plan { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}
.pricing-card__amount { font-size: 2.4rem; font-weight: 800; color: var(--text); }
.pricing-card__period { font-size: .9rem; color: var(--text-3); }
.pricing-card__desc { font-size: .85rem; color: var(--text-2); }

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-2);
}
.pricing-card__features li svg { flex-shrink: 0; color: var(--accent); }
.pricing-card__feature--disabled { opacity: .4; text-decoration: line-through; }
.pricing-card__feature--disabled svg { color: var(--text-3); }

.pricing__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  font-size: .85rem;
  color: var(--text-3);
}
.pricing__note svg { color: var(--text-3); flex-shrink: 0; }

/* ---- CTA BANNER ---- */
.cta-banner { background: var(--bg); }
.cta-banner__inner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(93,184,150,.1) 0%, rgba(232,133,90,.08) 50%, rgba(245,183,49,.1) 100%);
  border: 1px solid rgba(232,133,90,.2);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
}
.cta-banner__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(93,184,150,.15), transparent 60%),
    radial-gradient(ellipse 60% 80% at 85% 50%, rgba(245,183,49,.15), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232,133,90,.18), transparent 70%);
  pointer-events: none;
}
.cta-banner__content { position: relative; z-index: 1; }
.cta-banner__content h2 { margin-bottom: 16px; }
.cta-banner__content h2 em { color: var(--accent); }
.cta-banner__content p { color: var(--text-2); font-size: 1.05rem; margin-bottom: 32px; }
.cta-banner__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 48px;
}
@media (min-width: 1024px) {
  .footer__top { flex-direction: row; gap: 80px; }
}
.footer__brand { flex-shrink: 0; max-width: 320px; }
.footer__brand-desc { font-size: .88rem; color: var(--text-3); margin-top: 14px; margin-bottom: 20px; line-height: 1.65; }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  transition: all var(--transition);
}
.footer__social-link:hover { background: rgba(232,133,90,.12); border-color: rgba(232,133,90,.3); color: var(--accent); }

.footer__nav {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
@media (min-width: 768px) { .footer__nav { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.footer__col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-3);
  margin-bottom: 14px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: .88rem;
  color: var(--text-2);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-3);
}
@media (min-width: 768px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { color: var(--text-3); transition: color var(--transition); }
.footer__legal a:hover { color: var(--text); }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(232,133,90,.3); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: rgba(232,133,90,.5); }

/* ---- SELECTION ---- */
::selection { background: rgba(232,133,90,.3); color: var(--text); }

/* ---- FOCUS ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===================================================
   MOBİL DÜZELTMELER — Landing Page
=================================================== */

/* Senaryo tab'ları küçük ekranda alt alta */
.scenarios__tabs {
  flex-wrap: wrap;
}
.scenarios__tab {
  flex: 1 1 140px;
  justify-content: center;
}

/* CTA banner padding küçük ekranda */
@media (max-width: 640px) {
  .cta-banner__inner { padding: 40px 24px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__stats { gap: 16px; }
  .hero__stat-sep { display: none; }
  .hero__stats { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; gap: 12px; }
  .hero__stat { flex: 1; }
  .hero__stat strong { font-size: 1.2rem; }
}

/* Footer link sütunları küçük ekranda 2 kolon */
@media (max-width: 480px) {
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__brand-desc { font-size: .83rem; }
}

/* Pricing: toggle düzeni */
@media (max-width: 480px) {
  .pricing__toggle { gap: 8px; font-size: .85rem; }
  .pricing-card { padding: 22px 18px; }
  .pricing-card__amount { font-size: 2rem; }
}

/* How-it-works demo sütunları */
@media (max-width: 640px) {
  .how__demo-inner { padding: 20px; }
  .demo-terminal { font-size: .78rem; }
}

/* Feature card padding küçük ekranda */
@media (max-width: 480px) {
  .feature-card { padding: 22px 18px; }
  .feature-card__icon { width: 42px; height: 42px; }
}

/* Nav düzeni küçük ekranda */
@media (max-width: 380px) {
  .nav__inner { gap: 8px; }
  .nav__logo-text { font-size: 1rem; }
}

/* Pricing 4-card layout */
.pricing__cards--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
@media (min-width: 1100px) {
  .pricing__cards--4 { grid-template-columns: repeat(4, 1fr); }
}

/* =====================================================
   ULTRA-KÜÇÜK EKRANLAR (360px ve altı — iPhone SE vb.)
===================================================== */
@media (max-width: 360px) {
  /* Hero */
  .hero { padding: 80px 0 48px; }
  .hero__preview { max-width: 100%; }
  .hero__title { font-size: 2rem; }
  .hero__sub { font-size: .88rem; }

  /* Nav */
  .nav__logo-text { font-size: .95rem; }
  .nav__inner { gap: 6px; }

  /* Pricing */
  .pricing-card { padding: 18px 14px; }
  .pricing-card__amount { font-size: 1.8rem; }
  .pricing__cards--4 { grid-template-columns: 1fr; }

  /* Genel butonlar */
  .btn--lg { font-size: .88rem; padding: 12px 18px; }

  /* Feature card */
  .feature-card { padding: 18px 14px; }

  /* CTA banner */
  .cta-banner__inner { padding: 32px 16px; }
  .cta-banner h2 { font-size: 1.4rem; }

  /* Footer */
  .footer__nav { grid-template-columns: 1fr; gap: 24px; }
}
