:root {
  --primary: #0D9488;
  --primary-soft: #14B8A6;
  --primary-deep: #134E4A;
  --primary-faint: #CCFBF1;
  --canvas: #F8FAF9;
  --surface: #ffffff;
  --surface-muted: #F1F4F2;
  --text: #0F172A;
  --text-soft: #475569;
  --text-muted: #64748B;
  --border: #E2E8E5;
  --good: #10B981;
  --warn: #F59E0B;
  --bad:  #EF4444;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06), 0 1px 1px rgba(15,23,42,0.04);
  --shadow-md: 0 10px 30px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);
  --shadow-lg: 0 30px 60px rgba(13,148,136,0.18), 0 10px 30px rgba(15,23,42,0.08);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 2.5vw + 1rem, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { color: var(--text-soft); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  max-width: var(--maxw); margin: 0 auto;
  background: rgba(248, 250, 249, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--text); font-size: 1.05rem;
}
/* Brand mark uses the project's logo.png (sibling file in this folder).
   No fallback gradient on purpose — if logo.png is missing the box stays
   transparent inside the brand wordmark, which is the clearest signal
   that something needs to be uploaded. */
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: url("logo.png") center / cover no-repeat;
  box-shadow: var(--shadow-sm);
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  padding: 8px 12px; color: var(--text-soft); font-weight: 500; font-size: 0.95rem;
  border-radius: 10px;
}
.nav-links a:hover { color: var(--text); background: var(--surface-muted); }
.nav-links .btn-ghost { color: var(--text); }

/* Language switcher: small inline EN · TR toggle in the nav. */
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 6px; padding: 4px 8px; border-radius: 999px;
  background: var(--surface-muted); font-size: 0.82rem; font-weight: 600;
  color: var(--text-soft);
}
.lang-switch a {
  padding: 2px 6px; border-radius: 6px; color: var(--text-soft);
}
.lang-switch a.lang-active {
  color: #fff; background: var(--primary);
}
.lang-switch a:hover { color: var(--text); background: rgba(13,148,136,0.12); }
.lang-switch a.lang-active:hover { color: #fff; background: var(--primary); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 999px; font-weight: 600;
  font-size: 0.98rem; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer; user-select: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-soft), var(--primary));
  color: #fff; box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-1px); color: #fff; box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: var(--surface); color: var(--text); border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-muted); }

/* ---- Hero ---- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 80px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; padding: 6px 10px;
  background: var(--primary-faint); color: var(--primary-deep);
  border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  margin: 0 0 18px;
}
.grad {
  background: linear-gradient(135deg, var(--primary-soft), var(--primary-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 1.18rem; max-width: 52ch; color: var(--text-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 28px; }
.stat-row {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 28px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 20px;
}
.stat-row li { display: flex; flex-direction: column; }
.stat-row strong { font-size: 1.4rem; color: var(--text); font-weight: 800; }
.stat-row span { font-size: 0.85rem; color: var(--text-muted); }

/* phone mockup */
.hero-phone { display: flex; justify-content: center; }
.phone {
  width: min(320px, 80vw); aspect-ratio: 9 / 19;
  background: linear-gradient(180deg, #fff, #F4FAF8);
  border-radius: 42px; padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.phone::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px; background: #0F172A; border-radius: 999px;
}
.phone-screen {
  margin-top: 44px; display: flex; flex-direction: column; gap: 12px;
}
.phone-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm);
}
.phone-card-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
}
.phone-card-title { font-weight: 700; font-size: 0.95rem; }
.phone-card-sub { font-size: 0.78rem; color: var(--text-muted); }
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--good); box-shadow: 0 0 0 4px rgba(16,185,129,0.15);
}
.dot-warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(245,158,11,0.15); }
.dot-bad  { background: var(--bad);  box-shadow: 0 0 0 4px rgba(239,68,68,0.15); }
.badge {
  font-size: 0.72rem; font-weight: 700; padding: 4px 8px;
  border-radius: 999px; letter-spacing: 0.01em;
}
.badge-good { background: rgba(16,185,129,0.12); color: #047857; }
.badge-warn { background: rgba(245,158,11,0.14); color: #B45309; }
.badge-bad  { background: rgba(239,68,68,0.12); color: #B91C1C; }
.phone-card-meter {
  margin-top: 10px; height: 6px; background: var(--surface-muted);
  border-radius: 999px; overflow: hidden;
}
.phone-card-meter span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--primary-soft), var(--primary));
  border-radius: 999px;
}

