/* ============================================================================
   LaunchCV — "Mürekkep İndigo" landing system
   Two themes via [data-theme]. Mobile-first. Geist (display) + Inter (body).
   ========================================================================== */

/* ---- THEME TOKENS -------------------------------------------------------- */
:root,
:root[data-theme="light"] {
  --canvas:        #FBFBFD;
  --surface:       #FFFFFF;
  --surface-muted: #F2F1F8;
  --text:          #15131E;
  --text-2:        #6B6878;
  --border:        #E8E6F0;
  --border-strong: #D9D6E6;
  --primary:       #5B47E0;
  --primary-hover: #4A38C4;
  --on-primary:    #FFFFFF;
  --primary-soft:  #EDE9FB;
  --on-soft:       #4A38C4;
  --accent:        #9B6BFF;

  --success: #1F9D55;
  --danger:  #E5484D;
  --info:    #2A6FDB;

  --shadow-sm: 0 1px 2px rgba(54, 34, 24, .05), 0 1px 3px rgba(54, 34, 24, .04);
  --shadow-md: 0 6px 18px rgba(54, 34, 24, .07), 0 2px 6px rgba(54, 34, 24, .05);
  --shadow-lg: 0 22px 48px rgba(54, 34, 24, .12), 0 6px 16px rgba(54, 34, 24, .06);
  --shadow-brand: 0 14px 34px rgba(91, 71, 224, .28);
  --glow: rgba(91, 71, 224, .16);

  --nav-bg: rgba(251, 251, 253, .72);
  --hairline: rgba(21, 19, 30, .08);
  --code-bg: #F2F1F8;
}

:root[data-theme="dark"] {
  --canvas:        #0B0A12;
  --surface:       #15131F;
  --surface-muted: #1C1A28;
  --text:          #F4F3F8;
  --text-2:        #9C99AD;
  --border:        #262338;
  --border-strong: #332F47;
  --primary:       #7C66FF;
  --primary-hover: #9580FF;
  --on-primary:    #0B0A12;
  --primary-soft:  #28213F;
  --on-soft:       #C09BFF;
  --accent:        #9B6BFF;

  --success: #3DD68C;
  --danger:  #FF6166;
  --info:    #6CA0F5;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-md: 0 8px 22px rgba(0, 0, 0, .42);
  --shadow-lg: 0 26px 56px rgba(0, 0, 0, .55);
  --shadow-brand: 0 16px 40px rgba(124, 102, 255, .30);
  --glow: rgba(124, 102, 255, .22);

  --nav-bg: rgba(11, 10, 18, .68);
  --hairline: rgba(244, 243, 248, .08);
  --code-bg: #1C1A28;
}

/* ---- MOTION ENGINE (driven by Tweaks) ------------------------------------ */
:root {
  --mo: 1;            /* intensity multiplier (intensity / 6) */
  --reveal-y: 22px;
  --font-display: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 40px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
}

