@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@800;900&family=Syne:wght@800&display=swap');


/* ============================================================
   Tool Tutor — design system
   ============================================================ */

:root {
  /* Backgrounds — deep navy, not flat black */
  --bg-top: #0B2A4A;
  --bg-mid: #0A2140;
  --bg-bottom: #061527;
  --bg-gradient: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
  --bg-surface: rgba(255, 255, 255, 0.04);
  --bg-surface-hover: rgba(255, 255, 255, 0.07);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.16);

  /* Prism Core Tokens */
  --tt-navy-900: #061527;
  --tt-navy-700: #0B2A4A;
  --tt-pink: #FF3D8A;
  --tt-purple: #8B5CF6;
  --tt-cyan: #22D3EE;
  --tt-core: #FFFFFF;
  --tt-core-2: #C3D3E3;
  --tt-text-2: #C3D3E3;

  /* Primary accent gradient — used sparingly */
  --accent-pink: #FF3D8A;
  --accent-purple: #8B5CF6;
  --accent-cyan: #22D3EE;
  --accent-gradient: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 55%, var(--accent-cyan) 100%);

  /* Secondary accents — flat, single purpose */
  --accent-mint: #34D399;
  --accent-amber: #FB923C;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #C3D3E3;
  --text-muted: #7F93A8;

  /* System */
  --success: #34D399;
  --warning: #FB923C;
  --error: #F43F5E;

  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.45);
  --shadow-glow-pink: 0 0 32px rgba(255,61,138,0.25);
  --shadow-glow-cyan: 0 0 32px rgba(34,211,238,0.25);
  --shadow-glow-purple: 0 0 32px rgba(139,92,246,0.25);
  --shadow-glow-mint: 0 0 24px rgba(52,211,153,0.20);

  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
}

/* ------------------------------ base ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-bottom);
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--bg-gradient);
  z-index: -1;
  pointer-events: none;
}
img, svg, canvas { max-width: 100%; }
a { color: var(--accent-cyan); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-primary); margin: 0 0 0.5em; }
h1 { font-size: 56px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
code, pre, kbd { font-family: var(--font-mono); font-size: 14px; }
button { font-family: var(--font-body); cursor: pointer; }
::selection { background: rgba(139,92,246,0.45); color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* focus visibility */
:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------ buttons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 26px; border-radius: var(--radius-full); border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent-gradient); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md), var(--shadow-glow-purple); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: var(--bg-surface); border-color: var(--border-glass); color: var(--text-primary); }
.btn-ghost:hover { background: var(--bg-surface-hover); border-color: var(--border-glass-hover); }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-secondary); font-weight: 500; font-size: 15px;
  border-bottom: 1px solid transparent; transition: color 0.2s ease;
}
.text-link:hover { color: var(--accent-cyan); }
kbd {
  display: inline-block; padding: 2px 7px; font-size: 11px; line-height: 1.5;
  color: var(--text-muted); background: var(--bg-surface); border: 1px solid var(--border-glass);
  border-radius: 6px;
}

/* ------------------------------ header ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 33, 64, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid transparent;
  transition: backdrop-filter 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 33, 64, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border-glass);
}
.header-inner { display: flex; flex-wrap: nowrap; align-items: center; gap: 28px; height: 68px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo:hover {
  transform: translateY(-1px) scale(1.02);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.logo:hover .logo-mark {
  transform: rotate(180deg);
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.7));
}
.logo-text {
  font: 900 21px/1 'Unbounded', 'Syne', system-ui, sans-serif;
  letter-spacing: -0.04em;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  /* Katman 1: Düz yatay kristal cam parlaması şeridi — Katman 2: Yavaş, açık pembe kayan renk gradyanı */
  background:
    linear-gradient(90deg, transparent 38%, rgba(255, 255, 255, 0.25) 44%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.25) 56%, transparent 62%),
    linear-gradient(90deg, #22D3EE 0%, #A78BFA 50%, #FF85C0 78%, #22D3EE 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text, text;
  background-clip: text, text;
  color: transparent;
  animation: ttTextSlide 10s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.5));
}
.logo-text span {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes ttTextSlide {
  from { background-position: 200% center; }
  to   { background-position: 0% center; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-text,
  .tt-name { animation: none !important; background-position: 0% center; }
}
.main-nav { display: flex; flex-wrap: nowrap; gap: 4px; margin: 0 auto; }
.main-nav a {
  color: var(--text-secondary); font-size: 14px; font-weight: 500; white-space: nowrap;
  padding: 8px 12px; border-radius: var(--radius-sm); transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--text-primary); background: var(--bg-surface); }
.main-nav a[aria-current="page"] { color: var(--text-primary); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.search-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-surface); border: 1px solid var(--border-glass); color: var(--text-muted);
  font-size: 13px; padding: 8px 12px; border-radius: var(--radius-full);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.search-trigger:hover { border-color: var(--border-glass-hover); color: var(--text-secondary); }
.nav-toggle { display: none; }

/* ------------------------------ search overlay ------------------------------ */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 21, 39, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: 100%; max-width: 620px;
  background: rgba(11, 42, 74, 0.92); border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}
.search-input-row { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border-glass); color: var(--text-muted); }
.search-input-row input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-primary); font-size: 17px; font-family: var(--font-body);
}
.search-input-row input::placeholder { color: var(--text-muted); }
.search-filters { display: flex; gap: 8px; padding: 12px 18px 4px; flex-wrap: wrap; }
.chip {
  background: var(--bg-surface); border: 1px solid var(--border-glass); color: var(--text-muted);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; padding: 6px 13px; border-radius: var(--radius-full);
  transition: all 0.15s ease;
}
.chip:hover { color: var(--text-secondary); border-color: var(--border-glass-hover); }
.chip.is-active { color: var(--accent-cyan); border-color: rgba(34,211,238,0.4); background: rgba(34,211,238,0.08); }
.search-results { list-style: none; margin: 0; padding: 10px; max-height: 46vh; overflow-y: auto; }
.search-results li a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius-md);
  color: var(--text-secondary);
}
.search-results li a .icon-badge { width: 34px; height: 34px; flex: none; }
.search-results li.is-selected a, .search-results li a:hover { background: var(--bg-surface-hover); color: var(--text-primary); }
.search-results .sr-cat { margin-left: auto; font-size: 12px; color: var(--text-muted); }
.search-results .sr-empty { padding: 24px; text-align: center; color: var(--text-muted); }
.search-hint { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--border-glass); font-size: 12px; color: var(--text-muted); }
.search-hint span { display: inline-flex; gap: 5px; align-items: center; }

/* ------------------------------ icon badge (§8) ------------------------------ */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background: var(--bg-surface-hover);
  border: 1px solid rgba(34,211,238,0.3);
  color: var(--accent-cyan);
  flex: none;
}
.accent-purple > .icon-badge, .icon-badge.accent-purple { border-color: rgba(139,92,246,0.3); color: var(--accent-purple); }
.accent-pink > .icon-badge, .icon-badge.accent-pink { border-color: rgba(255,61,138,0.3); color: var(--accent-pink); }
.accent-cyan > .icon-badge, .icon-badge.accent-cyan { border-color: rgba(34,211,238,0.3); color: var(--accent-cyan); }
.icon-badge--sm { width: 38px; height: 38px; }
.icon-badge--lg { width: 64px; height: 64px; }

