/* Hatwite — tasarım sistemi */
:root {
  --bg: #0B0E12;
  --bg-alt: #0F1318;
  --surface: #141A21;
  --surface-2: #1A212A;
  --line: #232C37;
  --line-soft: #1B232C;
  --text: #EEF1F4;
  --text-2: #B4BDC7;
  --muted: #7D8894;
  --accent: #5CF2B0;
  --accent-ink: #062016;
  --accent-soft: rgba(92, 242, 176, 0.12);
  --crit: #FF5D6C;
  --high: #FF9F43;
  --med: #F5D04C;
  --low: #6FB7FF;
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border: 0; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 15px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: #7AF6C1; box-shadow: 0 6px 24px rgba(92, 242, 176, .25); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.btn-small { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }

/* Üst menü */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 18, .78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { color: var(--text-2); font-size: 14.5px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang {
  height: 38px; min-width: 46px; padding: 0 12px; border-radius: 9px;
  background: transparent; color: var(--text-2); border: 1px solid var(--line);
  font: 600 13px/1 var(--font); letter-spacing: .04em; cursor: pointer;
}
select.lang {
  appearance: none; -webkit-appearance: none; padding: 0 28px 0 12px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237D8894' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center;
}
select.lang option { background: var(--surface); color: var(--text); }
.lang:hover { color: var(--text); border-color: #33404E; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 104px;
  background:
    radial-gradient(900px 480px at 78% 8%, rgba(92, 242, 176, .10), transparent 60%),
    radial-gradient(700px 420px at 8% 100%, rgba(111, 183, 255, .07), transparent 60%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 13.5px; font-weight: 600; margin-bottom: 26px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(92,242,176,.18); }
h1 { font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -0.035em; max-width: 14ch; }
.lead { margin-top: 22px; font-size: 18.5px; color: var(--text-2); max-width: 54ch; }

/* Form */
.signup { margin-top: 36px; max-width: 600px; }
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type="email"], .signup select {
  height: 48px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text);
  font: 15px/1 var(--font); padding: 0 14px;
  transition: border-color .15s, box-shadow .15s;
}
.signup input[type="email"] { flex: 1 1 220px; min-width: 0; }
.signup select {
  flex: 0 0 auto; padding-right: 36px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237D8894' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.signup input::placeholder { color: #5C6773; }
.signup input:focus, .signup select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(92,242,176,.16);
}
.signup input[aria-invalid="true"] { border-color: var(--crit); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 22px; margin-top: 12px; font-size: 14.5px; font-weight: 500; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: var(--crit); }
.fine { font-size: 13px; color: var(--muted); max-width: 52ch; }

/* Rapor kartı */
.report {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.report-kicker { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.report-app { margin-top: 4px; font-family: var(--mono); font-size: 15px; }
.score { display: flex; flex-direction: column; align-items: flex-end; }
.score-grade {
  font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  color: var(--med);
}
.score-label { margin-top: 6px; font-size: 12px; color: var(--muted); }

.findings { list-style: none; margin: 0; padding: 8px 0; }
.findings li {
  display: grid; grid-template-columns: 76px 1fr; column-gap: 12px; row-gap: 2px;
  padding: 12px 0; border-bottom: 1px dashed var(--line-soft);
}
.findings li:last-child { border-bottom: 0; }
.findings .f-title { font-weight: 600; font-size: 15px; }
.findings code { grid-column: 2; font-size: 12.5px; color: var(--muted); }
.sev {
  grid-row: span 2; align-self: start; justify-self: start;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  padding: 4px 8px; border-radius: 6px; margin-top: 1px;
}
.sev-crit { color: var(--crit); background: rgba(255, 93, 108, .12); }
.sev-high { color: var(--high); background: rgba(255, 159, 67, .12); }
.sev-med  { color: var(--med);  background: rgba(245, 208, 76, .12); }
.sev-low  { color: var(--low);  background: rgba(111, 183, 255, .12); }

.fix { margin-top: 6px; background: #0A0D11; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.fix-title { font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.fix pre { margin: 0; font-size: 12.5px; line-height: 1.7; overflow-x: auto; white-space: pre; }
.fix .del { color: #FF8A95; }
.fix .add { color: var(--accent); }
.report-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: right; }

/* Bölümler */
.section { padding: 104px 0; border-top: 1px solid var(--line-soft); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.kicker { color: var(--accent); font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; }
.section-sub { margin-top: 16px; font-size: 17.5px; color: var(--text-2); }

/* Adımlar */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 26px 24px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -18px; width: 18px; height: 1px; background: var(--line);
}
.step-no { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.steps h3 { margin-top: 14px; font-size: 21px; }
.steps p { margin-top: 10px; color: var(--text-2); font-size: 15px; }

/* Ekip */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agent {
  padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.agent:hover { border-color: #2F3B48; transform: translateY(-2px); }
.agent-wide { grid-column: span 2; background: linear-gradient(135deg, rgba(92,242,176,.08), var(--surface) 55%); }
.agent-human { border-color: rgba(92,242,176,.45); background: linear-gradient(135deg, rgba(92,242,176,.12), var(--surface) 60%); }
.agent-tag-human { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.agent-tag {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent); font: 600 13px/1 var(--mono);
}
.agent h3 { margin-top: 18px; font-size: 18px; }
.agent p { margin-top: 8px; color: var(--text-2); font-size: 14.5px; }

/* Kurallar */
.rules-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.rules-grid .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rules li {
  position: relative; padding: 22px 24px 22px 60px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.rules li::before {
  content: ""; position: absolute; left: 22px; top: 25px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2l3.2 3.1L11 1.5' fill='none' stroke='%235CF2B0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 10px no-repeat;
}
.rules h3 { font-size: 17.5px; }
.rules p { margin-top: 6px; color: var(--text-2); font-size: 15px; }

/* Paketler */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; padding: 30px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.plan h3 { font-size: 20px; }
.plan-price { margin-top: 10px; font-size: 15px; color: var(--muted); }
.plan ul { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 15px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 5.2l3.6 3.3L13 1.3' fill='none' stroke='%235CF2B0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
}
.plan-featured { border-color: rgba(92,242,176,.45); background: linear-gradient(180deg, rgba(92,242,176,.07), var(--surface) 45%); box-shadow: 0 20px 60px -24px rgba(92,242,176,.25); }
.badge {
  position: absolute; top: -12px; left: 28px; padding: 4px 10px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700;
}

/* SSS */
.faq-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 44px 22px 0; font-size: 17px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background:
    linear-gradient(var(--muted), var(--muted)) center/12px 1.6px no-repeat,
    linear-gradient(var(--muted), var(--muted)) center/1.6px 12px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 44px 24px 0; color: var(--text-2); font-size: 15.5px; }

/* Son çağrı */
.cta { padding: 88px 0; border-top: 1px solid var(--line-soft); background: radial-gradient(700px 300px at 50% 120%, rgba(92,242,176,.14), transparent 70%), var(--bg-alt); }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta h2 { max-width: 20ch; }

/* Alt bilgi */
.footer { padding: 36px 0; border-top: 1px solid var(--line-soft); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner .brand { font-size: 16px; }
.footer-inner p { font-size: 14px; }
.footer-inner p:last-child { margin-left: auto; }

/* Duyarlı yerleşim */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .report { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .rules-grid, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .rules-grid .section-head { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 76px 0; }
  .lead { font-size: 17px; }
  .signup-row { flex-direction: column; }
  .signup input[type="email"], .signup select, .signup .btn { width: 100%; flex: none; }
  .steps, .team { grid-template-columns: 1fr; }
  .findings li { grid-template-columns: 68px 1fr; }
  .footer-inner p:last-child { margin-left: 0; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .nav-actions .btn-small { display: none; }
}

/* Uzun dillerde başlık biraz daha küçük ve geniş */
html[lang="fr"] h1, html[lang="de"] h1 { font-size: clamp(36px, 4.6vw, 58px); max-width: 16ch; }

/* Hizmetler */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.service:hover { border-color: rgba(92,242,176,.4); transform: translateY(-2px); }
.service-no { font: 600 13px/1 var(--mono); color: var(--accent); }
.service h3 { margin-top: 14px; font-size: 18px; }
.service p { margin-top: 8px; color: var(--text-2); font-size: 14.5px; }

/* Ekip: rakamlar ve iki kart */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 18px; }
.stat { padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stat-num { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.stat dd { margin: 10px 0 0; color: var(--text-2); font-size: 15px; }
.stat:first-child .stat-num { color: var(--accent); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.duo-human { border-color: rgba(92,242,176,.45); background: linear-gradient(135deg, rgba(92,242,176,.10), var(--surface) 60%); }
.duo-card h3 { font-size: 20px; }
.duo-card p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }

/* 4 paket */
.plans-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plans-4 .plan { padding: 28px 24px; }

@media (max-width: 1020px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .plans-4 { grid-template-columns: repeat(2, 1fr); max-width: none; }
}
@media (max-width: 760px) {
  .services, .duo, .plans-4 { grid-template-columns: 1fr; }
}

/* Izgara sütunları içerikleri yüzünden genişlemesin (uzun kod satırı kendi içinde kaysın) */
.hero-grid > *, .rules-grid > *, .faq-wrap > *, .services > *, .stats > *, .duo > *, .plans > *, .steps > *, .team > * { min-width: 0; }
