/* Evalyn tanıtım sayfası. Renkler uygulamanın temasından (frontend/src/theme.ts, styles.css) alınmıştır. */
:root {
  --brand-0: #f4f2ff;
  --brand-1: #e9e5ff;
  --brand-2: #d2c9ff;
  --brand-3: #b6a6fd;
  --brand-4: #9c86fa;
  --brand-5: #8a71f8;
  --brand-6: #7d63f6;
  --brand-7: #6a52dc;
  --brand-8: #5d48c4;
  --brand-9: #4e3caa;

  --night-1: #2c2366;
  --night-2: #1b1640;

  /* Dört segment: 6-8-9, 5, 2-3, 1-4-7 */
  --high: #0f9d76;
  --emerging: #2f6fde;
  --contributor: #b7791f;
  --attention: #b5487f;
  --high-bg: #e9f7f2;
  --emerging-bg: #eef3fd;
  --contributor-bg: #fbf4e6;
  --attention-bg: #fbeef5;
  --high-line: #bfe6d8;
  --emerging-line: #cddcf7;
  --contributor-line: #efdcb5;
  --attention-line: #efcde0;

  --ink: #17152b;
  --ink-2: #3b3854;
  --muted: #6b6884;
  --line: #e7e7ef;
  --surface: #f6f6fa;
  --card: #ffffff;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-md: 0 6px 16px -4px rgba(16, 24, 40, .10), 0 2px 6px -2px rgba(16, 24, 40, .05);
  --shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, .22);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6;
  -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.022em; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand-4); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 800px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent;
  border-radius: 10px; font-weight: 600; font-size: 15px; padding: 11px 20px; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand-7); color: #fff; box-shadow: 0 6px 16px -6px rgba(106, 82, 220, .6); }
.btn-primary:hover { background: var(--brand-8); }
.btn-light { background: #fff; color: var(--brand-9); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* Rozetler */
.chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; font-style: normal;
  padding: 3px 8px; border-radius: 999px; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line);
  white-space: nowrap;
}
.chip-brand { background: var(--brand-0); color: var(--brand-8); border-color: var(--brand-1); }
.chip-green { background: var(--high-bg); color: var(--high); border-color: var(--high-line); }
.chip-red { background: var(--attention-bg); color: var(--attention); border-color: var(--attention-line); }

/* Segment renkleri */
.seg-high { --seg: var(--high); --seg-bg: var(--high-bg); --seg-line: var(--high-line); }
.seg-emerging { --seg: var(--emerging); --seg-bg: var(--emerging-bg); --seg-line: var(--emerging-line); }
.seg-contributor { --seg: var(--contributor); --seg-bg: var(--contributor-bg); --seg-line: var(--contributor-line); }
.seg-attention { --seg: var(--attention); --seg-bg: var(--attention-bg); --seg-line: var(--attention-line); }

.box-badge {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; font-weight: 700; font-size: 13px;
  background: var(--seg-bg); color: var(--seg); border: 1px solid var(--seg-line);
}
.arrow { color: var(--muted); font-size: 14px; }
.avatar {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--brand-1); color: var(--brand-8); font-weight: 700; font-size: 13px;
}
.avatar.sm { width: 30px; height: 30px; font-size: 11px; }
.spark { color: var(--brand-5); }