/* Foto arka plan üzerindeki başlık rozetleri (tool + kategori sayfaları):
   opak buzlu zemin + accent renkli halka + parlama — ikon fotoğrafta kaybolmaz */
.tool-header .icon-badge, .cat-hero-head .icon-badge {
  background: rgba(9, 27, 50, 0.72);
  border: 1.5px solid currentColor;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md), 0 0 22px -4px currentColor;
}
.tool-header .icon-badge svg, .cat-hero-head .icon-badge svg {
  filter: drop-shadow(0 0 7px currentColor);
}

/* ------------------------------ cards (§8) ------------------------------ */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a.card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; color: var(--text-secondary); position: relative; }
a.card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow-cyan);
}
a.card.accent-purple:hover { box-shadow: var(--shadow-md), var(--shadow-glow-purple); }
a.card.accent-pink:hover { box-shadow: var(--shadow-md), var(--shadow-glow-pink); }
.card h3 { margin: 0; }
.card p { margin: 0; font-size: 15px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-tag {
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--text-muted);
  background: var(--bg-surface-hover); padding: 4px 11px; border-radius: var(--radius-full);
  margin-top: auto;
}
.badge-popular {
  position: absolute; top: 16px; right: 16px;
  background: rgba(251,146,60,0.15); color: var(--accent-amber);
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: var(--radius-full);
}
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid--dense { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-grid--related { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tool-card--compact { padding: 18px; flex-direction: row; align-items: center; gap: 14px; }
.tool-card--compact .icon-badge { width: 40px; height: 40px; }
.tool-card--compact h3 { font-size: 16px; }
.tool-card--compact .card-tag { display: none; }

/* ------------------------------ sections ------------------------------ */
.section { padding: 88px 0; }
.section-title { text-align: center; }
.section-sub { text-align: center; color: var(--text-secondary); max-width: 520px; margin: -6px auto 44px; }
.section-title:only-child, .section-title + .card-grid { margin-bottom: 44px; }
.section-more { text-align: center; margin: 36px 0 0; }

/* alternate rhythm (§9) */
.section-how { background: rgba(6, 21, 39, 0.45); }
.section-categories {
  position: relative;
  background: rgba(6, 21, 39, 0.45);
  background-image: url('/assets/img/bg-grid.svg');
  background-size: 520px;
}

/* ------------------------------ hero ------------------------------ */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  /* fallback: gradient only; then premium image backdrop layered under a navy wash */
  background: var(--bg-gradient);
  background-image:
    linear-gradient(180deg, rgba(11,42,74,0.92) 0%, rgba(10,33,64,0.88) 55%, rgba(6,21,39,0.97) 100%),
    url('/assets/img/hero-main.webp');
  background-size: cover, cover;
  background-position: center, center 30%;
}
.hero-orb {
  position: absolute; z-index: -1; top: -120px; right: -80px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.5), transparent 65%);
  opacity: 0.15; filter: blur(60px); pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy h1 { margin-bottom: 20px; max-width: 560px; }
.hero-sub { font-size: 19px; color: var(--text-secondary); max-width: 460px; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-bottom: 34px; flex-wrap: wrap; }
.trust-indicators { list-style: none; display: flex; gap: 24px; padding: 0; margin: 0; flex-wrap: wrap; }
.trust-indicators li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--text-secondary); }
.trust-indicators svg { color: var(--accent-mint); }

/* ------------------------------ hero illustration (§6A) ------------------------------ */
.hero-visual { position: relative; min-height: 460px; }
.hero-illustration { position: absolute; inset: 0; }
.hero-connectors { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.8; }
.hero-connectors .node { animation: nodeBlink 3.6s ease-in-out infinite; }
.hero-connectors .n2 { animation-delay: 1.2s; }
.hero-connectors .n3 { animation-delay: 2.4s; }
@keyframes nodeBlink { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

.hud-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.hud-ring-1 {
  top: 6%; left: 2%; width: 92px; height: 92px;
  border: 2px solid rgba(255,61,138,0.55);
  box-shadow: 0 0 24px rgba(255,61,138,0.25), inset 0 0 18px rgba(255,61,138,0.15);
}
.hud-ring-1::after {
  content: ""; position: absolute; inset: 12px; border-radius: 50%;
  border: 1px dashed rgba(255,61,138,0.35);
}
.hud-ring-2 {
  bottom: 12%; right: 4%; width: 64px; height: 64px;
  border: 2px solid rgba(34,211,238,0.5);
  box-shadow: 0 0 20px rgba(34,211,238,0.2), inset 0 0 14px rgba(34,211,238,0.12);
}

.tech-label {
  position: absolute; z-index: 3;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-cyan); text-shadow: 0 0 12px rgba(34,211,238,0.6);
  padding: 4px 10px; border: 1px solid rgba(34,211,238,0.25); border-radius: var(--radius-full);
  background: rgba(6,21,39,0.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tl-1 { top: 1%; left: 42%; }
.tl-2 { top: 12%; right: 2%; }
.tl-3 { top: 34%; right: -2%; color: var(--accent-purple); border-color: rgba(139,92,246,0.3); text-shadow: 0 0 12px rgba(139,92,246,0.6); }
.tl-4 { bottom: 30%; right: 8%; }
.tl-5 { bottom: 4%; left: 34%; color: var(--accent-purple); border-color: rgba(139,92,246,0.3); text-shadow: 0 0 12px rgba(139,92,246,0.6); }
.tl-6 { top: 46%; left: -3%; }
.tl-7 { top: 22%; left: 6%; }

.laptop { position: absolute; left: 12%; right: 14%; top: 22%; z-index: 2; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5)); }
.laptop-screen {
  background: linear-gradient(160deg, #0A2544 0%, #071B33 100%);
  border: 1px solid var(--border-glass-hover);
  border-radius: 12px 12px 4px 4px; padding: 14px 16px 18px; min-height: 220px;
}
.screen-chrome { display: flex; gap: 6px; margin-bottom: 12px; }
.screen-chrome span { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-surface-hover); }
.screen-chrome span:first-child { background: rgba(255,61,138,0.6); }
.laptop-base {
  height: 12px; margin: 0 -7%;
  background: linear-gradient(180deg, #0D2C50, #071B33);
  border: 1px solid var(--border-glass); border-top: none;
  border-radius: 2px 2px 14px 14px;
}
.code-lines { display: flex; flex-direction: column; gap: 8px; }
.code-lines--sm { gap: 6px; }
.cl { display: block; height: 7px; border-radius: 4px; opacity: 0.85; }
.code-lines--sm .cl { height: 5px; }
.cl-c { background: linear-gradient(90deg, rgba(34,211,238,0.75), rgba(34,211,238,0.25)); }
.cl-p { background: linear-gradient(90deg, rgba(139,92,246,0.8), rgba(139,92,246,0.3)); }
.cl-k { background: linear-gradient(90deg, rgba(255,61,138,0.7), rgba(255,61,138,0.25)); }
.cl-w { background: rgba(195,211,227,0.22); }

.holo-panel {
  position: absolute; z-index: 3; width: 180px; padding: 12px;
  background: rgba(11,42,74,0.45);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35), inset 0 0 24px rgba(34,211,238,0.05);
}
.holo-1 { top: 4%; right: 10%; transform: rotate(3deg); }
.holo-2 { bottom: 8%; left: 0; width: 160px; transform: rotate(-3deg); border-color: rgba(139,92,246,0.22); }
.holo-head { height: 6px; width: 46%; border-radius: 4px; background: rgba(195,211,227,0.3); margin-bottom: 10px; }