/* ---- RESET / BASE -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--canvas); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .4s ease, color .4s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- LAYOUT -------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 11vw, 128px); }
.section-tight { padding-block: clamp(48px, 8vw, 96px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600; letter-spacing: .015em;
  color: var(--on-soft);
  background: color-mix(in oklab, var(--primary-soft) 55%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  padding: 10px 20px; border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow:
    0 8px 28px -10px color-mix(in oklab, var(--primary) 40%, transparent),
    inset 0 1px 0 color-mix(in oklab, #fff 55%, transparent);
}
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 14px;
}
.section-head p { color: var(--text-2); font-size: clamp(1rem, 2.4vw, 1.15rem); }

/* ---- BUTTONS ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .22s cubic-bezier(.16,1,.3,1), background .22s ease,
              box-shadow .22s ease, border-color .22s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-muted); border-color: var(--primary); color: var(--on-soft); transform: translateY(-2px); }
.btn-soft { background: var(--primary-soft); color: var(--on-soft); }
.btn-soft:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---- NAVBAR -------------------------------------------------------------- */
.nav {
  position: static;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--hairline);
  transition: background .4s ease, border-color .4s ease;
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; }
.brand small { color: var(--primary); font-weight: 600; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; }
.nav-links a, .nav-links .nav-linkbtn {
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  padding: 8px 14px; border-radius: var(--r-pill); transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links .nav-linkbtn:hover { color: var(--text); background: var(--surface-muted); }
/* Modal açan "link"ler gerçekte buton (Lighthouse crawlable-anchors): anchor'a benzet. */
.nav-linkbtn { background: none; border: none; cursor: pointer; font-family: inherit; line-height: inherit; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  position: relative; width: 38px; height: 38px; flex-shrink: 0;
  border-radius: var(--r-pill); border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text);
  cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover { border-color: var(--primary); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }

.hamburger { display: none; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; place-items: center; }
.hamburger svg { width: 20px; height: 20px; }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 10px var(--pad) 18px;
  border-bottom: 1px solid var(--hairline); background: var(--nav-bg);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu .nav-linkbtn { padding: 12px 14px; border-radius: 12px; font-weight: 500; color: var(--text); text-align: left; font-size: inherit; }
.mobile-menu a:hover, .mobile-menu .nav-linkbtn:hover { background: var(--surface-muted); }
.mobile-menu .row { display: flex; gap: 10px; margin-top: 8px; }
.mobile-menu .row .btn { flex: 1; }

/* ---- HERO ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(20px, 4vw, 48px) clamp(48px, 9vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 60%; height: 70%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  filter: blur(40px); z-index: 0; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-grid > .hero-anim.d3 { align-self: start; margin-top: 24px; }
@media (max-width: 980px) { .hero-grid > .hero-anim.d3 { align-self: auto; margin-top: 0; } }
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  font-weight: 700; letter-spacing: -0.035em; margin: 18px 0 0;
}
.hero h1 .hl, .hero h1 .accent { color: var(--primary); }
.hero .lead { margin-top: 18px; font-size: clamp(1rem, 2.1vw, 1.1rem); color: var(--text-2); line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats {
  display: flex; gap: clamp(20px, 5vw, 44px); margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stats .stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 4vw, 1.9rem); letter-spacing: -0.03em; }
.hero-stats .stat .l { font-size: 13px; color: var(--text-2); margin-top: 2px; }

/* hero entrance — base is VISIBLE; hidden+animated only when JS arms it */
.hero-anim { opacity: 1; transform: none; }
html.reveal-armed[data-reveals="on"] .hero-anim {
  opacity: 0; transform: translateY(calc(var(--reveal-y) * var(--mo)));
  animation: heroUp .7s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-anim.d1 { animation-delay: .05s; }
.hero-anim.d2 { animation-delay: .16s; }
.hero-anim.d3 { animation-delay: .28s; }
.hero-anim.d4 { animation-delay: .4s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* ---- HERO ANALYSIS VISUAL ------------------------------------------------ */
.analyzer { position: relative; max-width: 600px; margin-inline: auto; }
.analyzer-card {
  position: relative; z-index: 2;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 26px;
}
.analyzer-illustration {
  position: relative; z-index: 2; margin: 0;
}
.analyzer-illustration img {
  display: block; width: 100%; height: auto;
}
/* dark mode: keep the same transparent line-art — no backing box.
   Flip the black strokes to light while preserving the colour accents,
   so it reads the same as light mode (just mode-appropriate). */
:root[data-theme="dark"] .analyzer-illustration img {
  filter: invert(1) hue-rotate(180deg) brightness(1.06);
}

.an-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.an-score {
  position: relative; width: 84px; height: 84px; flex-shrink: 0;
}
.an-score svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.an-score .track { fill: none; stroke: var(--surface-muted); stroke-width: 8; }
.an-score .prog { fill: none; stroke: var(--primary); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 226; stroke-dashoffset: 226; }
.an-score .pct {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em;
}
.an-head .meta .t { font-weight: 600; font-size: 15px; }
.an-head .meta .s { font-size: 13px; color: var(--text-2); }
.an-divider { height: 1px; background: var(--border); margin: 4px 0 16px; }

.an-line { height: 9px; border-radius: 5px; background: var(--surface-muted); margin-bottom: 9px; position: relative; overflow: hidden; }
.an-line.short { width: 62%; }
.an-line.mid { width: 84%; }
.an-line::after {
  content: ""; position: absolute; inset: 0; width: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 38%, transparent), transparent);
  transform: translateX(-110%);
}
.an-line.polish::after { animation: polishSweep 1.1s ease forwards; }
.an-line.polish { background: color-mix(in oklab, var(--primary) 14%, var(--surface-muted)); }
@keyframes polishSweep { to { transform: translateX(110%); } }

.an-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.an-kw {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 500; color: var(--text-2);
  background: var(--surface-muted); border: 1px solid var(--border);
  padding: 5px 11px; border-radius: var(--r-pill);
  transition: color .3s, background .3s, border-color .3s;
}
.an-kw .check {
  width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center;
  background: var(--border-strong); color: transparent; flex-shrink: 0;
  transition: background .3s, color .3s, transform .3s;
}
.an-kw .check svg { width: 9px; height: 9px; }
.an-kw.matched { color: var(--text); background: color-mix(in oklab, var(--success) 12%, var(--surface)); border-color: color-mix(in oklab, var(--success) 35%, transparent); }
.an-kw.matched .check { background: var(--success); color: #fff; transform: scale(1.05); }

/* floating chips */
.an-float {
  position: relative; z-index: 3; white-space: nowrap; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); border-radius: var(--r-pill);
  padding: 8px 14px; font-size: 13px; font-weight: 600;
  cursor: default;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1),
              border-color .4s ease, color .4s ease;
}
/* coral brand gradient that fades in behind the content on hover */
.an-float::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0; transition: opacity .4s ease;
}
.an-float:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: var(--shadow-brand);
  border-color: transparent;
  color: #fff;
}
.an-float:hover::before { opacity: 1; }
.an-float .dot { width: 9px; height: 9px; border-radius: 50%; }
.an-float .tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--success); color: #fff; flex: none;
  transition: background .4s ease, color .4s ease, transform .4s cubic-bezier(.16,1,.3,1);
}
.an-float:hover .tick { background: #fff; color: var(--primary); transform: scale(1.08); }
.an-float .tick svg { width: 11px; height: 11px; }
/* badges row under the illustration, aligned to the left-side stats divider line */
.an-badges {
  display: flex; flex-wrap: nowrap; gap: 10px;
  margin-top: -7px; padding-left: 44px;
}
html[data-reveals="on"] .an-float { animation: none; }
.an-float.f2 { animation-delay: 1.2s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(calc(-9px * var(--mo))); } }
@media (prefers-reduced-motion: reduce) { .an-float { animation: none !important; } }

