/* Site Yönetim — aidatly.com açılış sayfası. Tek dosya, harici istek yok, JS yok. */
:root {
  --brand: #1B4F8A;
  --brand-2: #2F6FB5;
  --accent: #22C55E;
  --ink: #0F172A;
  --ink-2: #475569;
  --ink-3: #64748B;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FB;
  --card: #FFFFFF;
  --line: #E2E8F0;
  --ring: rgba(27, 79, 138, .28);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -16px rgba(15, 23, 42, .18);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #7FB2F0;
    --brand-2: #4F8FD8;
    --accent: #4ADE80;
    --ink: #E6EDF6;
    --ink-2: #B6C2D2;
    --ink-3: #8A98AB;
    --bg: #0B1220;
    --bg-alt: #0F1829;
    --card: #121C2E;
    --line: #1F2B40;
    --ring: rgba(127, 178, 240, .35);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -20px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.section.alt { background: var(--bg-alt); }
.section-lead { color: var(--ink-2); max-width: 60ch; font-size: 1.125rem; margin-bottom: 2.25rem; }

.skip { position: absolute; left: 1rem; top: -3rem; background: var(--brand); color: #fff; padding: .5rem .9rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { border-radius: 8px; }
.brand-name { font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.brand-by { font-size: .78rem; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: .1rem .5rem; }
.nav { display: flex; gap: 1.25rem; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 0 1.15rem; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(27, 79, 138, .7); }
.btn-primary:hover { background: var(--brand-2); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #0B1220; } }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-small { min-height: 38px; padding: 0 .9rem; font-size: .92rem; background: var(--bg-alt); color: var(--ink); border-color: var(--line); }
.is-soon { cursor: default; opacity: .85; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38rem 22rem at 85% 20%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    radial-gradient(30rem 18rem at 10% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; font-size: .8rem; margin-bottom: .9rem; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); max-width: 16ch; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.25rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--ink-3); font-size: .92rem; }
.hero-facts li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* phone mockup (pure CSS) */
.hero-visual { display: flex; justify-content: center; }
.phone { width: min(330px, 100%); border-radius: 34px; padding: 18px 14px 22px; background: linear-gradient(160deg, #1B4F8A, #2F6FB5); box-shadow: 0 30px 60px -30px rgba(27, 79, 138, .7), inset 0 0 0 1px rgba(255, 255, 255, .18); display: grid; gap: 10px; transform: rotate(-2deg); }
@media (prefers-reduced-motion: no-preference) { .phone { animation: float 7s ease-in-out infinite; } @keyframes float { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-8px); } } }
.phone-top { display: flex; justify-content: center; padding-bottom: 4px; }
.pill { font-size: .78rem; color: #fff; background: rgba(255, 255, 255, .16); border-radius: 999px; padding: .25rem .7rem; }
.card { background: var(--card); border-radius: 16px; padding: 14px 14px; box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .5); font-size: .9rem; color: var(--ink); }
.stat-head, .stat-foot { display: flex; justify-content: space-between; align-items: baseline; }
.stat-head span, .stat-foot span { color: var(--ink-3); font-size: .82rem; }
.bar { height: 8px; background: var(--line); border-radius: 999px; margin: 10px 0; overflow: hidden; }
.bar i { display: block; width: 75%; height: 100%; background: linear-gradient(90deg, var(--accent), #16A34A); border-radius: inherit; }
.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px; }
.row em { font-style: normal; color: var(--ink-3); font-size: .82rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dot.ok { background: var(--accent); } .dot.wait { background: #F59E0B; } .dot.late { background: #EF4444; }
.chat .bubble { background: color-mix(in srgb, var(--accent) 14%, var(--card)); border-left: 3px solid var(--accent); border-radius: 10px; padding: 8px 10px; font-size: .84rem; }

/* features */
.grid { display: grid; gap: 1.25rem; }
.features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.35rem 1.1rem; box-shadow: var(--shadow); }
.feature svg { width: 28px; height: 28px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .9rem; }
.feature p { color: var(--ink-2); margin: 0; font-size: .98rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.35rem 1.2rem; }
.steps p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #1B4F8A; color: #fff; font-weight: 700; margin-bottom: .9rem; }

/* residents split */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
.checks { display: grid; gap: .6rem; color: var(--ink-2); }
.checks li { padding-left: 1.6rem; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.debt-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem; box-shadow: var(--shadow); max-width: 360px; margin-inline: auto; }
.debt-head { display: flex; justify-content: space-between; color: var(--ink-3); font-size: .9rem; margin-bottom: 1rem; }
.debt-head strong { color: var(--ink); }
.debt-main { display: grid; gap: .2rem; margin-bottom: 1rem; }
.debt-main small { color: var(--ink-3); }
.debt-main b { font-size: 2.2rem; letter-spacing: -.02em; }
.tag { justify-self: start; font-size: .78rem; font-weight: 600; border-radius: 999px; padding: .2rem .6rem; }
.tag.wait { background: #FEF3C7; color: #92400E; }
.debt-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; color: var(--ink-3); font-size: .88rem; border-top: 1px solid var(--line); padding-top: .8rem; }

/* price */
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow); display: grid; gap: .75rem; justify-items: start; }
.price-big { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; margin: 0; }
.price-sub { color: var(--ink-2); margin: 0 0 .5rem; }
.price-card .btn { margin-top: .75rem; }

/* trust */
.trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust li { border-left: 3px solid var(--brand); padding: .2rem 0 .2rem 1.1rem; }
.trust p { color: var(--ink-2); margin: 0; font-size: .98rem; }

/* faq */
details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 1.1rem; margin-bottom: .7rem; }
summary { cursor: pointer; font-weight: 600; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: 0 0 1rem; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.25rem 0 2.75rem; color: var(--ink-2); font-size: .95rem; }
.footer-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: start; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-row nav a { color: var(--ink-2); }
.copy { grid-column: 1 / -1; margin: 0; color: var(--ink-3); font-size: .88rem; }

/* responsive */
@media (max-width: 960px) {
  .features, .steps, .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .phone { transform: none; }
  @media (prefers-reduced-motion: no-preference) { .phone { animation: none; } }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav { display: none; }
  .brand-by { display: none; }          /* dar ekranda marka adı tek satır kalsın */
  .header-row { gap: .75rem; }
  .btn-small { min-height: 36px; padding: 0 .75rem; font-size: .88rem; }
  .features, .steps, .trust { grid-template-columns: 1fr; }
  .footer-row { grid-template-columns: 1fr; }
  .price-card { padding: 1.4rem; }
  .cta-row .btn { flex: 1 1 100%; }
}