.holo-widget {
  position: absolute; z-index: 3; right: 0; top: 52%; width: 150px; padding: 10px 12px;
  background: rgba(6,21,39,0.6); border: 1px solid var(--border-glass); border-radius: var(--radius-md);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hw-label { display: block; font-size: 9px; letter-spacing: 0.18em; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.holo-widget svg { width: 100%; height: 30px; }

/* floating tool pills — the ONE ambient hero animation (§8/§20) */
.float-card {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 16px; border-radius: var(--radius-full);
  background: rgba(11,42,74,0.75);
  border: 1px solid var(--border-glass-hover);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary); font-size: 13.5px; font-weight: 600;
  animation: floatBob 4s ease-in-out infinite;
}
.float-card:hover { border-color: var(--border-glass-hover); color: var(--accent-cyan); }
.fc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--bg-surface-hover);
}
.fc-icon.accent-cyan { color: var(--accent-cyan); }
.fc-icon.accent-purple { color: var(--accent-purple); }
.fc-icon.accent-pink { color: var(--accent-pink); }
.fc-1 { top: 15%; left: -4%; transform: rotate(-3deg); }
.fc-2 { bottom: 18%; right: -3%; transform: rotate(2deg); animation-delay: 1.3s; }
.fc-3 { bottom: -2%; left: 16%; transform: rotate(-2deg); animation-delay: 2.6s; }
@keyframes floatBob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -6px; }
}

/* ------------------------------ how it works ------------------------------ */
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 20px; margin-top: 48px; }
.step { text-align: center; max-width: 240px; }
.step-icon { display: inline-flex; margin-bottom: 16px; }
.step-icon.accent-cyan { color: var(--accent-cyan); }
.step-icon.accent-purple { color: var(--accent-purple); }
.step-icon.accent-pink { color: var(--accent-pink); }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 14.5px; margin: 0; }
.step-line { flex: 1; max-width: 110px; height: 1px; background: var(--border-glass-hover); margin-top: 15px; }

/* ------------------------------ trust strip (§17) ------------------------------ */
.trust-strip { padding: 34px 0; border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); }
.trust-strip-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-strip-row span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.trust-strip-row svg { color: var(--accent-mint); }

/* ------------------------------ FAQ ------------------------------ */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  align-items: start;
  margin-top: 40px;
}
@media (max-width: 820px) {
  .faq-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.tool-section .faq-list { margin-top: 20px; }
.faq-item {
  background: var(--bg-surface); border: 1px solid var(--border-glass);
  border-radius: var(--radius-md); overflow: hidden;
}
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { width: 9px; height: 9px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); transition: transform 0.2s ease; flex: none; }
.faq-item[open] .faq-chevron { transform: rotate(225deg); }
.faq-item p { padding: 0 22px 18px; margin: 0; color: var(--text-secondary); }

/* ------------------------------ final CTA ------------------------------ */
.section-cta { position: relative; overflow: hidden; }
.final-cta { text-align: center; position: relative; padding: 24px 24px; }
.final-cta::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 520px; height: 320px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(34,211,238,0.5), transparent 65%);
  opacity: 0.12; filter: blur(50px);
}
.final-cta p { max-width: 420px; margin: 0 auto 28px; }

/* ------------------------------ ad slots (dinamik — /assets/js/ads/core.js yerleştirir) ------------------------------ */
/* Reklam sistemi kapalıyken (globalEnabled:false) bu wrapper'lar DOM'a hiç eklenmez → sıfır CLS, sıfır iz. */
.tv-ad-wrapper {
  display: flex; align-items: center; justify-content: center;
  margin: 24px auto; max-width: 980px; width: calc(100% - 48px);
  overflow: hidden;
}
.tv-ad-wrapper[data-ad-status="empty"] { display: none; min-height: 0 !important; margin: 0; }

/* ------------------------------ page hero (subpages, image w/ fallback) ------------------------------ */
.page-hero { position: relative; padding: 60px 0 40px; overflow: hidden; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--bg-gradient); /* fallback if images fail */
  background-image: url('/assets/img/bg-glow.svg'), url('/assets/img/bg-grid.svg');
  background-size: 1100px 520px, 520px;
  background-position: 70% -60%, center top;
  background-repeat: no-repeat, repeat;
  opacity: 0.9;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
}
/* photo variant: page sets --hero-photo inline; navy wash keeps text readable */
.page-hero-bg--photo {
  background-image:
    linear-gradient(180deg, rgba(11,42,74,0.82) 0%, rgba(10,33,64,0.86) 60%, rgba(6,21,39,0.97) 100%),
    var(--hero-photo);
  background-size: cover, cover;
  background-position: center, center 30%;
  background-repeat: no-repeat, no-repeat;
  opacity: 1;
}
.page-hero--tall { padding: 96px 0 72px; }
.page-hero h1 { font-size: 44px; margin-bottom: 10px; }
.page-hero-sub { font-size: 17px; color: var(--text-secondary); max-width: 620px; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-cyan); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb [aria-current] { color: var(--text-secondary); }

/* Tool page category breadcrumb badge (circled area in tool pages) */
.breadcrumb-category {
  font-family: "Space Grotesk", var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 12px;
  border-radius: 100px;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.breadcrumb-category.accent-cyan:hover {
  color: var(--accent-cyan) !important;
  border-color: rgba(34, 211, 238, 0.35) !important;
  background: rgba(34, 211, 238, 0.08) !important;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.15) !important;
  text-decoration: none;
}
.breadcrumb-category.accent-purple:hover {
  color: var(--accent-purple) !important;
  border-color: rgba(139, 92, 246, 0.35) !important;
  background: rgba(139, 92, 246, 0.08) !important;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.15) !important;
  text-decoration: none;
}
.breadcrumb-category.accent-pink:hover {
  color: var(--accent-pink) !important;
  border-color: rgba(255, 61, 138, 0.35) !important;
  background: rgba(255, 61, 138, 0.08) !important;
  box-shadow: 0 0 12px rgba(255, 61, 138, 0.15) !important;
  text-decoration: none;
}


/* ------------------------------ /tools — kategori film şeridi karuseli ------------------------------ */
.reel-section { position: relative; padding: 44px 0 20px; overflow: hidden; min-height: calc(100vh - 70px); display: flex; flex-direction: column; }
.reel-head { text-align: center; position: relative; z-index: 5; }  /* başlık halkanın arka yüzünün önünde kalır */
.reel-head .breadcrumb { justify-content: center; }
.reel-eyebrow { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 12px; }
.reel-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 10px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}
.reel-meta { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--text-secondary); margin: 0; font-size: 15px; font-weight: 500; }
.reel-sep { color: var(--text-muted); }

