/* =============================================================================
   AD Self Service Portal — tanıtım sitesi stilleri
   Tema-duyarlı (açık/koyu), duyarlı (responsive), bağımsız (harici asset yok).
   ============================================================================= */

/* ---------- Tasarım belirteçleri (tokens) ---------- */
:root {
  --brand: #0d6efd;
  --brand-600: #0b5ed7;
  --brand-700: #0a53be;
  --accent: #6f42c1;
  --ok: #16a34a;

  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-elev: #ffffff;
  --text: #10151f;
  --muted: #5b6472;
  --line: #e6e9f0;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(16, 24, 40, .08);
  --shadow-sm: 0 4px 14px rgba(16, 24, 40, .06);
  --ring: rgba(13, 110, 253, .35);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #0b1020;
  --bg-soft: #0f1730;
  --bg-elev: #121a35;
  --text: #eaf0ff;
  --muted: #9aa6c2;
  --line: #223056;
  --card: #121a35;
  --shadow: 0 16px 40px rgba(0, 0, 0, .45);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, .35);
  --ring: rgba(88, 150, 255, .45);
}

/* ---------- Sıfırlama / temel ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 820px; }

/* ---------- Butonlar ---------- */
.btn {
  --pad: 12px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: var(--pad); border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); }
.btn--sm { --pad: 8px 14px; font-size: .85rem; }
.btn--lg { --pad: 15px 28px; font-size: 1rem; }
.btn--primary { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; box-shadow: 0 8px 20px rgba(13, 110, 253, .28); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand-700); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__logo { flex: none; }
.brand__name { font-size: 1.05rem; letter-spacing: -.02em; }
.brand__name b { color: var(--brand); font-weight: 800; }
.nav__links { display: flex; gap: 6px; margin-inline: auto; }
.nav__links a { padding: 9px 12px; border-radius: 8px; font-weight: 500; color: var(--muted); font-size: .95rem; transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: var(--bg-soft); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.lang { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 7px 12px; font-weight: 600; font-size: .8rem; cursor: pointer; font-family: inherit; }
.lang:hover { color: var(--brand); border-color: var(--brand); }
.theme { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.theme:hover { border-color: var(--brand); color: var(--brand); }
.theme__moon { display: none; }
:root[data-theme="dark"] .theme__sun { display: none; }
:root[data-theme="dark"] .theme__moon { display: block; }
.burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 68px 0 40px; overflow: hidden; }
.hero__glow { position: absolute; inset: -30% 0 auto 0; height: 620px; z-index: -1;
  background:
    radial-gradient(600px 320px at 78% 12%, rgba(111,66,193,.22), transparent 60%),
    radial-gradient(700px 360px at 12% 0%, rgba(13,110,253,.20), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .85rem; margin-bottom: 18px; }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
.hero__lead { font-size: 1.12rem; max-width: 34ch; margin-top: 6px; }
.hero__lead b { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.hero__badges li { font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 11px; border-radius: 999px; }

/* Mock login kartı */
.hero__visual { position: relative; }
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.2deg); transition: transform .4s ease; }
.hero__visual:hover .mock { transform: rotate(0deg) translateY(-4px); }
.mock__bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock__bar span { width: 11px; height: 11px; border-radius: 50%; background: #d3d8e3; }
.mock__bar span:nth-child(1) { background: #ff5f57; } .mock__bar span:nth-child(2) { background: #febc2e; } .mock__bar span:nth-child(3) { background: #28c840; }
.mock__body { padding: 22px; }
.mock__logo { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 18px; }
.mock__field { display: block; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 9px 13px; margin-bottom: 11px; }
.mock__field span { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.mock__field i { font-style: normal; font-weight: 600; letter-spacing: .02em; }
.mock__btn { text-align: center; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-weight: 700; padding: 11px; border-radius: 10px; margin: 6px 0 16px; }
.mock__otp { border-top: 1px dashed var(--line); padding-top: 14px; }
.mock__otp > span { font-size: .74rem; color: var(--muted); font-weight: 600; }
.mock__digits { display: flex; gap: 8px; margin-top: 8px; }
.mock__digits b { flex: 1; text-align: center; padding: 10px 0; border: 1px solid var(--line); border-radius: 8px; font-size: 1.15rem; background: var(--bg-soft); }
.mock__links { display: flex; justify-content: space-between; margin-top: 16px; font-size: .82rem; }
.mock__links a { color: var(--brand); font-weight: 600; }
.floaty { position: absolute; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: .85rem; animation: float 4.5s ease-in-out infinite; }
.floaty--1 { top: 8%; left: -6%; }
.floaty--2 { bottom: 10%; right: -4%; animation-delay: 1.4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Trust bar ---------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-soft); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 0; }
.trust__item { text-align: center; }
.trust__num { display: block; font-size: 2.3rem; font-weight: 800; color: var(--brand); letter-spacing: -.03em; line-height: 1; }
.trust__item p { margin: 8px 0 0; font-size: .9rem; }

/* ---------- Genel section ---------- */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section__head p { font-size: 1.08rem; }
.section__lead { font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }

/* ---------- Grid & kartlar ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.card h3 { margin-bottom: .3em; }
.card p { margin: 0; font-size: .94rem; }
.card__ic { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, transparent), color-mix(in srgb, var(--accent) 18%, transparent)); position: relative; }
.card__ic::after { content: ""; position: absolute; inset: 0; background: var(--brand); -webkit-mask: var(--ic) center / 24px no-repeat; mask: var(--ic) center / 24px no-repeat; }
/* İkon maskeleri (inline SVG data-uri) */
.ic-key    { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12.65 10A5.99 5.99 0 006.5 6 6 6 0 006 18a6 6 0 006.16-8H21v4h2v-4h1v-4h-11.35zM7 15a2 2 0 110-4 2 2 0 010 4z'/%3E%3C/svg%3E"); }
.ic-mail   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }
.ic-phone  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M16 1H8a3 3 0 00-3 3v16a3 3 0 003 3h8a3 3 0 003-3V4a3 3 0 00-3-3zm-4 21a1.5 1.5 0 110-3 1.5 1.5 0 010 3zm5-5H7V4h10v13z'/%3E%3C/svg%3E"); }
.ic-unlock { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 17a2 2 0 002-2 2 2 0 10-4 0 2 2 0 002 2zm6-9h-1V6a5 5 0 00-9.8-1.4l1.9.5A3 3 0 0115 6v2H6a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V10a2 2 0 00-2-2z'/%3E%3C/svg%3E"); }
.ic-user   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 12a5 5 0 100-10 5 5 0 000 10zm0 2c-5 0-9 2.5-9 6v2h18v-2c0-3.5-4-6-9-6z'/%3E%3C/svg%3E"); }
.ic-clock  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 11h-4v-2h2V7h2v6z'/%3E%3C/svg%3E"); }
.ic-shield { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 1L3 5v6c0 5.5 3.8 10.7 9 12 5.2-1.3 9-6.5 9-12V5l-9-4zm-1 15l-4-4 1.4-1.4L11 13.2l5.6-5.6L18 9l-7 7z'/%3E%3C/svg%3E"); }
.ic-monitor{ --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M21 3H3a2 2 0 00-2 2v11a2 2 0 002 2h7v2H8v2h8v-2h-2v-2h7a2 2 0 002-2V5a2 2 0 00-2-2zm0 13H3V5h18v11z'/%3E%3C/svg%3E"); }
.ic-chart  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 20h16v2H2V2h2v18zm3-3v-6h3v6H7zm5 0V7h3v10h-3zm5 0v-8h3v8h-3z'/%3E%3C/svg%3E"); }
.ic-template{ --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M3 3h18a1 1 0 011 1v16a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1zm1 4v12h16V7H4zm2 2h8v2H6V9zm0 4h8v2H6v-2z'/%3E%3C/svg%3E"); }
.ic-brush  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 14a3 3 0 00-3 3c0 1.3-1.2 2-2 2 .9 1.2 2.5 2 4 2a4 4 0 004-4 3 3 0 00-3-3zm13.7-9.3a1 1 0 000-1.4l-2-2a1 1 0 00-1.4 0L9 9.6l3.4 3.4 8.3-8.3z'/%3E%3C/svg%3E"); }
.ic-globe  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm6.9 6h-2.8a15.7 15.7 0 00-1.3-3.4A8 8 0 0118.9 8zM12 4c.8 1.1 1.4 2.5 1.8 4h-3.6c.4-1.5 1-2.9 1.8-4zM4.3 14a7.9 7.9 0 010-4h3.2a17 17 0 000 4H4.3zm.8 2h2.8c.3 1.2.8 2.4 1.3 3.4A8 8 0 015.1 16zm2.8-8H5.1a8 8 0 014.1-3.4C8.7 5.6 8.2 6.8 7.9 8zM12 20c-.8-1.1-1.4-2.5-1.8-4h3.6c-.4 1.5-1 2.9-1.8 4zm2.5-6h-5a15 15 0 010-4h5a15 15 0 010 4zm.4 5.4c.5-1 1-2.2 1.3-3.4h2.8a8 8 0 01-4.1 3.4zM16.5 14a17 17 0 000-4h3.2a7.9 7.9 0 010 4h-3.2z'/%3E%3C/svg%3E"); }

/* ---------- Güvenlik ---------- */
.security__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; color: var(--muted); }
.checklist li b { color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 16%, transparent);
  -webkit-mask: none; }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.security__aside { position: sticky; top: 90px; }
.policy { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.policy h4 { margin-bottom: 16px; }
.policy__row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.policy__row p { margin: 0; font-size: .88rem; }
.tag { font-size: .68rem; font-weight: 800; letter-spacing: .04em; padding: 5px 9px; border-radius: 7px; white-space: nowrap; }
.tag--no { color: #b42318; background: #fee4e2; }
.tag--yes { color: #067647; background: #dcfae6; }
:root[data-theme="dark"] .tag--no { color: #ffb4a9; background: rgba(180,35,24,.22); }
:root[data-theme="dark"] .tag--yes { color: #74e6a8; background: rgba(6,118,71,.24); }

/* ---------- Modüller / tabs ---------- */
.tabs { max-width: 960px; margin: 0 auto; }
.tabs__nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.tab { border: 1px solid var(--line); background: var(--card); color: var(--muted); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; font-family: inherit; transition: .2s; }
.tab:hover { color: var(--text); }
.tab.is-active { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(13,110,253,.28); }
.panel { display: none; }
.panel.is-active { display: block; animation: fade .35s ease; }
.panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.panel__grid h3 { font-size: 1.4rem; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); font-size: .72rem; font-weight: 800; }
.panel__vis { border-radius: 14px; min-height: 220px; border: 1px solid var(--line); background: var(--bg-soft); position: relative; overflow: hidden; }
.panel__vis::before { content: ""; position: absolute; inset: 0; opacity: .9;
  background:
    linear-gradient(0deg, color-mix(in srgb, var(--brand) 8%, transparent), transparent),
    repeating-linear-gradient(0deg, transparent 0 26px, var(--line) 26px 27px); }
.panel__vis::after { position: absolute; left: 18px; top: 16px; font-size: 2.6rem; opacity: .9; }
.vis-self::after   { content: "🔑"; }
.vis-hr::after     { content: "👥"; }
.vis-admin::after  { content: "⚙️"; }
.vis-report::after { content: "📊"; }

/* ---------- Nasıl çalışır / mimari ---------- */
.arch { max-width: 880px; margin: 0 auto 46px; display: grid; justify-items: center; gap: 8px; }
.arch__node { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; text-align: center; box-shadow: var(--shadow-sm); min-width: 240px; }
.arch__node b { display: block; }
.arch__node small { color: var(--muted); font-size: .8rem; }
.arch__ic { font-size: 1.5rem; }
.arch__node--app { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 10px 26px rgba(13,110,253,.16); }
.arch__flow { width: 2px; height: 26px; background: linear-gradient(var(--brand), transparent); }
.arch__fan { width: 2px; height: 26px; background: linear-gradient(var(--brand), var(--line)); }
.arch__leaves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; margin-top: 6px; }
.arch__leaf { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; box-shadow: var(--shadow-sm); }
.arch__leaf small { display: block; color: var(--muted); font-size: .78rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.step__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-weight: 800; margin-bottom: 12px; }
.step h4 { margin-bottom: .25em; }
.step p { margin: 0; font-size: .9rem; }

/* ---------- Teknoloji ---------- */
.stack { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 860px; margin: 0 auto 40px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm); transition: .2s; }
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 900px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.layer { padding: 22px; text-align: center; border-right: 1px solid var(--line); background: var(--card); }
.layer:last-child { border-right: none; }
.layer b { display: block; font-size: 1.05rem; }
.layer small { color: var(--muted); }
.layer:nth-child(1){ background: color-mix(in srgb, var(--brand) 6%, var(--card)); }
.layer:nth-child(4){ background: color-mix(in srgb, var(--accent) 6%, var(--card)); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq__item summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); font-weight: 400; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0 0 16px; font-size: .95rem; }

/* ---------- CTA ---------- */
.cta { padding: 78px 0; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; }
.cta__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); font-size: 1.1rem; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 52px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.brand--footer { margin-bottom: 12px; }
.footer__desc { max-width: 34ch; font-size: .92rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h5 { font-size: .95rem; margin-bottom: 12px; }
.footer__cols a { display: block; color: var(--muted); padding: 5px 0; font-size: .9rem; }
.footer__cols a:hover { color: var(--brand); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* ---------- To-top ---------- */
.totop { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: .3s; z-index: 40; }
.totop.is-show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---------- Reveal animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Duyarlı ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; }
  .security__grid { grid-template-columns: 1fr; }
  .security__aside { position: static; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .panel__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 14px; gap: 4px; transform: translateY(-140%); transition: transform .3s ease; box-shadow: var(--shadow); }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 12px; }
  .burger { display: flex; }
  .nav__actions .btn--sm { display: none; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .layers { grid-template-columns: repeat(2, 1fr); }
  .layer:nth-child(2){ border-right: none; } .layer { border-bottom: 1px solid var(--line); }
  .arch__leaves { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
