:root {
  --primary: #112d4e;
  --primary-light: #1e4772;
  --primary-dark: #0a1e36;
  --accent: #b08a3e;
  --accent-soft: #d2bc85;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --border: #dce2e8;
  --text: #1b2430;
  --muted: #5b6877;
  --on-primary: #ffffff;
  --success: #1f7a4f;
  --success-soft: #e8f5ee;
  --prison: #b83333;
  --info: #2c6aa6;
  --shadow: 0 18px 50px rgba(17, 45, 78, 0.12);
  --radius: 20px;
  --header-h: 72px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-size: 0.92em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.12em 0.4em;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 600;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section-dark {
  background:
    radial-gradient(circle at 10% 10%, rgba(176, 138, 62, 0.16), transparent 28%),
    linear-gradient(180deg, var(--primary-dark), var(--primary));
  color: var(--on-primary);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left,
.section-head.on-dark {
  margin-left: 0;
  text-align: left;
}

.section-head.on-dark {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head.on-dark p,
.section-dark p {
  color: #d7e0ea;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 30, 54, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  position: relative;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #e8eef7;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--accent-soft);
}

.nav-cta {
  background: var(--accent);
  color: var(--primary-dark) !important;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(176, 138, 62, 0.22), transparent 32%),
    linear-gradient(160deg, #081424 0%, var(--primary) 48%, #163a5f 100%);
  color: #fff;
  padding: 72px 0 88px;
}

.hero-glow {
  position: absolute;
  inset: auto -120px -180px auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(210, 188, 133, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.lede {
  font-size: 1.08rem;
  color: #d7e0ea;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
}

.btn-gold {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-gold:hover {
  background: var(--accent-soft);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-pills li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: #e8eef7;
}

.hero-pills strong {
  color: var(--accent-soft);
  margin-right: 4px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.phone {
  width: 290px;
  margin: 0 auto;
  background: #0b1726;
  border: 8px solid #1a2533;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.phone-notch {
  width: 108px;
  height: 18px;
  margin: 8px auto 0;
  background: #0b1726;
  border-radius: 0 0 14px 14px;
}

.phone-screen {
  margin: 8px;
  padding: 16px 14px 18px;
  min-height: 480px;
  background: #f3f5f9;
  border-radius: 24px;
  color: var(--text);
}

.mock-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.mock-greet {
  font-size: 0.92rem;
  font-weight: 700;
}

.mock-badge {
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}

.mock-overline {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.mock-card {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  color: #fff;
  margin-bottom: 10px;
}

.mock-card small {
  display: block;
  opacity: 0.85;
  font-size: 0.75rem;
}

.mock-search {
  background: linear-gradient(135deg, #0f2844, #1a4a75);
}

.mock-visible {
  background: linear-gradient(135deg, #145a38, #1f7a4f);
}

.mock-icon {
  font-size: 1.2rem;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.mock-hero {
  background: linear-gradient(160deg, #1a4a75, #0f2844 55%, #b08a3e);
  color: #fff;
  min-height: 120px;
  border-radius: 16px;
  padding: 12px;
}

.mock-hero p {
  color: #e8eef7;
  font-size: 0.78rem;
  margin: 8px 0 0;
}

.mock-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 700;
}

.float-card {
  position: absolute;
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.float-card-a {
  left: 0;
  top: 72px;
}

.float-card-b {
  right: 0;
  bottom: 48px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.green {
  background: var(--success);
}

.dot.gold {
  background: var(--accent);
}

.split,
.intent-grid,
.feature-grid,
.stats,
.arch,
.footer-grid,
.pro-layout {
  display: grid;
  gap: 20px;
}

.split,
.intent-grid,
.pro-layout {
  grid-template-columns: 1fr 1fr;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stats,
.arch {
  grid-template-columns: repeat(4, 1fr);
}

.arch {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 40px;
}

.panel,
.feature,
.intent-card,
.stat,
.arch-col,
.pro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(17, 45, 78, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.panel:hover,
.feature:hover,
.intent-card:hover,
.stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.panel-dark {
  background: var(--primary);
  border-color: transparent;
  color: #fff;
}

.panel-dark p,
.panel-dark h3 {
  color: #fff;
}

.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.check-list.on-dark li {
  color: #e8eef7;
}

.intent-card {
  position: relative;
  overflow: hidden;
}

.intent-num {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.intent-green {
  background: linear-gradient(180deg, #fff, var(--success-soft));
}

.steps {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.steps li {
  margin: 8px 0;
}

.journey {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
}

.journey-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  counter-reset: step;
}

.journey-track li {
  position: relative;
  padding-top: 36px;
}

.journey-track li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.journey-track strong {
  display: block;
  margin-bottom: 4px;
}

.journey-track span {
  color: var(--muted);
  font-size: 0.9rem;
}

.feature h3 {
  font-size: 1.15rem;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--primary);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tags span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 600;
}

.pro-card {
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  color: #fff;
  border: 0;
}

.pro-card p,
.pro-card li {
  color: #d7e0ea;
}

.pro-kicker {
  color: var(--accent-soft) !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.pro-card h3 {
  color: #fff;
  font-size: 2rem;
}

.pro-card ul {
  padding-left: 18px;
  margin: 0 0 24px;
}

.arch-col {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.arch-col h3 {
  color: var(--accent-soft);
}

.arch-col li {
  margin: 8px 0;
  color: #d7e0ea;
}

.screens-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.screens-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.04);
}

.screens-table caption {
  text-align: left;
  padding: 16px 18px 8px;
  font-weight: 700;
  color: var(--accent-soft);
}

.screens-table th,
.screens-table td {
  text-align: left;
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.screens-table th {
  color: #fff;
  font-size: 0.85rem;
}

.cta {
  padding: 88px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(176, 138, 62, 0.18), transparent 40%),
    var(--bg);
  text-align: center;
}

.cta-logo {
  margin: 0 auto 18px;
  filter: drop-shadow(0 4px 16px rgba(17,45,78,0.18));
}

.cta-inner {
  max-width: 680px;
}

.store-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.store-badge {
  min-width: 150px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.site-footer {
  background: var(--primary-dark);
  color: #d7e0ea;
  padding: 40px 0 24px;
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  gap: 12px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand strong {
  color: #fff;
}

.footer-brand p,
.footer-bottom p {
  margin: 0;
  color: #9aabbb;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: flex-end;
}

.site-footer nav a:hover {
  color: var(--accent-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 0.88rem;
}

.made-by strong {
  color: #fff;
}

.bunlabs-link {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.bunlabs-link:hover {
  color: var(--accent-soft);
}

/* ── Yasal belge sayfaları ── */
.legal-hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(176, 138, 62, 0.18), transparent 32%),
    linear-gradient(160deg, #081424 0%, var(--primary) 50%, #163a5f 100%);
  color: #fff;
  padding: 72px 0 56px;
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin-bottom: 10px;
}

.legal-lead {
  color: #d7e0ea;
  margin: 0;
  max-width: 640px;
}

.legal-section {
  padding-top: 48px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(17, 45, 78, 0.04);
}

.legal-toc h2 {
  font-family: var(--font);
  font-size: 0.95rem;
  margin: 0 0 12px;
}

.legal-toc nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-toc a {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.legal-toc a:hover {
  color: var(--primary);
}

.legal-doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 8px 28px rgba(17, 45, 78, 0.05);
}

.legal-doc h2 {
  font-size: 1.25rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--primary);
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc p {
  color: var(--text);
  margin-bottom: 0.9rem;
}

.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--text);
}

.legal-doc li {
  margin: 6px 0;
}

.legal-back {
  margin-top: 36px !important;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.legal-back a {
  color: var(--primary);
  font-weight: 600;
}

.legal-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.legal-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(17, 45, 78, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.legal-card p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .intent-grid,
  .pro-layout,
  .feature-grid,
  .stats,
  .arch,
  .journey-track,
  .footer-grid,
  .legal-layout,
  .legal-hub-grid {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .legal-doc {
    padding: 24px 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .float-card {
    display: none;
  }

  .nav-burger {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--primary-dark);
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 60;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .footer-bottom,
  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .panel,
  .feature,
  .intent-card,
  .stat {
    transition: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .feature-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