.reel-viewport { position: relative; flex: 1; min-height: 540px; margin-top: 26px; perspective: 2400px; }
/* kapalı elips halka: her kart 60°'lik bir bant DİLİMİ (görselden geniş, arası salt delikli şerit).
   Kartlar silindire dizilir (JS rotateY+translateZ); hafif üstten bakış (rotateX) + eğim (rotateZ)
   → ön kavis alçakta, halkanın arkası yukarıda başlığın gerisinden bulanık döner — videodaki görünüm. */
.reel-strip { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(8deg); }
.reel-slide {
  --slide-w: min(56vw, 780px);
  position: absolute; left: 50%; top: 50%; width: var(--slide-w);
  display: block; padding: 0;
  background: #0a0e16;   /* film bandı zemini — yüzler bitişik, şerit kesintisiz */
  transform: translate(-50%, -50%);
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
/* halkanın arka yüzü: karanlık ve flu. DİKKAT: filter kartın KENDİSİNE uygulanmaz —
   filter 3B düzleştirme yapar ve preserve-3d derinlik sıralamasını bozar; o yüzden
   yalnızca içerideki düz elemanlara (img/perf/label) uygulanır. */
.reel-slide.is-back { pointer-events: none; }
.reel-slide.is-back img { filter: blur(1.5px) brightness(0.35) grayscale(0.2); opacity: 0.4; }
.reel-slide.is-back .reel-perf { opacity: 0.3; }
.reel-slide.is-back .reel-slide-label { opacity: 0; }

/* film şeridi delikleri — bant diliminin tamamı boyunca.
   Koyu dikdörtgen delikler açık-koyu bandın üzerinde. Gerçek 35mm film perforasyonu etkisi. */
.reel-perf {
  display: block; height: 18px; margin: 0; position: relative;
  background-color: rgba(45, 38, 28, 0.55);
  background-image:
    repeating-linear-gradient(90deg, 
      transparent 0 6px, 
      rgba(0, 0, 0, 0.75) 6px calc(6px + 11px), 
      transparent calc(6px + 11px) 26px
    );
  transition: opacity 0.8s ease;
}

.reel-slide img {
  width: calc(100% - 16px); height: clamp(280px, 42vh, 380px); object-fit: cover;
  display: block; border-radius: 2px; margin: 4px auto;
  transition: filter 0.8s ease, transform 0.8s ease, opacity 0.8s ease;
  opacity: 0.85;
  filter: brightness(0.8);
  transform: scale(1);
}
.reel-slide.is-center img {
  opacity: 1;
  filter: brightness(1);
  transform: scale(1);
}

.reel-perf, .reel-slide-label { transition: opacity 0.8s ease; }
.reel-slide-label {
  display: none; /* Temiz görsel görünüm için resim üstündeki etiket gizlenir, başlıkta zaten yazar */
}
.reel-slide-count { color: var(--text-muted); font-weight: 500; font-size: 12.5px; }
.reel-slide.is-center:hover img { filter: brightness(1.08); }

/* videodaki gibi koyu, köşeleri hafif yumuşatılmış KARE ok butonları — alt köşelere sabitli */
.reel-arrow {
  position: absolute; bottom: 30px; z-index: 20;
  width: 50px; height: 50px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(4, 8, 14, 0.92); border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.reel-arrow:hover { border-color: rgba(255,255,255,0.3); box-shadow: 0 0 12px rgba(255,180,60,0.3); transform: scale(1.06); }
.reel-arrow--prev { left: 30px; }
.reel-arrow--prev svg { transform: scaleX(-1); }
.reel-arrow--next { right: 30px; }

.reel-dots { display: flex; justify-content: center; gap: 10px; margin: 14px 0 8px; }
.reel-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); padding: 0;
  background: rgba(255,255,255,0.15); transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.reel-dot:hover { background: rgba(255,255,255,0.45); }
.reel-dot.is-active { background: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.7); transform: scale(1.2); box-shadow: 0 0 8px rgba(255,255,255,0.4); }

.reel-scroll-hint {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--text-muted); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  margin: 2px 0 14px; animation: hintPulse 2.4s ease-in-out infinite;
}
@keyframes hintPulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.95; } }

/* ------------------------------ kategori vaka sayfası (case) ------------------------------ */
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; }
.case-markers { display: flex; gap: 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--text-muted); }
.case-markers .is-active { color: var(--text-primary); }
.case-close {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  color: var(--text-secondary); font-weight: 600; font-size: 14px;
  padding: 9px 18px; border: 1px solid var(--border-glass); border-radius: var(--radius-full);
  background: var(--bg-surface); transition: color 0.2s ease, border-color 0.2s ease;
}
.case-close:hover { color: #fff; border-color: var(--border-glass-hover); }

.case-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 44px; padding-bottom: 72px; }
.case-hero h1,
.glass-frame {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: clamp(20px, 2.8vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 12px 0 18px 0;
  padding: 10px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(11, 42, 74, 0.65) 0%, rgba(6, 21, 39, 0.80) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 14px 40px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(34, 211, 238, 0.15),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.35);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.case-hero h1:hover,
.glass-frame:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 
    0 18px 48px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(34, 211, 238, 0.28),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.45);
}
.case-hero h1 .glass-shimmer,
.glass-frame .glass-shimmer {
  font-size: inherit;
  line-height: inherit;
}
.case-kicker { font-size: 19px; color: var(--text-secondary); margin-bottom: 12px; }
.case-intro { color: var(--text-muted); max-width: 480px; margin-bottom: 30px; }
.case-hero-visual { position: relative; transform: rotate(-2deg); transition: transform 0.4s ease; }
.case-hero-visual:hover { transform: rotate(0deg); }
.case-hero-visual img { width: 100%; display: block; border-radius: var(--radius-xl); border: 1px solid var(--border-glass-hover); box-shadow: var(--shadow-lg); }
.case-badge {
  position: absolute; top: 18px; right: 18px;
  background: rgba(9,27,50,0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass-hover); border-radius: var(--radius-full);
  color: #fff; padding: 8px 16px; font-weight: 600; font-size: 13.5px;
}

.case-marker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.case-sec-head { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.case-tools { padding-bottom: 88px; }
.case-tools h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.case-list { list-style: none; margin: 30px 0 0; padding: 0; }
.case-list li { border-top: 1px solid var(--border-glass); }
.case-list li:last-child { border-bottom: 1px solid var(--border-glass); }
.case-list a {
  display: grid; grid-template-columns: 52px minmax(0, 300px) minmax(0, 1fr) 32px;
  gap: 20px; align-items: center; padding: 17px 6px;
  color: var(--text-secondary); transition: background 0.2s ease, padding 0.2s ease;
}
.case-list a:hover { background: var(--bg-surface); padding-left: 16px; }
.case-num { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.case-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--text-primary); }
.case-list a:hover .case-name { color: var(--accent-cyan); }
.case-line { font-size: 14.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-arrow { color: var(--text-muted); transition: transform 0.2s ease, color 0.2s ease; }
.case-list a:hover .case-arrow { transform: translateX(5px); color: var(--accent-cyan); }

.case-next { position: relative; overflow: hidden; padding: 96px 0 110px; text-align: center; border-top: 1px solid var(--border-glass); }
.case-next::before {
  content: ""; position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%);
  width: 560px; height: 340px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(139,92,246,0.35), transparent 70%);
  opacity: 0.25;
}
.case-next h2 { font-size: clamp(38px, 5vw, 58px); margin: 16px 0 10px; }
.case-next p { color: var(--text-secondary); max-width: 460px; margin: 0 auto 32px; }