/* Üst menü */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: transparent;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease; border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: #fff; }
.site-header.is-scrolled .brand { color: var(--ink); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .82); transition: color .15s; }
.nav-links a:hover { color: #fff; }
.site-header.is-scrolled .nav-links a { color: var(--ink-2); }
.site-header.is-scrolled .nav-links a:hover { color: var(--brand-7); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 10px 8px; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 4px 0; transition: transform .2s, opacity .2s; }
.site-header.is-scrolled .menu-toggle span, .site-header.is-open .menu-toggle span { background: var(--ink); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 136px 0 96px;
  background:
    radial-gradient(60% 60% at 95% 0%, rgba(156, 134, 250, .55) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(15, 157, 118, .22) 0%, transparent 60%),
    linear-gradient(160deg, var(--night-1) 0%, var(--night-2) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9);
  padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
}
.eyebrow-pill .spark { color: var(--brand-3); }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -0.035em; margin: 22px 0 20px; font-weight: 750; }
.grad-text { background: linear-gradient(90deg, #c9bcff, #8fe3c9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; }
.hero-points li { position: relative; padding-left: 24px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.hero-points li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(143, 227, 201, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%238fe3c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Hero görseli: uygulama penceresi */
.hero-visual { position: relative; padding-bottom: 150px; margin-bottom: -60px; }
.window { background: var(--surface); border-radius: 14px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255,255,255,.12); overflow: hidden; color: var(--ink); }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3e1ec; }
.dots i:first-child { background: #ff6159; } .dots i:nth-child(2) { background: #ffbd2e; } .dots i:nth-child(3) { background: #28c941; }
.window-url { font-size: 12px; color: var(--muted); background: var(--surface); border-radius: 6px; padding: 3px 12px; flex: 1; max-width: 240px; text-align: center; margin: 0 auto; }
.app { display: grid; grid-template-columns: 150px 1fr; min-height: 360px; }
.app-side { background: #fff; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.app-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding: 0 6px 12px; }
.app-nav { font-size: 12px; color: var(--ink-2); padding: 7px 8px; border-radius: 7px; font-weight: 500; }
.app-nav.is-active { background: var(--brand-0); color: var(--brand-8); font-weight: 600; }
.app-main { padding: 16px 18px; }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.app-head strong { display: block; font-size: 16px; }
.app-head small { color: var(--muted); font-size: 11px; }

.nb { display: grid; grid-template-columns: 18px 1fr; grid-template-rows: 1fr auto; gap: 6px; }
.nb-y, .seg-visual .nb-y { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; font-weight: 600; color: var(--muted); text-align: center; letter-spacing: .04em; text-transform: uppercase; }
.nb-x { grid-column: 2; font-size: 10px; font-weight: 600; color: var(--muted); text-align: center; letter-spacing: .04em; text-transform: uppercase; }
.nb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.nb-cell {
  position: relative; background: var(--seg-bg); border: 1px solid var(--seg-line); border-radius: 9px; padding: 8px 10px; min-height: 76px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.nb-cell b { font-size: 11px; color: var(--seg); font-weight: 700; }
.nb-cell em { font-style: normal; font-size: 22px; font-weight: 750; color: var(--seg); letter-spacing: -0.03em; }
.nb-cell em::after { content: ' kişi'; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.float-card {
  position: absolute; right: -28px; bottom: 0; width: 280px; background: #fff; color: var(--ink); border-radius: 14px; padding: 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(16, 24, 40, .04); animation: floaty 6s ease-in-out infinite;
}
.float-head { display: flex; gap: 10px; align-items: center; }
.float-head strong { display: block; font-size: 14px; }
.float-head small { color: var(--muted); font-size: 12px; }
.float-boxes { display: flex; align-items: flex-end; gap: 12px; margin: 14px 0 10px; }
.float-boxes small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.float-boxes .arrow { padding-bottom: 5px; }
.float-reason { font-size: 12px; color: var(--ink-2); line-height: 1.5; background: var(--brand-0); border-radius: 8px; padding: 8px 10px; }
.float-actions { display: flex; gap: 8px; margin-top: 12px; }
.mini-btn { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 7px; border: 1px solid var(--line); background: #fff; }
.mini-primary { background: var(--brand-7); color: #fff; border-color: var(--brand-7); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Bölümler */
.section { padding: 104px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-7); margin-bottom: 12px; }
.eyebrow.light { color: var(--brand-3); }
.section h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 750; letter-spacing: -0.03em; }
.section-lead { font-size: 17px; color: var(--muted); margin-top: 16px; }

/* Üç sütun */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pillar-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand-5), var(--brand-9)); margin-bottom: 20px; }
.pillar-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar-icon svg rect { fill: rgba(255,255,255,.85); stroke: none; }
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { color: var(--muted); }

/* Karşılaştırma */
.compare-section { background: var(--surface); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-col { border-radius: var(--radius-lg); padding: 32px; }
.compare-col h3 { font-size: 20px; margin-bottom: 20px; }
.compare-col li { position: relative; padding: 0 0 0 32px; margin-bottom: 14px; }
.compare-col li::before { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.compare-before { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.compare-before li::before { content: '✕'; background: #f1f0f5; color: #9a97ad; }
.compare-after { background: linear-gradient(160deg, var(--night-1), var(--night-2)); color: rgba(255,255,255,.88); box-shadow: var(--shadow-lg); }
.compare-after h3 { color: #fff; }
.compare-after li::before { content: '✓'; background: rgba(143, 227, 201, .18); color: #8fe3c9; }

/* Adımlar */
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.step:last-child { margin-bottom: 0; }
.step.reverse .step-copy { order: 2; }
.step-num { display: inline-block; font-size: 14px; font-weight: 700; color: var(--brand-7); background: var(--brand-0); border-radius: 8px; padding: 4px 10px; margin-bottom: 16px; }
.step-copy h3 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 14px; letter-spacing: -0.025em; }
.step-copy > p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-2); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%236a52dc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}

/* Ürün parçaları (temsili) */
.mock {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-md);
}
.mock::before {
  content: ''; position: absolute; inset: -18px -18px auto auto; width: 70%; height: 70%; border-radius: 28px; z-index: -1;
  background: linear-gradient(140deg, var(--brand-1), var(--brand-0));
}
.step.reverse .mock::before { inset: auto auto -18px -18px; }
.mock-title { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 12px; }
.mock-title.mt { margin-top: 22px; }
.drop { display: flex; align-items: center; gap: 12px; border: 1.5px dashed var(--brand-2); background: var(--brand-0); border-radius: 12px; padding: 14px; }
.drop div { flex: 1; min-width: 0; }
.drop strong { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop small { color: var(--muted); font-size: 12px; }
.file-icon { width: 40px; height: 44px; border-radius: 8px; background: #1f8f55; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; flex: none; }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.check-row .dot { width: 8px; height: 8px; border-radius: 50%; }
.check-row.ok .dot { background: var(--high); }
.check-row.warn .dot { background: var(--contributor); }
.progress { height: 6px; background: var(--surface); border-radius: 99px; margin-top: 16px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-5), var(--high)); border-radius: inherit; }

.sug-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sug-name { flex: 1; font-size: 14px; font-weight: 600; }
.sug-name small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.privacy-note { margin-top: 16px; font-size: 12px; color: var(--muted); background: var(--surface); border-radius: 8px; padding: 10px 12px; }
.privacy-note span { font-weight: 650; color: var(--attention); }

.decide { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.picker { display: grid; grid-template-columns: repeat(3, 44px); gap: 6px; }
.picker span {
  height: 44px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: var(--seg-bg); color: var(--seg); border: 1px solid var(--seg-line);
}
.picker .is-suggested { border: 2px dashed var(--seg); }
.picker .is-picked { background: var(--seg); color: #fff; box-shadow: 0 0 0 3px var(--seg-line); }
.decide-side { display: grid; gap: 10px; }
.kv { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.kv small { color: var(--muted); font-size: 13px; }
.reason-box { margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.reason-box small { font-size: 12px; color: var(--muted); }
.reason-box b { color: var(--attention); font-weight: 600; }
.reason-box p { font-size: 13px; margin-top: 4px; color: var(--ink-2); }

.succ { font-size: 12px; overflow-x: auto; }
.succ-head, .succ-row { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 8px; min-width: 460px; }
.succ-head { color: var(--muted); font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.succ-row { padding: 10px 0; border-bottom: 1px solid var(--line); align-items: start; }
.succ-row:last-child { border-bottom: 0; }
.succ-row > span { display: flex; flex-direction: column; gap: 4px; }
.succ-pos { font-weight: 650; color: var(--ink); }
.succ-pos .chip { align-self: flex-start; }
.p { font-weight: 600; font-size: 11px; padding: 3px 7px; border-radius: 6px; background: var(--seg-bg); color: var(--seg); border: 1px solid var(--seg-line); }
.missing { font-weight: 600; color: var(--attention); border: 1.5px dashed var(--attention-line); border-radius: 6px; padding: 3px 7px; font-size: 11px; align-self: start; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats div { background: var(--surface); border-radius: 10px; padding: 12px; }
.stats small { display: block; font-size: 11px; color: var(--muted); }
.stats strong { font-size: 22px; letter-spacing: -0.03em; }
.stack-bar { display: flex; height: 16px; border-radius: 99px; overflow: hidden; gap: 2px; }
.stack-bar span { background: var(--seg); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--seg); margin-right: 6px; vertical-align: -1px; }

/* Segmentler */
.segments-section { background: var(--surface); }
.segments { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.seg-cards { display: grid; gap: 10px; margin-top: 28px; }
.seg-card {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s, opacity .2s, transform .2s;
}
.seg-card strong { display: block; font-size: 15px; }
.seg-card small { color: var(--muted); font-size: 13px; }
.seg-dot { width: 14px; height: 14px; border-radius: 4px; background: var(--seg); flex: none; }
.seg-visual { display: grid; grid-template-columns: 24px 1fr; grid-template-rows: 1fr auto; gap: 10px; }
.seg-visual .nb-y, .seg-visual .nb-x { font-size: 12px; }
.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.seg-grid button {
  aspect-ratio: 1; border-radius: 16px; border: 1px solid var(--seg-line); background: var(--seg-bg); color: var(--seg);
  font-size: clamp(22px, 3vw, 32px); font-weight: 750; cursor: pointer; transition: transform .2s, background .2s, color .2s, opacity .2s, box-shadow .2s;
}
[data-active] .seg-grid button { opacity: .35; }
[data-active] .seg-card { opacity: .5; }
[data-active="high"] .seg-grid [data-seg="high"],
[data-active="emerging"] .seg-grid [data-seg="emerging"],
[data-active="contributor"] .seg-grid [data-seg="contributor"],
[data-active="attention"] .seg-grid [data-seg="attention"] { opacity: 1; background: var(--seg); color: #fff; transform: scale(1.04); box-shadow: 0 12px 24px -10px var(--seg); }
[data-active="high"] .seg-card[data-seg="high"],
[data-active="emerging"] .seg-card[data-seg="emerging"],
[data-active="contributor"] .seg-card[data-seg="contributor"],
[data-active="attention"] .seg-card[data-seg="attention"] { opacity: 1; border-color: var(--brand-3); box-shadow: var(--shadow-md); transform: translateX(4px); }
.seg-card[data-seg="high"] { --seg: var(--high); }
.seg-card[data-seg="emerging"] { --seg: var(--emerging); }
.seg-card[data-seg="contributor"] { --seg: var(--contributor); }
.seg-card[data-seg="attention"] { --seg: var(--attention); }

/* Özellikler */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: border-color .2s, box-shadow .2s; }
.feature:hover { border-color: var(--brand-2); box-shadow: var(--shadow-md); }
.f-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--brand-0); margin-bottom: 18px; }
.f-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-7); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Roller */
.roles-section { background: var(--surface); }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role { background: #fff; border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); border-top: 4px solid var(--brand-6); }
.role:nth-child(2) { border-top-color: var(--high); }
.role:nth-child(3) { border-top-color: var(--emerging); }
.role-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.role h3 { font-size: 22px; margin: 8px 0 10px; }
.role p { color: var(--muted); }

/* Güvenlik */
.security-section {
  color: #fff;
  background: radial-gradient(60% 80% at 100% 100%, rgba(156, 134, 250, .35) 0%, transparent 60%), linear-gradient(160deg, var(--night-1), var(--night-2));
}
.security { display: grid; grid-template-columns: .9fr 1.4fr; gap: 64px; align-items: start; }
.security-copy p:not(.eyebrow) { color: rgba(255,255,255,.75); font-size: 17px; margin-top: 16px; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sec-item { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: 24px; }
.sec-item h3 { font-size: 17px; margin-bottom: 8px; color: #fff; }
.sec-item p { color: rgba(255,255,255,.72); font-size: 15px; }

/* SSS */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand-0); color: var(--brand-7); font-size: 18px; transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; }

/* İletişim */
.contact-section { background: var(--surface); }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy .ticks { margin-top: 28px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font-size: 15px; font-weight: 400; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand-5); box-shadow: 0 0 0 3px var(--brand-1); }
.contact-form .is-invalid { border-color: var(--attention) !important; }
.consent { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 400 !important; font-size: 13px !important; color: var(--muted) !important; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-7); }
.consent a { color: var(--brand-7); text-decoration: underline; }
.form-status { font-size: 14px; min-height: 1em; }
.form-status a { color: inherit; text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status.error { color: var(--attention); }
.form-status.ok { color: var(--high); }

/* Alt bilgi */
.site-footer { background: var(--night-2); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.site-footer nav a { display: block; font-size: 14px; margin-bottom: 10px; }
.site-footer nav a:hover { color: #fff; }
.footer-text { margin-top: 14px; font-size: 14px; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; font-size: 13px; }

/* Bildirim */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 14px; z-index: 80;
}

/* Grid sütunları içerikleri yüzünden ekrandan taşmasın (ör. yatay kayan yedekleme tablosu). */
.hero-grid > *, .step > *, .segments > *, .contact > *, .security > *, .compare > *, .pillars > *, .features > *, .roles > * { min-width: 0; }

/* Kaydırınca beliren öğeler */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Duyarlı düzen */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 640px; }
  .float-card { right: -8px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .security { grid-template-columns: 1fr; gap: 40px; }
  .segments { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-cta { gap: 8px; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); display: none;
  }
  .nav-links a, .site-header.is-scrolled .nav-links a { color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header.is-open { background: #fff; border-color: var(--line); }
  .site-header.is-open .brand { color: var(--ink); }
  .site-header.is-open .nav-links { display: flex; }
  .site-header.is-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .pillars, .compare, .roles { grid-template-columns: 1fr; }
  .step, .segments, .contact { grid-template-columns: 1fr; gap: 36px; }
  .step { margin-bottom: 72px; }
  .step.reverse .step-copy { order: 0; }
  .mock::before { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 108px 0 64px; }
  .lead { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .nb-cell { min-height: 60px; padding: 6px 8px; }
  .nb-cell em { font-size: 18px; }
  .hero-visual { padding-bottom: 0; margin-bottom: 0; }
  .float-card { position: relative; right: auto; width: auto; margin: 12px 12px 0; animation: none; }
  .features, .security-grid, .field-row { grid-template-columns: 1fr; }
  .pillar, .compare-col, .role, .feature, .contact-form, .mock { padding: 22px; }
  .stats strong { font-size: 18px; }
  .decide { grid-template-columns: 1fr; }
  .faq summary { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

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