/* Mehmet Bilir — koyu SaaS vitrin (Inovex efektleri yok) */
:root {
  --bg: #070b12;
  --bg-elevated: #0f1623;
  --bg-card: #131c2b;
  --border: rgba(148, 163, 184, 0.14);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-dim: rgba(56, 189, 248, 0.12);
  --radius: 12px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --header-bg: rgba(7, 11, 18, 0.85);
  --header-bg-solid: #070b12;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
  object-fit: cover;
}

.logo:hover {
  color: #fff;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav-item--mega {
  position: static;
}

@media (min-width: 901px) {
  .site-header__inner {
    position: relative;
  }

  .nav-item--mega {
    position: static;
  }
}

.nav-mega-trigger {
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-mega-trigger:hover,
.nav-item--mega.is-open .nav-mega-trigger,
.nav-mega-trigger[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

.nav-mega {
  display: none;
}

@media (min-width: 901px) {
  .nav-mega {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    /* Tetikleyici ile panel arasında hover köprüsü (erken kapanmayı önler) */
    margin-top: -6px;
    padding: 10px 0 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
  }

  .nav-item--mega:hover .nav-mega,
  .nav-item--mega:focus-within .nav-mega,
  .nav-item--mega.is-open .nav-mega,
  .nav-item--mega:has(.nav-mega:hover) .nav-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-mega__panel {
    width: min(100% - 2rem, 44rem);
    margin-inline: auto;
    background: #fff;
    color: #0f172a;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.06);
    padding: 1.25rem 1.45rem 1.1rem;
  }

  .nav-mega__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }

  .nav-mega__label {
    margin: 0 0 0.65rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
  }

  .nav-mega__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-mega__list li + li {
    margin-top: 0.15rem;
  }

  .nav-mega__list a {
    display: block;
    padding: 0.45rem 0.35rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
  }

  .nav-mega__list a:hover {
    background: #f5f2ed;
    text-decoration: none;
  }

  .nav-mega__title {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #0f172a;
  }

  .nav-mega__desc {
    display: block;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
    margin-top: 0.1rem;
  }

  .nav-mega__all {
    display: inline-flex;
    margin-top: 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #f5f2ed;
    color: #0f172a !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
  }

  .nav-mega__all:hover {
    background: #ebe6dc;
    text-decoration: none;
  }
}

.feature-blocks {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.feature-block h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--bg-elevated);
}

.btn-primary {
  color: #041018;
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #7dd3fc;
  border-color: #7dd3fc;
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero__badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.hero__lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 42rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 3rem 0;
}

.section__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.section__sub {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 36rem;
}

.grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.card--soon {
  opacity: 0.72;
}

.card__tag {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer nav a {
  color: var(--muted);
}

.phase-note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: var(--bg-elevated);
  font-size: 0.875rem;
  color: var(--muted);
}

.phase-note strong {
  color: var(--text);
}

.page-head {
  padding: 3rem 0 1.5rem;
}

.page-head h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.page-head p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.about-intro {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .about-intro {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
  }
}

.about-intro__photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.about-intro__photo img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.about-intro__photo figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.about-facts {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.about-facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.75rem;
}

.about-facts dt:first-child {
  margin-top: 0;
}