/* ------------- category tool stacked card stage ------------- */
.case-tools.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-bottom);
  perspective: 1400px;
}
.cat-tool-card {
  position: absolute;
  top: 50%;
  cursor: pointer;
  width: clamp(290px, 23.5vw, 470px);
  height: min(65vh, 480px);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.4rem;
  padding-bottom: 1.3rem;
  border-radius: 1.4rem;
  color: var(--text-primary);
  transform-origin: top center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: layout style paint;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transition: box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
@media (max-width: 820px) {
  .cat-tool-card {
    width: calc(100% - 2.4rem) !important;
    height: 70vh !important;
    left: 50% !important;
  }
}
/* Accent-specific glows on hover */
.cat-tool-card.accent-cyan:hover {
  border-color: rgba(34,211,238,0.4) !important;
  box-shadow: 
    0 30px 60px -15px rgba(0,0,0,0.65), 
    0 0 50px -10px rgba(34,211,238,0.18);
}
.cat-tool-card.accent-purple:hover {
  border-color: rgba(139,92,246,0.4) !important;
  box-shadow: 
    0 30px 60px -15px rgba(0,0,0,0.65), 
    0 0 50px -10px rgba(139,92,246,0.18);
}
.cat-tool-card.accent-pink:hover {
  border-color: rgba(255,61,138,0.4) !important;
  box-shadow: 
    0 30px 60px -15px rgba(0,0,0,0.65), 
    0 0 50px -10px rgba(255,61,138,0.18);
}
.cat-tool-card .card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.cat-tool-card .card-number {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-primary);
}
.cat-tool-card .card-label {
  font-family: "Space Grotesk", var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.70);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 10px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.cat-tool-card.accent-cyan:hover .card-label {
  color: var(--accent-cyan);
  border-color: rgba(34, 211, 238, 0.40);
  background: rgba(34, 211, 238, 0.08);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.20);
}
.cat-tool-card.accent-purple:hover .card-label {
  color: var(--accent-purple);
  border-color: rgba(139, 92, 246, 0.40);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.20);
}
.cat-tool-card.accent-pink:hover .card-label {
  color: var(--accent-pink);
  border-color: rgba(255, 61, 138, 0.40);
  background: rgba(255, 61, 138, 0.08);
  box-shadow: 0 0 12px rgba(255, 61, 138, 0.20);
}
.cat-tool-card .card-image-wrap {
  overflow: hidden;
  border-radius: 0.9rem;
  background: #09131e;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/10;
}
.cat-tool-card .card-image-wrap img {
  filter: saturate(0.95) contrast(1.02);
  transition: transform 600ms cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-tool-card:hover .card-image-wrap img {
  transform: scale(1.04);
}
.cat-tool-card .card-desc {
  font-size: 0.85rem;
  line-height: 1.5em;
  height: 4.5em; /* exactly 3 lines */
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-tool-card .card-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}
@keyframes card-name-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.cat-tool-card .card-bottom-row h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  /* Glass shimmer effect */
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0.65) 0%,
    rgba(255,255,255,1)    28%,
    rgba(180,220,255,1)    42%,
    rgba(255,255,255,1)    56%,
    rgba(200,180,255,0.9)  70%,
    rgba(255,255,255,0.65) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: card-name-shimmer 4s linear infinite;
  animation-play-state: paused;
}
.cat-tool-card.is-active-card .card-bottom-row h3 {
  animation-play-state: running;
}
.cat-tool-card:hover .card-bottom-row h3 {
  animation-duration: 1.6s;
  filter: drop-shadow(0 0 8px rgba(180,210,255,0.55));
}
.cat-tool-card .card-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.62rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  background: var(--text-primary);
  color: var(--bg-bottom);
  text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,0.55);
  transition: gap 0.3s, transform 0.3s;
}
.cat-tool-card .card-cta:hover {
  gap: 0.78em;
  transform: translateY(-1px);
  color: var(--bg-bottom);
}
.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background:
    linear-gradient(var(--border-glass) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, var(--border-glass) 1px, transparent 1px) 0 0 / 25% 100%;
}

@media (max-width: 992px) {
  .cat-tool-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .cat-tool-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ------------------------------ tool page ------------------------------ */
.tool-page-bg {
  position: absolute; left: 0; right: 0; top: 0; height: 920px; z-index: -1;
  background: var(--bg-gradient);
  background-image: url('/assets/img/bg-glow.svg');
  background-size: 1200px 560px; background-position: 85% -55%; background-repeat: no-repeat;
  mask-image: linear-gradient(180deg, #000 62%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent);
}
/* photo variant: per-tool image covers the whole page and reads through every frosted card */
.tool-page-bg--photo {
  position: fixed; inset: 0; height: auto;
  mask-image: none;
  -webkit-mask-image: none;
  background-image:
    linear-gradient(180deg, rgba(11,42,74,0.52) 0%, rgba(9,30,58,0.62) 55%, rgba(6,21,39,0.86) 100%),
    var(--hero-photo);
  background-size: cover, cover;
  background-position: center, center 25%;
  background-repeat: no-repeat, no-repeat;
}
body.page-tool main { position: relative; }
.tool-layout { max-width: 920px; margin: 0 auto; padding-top: 40px; padding-bottom: 40px; }
.tool-main { min-width: 0; }
.tool-header { display: flex; align-items: flex-start; gap: 18px; margin: 6px 0 26px; }
.tool-header h1 { font-size: 38px; margin-bottom: 6px; }
.tool-tagline { font-size: 16.5px; color: var(--text-secondary); margin: 0; max-width: 640px; }
/* frosted glass: translucent + heavy backdrop blur so the tool photo reads through the card */
.tool-shell {
  padding: 26px;
  background: rgba(9, 27, 50, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  box-shadow: var(--shadow-lg);
}
.tool-shell:hover { transform: none; box-shadow: var(--shadow-lg); border-color: rgba(255, 255, 255, 0.14); }
.tool-noscript { color: var(--warning); margin: 0; }
.tool-loading { display: flex; gap: 6px; justify-content: center; padding: 30px 0; }
.tool-loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); opacity: 0.4; animation: loadPulse 1.2s ease-in-out infinite; }
.tool-loading span:nth-child(2) { animation-delay: 0.2s; }
.tool-loading span:nth-child(3) { animation-delay: 0.4s; }
@keyframes loadPulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }

