:root {
  --night: #0E0E10;
  --gold: #C9A54A;
  --gold-dark: #7A5C1A;
  --ivory: #F5F1E8;
  --muted-dark: #B8B2A4;
  --muted-light: #4A463E;
  --card: #16151A;
  --line: #2E2A22;

  --f-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-label: "Cinzel", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ivory);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.12; margin: 0; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--night); padding: 10px 16px;
  font-family: var(--f-label); text-decoration: none; border-radius: 2px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.section-light :focus-visible { outline-color: var(--gold-dark); }

/* ---------- Bölüm zeminleri ---------- */
section { padding: 104px 0; }
.section-dark { background: var(--night); color: var(--ivory); }
.section-light { background: var(--ivory); color: var(--night); }

.eyebrow {
  font-family: var(--f-label);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.section-light .eyebrow { color: var(--gold-dark); }

h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 48px; max-width: 18ch; }

.lead { font-size: 1.12rem; color: var(--muted-dark); max-width: 52ch; margin: 0 0 36px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-label);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: .74rem; }
.btn-primary { background: var(--gold); color: var(--night); border-color: var(--gold); }
.btn-primary:hover { background: #D8B65E; border-color: #D8B65E; }
.btn-outline { background: transparent; color: var(--ivory); border-color: var(--muted-dark); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--night); color: var(--ivory); border-color: var(--night); }
.btn-dark:hover { background: transparent; color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; }
.logo-mark { font-family: var(--f-label); font-size: .72rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; margin-bottom: 2px; }
.logo-word {
  font-family: var(--f-head); font-style: italic; font-weight: 700;
  font-size: 1.85rem; color: var(--ivory);
  display: inline-flex; align-items: center;
}
.logo-cursor {
  display: inline-block; width: 3px; height: .9em; margin-left: 5px;
  background: var(--gold);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%, 45% { opacity: 1; } 55%, 100% { opacity: 0; } }

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 16, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.main-nav ul { display: flex; align-items: center; gap: 36px; }
.main-nav a:not(.btn) {
  font-family: var(--f-label); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-dark); text-decoration: none;
  transition: color .2s;
}
.main-nav a:not(.btn):hover { color: var(--gold); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ivory); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Giriş ---------- */
.hero { padding: 96px 0 112px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--gold); }

.app-window {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(201, 165, 74, .06);
  overflow: hidden;
}
.app-titlebar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #121115; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.app-title { margin-left: 10px; font-family: var(--f-label); font-size: .72rem; letter-spacing: .16em; color: var(--muted-dark); text-transform: uppercase; }
.app-body { padding: 26px; }
.app-order { display: flex; flex-direction: column; gap: 4px; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.app-label { font-family: var(--f-label); font-size: .7rem; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
.app-order strong { font-family: var(--f-head); font-size: 1.6rem; font-weight: 600; }
.app-meta { font-size: .85rem; color: var(--muted-dark); }

.steps { display: flex; flex-direction: column; gap: 4px; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-size: .95rem; color: var(--muted-dark); }
.step-icon {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
}
.steps .done { color: var(--ivory); }
.steps .done .step-icon { background: var(--gold); border-color: var(--gold); color: var(--night); }
.steps .active { color: var(--ivory); font-weight: 500; }
.steps .active .step-icon { border-color: var(--gold); position: relative; }
.steps .active .step-icon::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.step-tag {
  margin-left: auto; font-family: var(--f-label); font-size: .64rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201, 165, 74, .4);
  padding: 3px 8px; border-radius: 2px; white-space: nowrap;
}
.progress { margin-top: 18px; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--gold); }

/* ---------- Programlar ---------- */
.badge {
  display: inline-block; font-family: var(--f-label); font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dark); border: 1px solid var(--gold-dark);
  padding: 4px 10px; border-radius: 2px; margin-bottom: 14px;
}
.badge-muted { color: var(--muted-light); border-color: #CFC8B8; }

.program-card {
  background: #FFFDF8;
  border: 1px solid #E2DACA;
  border-radius: 2px;
  padding: 44px;
}
.program-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.program-card h3 { font-size: 2.4rem; font-weight: 700; font-style: italic; }
.platforms { margin: 6px 0 0; font-family: var(--f-label); font-size: .78rem; letter-spacing: .14em; color: var(--muted-light); }
.program-desc { color: var(--muted-light); font-size: 1.05rem; max-width: 64ch; margin: 0 0 32px; }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #E2DACA; }
.feature-list li { display: flex; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid #E2DACA; font-weight: 500; }
.feature-list li:nth-child(odd) { padding-right: 24px; }
.num { font-family: var(--f-label); font-size: .82rem; font-weight: 700; color: var(--gold-dark); letter-spacing: .08em; }

.soon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.soon-card {
  border: 1px dashed #CFC8B8; border-radius: 2px; padding: 32px 36px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.soon-card p { margin: 0; color: var(--muted-light); }

/* ---------- Neden Fortega ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-item { background: var(--night); padding: 36px 28px; }
.roman { display: block; font-family: var(--f-label); font-size: 1.4rem; font-weight: 600; color: var(--gold); margin-bottom: 22px; }
.why-item h3 { font-size: 1.6rem; margin-bottom: 12px; }
.why-item p { margin: 0; color: var(--muted-dark); font-size: .95rem; }

/* ---------- Hakkımızda ---------- */
.about { max-width: 820px; }
.about h2 { font-style: italic; margin-bottom: 32px; }
.about-text p { font-size: 1.12rem; color: var(--muted-light); margin: 0 0 18px; }
.signature { margin-top: 40px; padding-top: 24px; border-top: 1px solid #E2DACA; display: flex; flex-direction: column; gap: 4px; }
.sig-name { font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: 1.8rem; }
.sig-role { font-family: var(--f-label); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-grid h2 { margin-bottom: 20px; }
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-family: var(--f-label); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }
.contact-list a { font-family: var(--f-head); font-size: 1.7rem; font-weight: 600; text-decoration: none; color: var(--ivory); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; word-break: break-word; }
.contact-list a:hover { color: var(--gold); border-color: var(--gold); }

.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: 2px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--f-label); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.field input, .field textarea {
  font: inherit; color: var(--ivory); background: var(--night);
  border: 1px solid #4A4436; border-radius: 2px; padding: 13px 14px;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.field input[aria-invalid="true"] { border-color: #E07A6A; }
.contact-form .btn { align-self: flex-start; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.5em; color: var(--muted-dark); }
.form-status.ok { color: var(--gold); }
.form-status.err { color: #F0A090; }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--night); border-top: 1px solid var(--line); padding: 48px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-family: var(--f-label); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.copyright { margin: 0; font-size: .85rem; color: var(--muted-dark); width: 100%; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .app-window { max-width: 520px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Mobil menü ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--night); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s ease, visibility .3s;
  }
  .main-nav.open { max-height: 400px; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
  .main-nav li a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .main-nav li:last-child { margin-top: 20px; }
  .main-nav .btn { width: 100%; padding: 14px; }
}

/* ---------- Telefon ---------- */
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  h2 { margin-bottom: 32px; }
  .btn-row .btn { flex: 1 1 100%; }
  .app-body { padding: 20px; }
  .program-card { padding: 28px 20px; }
  .program-card h3 { font-size: 2rem; }
  .program-head .btn { width: 100%; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list li:nth-child(odd) { padding-right: 0; }
  .soon-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { padding: 28px 22px; }
  .contact-form { padding: 24px 18px; }
  .contact-form .btn { align-self: stretch; }
  .contact-list a { font-size: 1.45rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