/* ---- CV SCORE CARD (under floating badges) ----------------------------- */
.score-card {
  position: relative; z-index: 3; margin-top: 40px; overflow: hidden;
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg,
      color-mix(in oklab, var(--primary) 14%, var(--surface)) 0%,
      color-mix(in oklab, var(--accent) 10%, var(--surface)) 48%,
      var(--surface) 100%);
  border: 1px solid color-mix(in oklab, var(--primary) 22%, var(--border));
  box-shadow: var(--shadow-md);
}
.score-card-glow {
  position: absolute; inset: auto -20% -60% auto; width: 70%; height: 140%;
  background: radial-gradient(circle, color-mix(in oklab, var(--primary) 30%, transparent) 0%, transparent 65%);
  filter: blur(34px); pointer-events: none; z-index: 0;
}
.score-card-body {
  position: relative; z-index: 1;
  padding: 20px 24px;
}
.score-card-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .03em;
  text-transform: uppercase; color: var(--on-soft);
}
.score-card-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 16%, transparent);
}
.score-card-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 2.9rem); line-height: 1;
  letter-spacing: -0.035em; color: var(--text);
  margin: 8px 0 6px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.score-card-max {
  font-size: .42em; font-weight: 600; letter-spacing: -0.02em;
  -webkit-text-fill-color: var(--text-2); color: var(--text-2);
}

/* before → after transformation track with flying rocket */
.score-card-track {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: start; gap: 10px;
  margin: 12px 0 12px;
}
.score-side { display: flex; flex-direction: column; }
.score-side.before { align-items: flex-start; }
.score-side.after  { align-items: flex-end; }
.score-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 5vw, 2.5rem); line-height: 1;
  letter-spacing: -0.035em; color: var(--text-2);
}
.score-num.grad {
  color: var(--text);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.score-num.grad.pop { animation: scorePop .55s cubic-bezier(.16,1,.3,1); }
@keyframes scorePop {
  0%   { transform: scale(.82); }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.score-tag {
  margin-top: 5px; font-size: 11px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--text-2);
}
.score-side.after .score-tag { color: var(--on-soft); }

/* rocket — flies straight left → right, trail drawn behind it */
.score-rocket { position: relative; width: 140px; height: 40px; flex: none; align-self: start; }
.score-rocket .trail {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  filter: drop-shadow(0 0 5px color-mix(in oklab, var(--primary) 45%, transparent));
}
.score-rocket .trail path {
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: trailDraw 8s cubic-bezier(.5,0,.5,1) infinite;
}
@keyframes trailDraw {
  0%   { stroke-dashoffset: 100; opacity: 0; }
  6%   { opacity: 1; }
  35%  { stroke-dashoffset: 0; opacity: 1; }
  88%  { stroke-dashoffset: 0; opacity: 1; }
  96%  { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 100; opacity: 0; }
}
.score-rocket .rk {
  position: absolute; left: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  color: var(--primary); transform: rotate(45deg);
  filter: drop-shadow(0 0 7px color-mix(in oklab, var(--primary) 55%, transparent));
  animation: rocketFly 8s cubic-bezier(.5,0,.5,1) infinite;
}
.score-rocket .rk svg { width: 100%; height: 100%; }
@keyframes rocketFly {
  0%   { left: 0; opacity: 0; transform: rotate(45deg) scale(.7); }
  6%   { opacity: 1; }
  35%  { left: calc(100% - 30px); opacity: 1; transform: rotate(45deg) scale(1); }
  88%  { left: calc(100% - 30px); opacity: 1; transform: rotate(45deg) scale(1); }
  96%  { left: calc(100% - 30px); opacity: 0; transform: rotate(45deg) scale(1.05); }
  100% { left: calc(100% - 30px); opacity: 0; transform: rotate(45deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .score-rocket .rk { left: calc(100% - 30px); opacity: 1; animation: none; }
  .score-rocket .trail path { stroke-dashoffset: 0; opacity: 1; animation: none; }
  .score-num.grad { animation: none; }
}
.score-card-meta {
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
}

.analyzer-glow {
  position: absolute; inset: 8% 6% -6% 6%; z-index: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  filter: blur(36px);
}

/* ---- INSTANT CV CHECK (landing üyelik hook'u — lokal, Gemini'siz) -------- */
/* Approach A: illüstrasyon kartın SOLUK ÜST BANNER'ı → tek katmanlı, derinlikli kart */
.hero .analyzer { max-width: 560px; }
.icv-has-bg { overflow: hidden; }            /* banner köşeleri kart yarıçapına kırpılır */

.icv-banner {
  position: relative; overflow: hidden;
  height: 150px; z-index: 1;
}
.icv-banner .analyzer-illustration {
  position: absolute; inset: 0; margin: 0; z-index: 0;
}
.icv-banner .analyzer-illustration img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 26%;
  opacity: .45;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
}
:root[data-theme="dark"] .icv-banner .analyzer-illustration img { opacity: .5; }

/* güven rozetleri banner'ın alt kenarında, illüstrasyonun ÖNÜNDE */
.icv-badges {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 0 14px;
}
.icv-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; color: var(--text);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 5px 11px 5px 7px;
  backdrop-filter: blur(6px);
}
.icv-badge .tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--success); color: #fff; flex: none;
}
.icv-badge .tick svg { width: 10px; height: 10px; }

