/* Closyra — tanıtım sitesi ve yasal sayfalar */
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --ink: #121a3a;
  --ink-2: #3c4566;
  --muted: #5b6480;
  --paper: #f6f7fb;
  --white: #ffffff;
  --line: #dce0ec;
  --indigo: #3b4ef0;
  --indigo-deep: #2a3bd0;
  --signal: #19a974;
  --meta: #1d6ef2; --google: #e2771b; --whatsapp: #1fa855; --organic: #0f9b8e;
  --wrap: 1120px;
  --display: "Inter Display", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
a { color: var(--indigo); }
a:focus-visible, .btn-site:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--ink); margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; font-family: var(--body); font-weight: 600; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 22px 0 0; }
.lede.small { font-size: 17px; margin-top: 14px; }
.fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* Üst menü */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(246, 247, 251, .92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

.btn-site { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; background: var(--indigo); color: #fff !important; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--indigo); transition: background .15s; }
.btn-site:hover { background: var(--indigo-deep); }
.btn-site.ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.btn-site.ghost:hover { border-color: var(--ink-2); background: transparent; }
.btn-site.small { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Lead akış panosu — sayfanın tek hareketli anı */
.board { background: var(--ink); color: #e7eaf6; border-radius: 18px; padding: 20px; box-shadow: 0 30px 60px -30px rgba(18, 26, 58, .55); }
.board-head, .board-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #9aa3c4; padding: 2px 6px; }
.board-live { display: inline-flex; align-items: center; gap: 7px; color: #c9f2e2; }
.board-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(25, 169, 116, .22); }
.board-list { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lead-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 14px; align-items: center; background: #1b2550; border: 1px solid #263166; border-radius: 12px; padding: 13px 14px; }
.src-dot { width: 10px; height: 10px; border-radius: 3px; }
.s-meta { background: var(--meta); } .s-google { background: var(--google); } .s-whatsapp { background: var(--whatsapp); } .s-organic { background: var(--organic); }
.lead-main { min-width: 0; display: flex; flex-direction: column; }
.lead-main b { font-weight: 600; color: #fff; font-size: 15px; }
.lead-main span { font-size: 13px; color: #9aa3c4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.rep { font-size: 12.5px; color: #c9f2e2; white-space: nowrap; }
.timer { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; font-size: 15px; font-weight: 600; color: #fff; }
.board-foot b { color: #fff; font-weight: 600; font-size: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .lead-row { animation: arrive .6s cubic-bezier(.2, .8, .2, 1) both; }
  .lead-row.r0 { animation-delay: .9s; } .lead-row.r1 { animation-delay: .6s; } .lead-row.r2 { animation-delay: .35s; } .lead-row.r3 { animation-delay: .15s; }
  @keyframes arrive { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
}

/* Bölümler */
.band { padding: 96px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.flow li { position: relative; padding-top: 52px; counter-increment: step; }
.flow li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--indigo); }
.flow li::after { content: ""; position: absolute; top: 17px; left: 44px; right: -22px; height: 1px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow p { color: var(--ink-2); font-size: 15.5px; margin: 10px 0 0; }

.split { padding: 96px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 14px; height: 8px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.login-mock { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; max-width: 440px; justify-self: end; width: 100%; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-bar code { margin-left: 10px; font: 13px/1 var(--body); color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; flex: 1; }
.mock-body { padding: 36px 40px 40px; display: flex; flex-direction: column; gap: 12px; }
.mock-logo { align-self: center; border: 1.5px dashed #b6bdd6; border-radius: 10px; padding: 14px 22px; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.mock-field { height: 40px; border: 1px solid var(--line); border-radius: 8px; }
.mock-btn { height: 42px; border-radius: 8px; background: #ef6c2f; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px; }

.price-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 44px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.price-col { padding: 32px 28px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); background: var(--white); }
.price-col:last-child { border-right: 0; }
.price-col.featured { background: var(--paper); box-shadow: inset 0 4px 0 var(--indigo); }
.amount { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; margin: 8px 0 4px; }
.amount span { font-family: var(--body); font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-col ul { list-style: none; padding: 0; margin: 8px 0 24px; color: var(--ink-2); font-size: 15.5px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.price-col .btn-site { width: 100%; }

.facts { padding: 80px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.facts p { color: var(--ink-2); font-size: 15.5px; margin: 8px 0 0; }

.closing { padding: 0 0 96px; }
.closing-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 48px; border-top: 1px solid var(--line); }

/* Alt bilgi */
.site-foot { background: var(--ink); color: #b9c0dc; padding: 56px 0 28px; font-size: 14.5px; }
.site-foot .site-logo { color: #fff; font-size: 18px; }
.site-foot a { color: #dfe3f3; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-company { margin: 14px 0 0; line-height: 1.6; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid #263166; font-size: 13px; color: #8b93b5; }

/* Yasal metinler */
.legal-page { padding: 56px 0 96px; }
.legal-page .wrap { max-width: 780px; }
.legal-page h1 { font-size: clamp(30px, 4vw, 42px); }
.legal-meta { color: var(--muted); font-size: 14px; margin: 12px 0 36px; }
.legal-page h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.legal-page p, .legal-page li { color: var(--ink-2); }
.legal-page ul, .legal-page ol { padding-left: 22px; }
.legal-page li { margin: 6px 0; }
.legal-page table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
.legal-page th, .legal-page td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; margin-bottom: 8px; }

@media (max-width: 960px) {
  .hero-grid, .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .login-mock { justify-self: start; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li::after { display: none; }
  .facts-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  body.site { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-nav .nav-anchor { display: none; }
  .site-nav { gap: 16px; }
  .hero { padding: 40px 0 56px; }
  .band, .split { padding: 64px 0; }
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .price-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .price-col:last-child { border-bottom: 0; }
  .lead-main span { white-space: normal; }
  .hero-actions .btn-site { flex: 1; }
}
