:root {
  --navy: #05265f;
  --blue: #075bd9;
  --blue-2: #0b78ef;
  --sky: #eaf3ff;
  --ink: #152238;
  --muted: #5c6a7d;
  --line: #dce5f1;
  --surface: #ffffff;
  --bg: #f5f8fc;
  --success: #087a52;
  --warning: #925f00;
  --danger: #b3261e;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(7, 43, 97, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  background: var(--navy); color: white; padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(220, 229, 241, .85);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; font-weight: 800; line-height: 1.1; }
.brand img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 7px 22px rgba(5, 38, 95, .14); }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-weight: 600; font-size: .76rem; }
.nav-toggle { display: none; border: 1px solid var(--line); background: white; width: 44px; height: 44px; border-radius: 13px; color: var(--navy); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: #24344c; text-decoration: none; font-weight: 650; font-size: .95rem; }
.site-nav a:hover { color: var(--blue); }
.nav-cta { background: var(--blue); color: white !important; padding: 11px 17px; border-radius: 999px; box-shadow: 0 8px 20px rgba(7, 91, 217, .20); }

.hero {
  position: relative; overflow: hidden;
  padding: 78px 0 58px;
  background:
    radial-gradient(circle at 92% 2%, rgba(34, 141, 255, .16), transparent 34%),
    radial-gradient(circle at 2% 75%, rgba(5, 38, 95, .10), transparent 31%),
    linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 58px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 12px; border: 1px solid #cfe1ff; border-radius: 999px; color: var(--blue); background: rgba(255,255,255,.8); font-weight: 750; font-size: .88rem; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 5px rgba(11,120,239,.12); }
h1, h2, h3 { line-height: 1.18; color: var(--navy); margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(2.3rem, 5vw, 4.65rem); letter-spacing: -.05em; }
h1 span { color: var(--blue); }
.hero-copy > p { max-width: 690px; margin: 0 0 28px; color: #40516a; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 21px; border: 0; border-radius: 14px; text-decoration: none; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--blue), #0648bd); box-shadow: 0 13px 30px rgba(7,91,217,.23); }
.button-primary:hover { color: white; }
.button-secondary { color: var(--navy); background: white; border: 1px solid var(--line); box-shadow: 0 8px 26px rgba(5,38,95,.07); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; color: var(--muted); font-size: .91rem; font-weight: 650; }
.hero-notes span::before { content: "✓"; color: var(--success); margin-right: 7px; font-weight: 900; }
.hero-visual { position: relative; min-height: 560px; }
.hero-icon { position: absolute; left: 0; top: 66px; width: 190px; border-radius: 42px; z-index: 3; box-shadow: 0 24px 55px rgba(5,38,95,.22); }
.phone-shot { position: absolute; right: 0; top: 0; width: 365px; filter: drop-shadow(0 28px 42px rgba(5,38,95,.18)); }
.phone-shot.secondary { right: 250px; top: 250px; width: 230px; opacity: .94; z-index: 2; }
.independent-note { margin-top: 28px; padding: 15px 18px; border: 1px solid #d8e3f2; border-left: 4px solid var(--blue); border-radius: 14px; background: rgba(255,255,255,.86); color: #42516a; font-size: .9rem; }

.section { padding: 84px 0; }
.section-white { background: white; }
.section-blue { background: linear-gradient(180deg, #eef5ff 0%, #f9fbff 100%); }
.section-head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin-bottom: 14px; font-size: clamp(1.85rem, 3vw, 3rem); letter-spacing: -.035em; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.03rem; }

.calculator-shell { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); gap: 26px; align-items: start; }
.calculator-card, .info-card, .article-card, .faq-wrap, .legal-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.calculator-card { padding: clamp(20px, 4vw, 38px); }
.form-section + .form-section { margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--line); }
.form-section h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.2rem; }
.form-section h3::before { content: ""; width: 11px; height: 11px; border-radius: 4px; background: var(--blue); box-shadow: 0 0 0 6px var(--sky); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
label, .field-label { font-weight: 750; color: #2b3b53; font-size: .92rem; }
.hint { color: var(--muted); font-size: .79rem; }
input[type="date"], input[type="number"], select {
  width: 100%; min-height: 50px; padding: 11px 13px;
  border: 1px solid #cfd9e6; border-radius: 13px; background: #fff; color: var(--ink); outline: none;
  transition: border .15s, box-shadow .15s;
}
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,91,217,.11); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 5px; border: 1px solid var(--line); background: #f4f7fb; border-radius: 14px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 10px 14px; text-align: center; border-radius: 10px; color: var(--muted); }
.segmented input:checked + span { background: white; color: var(--blue); box-shadow: 0 3px 12px rgba(5,38,95,.11); }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 58px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; }
.switch { position: relative; width: 52px; height: 30px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #cfd5de; transition: .2s; }
.switch span::after { content: ""; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; border-radius: 50%; background: white; box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: .2s; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(22px); }
.form-actions { display: flex; gap: 12px; margin-top: 26px; }
.form-actions .button-primary { flex: 1; }
.button-reset { border: 1px solid var(--line); background: white; color: var(--muted); }
.form-message { display: none; margin-top: 16px; padding: 13px 15px; border-radius: 12px; font-weight: 650; }
.form-message.error { display: block; color: var(--danger); background: #fff1f0; border: 1px solid #ffd1cc; }

.calculator-side { display: grid; gap: 16px; }
.info-card { padding: 24px; box-shadow: 0 12px 35px rgba(5,38,95,.07); }
.info-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.info-card p, .info-card li { color: var(--muted); }
.info-card ul { margin: 10px 0 0; padding-left: 19px; }
.privacy-badge { background: linear-gradient(135deg, var(--navy), #0a59c8); color: white; border: 0; }
.privacy-badge h3, .privacy-badge p { color: white; }
.privacy-badge strong { color: #bfe2ff; }

.results { display: none; margin-top: 28px; }
.results.visible { display: block; }
.result-hero { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 25px; border-radius: 20px; border: 1px solid #cbdfff; background: linear-gradient(135deg, #f7fbff, #eaf3ff); }
.result-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: white; color: var(--blue); font-size: 2rem; box-shadow: 0 8px 24px rgba(7,91,217,.11); }
.result-hero strong { display: block; color: var(--blue); font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.1; }
.result-hero p { margin: 7px 0 0; color: #33445f; }
.result-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 16px 0; }
.metric { padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.metric span { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; }
.metric strong { display: block; margin-top: 3px; color: var(--navy); font-size: 1.3rem; }
.condition-list { display: grid; gap: 14px; }
.condition-card { padding: 21px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.condition-card h3 { margin-bottom: 16px; font-size: 1.09rem; color: var(--blue); }
.condition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px 24px; }
.condition-item { padding-bottom: 10px; border-bottom: 1px solid #edf1f6; }
.condition-item span { display: block; color: var(--muted); font-size: .79rem; }
.condition-item strong { display: block; color: var(--navy); margin-top: 2px; }
.result-notice { margin-top: 16px; padding: 15px 17px; border-radius: 14px; background: #fff9e8; border: 1px solid #f4dda0; color: #6c4a00; font-size: .9rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card { padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 17px; border-radius: 15px; background: var(--sky); color: var(--blue); font-weight: 900; font-size: 1.2rem; }
.feature-card h3 { margin-bottom: 9px; font-size: 1.12rem; }
.feature-card p { color: var(--muted); margin: 0; }

.showcase { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.shots { position: relative; min-height: 660px; }
.shots img { position: absolute; width: 350px; filter: drop-shadow(0 28px 42px rgba(5,38,95,.18)); }
.shots img:first-child { left: 0; top: 0; z-index: 2; }
.shots img:last-child { right: 0; top: 130px; }
.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li { position: relative; margin: 12px 0; padding-left: 30px; color: #3f5067; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 900; }

.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.article-card { padding: 26px; box-shadow: 0 10px 28px rgba(5,38,95,.06); }
.article-card .tag { display: inline-block; margin-bottom: 13px; color: var(--blue); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.article-card h3 { font-size: 1.2rem; }
.article-card p { margin-bottom: 0; color: var(--muted); }
.long-copy { max-width: 920px; margin: 42px auto 0; }
.long-copy h3 { margin-top: 34px; }
.long-copy p { color: #43536a; }

.links-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.resource-link { display: flex; flex-direction: column; min-height: 132px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: white; text-decoration: none; }
.resource-link strong { color: var(--navy); }
.resource-link span { margin-top: 7px; color: var(--muted); font-size: .86rem; }
.resource-link::after { content: "Bilgiye git →"; margin-top: auto; padding-top: 16px; color: var(--blue); font-weight: 800; font-size: .83rem; }

.faq-wrap { max-width: 920px; margin: 0 auto; padding: 10px 28px; }
.faq-wrap details { border-bottom: 1px solid var(--line); }
.faq-wrap details:last-child { border-bottom: 0; }
.faq-wrap summary { list-style: none; cursor: pointer; padding: 21px 38px 21px 0; color: var(--navy); font-weight: 800; position: relative; }
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after { content: "+"; position: absolute; right: 0; top: 17px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--sky); color: var(--blue); }
.faq-wrap details[open] summary::after { content: "−"; }
.faq-wrap details p { margin: -5px 0 22px; color: var(--muted); }

.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 38px; color: white; background: linear-gradient(135deg, var(--navy), var(--blue)); border-radius: 28px; box-shadow: 0 24px 60px rgba(5,38,95,.2); }
.cta-panel h2 { color: white; margin-bottom: 10px; }
.cta-panel p { margin: 0; color: #d9eaff; }
.cta-panel .button { color: var(--navy); background: white; }

.legal-hero { padding: 70px 0 38px; background: linear-gradient(180deg, #fff, #f3f7fd); }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.legal-hero p { max-width: 760px; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 28px; align-items: start; }
.legal-toc { position: sticky; top: 100px; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.legal-toc strong { display: block; margin-bottom: 10px; color: var(--navy); }
.legal-toc a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; font-size: .9rem; }
.legal-toc a:hover { color: var(--blue); }
.legal-card { padding: clamp(24px, 5vw, 46px); }
.legal-card section + section { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-card h2 { font-size: 1.45rem; }
.legal-card p, .legal-card li { color: #44546a; }
.notice-box { padding: 17px 19px; border-radius: 15px; background: #eef6ff; border: 1px solid #cfe2ff; color: #314661; }
.warning-box { padding: 17px 19px; border-radius: 15px; background: #fff8e8; border: 1px solid #f3dda6; color: #694900; }
.step-list { counter-reset: step; list-style: none; padding: 0; }
.step-list li { position: relative; padding: 12px 0 12px 52px; min-height: 44px; }
.step-list li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 8px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--blue); color: white; font-weight: 900; }
.code-like { padding: 12px 14px; border-radius: 11px; background: #f2f5f9; border: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }

.site-footer { padding: 52px 0 26px; color: #cbd8eb; background: #041b42; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, .8fr); gap: 38px; }
.footer-brand { display: flex; align-items: center; gap: 13px; color: white; font-weight: 850; }
.footer-brand img { width: 52px; height: 52px; border-radius: 14px; }
.site-footer p { color: #aebed5; }
.site-footer h3 { color: white; font-size: 1rem; }
.site-footer a { display: block; margin: 8px 0; color: #cbd8eb; text-decoration: none; }
.site-footer a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #93a8c5; font-size: .85rem; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 18px; right: 18px; top: 72px; flex-direction: column; align-items: stretch; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px 4px; }
  .nav-cta { text-align: center; }
  .hero-grid, .showcase, .calculator-shell { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p, .independent-note { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-notes { justify-content: center; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .feature-grid, .article-grid { grid-template-columns: repeat(2,1fr); }
  .links-grid { grid-template-columns: repeat(3,1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 24px, 1160px); }
  .header-inner { min-height: 68px; }
  .brand img { width: 44px; height: 44px; }
  .brand { font-size: .92rem; }
  .brand small { font-size: .68rem; }
  .hero { padding-top: 52px; }
  .hero-visual { min-height: 490px; }
  .phone-shot { width: 300px; right: 4px; }
  .phone-shot.secondary { width: 180px; right: auto; left: 0; top: 250px; }
  .hero-icon { width: 128px; top: 42px; left: 4px; border-radius: 29px; }
  .section { padding: 62px 0; }
  .form-grid, .condition-grid { grid-template-columns: 1fr; }
  .result-summary { grid-template-columns: 1fr; }
  .result-hero { grid-template-columns: 1fr; text-align: center; }
  .result-icon { margin: 0 auto; }
  .feature-grid, .article-grid, .links-grid { grid-template-columns: 1fr; }
  .shots { min-height: 600px; }
  .shots img { width: 280px; }
  .shots img:last-child { right: 0; top: 180px; }
  .cta-panel { grid-template-columns: 1fr; text-align: center; padding: 29px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .faq-wrap { padding: 6px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