.icv-shell .score-card-body, .icv-shell .score-body { padding: 18px; }
.icv { position: relative; }
/* hidden attribute, display:flex/grid veren pane class'larini EZMELI (UA [hidden] dusuk oncelik) */
.icv [hidden] { display: none !important; }
.icv-pane { animation: icvFade .35s ease both; }
@keyframes icvFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .icv-pane { animation: none; } }

.icv-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--on-soft); margin-bottom: 12px;
}
.icv-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent)); }

/* dropzone */
.icv-drop {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  width: 100%; cursor: pointer;
  border: 1.5px dashed color-mix(in oklab, var(--primary) 38%, var(--border));
  background: color-mix(in oklab, var(--primary) 5%, var(--surface));
  border-radius: var(--r-md); padding: 22px 18px;
  transition: border-color .25s, background .25s, transform .25s;
}
.icv-drop:hover, .icv-drop.drag {
  border-color: var(--primary);
  background: color-mix(in oklab, var(--primary) 10%, var(--surface));
  transform: translateY(-2px);
}
.icv-drop-ico {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 4px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow-brand);
}
.icv-drop-ico svg { width: 22px; height: 22px; }
.icv-drop-title { font-weight: 700; font-size: 15.5px; color: var(--text); letter-spacing: -.01em; }
.icv-drop-sub { font-size: 12.5px; color: var(--text-2); }
.icv-drop-btn {
  margin-top: 8px; font-weight: 700; font-size: 13.5px; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 9px 20px; border-radius: var(--r-pill); box-shadow: var(--shadow-brand);
}
.icv-drop-hint { font-size: 11.5px; color: var(--text-2); }
.icv-privacy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; font-size: 11.5px; color: var(--text-2);
}
.icv-privacy svg { width: 13px; height: 13px; color: var(--success); }

/* loading — CV tarama animasyonu */
.icv-loading { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 26px 10px 24px; }
.icv-spin {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid color-mix(in oklab, var(--primary) 22%, var(--border));
  border-top-color: var(--primary); animation: icvSpin .8s linear infinite;
}
@keyframes icvSpin { to { transform: rotate(360deg); } }