.tool-section { margin-top: 52px; }
.tool-section h2 { font-size: 26px; }
/* frosted-glass content cards: bright, blurry, slightly transparent so the tool photo glows through */
.page-tool .tool-section,
.page-tool .tool-cta {
  padding: 28px 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(23, 51, 89, 0.42), rgba(9, 27, 50, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.page-tool .tool-section { margin-top: 28px; }
/* inner cards sit on glass already — keep them airy instead of doubling the panel look */
.page-tool .tool-example,
.page-tool .card-grid--related .tool-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.page-tool .faq-item { background: rgba(255, 255, 255, 0.04); }
.tool-steps { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.tool-steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-surface-hover); border: 1px solid rgba(34,211,238,0.3);
  color: var(--accent-cyan); font-weight: 600; font-size: 14px;
}
.tool-steps h3 { font-size: 16.5px; margin-bottom: 3px; }
.tool-steps p { margin: 0; font-size: 15px; }
/* real-world example cards (content from the per-tool copy file) */
.tool-examples { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.tool-example { padding: 20px 22px; cursor: default; }
.tool-example:hover { transform: none; }
.tool-example h3 { font-size: 16.5px; margin-bottom: 10px; }
.tool-example .example-row { margin: 8px 0 0; font-size: 14.5px; color: var(--text-secondary); overflow-wrap: anywhere; }
.tool-example .example-row strong { color: var(--text-primary); font-weight: 600; }
.tool-example .example-row ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.tool-example .example-row li { padding-left: 14px; position: relative; }
.tool-example .example-row li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-cyan); opacity: 0.7; }
/* why-use benefit list */
.tool-why { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
.tool-why li { font-size: 14.5px; color: var(--text-secondary); padding-left: 24px; position: relative; }
.tool-why li strong { color: var(--text-primary); font-weight: 600; }
.tool-why li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent-cyan); font-weight: 700; }
/* compact related card with its own description text */
.tool-card--compact .tool-card-text { min-width: 0; }
.tool-card--compact .tool-card-text h3 { font-size: 16px; margin: 0; }
.tool-card--compact .tool-card-text p { margin: 4px 0 0; font-size: 13.5px; color: var(--text-secondary); }
.tool-cta {
  margin-top: 56px; text-align: center; padding: 44px 28px;
  background: var(--bg-surface); border: 1px solid var(--border-glass); border-radius: var(--radius-xl);
}
.tool-cta h2 { font-size: 26px; }
.tool-cta p { max-width: 440px; margin: 0 auto 24px; }

/* ------------------------------ tool runtime UI (rendered by core.js) ------------------------------ */
.tv-opts { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-end; margin-bottom: 18px; }
.tv-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tv-field--grow { flex: 1 1 220px; }
.tv-label { font-size: 12.5px; font-weight: 500; letter-spacing: 0.03em; color: var(--text-muted); }
.tv-input, .tv-select, .tv-textarea {
  background: rgba(6,21,39,0.55); border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-family: var(--font-body); font-size: 14.5px; padding: 10px 13px;
  transition: border-color 0.15s ease; max-width: 100%;
}
.tv-input:focus, .tv-select:focus, .tv-textarea:focus { outline: none; border-color: rgba(34,211,238,0.5); }
.tv-input[type="number"] { width: 110px; }
.tv-input[type="date"], .tv-input[type="time"], .tv-input[type="datetime-local"] { color-scheme: dark; }
.tv-select { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237F93A8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.tv-textarea { width: 100%; min-height: 170px; resize: vertical; font-family: var(--font-mono); font-size: 14px; line-height: 1.5; }
.tv-textarea--body { font-family: var(--font-body); }
.tv-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); cursor: pointer; padding-bottom: 8px; }
.tv-check input { accent-color: var(--accent-purple); width: 16px; height: 16px; }
.tv-range-wrap { display: flex; align-items: center; gap: 12px; }
.tv-range { accent-color: var(--accent-purple); width: 170px; }
.tv-range-val { font-family: var(--font-mono); font-size: 13px; color: var(--text-secondary); min-width: 46px; text-align: right; }
.tv-color { width: 44px; height: 36px; padding: 3px; background: var(--bg-surface); border: 1px solid var(--border-glass); border-radius: var(--radius-sm); cursor: pointer; }

.tv-io { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tv-io--stack { grid-template-columns: 1fr; }
.tv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg-surface-hover); border: 1px solid var(--border-glass);
  color: var(--text-primary); font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: var(--radius-full);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.tv-btn:hover { border-color: var(--border-glass-hover); background: rgba(255,255,255,0.1); }
.tv-btn--primary { background: var(--accent-gradient); border: none; color: #fff; }
.tv-btn--primary:hover { box-shadow: var(--shadow-glow-purple); }
.tv-btn--sm { padding: 7px 13px; font-size: 12.5px; }
.tv-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }

.tv-outbox { margin-top: 18px; background: rgba(6,21,39,0.55); border: 1px solid var(--border-glass); border-radius: var(--radius-md); overflow: hidden; }
.tv-outbar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border-glass); }
.tv-outbar-label { font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); margin-right: auto; }
.tv-out {
  margin: 0; padding: 14px 16px; font-family: var(--font-mono); font-size: 14px; line-height: 1.55;
  color: var(--text-primary); white-space: pre-wrap; word-break: break-word;
  min-height: 54px; max-height: 420px; overflow: auto;
}
.tv-out--body { font-family: var(--font-body); }
.tv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin-top: 18px; }
.tv-stat { background: rgba(6,21,39,0.55); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 16px; text-align: center; }
.tv-stat b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--text-primary); }
.tv-stat span { font-size: 12.5px; color: var(--text-muted); }
.tv-big { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--text-primary); text-align: center; padding: 22px 16px; word-break: break-word; }
.tv-big small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--text-muted); margin-top: 6px; }

.tv-preview {
  display: flex; align-items: center; justify-content: center; min-height: 190px; padding: 28px;
  background:
    linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.03) 75%),
    rgba(6,21,39,0.4);
  background-size: 22px 22px;
  border: 1px solid var(--border-glass); border-radius: var(--radius-md); margin-bottom: 18px;
  overflow: hidden;
}
.tv-preview-box { width: 130px; height: 130px; background: var(--accent-purple); border-radius: 12px; }

.tv-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 2px dashed var(--border-glass-hover); border-radius: var(--radius-md);
  padding: 44px 20px; text-align: center; color: var(--text-muted); cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.tv-drop:hover, .tv-drop.is-over { border-color: rgba(34,211,238,0.5); background: rgba(34,211,238,0.04); color: var(--text-secondary); }
.tv-drop input { display: none; }
.tv-drop svg { color: var(--accent-cyan); }
.tv-canvas-wrap { margin-top: 18px; text-align: center; }
.tv-canvas-wrap canvas { max-width: 100%; height: auto; border: 1px solid var(--border-glass); border-radius: var(--radius-sm); background: rgba(6,21,39,0.4); }

.tv-msg { margin-top: 14px; padding: 11px 15px; border-radius: var(--radius-sm); font-size: 14px; }
.tv-msg--error { background: rgba(244,63,94,0.1); border: 1px solid rgba(244,63,94,0.35); color: #FDA4AF; }
.tv-msg--ok { background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.3); color: var(--accent-mint); }
.tv-msg--info { background: var(--bg-surface); border: 1px solid var(--border-glass); color: var(--text-secondary); }