/* ---- Features ---- */
.features {
  max-width: var(--maxw); margin: 0 auto; padding: 80px 24px;
}
.features > h2 { max-width: 22ch; }
.feature-grid {
  margin-top: 36px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature {
  background: var(--surface); border: 1px solid var(--border);
  padding: 22px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.3rem;
  background: var(--primary-faint); color: var(--primary-deep);
  margin-bottom: 14px;
}
.feature p { margin: 6px 0 0; font-size: 0.96rem; }
/* "For students" features visually present as a sub-group so non-students
   immediately read them as optional extras, not the headline. */
.feature.feature-students {
  background: linear-gradient(180deg, rgba(204,251,241,0.4), #fff);
  border-style: dashed;
}
.feature.feature-students h3::after {
  content: "Students";
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ---- How ---- */
.how {
  background: linear-gradient(180deg, transparent, var(--primary-faint) 60%, transparent);
}
.how > * { max-width: var(--maxw); margin-inline: auto; }
.how { padding: 80px 24px; }
.steps {
  margin-top: 36px;
  list-style: none; padding: 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  counter-reset: step;
}
.steps li {
  background: var(--surface); padding: 26px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary-soft), var(--primary));
  color: #fff; font-weight: 800; margin-bottom: 14px;
  box-shadow: var(--shadow-md);
}

/* ---- CTA band ---- */
.cta-band {
  padding: 80px 24px;
}
.cta-band-inner {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff; border-radius: var(--radius-lg);
  padding: 48px 28px; box-shadow: var(--shadow-lg);
}
.cta-band-inner h2 { color: #fff; }
.cta-band-inner p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.signup {
  display: flex; gap: 8px; max-width: 460px; margin: 0 auto;
  background: rgba(255,255,255,0.12); padding: 6px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.signup input {
  flex: 1; border: 0; background: transparent; color: #fff;
  padding: 10px 16px; outline: none; font-size: 1rem;
}
.signup input::placeholder { color: rgba(255,255,255,0.7); }
.signup .btn-primary {
  background: #fff; color: var(--primary-deep); box-shadow: none;
}
.signup .btn-primary:hover { background: var(--primary-faint); color: var(--primary-deep); }
.signup-note {
  margin: 14px 0 0; min-height: 1.2em; font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
}

/* ---- FAQ ---- */
.faq {
  max-width: 820px; margin: 0 auto; padding: 80px 24px 40px;
}
.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 4px 18px; box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 16px 0; font-weight: 600; color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--text-muted);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 0 16px; margin: 0; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px; padding: 36px 24px;
  background: var(--surface);
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between;
}
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-soft); font-weight: 500; }
.footer-links a:hover { color: var(--text); }
.copy { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 32px 20px 56px; }
  .hero-phone { order: -1; }
  /* Hide section links on mobile, but keep the language switch + Get
     the app button visible — the lang pills are the only way to flip
     between EN/TR and used to disappear with the rest of the nav. */
  .nav-links > a:not(.btn) { display: none; }
  .nav-links .lang-switch,
  .nav-links .lang-switch a { display: inline-flex; }
}
@media (max-width: 520px) {
  .signup { flex-direction: column; border-radius: 16px; padding: 10px; }
  .signup input { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---- Pricing ---- */
.pricing {
  background: linear-gradient(180deg, var(--canvas), #ffffff 60%, var(--canvas));
  padding: 80px 24px;
}
.pricing-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.pricing-lede { max-width: 56ch; margin: 8px auto 36px; color: var(--text-soft); }
.plan-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 760px; margin: 0 auto;
}
.plan-grid-three {
  max-width: 1080px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.plan-rare {
  border-color: rgba(15,23,42,0.2);
  background: linear-gradient(180deg, #ffffff, #FAFCFB);
}
.plan-badge-earn {
  background: rgba(13,148,136,0.12);
  color: var(--primary-deep);
}
.plan-badge-rare {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  color: #fff;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan-featured {
  border-color: var(--primary);
  box-shadow: 0 18px 40px rgba(13,148,136,0.18);
}
.plan-badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--primary-faint); color: var(--primary-deep);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  width: fit-content; margin-bottom: 14px;
}
.plan-badge-featured {
  background: linear-gradient(135deg, var(--primary-soft), var(--primary));
  color: #fff;
}
.plan h3 { margin: 0 0 6px; font-size: 1.45rem; }
.plan-price { margin: 4px 0 6px; }
.plan-amount {
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); line-height: 1;
}
.plan-period { color: var(--text-muted); font-size: 0.95rem; }
.plan-pitch { margin: 6px 0 20px; color: var(--text-soft); font-size: 0.98rem; }
.plan-promo {
  margin: 0 0 18px; padding: 12px 14px; border-radius: 12px;
  background: rgba(13,148,136,0.08); border: 1px dashed rgba(13,148,136,0.35);
  color: var(--primary-deep); font-size: 0.9rem; line-height: 1.45;
}
.plan-promo code {
  display: inline-block; margin: 0 2px; padding: 1px 7px; border-radius: 6px;
  background: var(--primary); color: #fff; font-weight: 700; letter-spacing: 0.04em;
  font-size: 0.85rem;
}

/* Pre-launch promo banner pinned above the nav. */
.promo-banner {
  position: relative; z-index: 5;
  padding: 10px 16px; text-align: center;
  background: linear-gradient(90deg, #134E4A, #0D9488 60%, #14B8A6);
  color: #fff; font-size: 0.92rem; line-height: 1.5;
}
.promo-banner code {
  display: inline-block; margin: 0 4px; padding: 1px 8px; border-radius: 6px;
  background: rgba(255,255,255,0.18); color: #fff; font-weight: 700; letter-spacing: 0.06em;
  font-size: 0.85rem;
}
.promo-banner a {
  color: #fff; text-decoration: underline; font-weight: 700; margin-left: 6px; white-space: nowrap;
}
@media (max-width: 720px) {
  .promo-banner { font-size: 0.85rem; padding: 9px 12px; }
}
.plan-features {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.plan-features li {
  font-size: 0.96rem; color: var(--text-soft); line-height: 1.5;
}
.plan-features .plan-rule {
  margin-top: 6px; padding: 10px 12px;
  background: var(--surface-muted);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9rem;
}
.plan-cta { margin-top: auto; align-self: stretch; }
.pricing-footnote {
  margin: 32px auto 0; max-width: 56ch;
  color: var(--text-muted); font-size: 0.92rem;
}
