@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/PlusJakartaSans.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #1b2438;
  --navy-2: #263250;
  --orange: #e8590c;
  --orange-dark: #c64a07;
  --cream: #fbf6ef;
  --line: #e9e2d8;
  --ink: #1b2438;
  --muted: #5b6478;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(27, 36, 56, 0.08);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 52px; width: auto; }
.nav { display: none; gap: 26px; margin-left: 20px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 6px 8px; }
.lang:hover { color: var(--ink); }
.header-actions .btn-ghost { display: none; }

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 24px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.15s, border-color 0.15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---- sections */
section { padding: 72px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: #fff; }

/* ---- hero */
.hero { padding: 48px 0 64px; background: linear-gradient(180deg, var(--cream), #fff); overflow-x: clip; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 540px; }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.trust { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.trust li::before { content: '✓'; color: var(--orange); margin-right: 8px; font-weight: 800; }

.mock { position: relative; }
.mock-photo { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.mock-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgba(27, 36, 56, 0.16); padding: 16px; }
.mock-notes { left: -4px; bottom: -28px; width: min(300px, 86%); }
.mock-progress { right: -4px; top: -20px; width: min(210px, 56%); }
.mock-title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.note { font-size: 13px; line-height: 1.45; margin-bottom: 10px; }
.note b { font-weight: 700; }
.note span { color: var(--orange); font-weight: 700; margin-left: 6px; font-size: 12px; }
.note p { color: var(--muted); }
.note-locked { position: relative; border-radius: 12px; overflow: hidden; background: var(--cream); padding: 10px 12px; }
.note-locked .blur { filter: blur(5px); color: var(--muted); font-size: 13px; user-select: none; }
.note-locked .lock { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; font-size: 12.5px; font-weight: 700; }
.note-locked .lock small { font-weight: 500; color: var(--muted); font-size: 11.5px; }
.bar { height: 8px; background: var(--cream); border-radius: 999px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--orange); border-radius: 999px; }
.prog-row { margin-bottom: 9px; font-size: 12.5px; font-weight: 600; }
.prog-row div:first-child { display: flex; justify-content: space-between; margin-bottom: 4px; }
.mock-cap { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: #fff; background: rgba(27, 36, 56, 0.55); padding: 2px 8px; border-radius: 999px; }

/* ---- features */
.cards { display: grid; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .ico { width: 46px; height: 46px; border-radius: 14px; background: #fdeadd; color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---- spoiler */
.split { display: grid; gap: 40px; align-items: center; }
.bg-navy .eyebrow { color: #ff9a5c; }
.bg-navy h2 { font-size: clamp(28px, 4vw, 42px); }
.bg-navy p.big { margin-top: 18px; font-size: 18px; color: #cfd6e6; }
.points { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.points li { display: flex; gap: 10px; font-weight: 600; }
.points li::before { content: '✓'; color: #ff9a5c; font-weight: 800; }
.stack { background: var(--navy-2); border-radius: 24px; padding: 22px; display: grid; gap: 12px; }
.stack .note { background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 14px; margin: 0; }
.stack .note-locked { background: #fff; }

/* ---- steps */
.steps { display: grid; gap: 20px; counter-reset: s; }
.step { padding: 8px 0; }
.step .n { width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ---- compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--cream); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td.c, th.c { text-align: center; }
.yes { color: var(--orange); font-weight: 800; }
.no { color: #c8c2b8; }
.why td:last-child { font-weight: 600; }
.why td:first-child { color: var(--muted); }

/* ---- pricing */
.price-hero { padding: 56px 0 24px; background: linear-gradient(180deg, var(--cream), #fff); text-align: center; }
.price-hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; }
.price-hero .lead { margin: 18px auto 0; max-width: 600px; font-size: 18px; color: var(--muted); }
.toggle { display: inline-flex; margin-top: 28px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.toggle button { font: inherit; font-weight: 700; font-size: 14.5px; padding: 9px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.toggle button[aria-pressed='true'] { background: var(--navy); color: #fff; }
.toggle .save { font-size: 11.5px; font-weight: 700; background: #fdeadd; color: var(--orange-dark); padding: 2px 8px; border-radius: 999px; }
.toggle button[aria-pressed='true'] .save { background: var(--orange); color: #fff; }
.notice { max-width: 760px; margin: 22px auto 0; padding: 14px 18px; background: #fff7ed; border: 1px solid #f7d9bd; color: #7a3c10; border-radius: 14px; font-size: 14.5px; text-align: left; }
.plans { display: grid; gap: 22px; padding: 32px 0 0; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.plan .tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--cream); color: var(--muted); }
.plan.featured .tag { background: var(--orange); color: #fff; }
.plan h2 { font-size: 26px; margin: 16px 0 6px; }
.plan .blurb { color: var(--muted); font-size: 15px; min-height: 46px; }
.amount { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.amount strong { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.amount span { color: var(--muted); font-weight: 600; }
.plan .sub { font-size: 13px; color: var(--muted); margin-bottom: 22px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: '✓'; color: var(--orange); font-weight: 800; }
.plan li.soon { color: var(--muted); }
.plan li.soon::before { content: '•'; color: var(--muted); }

/* ---- FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--orange); font-weight: 600; }
.faq details[open] summary::after { content: '–'; }
.faq p { padding: 0 0 18px; color: var(--muted); }

/* ---- final CTA */
.final { text-align: center; }
.final h2 { font-size: clamp(30px, 4.5vw, 46px); }
.final p { margin: 14px 0 28px; color: #cfd6e6; font-size: 18px; }
.final .hero-cta { justify-content: center; margin-top: 0; }

/* ---- teaser */
.teaser { display: grid; gap: 22px; align-items: center; background: var(--cream); border-radius: 28px; padding: 36px; }
.teaser h2 { font-size: clamp(26px, 3.4vw, 34px); }
.teaser p { color: var(--muted); margin-top: 10px; font-size: 17px; }

/* ---- footer */
.site-footer { background: var(--navy); color: #cfd6e6; padding: 56px 0 32px; }
.foot-grid { display: grid; gap: 32px; }
.site-footer img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.site-footer h4 { margin: 0 0 12px; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: #cfd6e6; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .tag { margin-top: 14px; max-width: 280px; font-size: 14px; }
.copy { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; color: #98a2b8; }

/* ---- dialog */
dialog { border: 0; border-radius: 22px; padding: 0; width: min(440px, calc(100% - 32px)); box-shadow: 0 30px 80px rgba(27, 36, 56, 0.35); color: var(--ink); }
dialog::backdrop { background: rgba(27, 36, 56, 0.55); }
.dlg { padding: 28px; }
.dlg h2 { font-size: 24px; margin-bottom: 6px; }
.dlg .summary { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.dlg label.f { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.dlg input[type='email'] { width: 100%; font: inherit; padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; }
.dlg input[type='email']:focus { border-color: var(--orange); outline: none; }
.dlg .consent { display: flex; gap: 10px; margin: 16px 0 4px; font-size: 13.5px; color: var(--muted); align-items: flex-start; }
.dlg .consent input { margin-top: 3px; accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.dlg .consent a { color: var(--orange-dark); }
.dlg .msg { min-height: 22px; margin: 10px 0; font-size: 14px; font-weight: 600; }
.dlg .msg.err { color: #b42318; }
.dlg .msg.ok { color: #166534; }
.dlg .row { display: flex; gap: 10px; }
.dlg .row .btn { flex: 1; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

@media (min-width: 720px) {
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .teaser { grid-template-columns: 1fr auto; padding: 44px 48px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-actions .btn-ghost { display: inline-flex; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .cards.c4 { grid-template-columns: repeat(4, 1fr); }
  section { padding: 96px 0; }
  .hero { padding: 72px 0 96px; }
  .mock-notes { left: -36px; }
  .mock-progress { right: -22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---- kayıt sayfası */
.auth { padding: 0; }
.auth-grid { display: grid; min-height: calc(100vh - 72px); }
.auth-photo { display: none; position: relative; background: var(--navy) url('/assets/signup.jpg') center / cover no-repeat; }
.auth-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 36, 56, 0) 45%, rgba(27, 36, 56, 0.7)); }
.auth-photo p { position: absolute; left: 36px; right: 36px; bottom: 36px; z-index: 1; color: #fff; font-size: 22px; font-weight: 700; line-height: 1.3; max-width: 420px; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px 20px 56px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: clamp(28px, 4vw, 36px); font-weight: 800; }
.auth-card .sub { margin: 10px 0 28px; color: var(--muted); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input[type='text'], .field input[type='email'], .field input[type='password'] { width: 100%; font: inherit; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.field input:focus { border-color: var(--orange); outline: none; }
.field .hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.pw { position: relative; }
.pw input { padding-right: 52px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.pw button:hover { color: var(--ink); }
.auth-card .msg { min-height: 22px; margin: 4px 0 12px; font-size: 14px; font-weight: 600; }
.auth-card .msg.err { color: #b42318; }
.auth-card .msg.ok { color: #166534; }
.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted); font-size: 14px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn-google { background: #fff; color: var(--ink); border-color: var(--line); gap: 12px; }
.btn-google:hover { border-color: var(--ink); }
.consent-note { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.consent-note a { color: var(--ink); }
.switch { margin-top: 24px; text-align: center; font-size: 15px; color: var(--muted); }
.switch a { color: var(--orange-dark); font-weight: 700; }
.done { text-align: center; }
.done .ico-ok { width: 64px; height: 64px; border-radius: 50%; background: #fdeadd; color: var(--orange); display: grid; place-items: center; margin: 0 auto 20px; }
.done h2 { font-size: 28px; margin-bottom: 12px; outline: none; }
.done p { color: var(--muted); margin-bottom: 8px; }
.done p b { color: var(--ink); word-break: break-all; }
.done .btn { margin-top: 20px; }

@media (min-width: 900px) {
  .auth-grid { grid-template-columns: 1fr 1fr; }
  .auth-photo { display: block; }
  .auth-panel { padding: 56px 40px; }
}