.tv-table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--border-glass); border-radius: var(--radius-md); }
.tv-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tv-table th { text-align: left; padding: 10px 14px; background: var(--bg-surface); color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.tv-table td { padding: 9px 14px; border-top: 1px solid var(--border-glass); color: var(--text-secondary); font-family: var(--font-mono); font-size: 13px; }
.tv-swatches { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tv-swatch { flex: 1 1 90px; border-radius: var(--radius-md); border: 1px solid var(--border-glass); overflow: hidden; cursor: pointer; background: none; padding: 0; }
.tv-swatch > i { display: block; height: 64px; }
.tv-swatch > span { display: block; padding: 7px 4px; font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); text-align: center; }
.tv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tv-diff-add { background: rgba(52,211,153,0.12); color: #A7F3D0; display: block; }
.tv-diff-del { background: rgba(244,63,94,0.12); color: #FDA4AF; display: block; text-decoration: none; }
.tv-copied { color: var(--accent-mint) !important; border-color: rgba(52,211,153,0.4) !important; }
.tv-mono-sm { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }

/* ------------------------------ info pages ------------------------------ */
.info-content { padding: 16px 24px 88px; }
.info-content h2 { font-size: 24px; margin-top: 40px; }
.info-content p { color: var(--text-secondary); }

/* ---------------------- premium info pages (about/legal/contact) ---------------------- */
.container-info { max-width: 900px; }
.info-wrap { padding: 8px 24px 88px; display: flex; flex-direction: column; gap: 24px; }
.info-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.info-hero-chips .chip { cursor: default; }
/* frosted glass cards matching the tool pages */
.info-card {
  padding: 30px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(23, 51, 89, 0.42), rgba(9, 27, 50, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.info-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.info-card-head h2 { font-size: 22px; margin: 0; }
.info-card p { color: var(--text-secondary); font-size: 15.5px; }
.info-card p:last-child { margin-bottom: 0; }
.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.info-list li { color: var(--text-secondary); font-size: 15px; padding-left: 24px; position: relative; }
.info-list li strong { color: var(--text-primary); }
.info-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent-cyan); font-weight: 700; }
/* stat band */
.info-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-stat {
  text-align: center; padding: 22px 12px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.info-stat b { display: block; font-family: var(--font-display); font-size: 30px; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.info-stat span { font-size: 13px; color: var(--text-muted); }
/* category mini-cards inside About */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.info-mini { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.info-mini h3 { font-size: 16px; margin: 0 0 4px; }
.info-mini p { font-size: 13.5px; margin: 0 0 8px; }
.info-cta { margin-top: 8px; }
/* contact page */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .tv-input, .contact-form .tv-select { width: 100%; }
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.form-note { font-size: 12.5px; color: var(--text-muted); margin: 0; }
.contact-success { text-align: center; padding: 28px 12px; }
.contact-success .icon-badge { width: 56px; height: 56px; margin: 0 auto 16px; }
.contact-success h3 { font-size: 20px; }
.contact-success p { color: var(--text-secondary); max-width: 400px; margin: 0 auto; }

/* ------------------------------ footer (§26) ------------------------------ */
.site-footer { background: var(--bg-bottom); border-top: 1px solid var(--border-glass); padding: 72px 0 32px; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; bottom: -180px; left: 12%;
  width: 420px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.5), transparent 65%);
  opacity: 0.1; filter: blur(60px); pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 2.8fr 1.1fr 1.1fr; gap: 56px; }

/* Footer headings */
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Footer links */
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  color: rgba(195, 211, 227, 0.75);
  font-size: 13.2px;
  font-weight: 300;
  letter-spacing: 0.015em;
  transition: color 0.22s ease, letter-spacing 0.22s ease;
}
.footer-col a:hover {
  color: var(--accent-cyan);
  letter-spacing: 0.025em;
}

/* Footer about paragraph */
.footer-about p {
  font-size: 13.2px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.015em;
  color: rgba(195, 211, 227, 0.70);
  max-width: 480px;
  margin-top: 16px;
}
.footer-logo .logo-text { font-size: 18px; }

/* Footer bottom bar */
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border-glass);
  font-size: 12.2px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(195, 211, 227, 0.55);
}
.footer-bottom p { margin: 0; }
.footer-privacy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.2px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(195, 211, 227, 0.55);
}
.footer-privacy svg { color: var(--accent-mint); opacity: 0.75; }