/* taranan belge görseli */
.icv-scan {
  position: relative; width: 116px; height: 92px; border-radius: 12px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.icv-scan-doc { padding: 14px 13px; display: flex; flex-direction: column; gap: 8px; }
.icv-scan-doc .l { height: 6px; width: 100%; border-radius: 3px; background: var(--surface-muted); }
.icv-scan-beam {
  position: absolute; left: 0; right: 0; top: 0; height: 22px; pointer-events: none;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--primary) 40%, transparent) 0%,
    color-mix(in oklab, var(--accent) 28%, transparent) 50%, transparent 100%);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--primary) 70%, transparent);
  animation: icvScan 1.5s cubic-bezier(.45,0,.55,1) infinite;
}
@keyframes icvScan {
  0%   { transform: translateY(-24px); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(92px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .icv-scan-beam { animation: none; opacity: .6; } }

/* ince ilerleme çubuğu */
.icv-loading-bar { width: 78%; max-width: 240px; height: 5px; border-radius: 3px;
  background: var(--surface-muted); overflow: hidden; }
.icv-loading-bar i { display: block; height: 100%; width: 6%; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); }
.icv-loading-tx { font-size: 13.5px; font-weight: 600; color: var(--text-2); min-height: 18px; }

/* result */
.icv-result-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.icv-ring { position: relative; width: 84px; height: 84px; flex: none; }
.icv-ring svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.icv-ring .trk { fill: none; stroke: var(--surface-muted); stroke-width: 8; }
.icv-ring .prg { fill: none; stroke: url(#icvGrad); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 251; stroke-dashoffset: 251; }
.icv-ring-val { position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.03em; color: var(--text); }
.icv-result-label { font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--on-soft); margin-bottom: 8px; }
.icv-result-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.icv-pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--border); color: var(--text-2); }
.icv-pill b { font-weight: 800; }
.icv-pill.good { color: var(--success); background: color-mix(in oklab, var(--success) 12%, var(--surface)); border-color: color-mix(in oklab, var(--success) 32%, transparent); }
.icv-pill.warn { color: var(--warning, #b45309); background: color-mix(in oklab, var(--warning, #f59e0b) 12%, var(--surface)); border-color: color-mix(in oklab, var(--warning, #f59e0b) 30%, transparent); }

.icv-checks { display: flex; flex-direction: column; gap: 7px; }
.icv-check { display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 11px; border-radius: var(--r-sm, 10px);
  background: var(--surface-muted); border: 1px solid var(--border); }
.icv-check-ico { width: 19px; height: 19px; border-radius: 50%; flex: none; margin-top: 1px;
  display: grid; place-items: center; color: #fff; }
.icv-check-ico svg { width: 11px; height: 11px; }
.icv-check.good .icv-check-ico { background: var(--success); }
.icv-check.warn .icv-check-ico { background: var(--warning, #f59e0b); }
.icv-check.bad .icv-check-ico { background: var(--danger, #ef4444); }
.icv-check-tx { flex: 1; font-size: 13.5px; color: var(--text); line-height: 1.35; }
.icv-check-tx b { font-weight: 600; }
.icv-check-tip { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.icv-check-st { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; flex: none; margin-top: 2px; }
.icv-check.good .icv-check-st { color: var(--success); }
.icv-check.warn .icv-check-st { color: var(--warning, #b45309); }
.icv-check.bad .icv-check-st { color: var(--danger, #ef4444); }

.icv-acc { margin-top: 4px; }
.icv-acc-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: color-mix(in oklab, var(--success) 8%, var(--surface)); border: 1px solid color-mix(in oklab, var(--success) 20%, transparent); border-radius: var(--r-sm, 10px); color: var(--text); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s; }
.icv-acc-btn:hover { background: color-mix(in oklab, var(--success) 12%, var(--surface)); border-color: color-mix(in oklab, var(--success) 30%, transparent); }
.icv-acc-ico { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--success); color: #fff; flex: none; }
.icv-acc-ico svg { width: 12px; height: 12px; }
.icv-acc-tx { flex: 1; text-align: left; }
.icv-acc-tx b { font-weight: 700; color: var(--success); }
.icv-acc-chevron { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: transform .3s; }
.icv-acc-btn.open .icv-acc-chevron { transform: rotate(180deg); }
.icv-acc-body { display: flex; flex-direction: column; gap: 6px; margin-top: 0; padding: 0 4px 0 24px; border-left: 2px solid color-mix(in oklab, var(--success) 30%, transparent); margin-left: 20px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease, padding-bottom 0.4s ease; }
.icv-acc-body.open { max-height: 800px; opacity: 1; margin-top: 6px; padding-bottom: 4px; }
.icv-check.compact { padding: 6px 8px; font-size: 13px; background: transparent; border: none; border-bottom: 1px dashed color-mix(in oklab, var(--border) 50%, transparent); border-radius: 0; }
.icv-check.compact:last-child { border-bottom: none; }
.icv-check.compact .icv-check-ico { width: 14px; height: 14px; }
.icv-check.compact .icv-check-ico svg { width: 8px; height: 8px; }
.icv-check.compact .icv-check-tx { font-size: 12.5px; }

/* locked report wall (funnel) */
.icv-lock { position: relative; margin-top: 12px; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--primary) 24%, var(--border)); }

.icv-deep { margin-top: 14px; padding-top: 12px; border-top: 1px dashed color-mix(in oklab, var(--border) 60%, transparent); }
.icv-deep-head { font-size: 11px; font-weight: 800; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.icv-deep-row { display: flex; align-items: center; gap: 8px; padding: 7px 10px; margin-bottom: 5px; border-radius: var(--r-sm); background: var(--surface-muted); opacity: 0.6; filter: grayscale(1); transition: opacity .2s, background .2s; cursor: pointer; text-decoration: none; }
.icv-deep-row:hover { opacity: 0.9; background: color-mix(in oklab, var(--surface-muted) 50%, var(--primary) 10%); }
.icv-deep-ico { font-size: 12px; }
.icv-deep-tx { font-size: 13px; font-weight: 600; color: var(--text); }
.icv-gemini-banner { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 10px 12px; background: linear-gradient(135deg, color-mix(in oklab, var(--primary) 10%, var(--surface)), color-mix(in oklab, var(--accent) 10%, var(--surface))); border: 1px solid color-mix(in oklab, var(--primary) 20%, transparent); border-radius: var(--r-md); }
.icv-gemini-ico { flex-shrink: 0; width: 16px; height: 16px; color: var(--accent); margin-top: 1px; }
.icv-gemini-ico svg { width: 100%; height: 100%; display: block; }
.icv-gemini-tx { font-size: 12px; font-weight: 500; color: var(--text-2); line-height: 1.4; }
.icv-gemini-tx b, .icv-gemini-tx strong { color: var(--text); font-weight: 700; }
.icv-deep-teaser { font-size: 11px; font-style: italic; color: var(--text-2); text-align: center; margin: 12px 0 5px; opacity: 0.8; }
.icv-pill.neutral { color: var(--text-2); background: var(--surface-muted); border-color: var(--border); }
.icv-lock-body { position: relative; z-index: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 5px; padding: 18px 14px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 60%, transparent), var(--surface)); }
.icv-lock-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  color: var(--primary); background: color-mix(in oklab, var(--primary) 14%, var(--surface)); margin-bottom: 2px; }
.icv-lock-ico svg { width: 17px; height: 17px; }
.icv-lock-title { font-weight: 800; font-size: 14.5px; color: var(--text); }
.icv-lock-sub { font-size: 12px; color: var(--text-2); max-width: 260px; }

.icv-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-weight: 700; font-size: 13.5px; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 10px 18px; border-radius: var(--r-pill); box-shadow: var(--shadow-brand);
  transition: transform .25s, box-shadow .25s;
}
.icv-cta:hover { transform: translateY(-2px); }
.icv-cta svg { width: 15px; height: 15px; }

/* ICV-2: CTA altı risk-azaltıcı mikro-metin */
.icv-cta-note { margin-top: 9px; font-size: 11px; color: var(--text-2); letter-spacing: .01em; }

/* ICV-4: kaçış linki CTA ile yarışmasın — küçük ve soluk, hover'da normale döner */
.icv-again {
  display: block; width: 100%; margin-top: 10px; cursor: pointer;
  background: none; border: none; color: var(--text-2); opacity: .55;
  font-size: 11.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}
.icv-again:hover { color: var(--primary); opacity: 1; }

/* message (weak / no_text / error) */
.icv-msg { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 14px; }
.icv-msg-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  color: var(--warning, #b45309); background: color-mix(in oklab, var(--warning, #f59e0b) 14%, var(--surface)); }
.icv-msg-ico svg { width: 24px; height: 24px; }
.icv-msg-title { font-weight: 800; font-size: 16px; color: var(--text); }
.icv-msg-title:empty { display: none; }
.icv-msg-sub { font-size: 13px; color: var(--text-2); max-width: 300px; line-height: 1.5; }

/* ---- REVEAL (scroll) — base VISIBLE; hidden only while armed ------------- */
.reveal { opacity: 1; transform: none; }
html.reveal-armed[data-reveals="on"] .reveal {
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
html.reveal-armed[data-reveals="on"] .reveal:not(.in) {
  opacity: 0; transform: translateY(calc(var(--reveal-y) * var(--mo)));
}
.reveal.s1 { transition-delay: .08s; }
.reveal.s2 { transition-delay: .16s; }
.reveal.s3 { transition-delay: .24s; }
.reveal.s4 { transition-delay: .32s; }
.reveal.s5 { transition-delay: .40s; }

/* ---- HOW IT WORKS -------------------------------------------------------- */
.hiw { background: var(--surface-muted); }
.hiw-track {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 2.4vw, 28px); margin-top: 8px;
}
.hiw-track::before {
  content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--border-strong), var(--border-strong));
  z-index: 0;
}
.hiw-track::after {
  content: ""; position: absolute; top: 27px; left: 10%; height: 2px;
  width: var(--hiw-progress, 0%); max-width: 80%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 0 3px 3px 0; box-shadow: 0 0 10px 1px var(--glow);
  z-index: 1; transition: width var(--hiw-dur, 5s) linear;
}
/* leading edge gets a soft pulsing cap to read as a loading bar */
.hiw-track::after { will-change: width; }
.hiw-track.hiw-no-anim::after { transition: none; }
.hiw-step { position: relative; z-index: 2; text-align: center; }
.hiw-num {
  position: relative;
  width: 56px; height: 56px; margin: 0 auto 18px;
  display: grid; place-items: center;
  color: var(--text-2);
  transition: color .4s;
}
/* görünen daire ayrı bir katman → büyürken ikonu etkilemez */
.hiw-num::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 0;
  background: var(--surface); border: 2px solid var(--border-strong);
  transition: background .4s, border-color .4s, box-shadow .4s, transform .4s;
}
.hiw-num svg { position: relative; z-index: 1; width: 25px; height: 25px; }
.hiw-step.active .hiw-num { color: var(--on-primary); }
.hiw-step.active .hiw-num::before { background: var(--primary); border-color: var(--primary); box-shadow: var(--shadow-brand); transform: scale(1.06); }
/* a step that has already been passed reads as completed → green */
.hiw-step.done .hiw-num { color: #fff; }
.hiw-step.done .hiw-num::before { background: var(--success); border-color: var(--success); box-shadow: 0 10px 24px color-mix(in oklab, var(--success) 32%, transparent); }
.hiw-step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.hiw-step p { color: var(--text-2); font-size: 14.5px; max-width: 220px; margin-inline: auto; }

/* live-demo browser frame synced to the active step */
.hiw-demo { margin-top: clamp(40px, 6vw, 64px); max-width: 880px; margin-inline: auto; }
.hiw-demo-frame {
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.hiw-demo-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 16px; background: var(--surface-muted); border-bottom: 1px solid var(--border);
}
.hiw-demo-bar .wdot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.hiw-demo-bar .wdot.r { background: #FF5F57; }
.hiw-demo-bar .wdot.y { background: #FEBC2E; }
.hiw-demo-bar .wdot.g { background: #28C840; }
.hiw-demo-url {
  flex: 1; max-width: 340px; margin-inline: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 6px 16px; font-size: 12.5px; color: var(--text-2); font-weight: 500;
}
.hiw-demo-url svg { width: 13px; height: 13px; opacity: .7; }
.hiw-demo-screen { position: relative; aspect-ratio: 16 / 10; background: var(--surface-muted); }
.hiw-shot {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.015);
  transition: opacity .55s ease, transform .55s cubic-bezier(.16,1,.3,1); pointer-events: none;
}
.hiw-shot.active { opacity: 1; transform: none; pointer-events: auto; }
.hiw-shot image-slot { width: 100%; height: 100%; display: block; }
.hiw-demo-hint { text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--text-2); }
.hiw-mock {
  margin-top: 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 18px; min-height: 156px;
  transition: box-shadow .4s, border-color .4s, transform .4s;
}
.hiw-step.active .hiw-mock { box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--primary) 30%, var(--border)); transform: translateY(-4px); }

.mk-label { height: 8px; width: 70px; border-radius: 4px; background: var(--border-strong); margin-bottom: 8px; }
.mk-input { height: 30px; border-radius: 8px; background: var(--surface-muted); border: 1px solid var(--border); margin-bottom: 14px; }
.mk-row { display: flex; gap: 12px; }
.mk-row > div { flex: 1; }
.mk-tpls { display: flex; gap: 10px; }
.mk-tpl { flex: 1; height: 92px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-muted); padding: 9px; }
.mk-tpl.sel { border: 2px solid var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.mk-tpl .l { height: 5px; border-radius: 3px; background: var(--border-strong); margin-bottom: 5px; }
.mk-tpl .l.dark { background: var(--primary); width: 55%; height: 7px; margin-bottom: 8px; }
.mk-sw { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.mk-sw i { width: 20px; height: 20px; border-radius: 50%; display: block; }
.mk-sw i.on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--primary); }
.mk-page { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 14px; max-width: 150px; margin: 0 auto; box-shadow: var(--shadow-md); }
.mk-page .l { height: 5px; border-radius: 3px; background: var(--surface-muted); margin-bottom: 6px; }
.mk-page .l.dark { background: var(--primary); width: 50%; height: 8px; margin-bottom: 9px; }
.mk-dl { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: var(--primary); color: var(--on-primary); padding: 9px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: 13px; }
.mk-dl svg { width: 14px; height: 14px; }
.hiw-mock.center { text-align: center; }

/* ---- TEMPLATES ----------------------------------------------------------- */
.tpl-marquee { position: relative; overflow: hidden; padding-block: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tpl-row { display: flex; gap: 24px; width: max-content; }
html[data-marquee="on"] .tpl-row { animation: marquee calc(46s / var(--mo, 1)) linear infinite; }
.tpl-marquee:hover .tpl-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }
@media (prefers-reduced-motion: reduce) { .tpl-row { animation: none !important; } }

.tpl { width: 240px; flex-shrink: 0; }
.tpl-card {
  aspect-ratio: 1 / 1.32; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s, border-color .4s;
}
.tpl:hover .tpl-card { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: color-mix(in oklab, var(--primary) 36%, var(--border)); }
.tpl-name { text-align: center; margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--text-2); transition: color .3s; }
.tpl:hover .tpl-name { color: var(--on-soft); }

/* template paper mockups */
.paper { width: 100%; height: 100%; padding: 16px; background: #fff; }
:root[data-theme="dark"] .paper { background: #f4efe9; }
.paper .pl { height: 5px; border-radius: 2px; background: #d8ccc3; margin-bottom: 5px; }
.paper .pl.h { height: 9px; width: 60%; background: #2a211c; margin-bottom: 9px; }
.paper .pl.sub { width: 40%; background: #b9a99e; margin-bottom: 12px; }
.paper.split { display: flex; padding: 0; }
.paper.split .side { width: 34%; background: #2a211c; padding: 12px; }
.paper.split .side .av { width: 30px; height: 30px; border-radius: 50%; background: #6b5a50; margin: 0 auto 10px; }
.paper.split .side .sl { height: 4px; border-radius: 2px; background: #5a4a40; margin-bottom: 5px; }
.paper.split .main { flex: 1; padding: 14px; }
.paper.center { text-align: center; }
.paper.center .pl.h { margin-inline: auto; }
.paper.center .pl.sub { margin-inline: auto; }
.paper .accent { background: var(--primary) !important; }
.tpl-more {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--primary), var(--accent)); color: #fff;
}
.tpl-more .big { font-family: var(--font-display); font-weight: 700; font-size: 40px; }
.tpl-more .sm { font-size: 12px; font-weight: 600; letter-spacing: .08em; margin-top: 4px; opacity: .92; }

/* ---- BENTO FEATURES ------------------------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cell {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
}
.cell:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.cell.big { grid-column: span 2; grid-row: span 2; }
.cell.tall { grid-column: span 2; grid-row: span 2; }
.cell.wide { grid-column: span 2; }
.cell.wide3 { grid-column: span 3; }
/* color-accent cells (mosaic variety) */
.cell.soft { background: var(--primary-soft); border-color: transparent; }
.cell.soft .cell-ico { background: rgba(178, 52, 23, .14); color: var(--on-soft); }
.cell.soft h3 { color: var(--on-soft); }
.cell.accent { background: var(--primary); border-color: transparent; box-shadow: var(--shadow-brand); }
.cell.accent .cell-ico { background: rgba(255, 255, 255, .2); color: #fff; }
.cell.accent h3 { color: #fff; }
.cell.accent p { color: rgba(255, 255, 255, .9); }
.cell.accent .mini-list .mi { color: rgba(255, 255, 255, .95); }
.cell.accent .mini-list .mi svg { color: #fff; }
.cell.wide3 .mini-list { flex-direction: row; flex-wrap: wrap; gap: 10px 26px; }
.cell-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--on-soft); margin-bottom: 16px;
}
.cell-ico svg { width: 22px; height: 22px; }
.cell h3 { font-size: 1.2rem; margin-bottom: 8px; }
.cell.big h3 { font-size: 1.45rem; }
.cell p { color: var(--text-2); font-size: 14.5px; }

/* before/after AI polish demo */
.demo-polish { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.polish-box { border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; background: var(--surface-muted); }
.polish-box .tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px; }
.polish-box.before .tag { color: var(--text-2); }
.polish-box.after { background: color-mix(in oklab, var(--primary) 8%, var(--surface)); border-color: color-mix(in oklab, var(--primary) 28%, var(--border)); }
.polish-box.after .tag { color: var(--on-soft); }
.polish-box p { font-size: 13.5px; line-height: 1.5; color: var(--text); }
.polish-box.before p { color: var(--text-2); }
.polish-arrow { display: grid; place-items: center; color: var(--primary); }
.polish-arrow svg { width: 22px; height: 22px; }

/* ATS ring demo */
.demo-ring { margin-top: 20px; display: flex; align-items: center; gap: 18px; }
.ats-ring { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.ats-ring svg { width: 96px; height: 96px; transform: rotate(-90deg); }
.ats-ring .track { fill: none; stroke: var(--surface-muted); stroke-width: 9; }
.ats-ring .prog { fill: none; stroke: var(--primary); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 245; stroke-dashoffset: 245; }
.ats-ring .num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.demo-ring .bars { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cell .bar { display: flex; flex-direction: column; gap: 6px; }
.cell .bar-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-2); }
.cell .bar-top b { color: var(--text); font-weight: 700; flex-shrink: 0; }
.cell .bar-track { height: 7px; border-radius: 4px; background: var(--surface-muted); overflow: hidden; }
.cell .bar-track i { display: block; height: 100%; border-radius: 4px; background: var(--primary); }

.mini-list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.mini-list .mi { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-2); }
.mini-list .mi svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

/* ---- TESTIMONIALS -------------------------------------------------------- */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 5vw, 48px); margin-bottom: 44px; }
.trust .ti { text-align: center; }
.trust .ti .v { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; }
.trust .ti .v .stars { color: var(--primary); }
.trust .ti .k { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.trust .sep { width: 1px; background: var(--border); align-self: stretch; }

.marq { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marq + .marq { margin-top: 18px; }
.marq-row { display: flex; gap: 18px; width: max-content; }
html[data-marquee="on"] .marq-row { animation: marquee calc(58s / var(--mo, 1)) linear infinite; }
html[data-marquee="on"] .marq.rev .marq-row { animation: marqueeRev calc(58s / var(--mo, 1)) linear infinite; }
.marq:hover .marq-row { animation-play-state: paused; }
@keyframes marqueeRev { from { transform: translateX(calc(-50% - 9px)); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .marq-row { animation: none !important; } }

.tcard {
  flex-shrink: 0; width: 360px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm);
}
.tcard .stars { color: var(--primary); letter-spacing: 2px; font-size: 14px; margin-bottom: 14px; }
.tcard .quote { font-size: 14.5px; line-height: 1.6; color: var(--text); margin-bottom: 20px; }
.tcard .who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.tcard .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; flex-shrink: 0; }
.tcard .who .n { font-weight: 600; font-size: 14.5px; }
.tcard .who .r { font-size: 12.5px; color: var(--text-2); }

/* ---- PRICING ------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured { border: 1.5px solid var(--primary); box-shadow: var(--shadow-brand); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: var(--r-pill); white-space: nowrap; }
.plan .pname { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.plan .pdesc { font-size: 13.5px; color: var(--text-2); margin-top: 4px; min-height: 38px; }
.plan .price { display: flex; align-items: baseline; gap: 5px; margin: 14px 0 4px; }
.plan .price .amt { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: -0.03em; }
.plan .price .per { font-size: 13px; color: var(--text-2); }
.plan ul { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.plan li svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.plan li.muted { color: var(--text-2); }
.plan li.muted svg { color: var(--text-2); }
.pricing-note { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--text-2); }
.pricing-note svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; color: var(--success); }

/* ---- FINAL CTA ----------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%); border-radius: clamp(20px, 4vw, 32px); padding: clamp(48px, 8vw, 84px) clamp(24px, 6vw, 64px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1.4px, transparent 1.4px); background-size: 26px 26px; opacity: .5; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 5vw, 3rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.92); font-size: clamp(1rem, 2.4vw, 1.18rem); max-width: 520px; margin: 0 auto 30px; }
.cta-band .btn-light { background: #fff; color: var(--primary-hover); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.cta-band .btn-light:hover { transform: translateY(-2px); background: #fff; }

/* ---- FOOTER -------------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); background: var(--surface); padding-block: clamp(48px, 7vw, 72px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer-brand p { color: var(--text-2); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--text); padding: 5px 0; }
.footer-col a:hover { color: var(--on-soft); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.footer-bottom .copy { font-size: 13px; color: var(--text-2); }

/* language switch in footer bottom */
.footer-lang { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); }
.footer-lang a { color: var(--text-2); font-weight: 600; }
.footer-lang a.active, .footer-lang a:hover { color: var(--on-soft); }
.footer-lang .sep { opacity: .5; }

/* cookie consent banner (KVKK) */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500;
  max-width: 720px; margin: 0 auto; display: none; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 14px 18px; box-shadow: var(--shadow-lg); }
.cookie-banner.show { display: flex; }
.cookie-banner .cookie-text { color: var(--text-2); font-size: 13.5px; line-height: 1.5; flex: 1; }
.cookie-banner .cookie-text a { color: var(--on-soft); font-weight: 600; }
.cookie-banner .cookie-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner .cookie-actions { justify-content: center; }
  .cookie-banner .cookie-actions .btn { flex: 1; }
}

/* ---- RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost, .nav-actions .btn-primary { display: none; }
  .hamburger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; text-align: center; margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .analyzer { margin-top: 12px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell.big { grid-column: span 2; grid-row: auto; }
  .cell.tall { grid-column: span 2; grid-row: auto; }
  .cell.wide { grid-column: span 2; }
  .cell.wide3 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .hiw-track { grid-template-columns: 1fr; gap: 14px; }
  .hiw-track::before, .hiw-track::after { display: none; }
  .hiw-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; text-align: left; align-items: start; }
  .hiw-num { margin: 0; }
  .hiw-step h3 { font-size: 1.15rem; }
  .hiw-step p { margin-inline: 0; }
  .hiw-mock { grid-column: 1 / -1; margin-top: 4px; }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .plan.featured { order: -1; }
  .trust .sep { display: none; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .cell.big, .cell.tall, .cell.wide, .cell.wide3 { grid-column: auto; }
  .cell.wide3 .mini-list { flex-direction: column; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 0; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tcard { width: 280px; }
}