.about-facts dd {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li {
  border-bottom: 1px solid var(--border);
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  color: var(--text);
  text-decoration: none;
}

.link-list a:hover {
  color: var(--accent);
}

.link-list span {
  color: var(--muted);
  font-size: 0.8125rem;
}

.site-footer--mega {
  margin-top: 4rem;
  padding: 0;
  border-top: 1px solid var(--border);
  background: var(--header-bg-solid);
  color: var(--muted);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  padding: 3rem 0 2.5rem;
}

.footer-col h2 {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.45rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

.logo--footer {
  color: var(--text);
  font-size: 0.9375rem;
}

.logo--footer:hover {
  color: #fff;
}

.prose {
  max-width: 40rem;
  padding-bottom: 2rem;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
}

.prose .legal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.prose h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.prose p,
.prose ul {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.25rem;
}

.contact-card {
  max-width: 28rem;
  margin-top: 1.5rem;
}

.contact-card dt {
  font-weight: 600;
  color: var(--text);
  margin-top: 1rem;
}

.contact-card dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobil menü — masaüstünde gizli; ≤900px hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  order: 10;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 1.125rem;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

body.mobile-nav-open {
  overflow: hidden;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100% - 2.5rem, 20rem);
  height: 100%;
  max-height: 100dvh;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 1rem 1.15rem 1.5rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.mobile-nav__close {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.mobile-nav__links > a {
  display: block;
  padding: 0.65rem 0.5rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9375rem;
  text-decoration: none;
}

.mobile-nav__links > a:hover,
.mobile-nav__links > a[aria-current="page"] {
  background: var(--bg-card);
  text-decoration: none;
}

.mobile-nav__group {
  margin-bottom: 0.5rem;
}

.mobile-nav__label {
  margin: 0.5rem 0 0.35rem;
  padding: 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-nav__group a {
  display: block;
  padding: 0.5rem 0.5rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.mobile-nav__group a:hover {
  color: var(--text);
  background: var(--bg-card);
  text-decoration: none;
}

.mobile-nav__group a.mobile-nav__emph {
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.25rem;
}

.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-nav__actions .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .site-header__inner {
    flex-wrap: nowrap;
  }

  .logo span {
    font-size: 0.9375rem;
  }

  .nav--pages {
    display: none !important;
  }

  .nav-actions {
    display: none !important;
  }

  .nav-toggle {
    display: inline-flex !important;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .mobile-nav {
    display: none !important;
  }
}

/* Yasal / gizlilik — açık zemin, ortalanmış sütun, koyu metin */
body.page-document--white {
  background: #ffffff;
  color: #0f172a;
  --text: #0f172a;
  --muted: #334155;
  --header-bg: rgba(255, 255, 255, 0.96);
  --header-bg-solid: #ffffff;
  --border: #e2e8f0;
}

body.page-document--white .site-header {
  background: var(--header-bg);
  border-bottom-color: var(--border);
  backdrop-filter: blur(8px);
}

body.page-document--white .site-footer--mega {
  background: var(--header-bg-solid);
  border-top-color: var(--border);
  color: #64748b;
}

body.page-document--white .footer-col h2 {
  color: #0f172a;
}

body.page-document--white .footer-col a {
  color: #334155;
}

body.page-document--white .footer-col a:hover {
  color: #0f172a;
}

body.page-document--white .site-footer__bottom {
  border-top-color: #e2e8f0;
  color: #64748b;
}

body.page-document--white .logo--footer {
  color: #0f172a;
}

body.page-document--white .logo--footer:hover {
  color: #0f172a;
}

body.page-document--white .logo,
body.page-document--white .nav a,
body.page-document--white .nav-mega-trigger {
  color: #334155;
}

body.page-document--white .nav a:hover,
body.page-document--white .nav-mega-trigger:hover,
body.page-document--white .nav a[aria-current="page"] {
  color: #0f172a;
}

body.page-document--white .btn-ghost {
  color: #0f172a;
  border-color: #cbd5e1;
}

body.page-document--white .nav-toggle {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.page-document--white .legal-document {
  width: 100%;
  max-width: calc(46rem + 2rem);
  margin-inline: auto;
  padding: 0 1rem 3rem;
  box-sizing: border-box;
}

body.page-document--white .page-head--legal,
body.page-document--white .prose--legal {
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
  margin-left: auto;
  margin-right: auto;
}

body.page-document--white .page-head--legal {
  text-align: center;
  padding-top: 2.5rem;
}

body.page-document--white .page-head--legal h1,
body.page-document--white .page-head--legal .legal-meta {
  max-width: none;
  margin-inline: auto;
}

body.page-document--white .page-head--legal .legal-meta {
  color: #475569;
}

body.page-document--white .prose--legal {
  padding-bottom: 0;
  text-align: left;
}

body.page-document--white .page-head--legal h1 {
  color: #070b12;
}

body.page-document--white .prose--legal p,
body.page-document--white .prose--legal li,
body.page-document--white .prose--legal strong {
  color: #0f172a;
}

body.page-document--white .prose--legal h2 {
  color: #070b12;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.35rem;
}

body.page-document--white .prose--legal h3 {
  color: #0f172a;
}

body.page-document--white .prose--legal a {
  color: #0369a1;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

body.page-document--white .prose--legal a:hover {
  color: #0c4a6e;
}

body.page-document--white .legal-contact {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  color: #334155;
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