/* ------------------------------ responsive ------------------------------ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; max-width: 560px; margin: 0 auto; width: 100%; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (max-width: 1280px) {
  .header-inner { gap: 16px; }
  .main-nav { gap: 2px; }
  .main-nav a { padding: 8px 9px; font-size: 13.5px; }
  .search-trigger kbd { display: none; }
}
@media (max-width: 1140px) {
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 99;
    flex-direction: column; gap: 2px; padding: 12px 20px 20px;
    background: rgba(6,21,39,0.97); border-bottom: 1px solid var(--border-glass);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; font-size: 16px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 40px; height: 40px; padding: 0 9px;
    background: var(--bg-surface); border: 1px solid var(--border-glass); border-radius: var(--radius-sm);
  }
  .nav-toggle span { display: block; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform 0.2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}
@media (max-width: 820px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .page-hero h1 { font-size: 32px; }
  .tool-header h1 { font-size: 28px; }
  .card-grid, .card-grid--dense { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .card-grid--related { grid-template-columns: 1fr; }
  .tool-why { grid-template-columns: 1fr; }
  .info-stats { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .info-card { padding: 24px 20px; }
  .section { padding: 60px 0; }
  .header-cta { display: none; }
  .search-trigger-label { display: none; }
  .search-trigger kbd { display: none; }
  .steps { flex-direction: column; align-items: center; gap: 36px; }
  .step-line { display: none; }
  .trust-strip-row { gap: 20px 28px; }
  .tv-io, .tv-split { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 60px; }
  .hero-sub { font-size: 16.5px; }
  /* film şeridi — mobil */
  .reel-slide { --slide-w: 84vw; }
  .reel-slide img { height: clamp(200px, 34vh, 300px); }
  .reel-slide-label { left: 18px; bottom: 40px; font-size: 13px; }
  .reel-arrow { width: 44px; height: 44px; bottom: 30px; }
  .reel-arrow--prev { left: 14px; }
  .reel-arrow--next { right: 14px; }
  /* vaka sayfası — mobil */
  .case-hero { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .case-hero h1 { font-size: clamp(24px, 6vw, 40px); padding: 10px 20px; border-radius: 18px; }
  .case-markers { gap: 16px; font-size: 11px; }
  .case-list a { grid-template-columns: 40px minmax(0, 1fr) 26px; gap: 10px 14px; padding: 14px 4px; }
  .case-name { font-size: 17px; grid-column: 2; grid-row: 1; }
  .case-line { grid-column: 2; grid-row: 2; white-space: normal; }
  .case-num { grid-row: 1 / span 2; }
  .case-arrow { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 520px) {
  .card-grid, .card-grid--dense { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; }
  .holo-widget { display: none; }
  .tl-6, .tl-7 { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .hero-actions { gap: 16px; }
  .btn-lg { padding: 14px 26px; }
}

/* ------------------------------ motion budget (§20) ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* scroll reveal — fade + slide only, 200–300ms */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.28s ease, transform 0.28s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ═══════════════════════════════════════════════════
   Hero entrance animation — same as homepage hero
   Uses: opacity 0→1 + translateY(22px→0)
   Duration 1.8s, cubic-bezier(0.16,1,0.3,1) = slow elastic out
   Each .hero-reveal element animates independently with delay
═══════════════════════════════════════════════════ */
@keyframes heroFadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.hero-reveal {
  opacity: 0;
  animation: heroFadeInUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-reveal.d1 { animation-delay: 0.15s; }
.hero-reveal.d2 { animation-delay: 0.40s; }
.hero-reveal.d3 { animation-delay: 0.65s; }
.hero-reveal.d4 { animation-delay: 0.90s; }
.hero-reveal.d5 { animation-delay: 1.15s; }
.hero-reveal.d6 { animation-delay: 1.40s; }
.hero-reveal.d7 { animation-delay: 1.65s; }

@media (prefers-reduced-motion: reduce) {
  .hero-reveal { opacity: 1; animation: none; }
}

/* ═══════════════════════════════════════════════════
   Glass shimmer — moving gradient light sweep
   Use on any text element: adds pink/purple/white
   gradient that slowly sweeps left to right like
   light reflecting off a glass surface.
   No color change on hover — purely decorative glow.
═══════════════════════════════════════════════════ */
.glass-shimmer {
  display: inline;
  background: linear-gradient(
    105deg,
    var(--accent-pink, #f472b6) 0%,
    var(--accent-purple, #a78bfa) 30%,
    #ffffff 50%,
    var(--accent-pink, #f472b6) 70%,
    var(--accent-purple, #a78bfa) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glassSwipe 4s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
}

@keyframes glassSwipe {
  0%   { background-position: 0% center; }
  100% { background-position: -200% center; }
}

@media (prefers-reduced-motion: reduce) {
  .glass-shimmer { animation: none; background-position: 0% center; }
}

/* ═══════════════════════════════════════════════════
   Legal & Informational Pages Design System
═══════════════════════════════════════════════════ */

.legal-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
  margin-bottom: 64px;
}

.legal-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-glass);
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-toc-list a {
  display: block;
  padding: 7px 10px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.legal-toc-list a:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
}

.legal-toc-list a.is-active {
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.1);
  font-weight: 600;
}

.legal-article {
  max-width: 820px;
  font-size: 16.5px;
  line-height: 1.7;
}

.legal-article section, .legal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.legal-article section:hover, .legal-card:hover {
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-md);
}

.legal-article h2 {
  scroll-margin-top: 100px;
  font-size: 24px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-article h3 {
  scroll-margin-top: 100px;
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-article p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.legal-article ul, .legal-article ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.legal-article li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  margin-bottom: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-muted);
}

.legal-meta-bar strong {
  color: var(--text-primary);
}

/* Callout Cards (§6) */
.callout {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
}

.callout-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.callout-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.callout-content p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
}

.callout-privacy {
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.25);
}
.callout-privacy .callout-content h4 { color: var(--accent-cyan); }
.callout-privacy .callout-content p { color: var(--text-secondary); }

.callout-security {
  background: rgba(251, 146, 60, 0.06);
  border-color: rgba(251, 146, 60, 0.25);
}
.callout-security .callout-content h4 { color: var(--accent-amber); }
.callout-security .callout-content p { color: var(--text-secondary); }

.callout-info {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.25);
}
.callout-info .callout-content h4 { color: var(--accent-purple); }
.callout-info .callout-content p { color: var(--text-secondary); }

/* Contact Cards Grid & Form (§6) */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0 48px;
}

.contact-type-card {
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-type-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-glass-hover);
}

.contact-type-card .icon-badge {
  margin-bottom: 16px;
}

.contact-type-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-type-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-form-wrap {
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  margin-top: 40px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: rgba(6, 21, 39, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.form-select option {
  background: var(--bg-bottom);
  color: var(--text-primary);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-checkbox-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  margin-top: 6px;
}

.form-checkbox-label input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin: 2px 0 0 0 !important;
  flex-shrink: 0 !important;
  cursor: pointer;
  accent-color: var(--accent-cyan);
}

.form-checkbox-label span {
  flex: 1;
  line-height: 1.5;
}

.contact-notice {
  font-size: 13px;
  color: var(--text-muted);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-glass);
  border-radius: var(--radius-sm);
  margin-top: 10px;
}

@media (max-width: 1024px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-sidebar {
    position: static;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 20px; }
}

/* Print Stylesheet (§7.13) */
@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 12pt;
  }
  .site-header, .site-footer, .search-overlay, .legal-sidebar, .page-hero-sub, .info-hero-chips, .header-cta, .tool-cta {
    display: none !important;
  }
  .legal-grid {
    display: block !important;
    margin: 0 !important;
  }
  .legal-article {
    max-width: 100% !important;
    color: #111827 !important;
  }
  .legal-article h1, .legal-article h2, .legal-article h3 {
    color: #000000 !important;
    page-break-after: avoid;
  }
  .callout {
    background: #f9fafb !important;
    border: 1px solid #d1d5db !important;
    color: #111827 !important;
  }
  a {
    color: #000000 !important;
    text-decoration: underline !important;
  }
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 90%;
  }
}

/* ============================================================
   Prism Core — Section 5 Footer & Lockup System
   ============================================================ */
.tt-footer{background:var(--tt-navy-900);color:var(--tt-text-2);padding:40px 24px}

.tt-lockup{display:inline-flex;align-items:center;gap:11px;text-decoration:none;line-height:1;transition:transform 0.3s ease}
.tt-lockup:hover{transform:translateY(-1px)}
.tt-lockup .tt-mark{
  width:34px;height:34px;display:block;flex:0 0 auto;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.6)) drop-shadow(0 0 20px rgba(139, 92, 246, 0.45));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.tt-lockup:hover .tt-mark{
  transform: scale(1.08) rotate(6deg);
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.9)) drop-shadow(0 0 28px rgba(255, 61, 138, 0.75));
}

.tt-name,
.logo-text {
  font: 900 21px/1 'Unbounded', 'Syne', system-ui, sans-serif;
  letter-spacing: -0.04em;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  background:
    linear-gradient(90deg, transparent 38%, rgba(255, 255, 255, 0.25) 44%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.25) 56%, transparent 62%),
    linear-gradient(90deg, #22D3EE 0%, #A78BFA 50%, #FF85C0 78%, #22D3EE 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text, text;
  background-clip: text, text;
  color: transparent;
  animation: ttTextSlide 10s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.5));
}
.tt-name span,
.logo-text span {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tt-tagline{display:none !important}

/* footer'da hareketi bir tik daha sakinlestir */
.tt-footer .tt-mark .tt-comet{animation-duration:12s}
.tt-footer .tt-mark .tt-core{animation-duration:10s}
.tt-footer .tt-mark .tt-node{animation-duration:8s}

@media (max-width:480px){
  .tt-lockup .tt-mark{width:28px;height:28px}
  .tt-name{font-size:17px}
}


