/* =========================================================
   inovoice — Design System
   ========================================================= */
:root {
    --accent: #FF2D20;
    --accent-2: #FF6A3D;
    --accent-soft: rgba(255, 45, 32, .12);
    --font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --radius: 14px;
    --radius-lg: 22px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --container: 1240px;

    /* dark (default) */
    --bg: #0a0a0a;
    --bg-2: #111111;
    --surface: #141414;
    --surface-2: #1b1b1b;
    --border: rgba(255, 255, 255, .08);
    --border-2: rgba(255, 255, 255, .14);
    --text: #EDEDEC;
    --text-2: #A1A09A;
    --text-3: #706f6a;
    --grid-line: rgba(255, 255, 255, .045);
    --shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
    --glass: rgba(20, 20, 20, .7);
}

[data-theme="light"] {
    --bg: #FDFDFC;
    --bg-2: #F6F6F4;
    --surface: #FFFFFF;
    --surface-2: #F4F4F2;
    --border: rgba(10, 10, 10, .08);
    --border-2: rgba(10, 10, 10, .14);
    --text: #1b1b18;
    --text-2: #5c5b56;
    --text-3: #6e6d67;
    --grid-line: rgba(10, 10, 10, .05);
    --shadow: 0 30px 80px -24px rgba(30, 20, 10, .22);
    --glass: rgba(255, 255, 255, .75);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    transition: background .4s var(--ease), color .4s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 600; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon-sm { width: 17px; height: 17px; }
.icon-xs { width: 13px; height: 13px; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-3); }
.text-gradient {
    background: linear-gradient(90deg, var(--accent), var(--accent-2), #FFB547, var(--accent));
    background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: gradientShift 6s linear infinite;
}
@keyframes gradientShift { to { background-position: 300% 0; } }
.link { color: var(--accent); border-bottom: 1px solid currentColor; }
.hide-mobile { }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: 10px;
    font-weight: 500; font-size: 15px; white-space: nowrap;
    transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s, color .3s;
    position: relative; overflow: hidden; isolation: isolate;
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 8px 30px -8px rgba(255, 45, 32, .6);
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 12px 40px -6px rgba(255, 45, 32, .75); }
.btn-ghost { border: 1px solid var(--border-2); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-3); background: var(--surface-2); }

/* ---------- Eyebrow / pill ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
    color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 10px; border-radius: 999px;
    border: 1px solid var(--border-2); background: var(--glass); backdrop-filter: blur(10px);
    font-size: 13.5px; color: var(--text-2);
    transition: border-color .3s, color .3s;
}
.pill:hover { border-color: var(--accent); color: var(--text); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 45, 32, .5); } 50% { box-shadow: 0 0 0 6px rgba(255, 45, 32, 0); } }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; display: inline-block; position: relative; }
.pulse-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* ---------- Loader & cursor ---------- */
.page-loader {
    position: fixed; inset: 0; z-index: 9999; background: var(--bg);
    display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s;
}
.loaded .page-loader { opacity: 0; visibility: hidden; }
.loader-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); animation: loaderSpin 1s var(--ease) infinite; }
@keyframes loaderSpin { 0% { transform: rotate(0) scale(.8); border-radius: 12px; } 50% { transform: rotate(90deg) scale(1); border-radius: 50%; } 100% { transform: rotate(180deg) scale(.8); border-radius: 12px; } }

.cursor-glow {
    position: fixed; top: 0; left: 0; width: 520px; height: 520px; border-radius: 50%;
    pointer-events: none; z-index: 0; opacity: 0;
    background: radial-gradient(circle, rgba(255, 45, 32, .09), transparent 65%);
    transform: translate(-50%, -50%); transition: opacity .5s;
}
body:hover .cursor-glow { opacity: 1; }
[data-theme="light"] .cursor-glow { background: radial-gradient(circle, rgba(255, 45, 32, .07), transparent 65%); }

/* ---------- Announcement ---------- */
.announce {
    position: relative; z-index: 60;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 9px 16px; font-size: 13.5px; color: var(--text-2);
    border-bottom: 1px solid var(--border); background: var(--bg-2);
    transition: color .3s;
}
.announce:hover { color: var(--text); }
.announce:hover .icon { transform: translateX(3px); }
.announce .icon { transition: transform .3s var(--ease); }
.announce-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #c41d12; color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.scrolled { background: var(--glass); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 21px; letter-spacing: -.03em; }
.logo-mark { width: 30px; height: 30px; color: var(--accent); display: inline-block; transition: transform .5s var(--ease); }
.logo-mark svg { width: 100%; height: 100%; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-dot { animation: dotBounce 2.8s var(--ease) infinite; transform-origin: center; }
@keyframes dotBounce { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-3px); } 90% { transform: translateY(1px); } }
.logo-mark.sm { width: 26px; height: 26px; }
.logo-mark.lg { width: 64px; height: 64px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-dropdown > a {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--text-2);
    transition: color .2s, background .2s;
}
.main-nav > a:hover, .nav-dropdown > a:hover, .main-nav a.active { color: var(--text); }
.main-nav > a:hover, .nav-dropdown:hover > a { background: var(--surface-2); }
.nav-badge { font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); margin-left: 4px; }
.chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-dropdown { position: relative; }
.nav-dropdown:hover .chev { transform: rotate(180deg); }
.mega {
    position: absolute; top: 100%; left: 50%; padding-top: 12px;
    transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s;
}
.nav-dropdown:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid {
    width: 720px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px;
    background: var(--surface); border: 1px solid var(--border-2); border-radius: 18px; box-shadow: var(--shadow);
}
.mega-item { display: flex; gap: 14px; padding: 12px; border-radius: 12px; transition: background .2s; }
.mega-item:hover { background: var(--surface-2); }
.mega-item strong { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 2px; }
.mega-item small { display: block; font-size: 13px; color: var(--text-2); line-height: 1.45; }
.mega-icon {
    width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
    color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent);
    transition: transform .3s var(--ease);
}
.mega-icon .icon { width: 19px; height: 19px; }
.mega-item:hover .mega-icon { transform: scale(1.1) rotate(-6deg); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .menu-toggle {
    width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border);
    display: grid; place-items: center; position: relative; overflow: hidden;
    transition: border-color .3s, background .3s;
}
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--border-2); background: var(--surface-2); }
.theme-toggle .icon, .menu-toggle .icon { width: 18px; height: 18px; position: absolute; transition: transform .5s var(--ease), opacity .3s; }
.icon-sun { transform: translateY(30px) rotate(90deg); opacity: 0; }
[data-theme="light"] .icon-sun { transform: none; opacity: 1; }
[data-theme="light"] .icon-moon { transform: translateY(-30px) rotate(-90deg); opacity: 0; }
.menu-toggle { display: none; }
.icon-close { opacity: 0; transform: rotate(-90deg); }
.menu-open .icon-close { opacity: 1; transform: none; }
.menu-open .icon-menu { opacity: 0; transform: rotate(90deg); }

.mobile-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .5s var(--ease);
}
.menu-open .mobile-menu { max-height: calc(100vh - 68px); overflow-y: auto; }
.mobile-menu .container { padding-top: 12px; padding-bottom: 24px; }
.mobile-link { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 20px; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-services { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 18px 0; }
.mobile-services a { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 10px; background: var(--surface); font-size: 13.5px; color: var(--text-2); }
.mobile-services .icon { color: var(--c); }

/* ---------- Reveal animations ---------- */
.reveal, .reveal-up { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal { transform: translateY(24px); filter: blur(6px); }
.reveal-up { transform: translateY(60px) scale(.97); }
.reveal.in, .reveal-up.in { opacity: 1; transform: none; filter: none; }

.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .16em; margin: 0 -.02em -.16em; }
.split-words .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * .07s + .15s); }
.split-words.in .w > span { transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 40px; overflow: hidden; }
.hero-grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 64px 64px; background-position: center top;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
}
.beam { position: absolute; background: linear-gradient(90deg, transparent, var(--accent), transparent); height: 1px; width: 160px; opacity: .8; }
.beam-1 { top: 128px; animation: beamX 7s linear infinite; }
.beam-2 { top: 320px; animation: beamX 9s linear infinite 2s; }
.beam-3, .beam-4 { width: 1px; height: 160px; background: linear-gradient(180deg, transparent, var(--accent), transparent); }
.beam-3 { left: calc(50% - 320px); animation: beamY 8s linear infinite 1s; }
.beam-4 { left: calc(50% + 384px); animation: beamY 10s linear infinite 4s; }
@keyframes beamX { from { left: -200px; } to { left: 110%; } }
@keyframes beamY { from { top: -200px; } to { top: 110%; } }
.hero-glow {
    position: absolute; top: -260px; left: 50%; width: 900px; height: 600px; transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(255, 45, 32, .22), transparent 60%);
    filter: blur(40px); pointer-events: none; animation: glowBreath 8s ease-in-out infinite;
}
@keyframes glowBreath { 50% { opacity: .6; transform: translateX(-50%) scale(1.1); } }
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: clamp(44px, 8.2vw, 104px); font-weight: 600; letter-spacing: -.045em; margin: 28px 0 24px; line-height: 1; }
.hero-sub { max-width: 640px; font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.hero-command {
    margin-top: 28px; font-family: var(--mono); font-size: 13.5px; color: var(--text-2);
    padding: 10px 16px; border-radius: 10px; border: 1px dashed var(--border-2); background: var(--bg-2);
    min-width: 330px; text-align: left;
}
.prompt { color: var(--accent); }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--accent); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-visual { margin-top: 70px; perspective: 1800px; position: relative; }
.hero-visual::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 140px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; z-index: 3; }

/* ---------- Window ---------- */
.window {
    position: relative; border-radius: var(--radius-lg); border: 1px solid var(--border-2);
    background: var(--surface); box-shadow: var(--shadow); transform-style: preserve-3d;
    transition: transform .6s var(--ease);
}
.hero-visual .window { transform: rotateX(14deg); transform-origin: top center; }
.hero-visual.in .window { animation: windowIn 1.6s var(--ease) .9s forwards; }
@keyframes windowIn { to { transform: rotateX(0); } }
.window-bar { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-2); }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.window-url { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--text-3); padding: 4px 12px; border-radius: 6px; background: var(--bg-2); }

.dash { display: flex; min-height: 420px; }
.dash-side { width: 64px; border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 0; }
.dash-logo { margin-bottom: 12px; color: var(--accent); }
.dash-nav { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--text-3); }
.dash-nav.on { background: var(--accent-soft); color: var(--accent); }
.dash-main { flex: 1; padding: 22px; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash-head small { display: block; color: var(--text-3); font-size: 12.5px; }
.dash-head strong { font-size: 20px; letter-spacing: -.02em; }
.live-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-2); position: relative; }
.kpi small { display: block; color: var(--text-3); font-size: 12px; }
.kpi strong { font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi em { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 6px; }
.up { color: #22C55E; background: rgba(34, 197, 94, .12); }
.dash-charts { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.chart-card { padding: 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-2); }
.chart-title { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 13.5px; font-weight: 500; }
.chart-title small { color: var(--text-3); }
.line-chart { width: 100%; height: 160px; overflow: visible; }
.line-chart .draw { stroke-dasharray: 700; stroke-dashoffset: 700; }
.in .line-chart .draw { animation: drawLine 2.4s var(--ease) 1.4s forwards; }
.line-chart .area { opacity: 0; }
.in .line-chart .area { animation: fadeIn 1.2s ease 2.6s forwards; }
.chart-dot { opacity: 0; }
.in .chart-dot { animation: dotPop .6s var(--ease) 3.4s forwards, dotGlow 2s ease-in-out 4s infinite; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes dotPop { from { opacity: 0; transform: scale(0); transform-origin: 400px 12px; } to { opacity: 1; transform: scale(1); transform-origin: 400px 12px; } }
@keyframes dotGlow { 50% { r: 7; } }
.bars { display: flex; flex-direction: column; gap: 13px; }
.bar-row { display: grid; grid-template-columns: 74px 1fr 36px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); }
.bar-row b { font-weight: 500; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 99px; background: var(--border); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 1.6s var(--ease); }
.in .bar i { width: var(--w); }
.bar-row:nth-child(2) i { transition-delay: .15s; } .bar-row:nth-child(3) i { transition-delay: .3s; } .bar-row:nth-child(4) i { transition-delay: .45s; } .bar-row:nth-child(5) i { transition-delay: .6s; }

.float-card {
    position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px 12px 12px; border-radius: 14px; border: 1px solid var(--border-2);
    background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow); font-size: 13px; opacity: 0;
}
.float-card strong { display: block; font-weight: 600; }
.float-card small { color: var(--text-3); }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.fc-icon.wa { background: #22C55E; } .fc-icon.ai { background: #A855F7; } .fc-icon.crm { background: #F59E0B; }
.fc-1 { top: 110px; left: -40px; }
.fc-2 { top: 40px; right: -50px; }
.fc-3 { bottom: 70px; right: -30px; }
.in .fc-1 { animation: popIn .8s var(--ease) 2.2s forwards, floatY 6s ease-in-out 3s infinite; }
.in .fc-2 { animation: popIn .8s var(--ease) 2.6s forwards, floatY 7s ease-in-out 3.4s infinite; }
.in .fc-3 { animation: popIn .8s var(--ease) 3s forwards, floatY 5.5s ease-in-out 3.8s infinite; }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Logos marquee ---------- */
.logos { padding: 50px 0 30px; }
.logos-title { text-align: center; color: var(--text-3); font-size: 14px; margin-bottom: 28px; padding: 0 24px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -.03em; color: var(--text-3); white-space: nowrap; transition: color .3s; }
.brand:hover { color: var(--text); }
.brand-glyph { width: 18px; height: 18px; border-radius: 5px; border: 2px solid currentColor; transform: rotate(45deg); }
.brand:nth-child(3n) .brand-glyph { border-radius: 50%; transform: none; }
.brand:nth-child(3n+1) .brand-glyph { border-radius: 2px 10px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.04em; }
.section-sub { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 620px; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Stats ---------- */
.stats-section { padding: 40px 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--border); gap: 1px; }
.stat { background: var(--bg); padding: 36px 28px; }
.stat strong { display: block; font-size: clamp(38px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span { color: var(--text-2); font-size: 15px; display: block; margin-top: 10px; }
.stat:hover strong { color: var(--accent); }
.stat strong { transition: color .3s; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bento-card {
    position: relative; display: flex; flex-direction: column; gap: 10px;
    padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border);
    background: var(--surface); overflow: hidden; min-height: 300px;
    transition: border-color .4s, transform .5s var(--ease), opacity .9s var(--ease), filter .9s var(--ease);
}
.bento-card.wide { grid-column: span 2; }
.bento-card:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); transform: translateY(-4px); }
.spotlight::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c, var(--accent)) 16%, transparent), transparent 60%);
}
.spotlight:hover::before { opacity: 1; }
.bento-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; padding-bottom: 30px; }
.bento-icon {
    width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
    color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
    transition: transform .5s var(--ease);
}
.bento-card:hover .bento-icon { transform: rotate(-8deg) scale(1.1); }
.bento-kicker { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.bento-card h3 { font-size: 23px; position: relative; }
.bento-card p { color: var(--text-2); font-size: 15px; position: relative; }
.bento-tags { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; position: relative; }
.bento-tags li { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); }
.bento-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--c); margin-top: 8px; font-weight: 500; position: relative; }
.bento-link .icon { transition: transform .3s var(--ease); }
.bento-card:hover .bento-link .icon { transform: translateX(4px); }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: stretch; }
.showcase-tabs { display: flex; flex-direction: column; gap: 6px; }
.sc-tab {
    position: relative; display: flex; gap: 16px; text-align: left; padding: 20px; border-radius: 16px;
    border: 1px solid transparent; overflow: hidden; transition: background .3s, border-color .3s;
}
.sc-tab:hover { background: var(--surface); }
.sc-tab.active { background: var(--surface); border-color: var(--border-2); }
.sc-num { font-family: var(--mono); font-size: 12px; color: var(--text-3); padding-top: 3px; }
.sc-tab.active .sc-num { color: var(--accent); }
.sc-tab strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.sc-tab small { display: block; color: var(--text-2); font-size: 14px; margin-top: 2px; }
.sc-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.showcase.in .sc-tab.active .sc-progress { animation: progress var(--dur, 8s) linear forwards; }
.showcase:hover .sc-tab.active .sc-progress { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }

.showcase-stage {
    position: relative; min-height: 540px; border-radius: var(--radius-lg); border: 1px solid var(--border);
    background: var(--bg-2); overflow: hidden;
    background-image: radial-gradient(var(--grid-line) 1px, transparent 1px); background-size: 22px 22px;
}
.sc-panel {
    position: absolute; inset: 0; padding: 36px; display: flex; align-items: center; justify-content: center; gap: 28px;
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(.98);
    transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s;
}
.sc-panel.active { opacity: 1; visibility: visible; transform: none; }

.code-window { width: 100%; max-width: 640px; }
.file-tabs { display: flex; gap: 4px; }
.ft { font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 6px; color: var(--text-3); }
.ft.on { background: var(--bg-2); color: var(--text); }
.code { margin: 0; padding: 22px 24px; font-family: var(--mono); font-size: 13px; line-height: 1.75; overflow: auto; min-height: 420px; color: var(--text-2); }
.code .k { color: #FF7A6E; } .code .f { color: #7CC4FF; } .code .s { color: #A5E075; } .code .c { color: var(--text-3); font-style: italic; } .code .v { color: #E2B7FF; }
[data-theme="light"] .code .k { color: #D7261B; } [data-theme="light"] .code .f { color: #0B6BCB; } [data-theme="light"] .code .s { color: #3C8A12; } [data-theme="light"] .code .v { color: #8A3FD1; }
.code .cursor { display: inline-block; width: 7px; height: 15px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }

.phone {
    width: 290px; height: 470px; border-radius: 40px; border: 8px solid #222; background: #0b141a;
    position: relative; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); flex-shrink: 0;
}
[data-theme="light"] .phone { border-color: #1b1b18; }
.phone-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 20px; background: #000; z-index: 2; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 36px 14px 12px; background: #1f2c34; color: #e9edef; }
.wa-head strong { display: block; font-size: 14px; }
.wa-head small { font-size: 11.5px; color: #8696a0; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: #22C55E; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; }
.wa-body {
    flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; justify-content: flex-end;
    background: #0b141a radial-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 14px 14px;
}
.msg { max-width: 82%; padding: 7px 10px 6px; border-radius: 10px; font-size: 12.5px; line-height: 1.45; color: #e9edef; animation: msgIn .45s var(--ease) both; }
.msg.in-msg { background: #1f2c34; align-self: flex-start; border-top-left-radius: 2px; }
.msg.out-msg { background: #005c4b; align-self: flex-end; border-top-right-radius: 2px; }
.msg .t { display: block; text-align: right; font-size: 10px; color: rgba(233, 237, 239, .55); margin-top: 2px; }
.msg-btns { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.msg-btns span { text-align: center; padding: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: #53bdeb; font-size: 12px; }
.typing { display: inline-flex; gap: 3px; padding: 10px 12px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.95); } to { opacity: 1; transform: none; } }
.wa-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 14px; background: #0b141a; }
.wa-input span:first-child { flex: 1; padding: 8px 14px; border-radius: 20px; background: #1f2c34; color: #8696a0; font-size: 12.5px; }
.wa-send { width: 34px; height: 34px; border-radius: 50%; background: #00a884; display: grid; place-items: center; color: #fff; }
.chat-stats { display: flex; flex-direction: column; gap: 12px; }
.mini-stat { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); min-width: 190px; }
.mini-stat strong { display: block; font-size: 28px; letter-spacing: -.03em; color: #22C55E; }
.mini-stat small { color: var(--text-2); font-size: 13px; }

.ai-box { width: 100%; max-width: 600px; padding: 26px; border-radius: 18px; border: 1px solid var(--border-2); background: var(--surface); box-shadow: var(--shadow); }
.ai-head { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.ai-head small { color: var(--text-3); margin-left: auto; font-size: 12.5px; }
.ai-orb { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(from 0deg, #A855F7, #FF2D20, #F59E0B, #22C55E, #0EA5E9, #A855F7); animation: spin 4s linear infinite; filter: blur(.3px); box-shadow: 0 0 24px rgba(168, 85, 247, .5); }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-q { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; margin-bottom: 18px; }
.ai-user { width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.ai-steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; padding-left: 40px; }
.ai-step { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-3); opacity: 0; transform: translateX(-8px); transition: all .4s var(--ease); }
.ai-step.show { opacity: 1; transform: none; }
.ai-step.done { color: var(--text-2); }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border-2); border-top-color: #A855F7; animation: spin .8s linear infinite; }
.ai-step.done .spin { animation: none; border-color: #22C55E; background: #22C55E; box-shadow: inset 0 0 0 3px var(--surface); }
.ai-answer { padding: 16px 18px 16px 40px; font-size: 14.5px; line-height: 1.7; min-height: 120px; position: relative; }
.ai-answer::before { content: ''; position: absolute; left: 0; top: 18px; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #A855F7, var(--accent)); }

.kanban { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-self: stretch; }
.k-col { padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.k-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 4px 4px 8px; }
.k-head em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--text-3); background: var(--surface-2); padding: 1px 7px; border-radius: 6px; }
.k-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kc); }
.k-card { padding: 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); border-left: 3px solid var(--kc); font-size: 13px; opacity: 0; transform: translateY(14px); }
.sc-panel.active .k-card { animation: popIn .6s var(--ease) forwards; animation-delay: calc(var(--i) * .08s + .2s); }
.k-card strong { display: block; font-weight: 600; margin-bottom: 8px; }
.k-meta { display: flex; justify-content: space-between; align-items: center; color: var(--text-2); font-variant-numeric: tabular-nums; }
.k-av { width: 22px; height: 22px; border-radius: 50%; background: var(--kc); color: #fff; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; }
.k-card.moving { animation: kMove 1.6s var(--ease) forwards !important; z-index: 3; position: relative; box-shadow: var(--shadow); }
@keyframes kMove { 0% { opacity: 1; transform: none; } 40% { transform: translate(0, -6px) rotate(-3deg) scale(1.04); } 100% { opacity: 1; transform: translate(var(--tx, 100%), var(--ty, 0)) rotate(0); } }

/* ---------- GEO ---------- */
.geo-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 28px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.check-list .icon { color: #14B8A6; padding: 3px; border-radius: 50%; background: rgba(20, 184, 166, .14); width: 22px; height: 22px; }
.geo-visual { position: relative; }
.ai-search { border-radius: var(--radius-lg); border: 1px solid var(--border-2); background: var(--surface); padding: 22px; box-shadow: var(--shadow); }
.as-bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); font-size: 15px; min-height: 52px; }
.as-bar .icon { color: var(--text-3); }
.as-q::after { content: ''; display: inline-block; width: 2px; height: 17px; background: var(--accent); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.as-answer { padding: 20px 4px 4px; }
.as-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #14B8A6; margin-bottom: 12px; }
.as-answer p { margin-bottom: 16px; }
.sk { display: block; height: 9px; border-radius: 99px; background: var(--border); margin: 7px 0; width: 100%; position: relative; overflow: hidden; }
.sk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--border-2), transparent); animation: shimmer 1.8s infinite; transform: translateX(-100%); }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk.w80 { width: 80%; } .sk.w60 { width: 60%; } .sk.w50 { width: 50%; } .sk.w40 { width: 40%; } .sk.w30 { width: 30%; }
.as-result { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 8px; transition: all .6s var(--ease); }
.as-result > div { flex: 1; }
.as-result strong { display: block; }
.as-result small { color: var(--text-2); font-size: 12.5px; }
.as-result:not(.dim) { border-color: rgba(20, 184, 166, .5); background: rgba(20, 184, 166, .07); opacity: 0; transform: translateY(10px); }
.geo-visual.in .as-result:not(.dim) { animation: popIn .8s var(--ease) 2.6s forwards; }
.as-result.dim { opacity: .55; }
.as-rank { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--surface-2); }
.as-result:not(.dim) .as-rank { background: #14B8A6; color: #fff; }
.as-badge { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #14B8A6; color: #fff; }
.as-sources { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--text-3); margin-top: 14px; }
.as-sources em { font-style: normal; padding: 3px 9px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); }
.geo-meter { position: absolute; right: -28px; bottom: -36px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--border-2); background: var(--glass); backdrop-filter: blur(14px); box-shadow: var(--shadow); text-align: center; animation: floatY 6s ease-in-out infinite; }
.geo-meter small { font-size: 12px; color: var(--text-2); }
.gauge { position: relative; width: 140px; }
.gauge svg { width: 100%; overflow: visible; }
.gauge path { fill: none; stroke-width: 10; stroke-linecap: round; }
.g-bg { stroke: var(--border); }
.g-fg { stroke: #14B8A6; stroke-dasharray: 158; stroke-dashoffset: 158; transition: stroke-dashoffset 2.2s var(--ease) .6s; }
.geo-visual.in .g-fg { stroke-dashoffset: 20; }
.gauge strong { position: absolute; left: 0; right: 0; bottom: -4px; font-size: 28px; letter-spacing: -.03em; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-line { position: absolute; top: 28px; left: 28px; right: 28px; height: 1px; background: var(--border-2); }
.process-line i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent); transition: width .2s linear; }
.p-step { position: relative; }
.p-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-2); position: relative; z-index: 1; margin-bottom: 22px; transition: all .4s var(--ease); }
.p-step.lit .p-icon { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 10px 30px -8px rgba(255, 45, 32, .6); transform: scale(1.06); }
.p-num { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.p-step h3 { font-size: 21px; margin: 6px 0 8px; }
.p-step p { color: var(--text-2); font-size: 14.5px; }

/* ---------- Ecosystem orbit ---------- */
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.eco-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed var(--border-2); animation: spin linear infinite; }
.o1 { inset: 28%; animation-duration: 26s; }
.o2 { inset: 14%; animation-duration: 40s; animation-direction: reverse; }
.o3 { inset: 0; animation-duration: 60s; }
.orbit span {
    position: absolute; left: var(--x, 50%); top: var(--y, 0%); translate: -50% -50%;
    padding: 7px 13px; border-radius: 999px; white-space: nowrap;
    font-size: 13px; font-weight: 500; background: var(--surface); border: 1px solid var(--border-2); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .4);
}
.orbit span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 1px; }
/* keep labels upright: counter-rotate inner content */
.o1 span { animation: counter 26s linear infinite; }
.o2 span { animation: counter 40s linear infinite reverse; }
.o3 span { animation: counter 60s linear infinite; }
@keyframes counter { from { rotate: 0deg; } to { rotate: -360deg; } }
.eco-core { width: 120px; height: 120px; border-radius: 32px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-2); box-shadow: 0 0 0 12px var(--accent-soft), 0 0 80px rgba(255, 45, 32, .35); position: relative; z-index: 2; animation: corePulse 4s ease-in-out infinite; color: var(--accent); }
@keyframes corePulse { 50% { box-shadow: 0 0 0 22px rgba(255, 45, 32, .05), 0 0 120px rgba(255, 45, 32, .45); } }
.eco-features { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.eco-f { display: flex; gap: 16px; padding: 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .4s var(--ease); }
.eco-f:hover { border-color: var(--border-2); transform: translateX(6px); }
.eco-f > .icon { color: var(--accent); margin-top: 2px; }
.eco-f strong { display: block; }
.eco-f small { color: var(--text-2); font-size: 14px; }

/* ---------- Testimonials ---------- */
.testimonials-section .section-head { margin-bottom: 50px; }
.t-marquee { margin-bottom: 16px; }
.t-marquee .marquee-track { gap: 16px; animation-duration: 60s; }
.t-marquee .marquee-track { animation-name: marqueeT; }
@keyframes marqueeT { to { transform: translateX(calc(-50% - 8px)); } }
.t-card { margin: 0; width: 400px; padding: 26px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; transition: border-color .3s; }
.t-card:hover { border-color: var(--border-2); }
.t-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.65; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; }
.t-card strong { display: block; font-size: 14px; }
.t-card small { color: var(--text-3); font-size: 13px; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--accent), #F59E0B); }
.t-card:nth-child(4n+2) .t-avatar { background: linear-gradient(135deg, #6366F1, #A855F7); }
.t-card:nth-child(4n+3) .t-avatar { background: linear-gradient(135deg, #14B8A6, #22C55E); }
.t-card:nth-child(4n+4) .t-avatar { background: linear-gradient(135deg, #0EA5E9, #6366F1); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: border-color .3s; }
.faq-item[open] { border-color: var(--border-2); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 500; font-size: 16.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { width: 22px; height: 22px; position: relative; flex-shrink: 0; border-radius: 50%; background: var(--surface-2); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item[open] .faq-plus { background: var(--accent); color: #fff; }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-item[open] .faq-body { grid-template-rows: 1fr; }
.faq-body p { overflow: hidden; padding: 0 22px; color: var(--text-2); }
.faq-item[open] .faq-body p { padding-bottom: 20px; }

/* ---------- Footer CTA ---------- */
.footer-cta { padding: 40px 0 100px; }
.cta-card { position: relative; overflow: hidden; text-align: center; padding: 90px 30px; border-radius: 30px; border: 1px solid var(--border-2); background: var(--surface); }
.cta-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.cta-orb { position: absolute; width: 600px; height: 600px; left: 50%; top: 100%; transform: translate(-50%, -40%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 45, 32, .35), transparent 60%); filter: blur(30px); animation: glowBreath 7s ease-in-out infinite; }
.cta-card > :not(.cta-grid):not(.cta-orb) { position: relative; }
.cta-card .eyebrow { justify-content: center; }
.cta-title { font-size: clamp(34px, 5.4vw, 66px); letter-spacing: -.045em; }
.cta-card p { color: var(--text-2); font-size: 18px; max-width: 560px; margin: 22px auto 0; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-top: 70px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.footer-brand p { color: var(--text-2); margin: 16px 0 20px; max-width: 320px; font-size: 15px; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-col h3 { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-weight: 500; margin-bottom: 6px; }
.footer-col a, .footer-col span { color: var(--text-2); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; margin-top: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; transition: all .3s var(--ease); }
.socials a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.footer-giant {
    font-size: clamp(80px, 21vw, 300px); font-weight: 700; letter-spacing: -.07em; line-height: .8; text-align: center;
    margin: 70px 0 -0.06em; user-select: none;
    background: linear-gradient(180deg, var(--border-2), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
    transition: transform 1.2s var(--ease);
}
.footer-giant:hover { background-image: linear-gradient(180deg, var(--accent), transparent 85%); }
.footer-bottom { display: flex; justify-content: space-between; padding: 24px 0 30px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-3); position: relative; background: var(--bg); }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--text); }

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6); transition: transform .4s var(--ease); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: waPing 2.4s cubic-bezier(0, 0, .2, 1) infinite; z-index: -1; }
@keyframes waPing { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); }
.wa-tip { position: absolute; right: 68px; white-space: nowrap; font-size: 13.5px; padding: 9px 14px; border-radius: 12px; background: var(--surface); color: var(--text); border: 1px solid var(--border-2); box-shadow: var(--shadow); opacity: 0; transform: translateX(10px); transition: all .4s var(--ease); pointer-events: none; }
.wa-float:hover .wa-tip, .wa-float.tip .wa-tip { opacity: 1; transform: none; }

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero { position: relative; padding: 100px 0 70px; overflow: hidden; }
.page-hero .hero-grid { mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 70%); }
.page-hero .hero-glow { top: -340px; }
.page-hero-inner { position: relative; max-width: 860px; }
.page-hero h1 { font-size: clamp(42px, 7vw, 84px); letter-spacing: -.045em; margin-top: 4px; }
.page-hero p { color: var(--text-2); font-size: 19px; margin-top: 22px; max-width: 640px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--text); }

.svc-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.svc-row {
    position: relative; display: grid; grid-template-columns: 70px 1.1fr 1.4fr 50px; gap: 30px; align-items: center;
    padding: 34px 0; border-bottom: 1px solid var(--border); overflow: hidden;
}
.svc-row::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.svc-row:hover::before { transform: scaleX(1); }
.svc-row > * { position: relative; }
.svc-num { font-family: var(--mono); color: var(--text-3); font-size: 13px; }
.svc-row h3 { font-size: clamp(22px, 2.6vw, 32px); display: flex; align-items: center; gap: 16px; transition: transform .5s var(--ease); }
.svc-row:hover h3 { transform: translateX(10px); }
.svc-row h3 .bento-icon { width: 44px; height: 44px; flex-shrink: 0; }
.svc-row p { color: var(--text-2); }
.svc-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; transition: all .5s var(--ease); }
.svc-row:hover .svc-arrow { background: var(--c); border-color: var(--c); color: #fff; transform: rotate(-45deg); }

.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .4s var(--ease); }
.feature:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); transform: translateY(-3px); }
.feature .icon { color: var(--c); width: 20px; height: 20px; margin-top: 2px; }
.detail-card { position: sticky; top: 100px; padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--border-2); background: var(--surface); overflow: hidden; }
.detail-card::before { content: ''; position: absolute; top: -120px; right: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 65%); }
.detail-card > * { position: relative; }
.detail-card h3 { font-size: 24px; margin-bottom: 10px; }
.detail-card p { color: var(--text-2); margin-bottom: 22px; }
.detail-steps { list-style: none; padding: 0; margin: 0 0 26px; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.detail-steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; font-size: 15px; }
.detail-steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); flex-shrink: 0; }
.big-icon { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); margin-bottom: 26px; animation: floatY 5s ease-in-out infinite; }
.big-icon .icon { width: 36px; height: 36px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related .bento-card { min-height: 230px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; }
.value .icon { color: var(--accent); width: 28px; height: 28px; margin-bottom: 40px; }
.value h3 { font-size: 22px; margin-bottom: 8px; }
.value p { color: var(--text-2); font-size: 15px; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-big { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.03em; line-height: 1.25; font-weight: 500; }
.about-big .hl { color: var(--text-3); transition: color .6s; }
.about-big .hl.on { color: var(--text); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.member { padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); text-align: center; transition: transform .5s var(--ease), border-color .3s; }
.member:hover { transform: translateY(-6px); border-color: var(--border-2); }
.member-av { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 26px; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--a1), var(--a2)); }
.member strong { display: block; }
.member small { color: var(--text-3); }
.timeline { position: relative; display: flex; flex-direction: column; gap: 0; border-left: 1px solid var(--border-2); margin-left: 8px; }
.tl-item { position: relative; padding: 0 0 36px 32px; }
.tl-item::before { content: ''; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.tl-item strong { font-family: var(--mono); color: var(--accent); font-size: 13px; }
.tl-item h3 { font-size: 20px; margin: 4px 0 6px; }
.tl-item p { color: var(--text-2); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.ci-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .4s var(--ease); }
.ci-card:hover { border-color: var(--border-2); transform: translateX(6px); }
.ci-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.ci-card small { display: block; color: var(--text-3); font-size: 13px; }
.ci-card strong { font-weight: 500; }
.form-card { padding: 34px; border-radius: var(--radius-lg); border: 1px solid var(--border-2); background: var(--surface); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.field input, .field textarea, .field select {
    font: inherit; font-size: 15px; color: var(--text); background: var(--bg-2);
    border: 1px solid var(--border-2); border-radius: 10px; padding: 12px 14px; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-2); font-size: 13.5px; color: var(--text-2); cursor: pointer; transition: all .25s var(--ease); user-select: none; }
.chip span:hover { border-color: var(--text-3); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.03); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 15px; display: flex; gap: 10px; align-items: center; animation: popIn .6s var(--ease); }
.alert-success { background: rgba(34, 197, 94, .12); color: #22C55E; border: 1px solid rgba(34, 197, 94, .3); }
.alert-error { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(255, 45, 32, .3); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--text-3); margin-top: 14px; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(100px, 22vw, 220px); letter-spacing: -.06em; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .showcase { grid-template-columns: 1fr; }
    .showcase-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .sc-tab { min-width: 240px; }
    .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .process-line { display: none; }
    .fc-1 { left: 10px; } .fc-2 { right: 10px; } .fc-3 { right: 10px; }
    .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .main-nav, .hide-mobile { display: none !important; }
    .menu-toggle { display: grid; }
    .mobile-menu { display: block; }
    .geo-grid, .eco-grid, .faq-grid, .about-split, .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .dash-charts { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .geo-meter { right: 10px; }
    .svc-row { grid-template-columns: 1fr 46px; gap: 14px; }
    .svc-row .svc-num { display: none; }
    .svc-row p { grid-column: 1; grid-row: 2; }
    .svc-row .svc-arrow { grid-row: 1 / span 2; grid-column: 2; }
    .related, .values { grid-template-columns: 1fr; }
    .detail-card { position: static; }
    .section { padding: 90px 0; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .hero { padding-top: 60px; }
    .bento { grid-template-columns: 1fr; }
    .bento-card.wide { grid-column: auto; }
    .process { grid-template-columns: 1fr 1fr; }
    .dash-side { display: none; }
    .dash-main { padding: 14px; }
    .float-card { display: none; }
    .hero-command { min-width: 0; width: 100%; font-size: 12px; }
    .sc-panel { padding: 18px; flex-direction: column; }
    .showcase-stage { min-height: 620px; }
    .chat-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .mini-stat { min-width: 0; flex: 1; padding: 12px; }
    .mini-stat strong { font-size: 20px; }
    .kanban { grid-template-columns: 1fr 1fr; }
    .code { font-size: 11px; min-height: 380px; padding: 16px; }
    .t-card { width: 300px; }
    .feature-grid, .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 10px; }
    .announce { font-size: 12px; }
    .announce > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cta-card { padding: 60px 20px; }
    .form-card { padding: 22px; }
    .team { grid-template-columns: 1fr 1fr; }
    .orbit span { font-size: 11px; padding: 5px 9px; }
    .geo-meter { position: relative; right: auto; bottom: auto; margin: 16px auto 0; width: fit-content; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal, .reveal-up { opacity: 1; transform: none; filter: none; }
}

/* =========================================================
   Blog
   ========================================================= */
.blog-search { display: flex; align-items: center; gap: 10px; margin-top: 30px; max-width: 520px; padding: 6px 6px 6px 16px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text-3); transition: border-color .3s, box-shadow .3s; }
.blog-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.blog-search input { flex: 1; border: 0; background: none; outline: none; font: inherit; color: var(--text); font-size: 15px; height: 36px; min-width: 0; }
.blog-search.sm { margin: 0; padding: 4px 14px; max-width: 280px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.cat-chips a, .cat-chips button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border-2); font-size: 14px; color: var(--text-2); transition: all .25s var(--ease); }
.cat-chips a:hover, .cat-chips button:hover { color: var(--text); border-color: var(--text-3); }
.cat-chips .on { background: var(--text); color: var(--bg) !important; border-color: var(--text); }
.cat-chips em { font-style: normal; font-size: 11.5px; opacity: .6; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); overflow: hidden; transition: transform .5s var(--ease), border-color .3s, opacity .9s var(--ease), filter .9s var(--ease); }
.post-card:hover { transform: translateY(-5px); border-color: var(--border-2); }
.post-card.featured { grid-column: 1 / -1; flex-direction: row; }
.post-card.featured .post-cover { width: 55%; aspect-ratio: auto; min-height: 340px; }
.post-card.featured .post-body { padding: 40px; justify-content: center; }
.post-card.featured h2 { font-size: clamp(26px, 3vw, 38px); }
.post-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: var(--surface-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-cover img, .post-card:hover .cover-fallback span { transform: scale(1.06); }
.cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, hsl(var(--h) 80% 55% / .35), transparent 60%), radial-gradient(circle at 80% 90%, rgba(255, 45, 32, .3), transparent 55%), var(--surface-2); }
.cover-fallback::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 28px 28px; }
.cover-fallback span { position: relative; font-size: 72px; font-weight: 700; letter-spacing: -.05em; color: var(--text); opacity: .85; transition: transform 1s var(--ease); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; position: relative; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-3); }
.post-cat { display: inline-flex; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.post-body h2, .post-body h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.post-body h2 a:hover, .post-body h3 a:hover { color: var(--accent); }
.post-body p { color: var(--text-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 500; color: var(--accent); }
.read-more .icon { transition: transform .3s var(--ease); }
.post-card:hover .read-more .icon { transform: translateX(4px); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 50px; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border-2); font-weight: 500; transition: all .2s; }
.pagination a:hover { border-color: var(--text-3); }
.pagination a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.empty-blog { text-align: center; padding: 80px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty-blog .icon { width: 40px; height: 40px; color: var(--text-3); }

/* ---------- Article ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.read-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 10px var(--accent); }
.preview-bar { position: relative; z-index: 45; text-align: center; padding: 10px; background: #F59E0B; color: #1b1b18; font-size: 14px; font-weight: 500; }
.preview-bar a { text-decoration: underline; }
.article-hero { position: relative; padding: 80px 0 40px; overflow: hidden; }
.article-hero .hero-grid { mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 70%); }
.article-hero .hero-glow { top: -380px; }
.article-head { position: relative; max-width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.article-head .breadcrumb { justify-content: center; }
.article-head h1 { font-size: clamp(34px, 5.4vw, 62px); letter-spacing: -.04em; margin: 20px 0 26px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; color: var(--text-2); font-size: 14px; }
.article-meta > span, .article-meta > time { display: inline-flex; align-items: center; gap: 6px; }
.author-chip { gap: 10px !important; color: var(--text); font-weight: 500; }
.author-chip .t-avatar { width: 30px; height: 30px; font-size: 13px; }
.updated { color: #22C55E; }
.article-cover { margin: 0 auto 10px; max-width: 1100px; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.article-cover img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 60px; justify-content: center; padding-top: 50px; padding-bottom: 40px; }
.article-aside { position: relative; }
.toc, .share { position: sticky; top: 100px; }
.toc { font-size: 14px; margin-bottom: 30px; max-height: calc(100vh - 260px); overflow-y: auto; }
.toc strong, .share strong { display: block; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-weight: 500; margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--border-2); }
.toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-2); line-height: 1.4; transition: all .2s; }
.toc li.lvl-3 a { padding-left: 26px; font-size: 13px; }
.toc li a:hover { color: var(--text); }
.toc li a.active { color: var(--accent); border-left-color: var(--accent); }
.share { top: auto; }
.toc + .share { position: static; }
.share div { display: flex; gap: 6px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-2); display: grid; place-items: center; font-weight: 700; font-size: 14px; transition: all .25s var(--ease); }
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.tldr { position: relative; padding: 22px 24px; border-radius: 18px; margin-bottom: 36px; border: 1px solid color-mix(in srgb, #A855F7 35%, transparent); background: linear-gradient(135deg, color-mix(in srgb, #A855F7 10%, var(--surface)), var(--surface)); overflow: hidden; }
.tldr::before { content: ''; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .25), transparent 70%); }
.tldr-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #A855F7; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.tldr p { position: relative; font-size: 17px; line-height: 1.65; }
.prose-site { font-size: 18px; line-height: 1.8; color: color-mix(in srgb, var(--text) 88%, var(--text-2)); overflow-wrap: break-word; }
.prose-site > * + * { margin-top: 1.1em; }
.prose-site h2 { font-size: 1.75em; margin-top: 1.8em; color: var(--text); letter-spacing: -.03em; scroll-margin-top: 100px; }
.prose-site h3 { font-size: 1.35em; margin-top: 1.5em; color: var(--text); scroll-margin-top: 100px; }
.prose-site h4 { font-size: 1.1em; margin-top: 1.3em; }
.prose-site a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose-site a:hover { text-decoration-thickness: 2px; }
.prose-site strong { color: var(--text); }
.prose-site ul, .prose-site ol { padding-left: 1.3em; }
.prose-site li + li { margin-top: .45em; }
.prose-site li::marker { color: var(--accent); }
.prose-site blockquote { margin-left: 0; margin-right: 0; padding: 18px 24px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 14px 14px 0; font-size: 1.1em; font-style: italic; color: var(--text); }
.prose-site pre { background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 1.7; }
.prose-site code { font-family: var(--mono); font-size: .85em; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); }
.prose-site pre code { padding: 0; background: none; }
.prose-site img { border-radius: 16px; border: 1px solid var(--border); height: auto; }
.prose-site figure { margin-left: 0; margin-right: 0; }
.prose-site figcaption { text-align: center; font-size: 14px; color: var(--text-3); margin-top: 8px; }
.prose-site table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .88em; border: 1px solid var(--border-2); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.prose-site th, .prose-site td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.prose-site th { background: var(--surface-2); font-weight: 600; color: var(--text); }
.prose-site tr:last-child td { border-bottom: 0; }
.prose-site hr { border: 0; height: 1px; background: var(--border-2); margin: 2.4em 0; }
.prose-site iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; }
.article-faq { margin-top: 60px; }
.article-faq h2, .sources h2, .howto h2 { font-size: 28px; letter-spacing: -.03em; margin-bottom: 20px; scroll-margin-top: 100px; }
.sources { margin-top: 50px; padding: 24px; border-radius: 18px; border: 1px dashed var(--border-2); }
.sources h2 { font-size: 18px; margin-bottom: 12px; }
.sources ol { margin: 0; padding-left: 1.2em; color: var(--text-2); font-size: 15px; }
.sources li + li { margin-top: 6px; }
.sources a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.post-tags a { font-size: 13.5px; padding: 5px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); transition: all .2s; }
.post-tags a:hover { color: var(--accent); border-color: var(--accent); }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.author-box small { color: var(--text-3); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.author-box strong { display: block; font-size: 18px; margin: 2px 0 6px; }
.author-box p { color: var(--text-2); font-size: 15px; }
.t-avatar.lg { width: 60px; height: 60px; font-size: 22px; flex-shrink: 0; }

/* =========================================================
   Tools
   ========================================================= */
.tools-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.tools-toolbar .cat-chips { margin: 0; }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tools-group { margin-bottom: 44px; }
.tools-group.hide { display: none; }
.tools-group-title { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); font-weight: 500; margin: 0 0 16px; }
.tools-group-title span { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); letter-spacing: 0; }
.tool-tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); overflow: hidden; min-height: 250px; transition: border-color .4s, transform .5s var(--ease), opacity .5s var(--ease), filter .9s var(--ease); }
.tool-tile:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); transform: translateY(-4px); }
.tool-tile.hide { display: none; }
.tile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.tool-tile h2 { font-size: 20px; letter-spacing: -.02em; position: relative; }
.tool-tile p { color: var(--text-2); font-size: 14.5px; position: relative; }
.tool-tile .bento-link { margin-top: auto; }
.tool-tile:hover .bento-icon { transform: rotate(-8deg) scale(1.1); }
.tools-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding: 30px; border-radius: var(--radius-lg); border: 1px dashed var(--border-2); }
.tools-cta h3 { font-size: 21px; margin-bottom: 4px; }
.tool-hero-row { display: flex; align-items: center; gap: 22px; }
.tool-hero-row .big-icon { margin: 0; flex-shrink: 0; }
.tool-hero-row h1 { font-size: clamp(34px, 5.5vw, 64px); }
.tool-hero-row .eyebrow { margin-bottom: 8px; }
.tool-hero { padding-bottom: 40px; }
.tool-app-wrap { position: relative; }
.tool-app { position: relative; padding: 30px; border-radius: 26px; border: 1px solid var(--border-2); background: var(--surface); box-shadow: var(--shadow), 0 0 0 6px color-mix(in srgb, var(--c) 6%, transparent); }
.tool-privacy { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--text-3); margin-top: 14px; }
.tool-content { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.tool-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.side-card { padding: 22px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.side-card > strong { font-size: 15px; margin-bottom: 4px; }
.side-card.accent { background: linear-gradient(135deg, var(--accent-soft), var(--surface)); border-color: rgba(255, 45, 32, .25); }
.side-card.accent p { color: var(--text-2); font-size: 14px; }
.side-card.accent .btn { align-self: flex-start; }
.mini-tool { display: flex; gap: 12px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: 12px; transition: background .2s; }
.mini-tool:hover { background: var(--surface-2); }
.mini-tool b { display: block; font-size: 14px; font-weight: 600; }
.mini-tool small { color: var(--text-3); font-size: 12.5px; }
.howto { margin-bottom: 40px; }
.howto ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: s; }
.howto li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); font-size: 16px; scroll-margin-top: 100px; }
.howto li span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; font-weight: 600; font-size: 14px; background: var(--c, var(--accent)); color: #fff; }

/* ---------- Tool UI kit ---------- */
.tk { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tk.single { grid-template-columns: 1fr; }
.tk-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tk-field { display: flex; flex-direction: column; gap: 7px; }
.tk-field > span { font-size: 13.5px; font-weight: 500; color: var(--text-2); display: flex; justify-content: space-between; gap: 8px; }
.tk-field input, .tk-field textarea, .tk-field select { font: inherit; font-size: 15px; color: var(--text); background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 11px; padding: 11px 14px; outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
.tk-field textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.tk-field input:focus, .tk-field textarea:focus, .tk-field select:focus { border-color: var(--c, var(--accent)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--accent)) 15%, transparent); }
.tk-count { font-family: var(--mono); font-size: 12px; padding: 1px 8px; border-radius: 6px; background: var(--surface-2); color: var(--text-3); }
.tk-count.good { color: #22C55E; background: rgba(34, 197, 94, .12); } .tk-count.bad { color: #EF4444; background: rgba(239, 68, 68, .12); } .tk-count.ok { color: #F59E0B; background: rgba(245, 158, 11, .12); }
.tk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tk-out { position: relative; display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--border-2); background: #0b0b0b; overflow: hidden; min-height: 200px; }
.tk-out-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-family: var(--mono); font-size: 12px; color: #8a8a85; }
.tk-out pre { margin: 0; padding: 18px; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: #e8e8e6; white-space: pre-wrap; word-break: break-all; flex: 1; overflow: auto; max-height: 520px; }
.tk-copy { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font); font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 8px; background: var(--c, var(--accent)); color: #fff; transition: transform .2s; }
.tk-copy:hover { transform: scale(1.04); }
.tk-copy.done { background: #22C55E; }
.tk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.tk-stat { padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-2); }
.tk-stat strong, .tk-stat b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tk-stat small, .tk-stat span { color: var(--text-3); font-size: 12.5px; }
.tk-list { display: flex; flex-direction: column; gap: 6px; }
.tk-kw { display: grid; grid-template-columns: 1fr 50px 60px; gap: 10px; align-items: center; font-size: 14px; padding: 8px 12px; border-radius: 10px; background: var(--bg-2); }
.tk-kw b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.tk-kw .bar { height: 6px; }
.tk-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border-2); font-size: 13.5px; cursor: pointer; transition: all .2s; }
.tk-checks input { accent-color: var(--c, var(--accent)); }
.tk-checks label:has(input:checked) { border-color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 10%, transparent); }
.tk-repeat { display: flex; flex-direction: column; gap: 10px; }
.tk-repeat-row { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-2); position: relative; animation: popIn .4s var(--ease); }
.tk-repeat-row input, .tk-repeat-row textarea { font: inherit; font-size: 14.5px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; outline: none; width: 100%; }
.tk-repeat-row textarea { min-height: 60px; resize: vertical; }
.tk-remove { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 7px; color: var(--text-3); }
.tk-remove:hover { background: rgba(239, 68, 68, .12); color: #EF4444; }
.tk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 10px; border: 1px dashed var(--border-2); font-size: 14px; color: var(--text-2); transition: all .2s; }
.tk-btn:hover { border-color: var(--c, var(--accent)); color: var(--c, var(--accent)); }
.tk-tabs { display: inline-flex; padding: 4px; border-radius: 11px; background: var(--bg-2); border: 1px solid var(--border); }
.tk-tabs button { padding: 6px 14px; border-radius: 8px; font-size: 13.5px; color: var(--text-2); }
.tk-tabs button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.tk-serp { padding: 20px; border-radius: 16px; background: #fff; color: #202124; font-family: Arial, sans-serif; border: 1px solid var(--border); transition: max-width .4s var(--ease); }
.tk-serp.mobile { max-width: 380px; }
.tk-serp .s-site { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.tk-serp .s-fav { width: 28px; height: 28px; border-radius: 50%; background: #f1f3f4; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #FF2D20; }
.tk-serp .s-name { font-size: 14px; color: #202124; }
.tk-serp .s-url { font-size: 12px; color: #4d5156; }
.tk-serp .s-title { font-size: 20px; color: #1a0dab; line-height: 1.3; margin-bottom: 4px; }
.tk-serp .s-desc { font-size: 14px; color: #4d5156; line-height: 1.58; }
.tk-serp .s-date { color: #70757a; }
.tk-hint { font-size: 13px; color: var(--text-3); }
.tk-big-out { font-family: var(--mono); font-size: 15px; padding: 16px 18px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border-2); word-break: break-all; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tk-preview-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 600; }

@media (max-width: 1000px) {
    .post-grid, .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .article-aside .toc { position: static; max-height: none; padding: 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
    .share { position: static; }
    .tool-content { grid-template-columns: 1fr; }
    .tool-side { position: static; }
    .tk { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .post-grid, .tools-grid { grid-template-columns: 1fr; }
    .post-card.featured { flex-direction: column; }
    .post-card.featured .post-cover { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
    .post-card.featured .post-body { padding: 24px; }
    .prose-site { font-size: 17px; }
    .tool-app { padding: 18px; border-radius: 20px; }
    .tool-hero-row { flex-direction: column; align-items: flex-start; gap: 14px; }
    .tk-row { grid-template-columns: 1fr; }
    .author-box { flex-direction: column; }
}

/* ---------- Service detail page ---------- */
.price-chip { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); font-size: 14px; color: var(--text-2); }
.price-chip strong { color: var(--text); }
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; }
.svc-content { min-width: 0; }
.svc-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.svc-feats { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 10px; }
.svc-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.svc-feats .icon { color: #22C55E; flex-shrink: 0; margin-top: 2px; padding: 2px; border-radius: 50%; background: rgba(34,197,94,.14); width: 20px; height: 20px; }
.howto li > div { display: flex; flex-direction: column; gap: 2px; }
.howto li strong { font-weight: 600; }
.howto li small { color: var(--text-2); font-size: 13.5px; }
@media (max-width: 1000px) {
    .svc-detail { grid-template-columns: 1fr; gap: 24px; }
    .svc-side { position: static; }
}

/* Referans logoları (marquee) */
.brand-logo { height: 30px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) opacity(.6); transition: filter .3s; }
.brand:hover .brand-logo { filter: grayscale(0) opacity(1); }
a.brand { cursor: pointer; }

/* ---------- Kurumsal wordmark logo ---------- */
.brandmark { display: inline-flex; align-items: center; text-decoration: none; }
.bw { font-size: 23px; font-weight: 600; letter-spacing: -.045em; line-height: 1; color: var(--text); position: relative; transition: color .3s; }
.bw-dot { color: var(--accent); margin-left: 1px; display: inline-block; transition: transform .5s var(--ease); }
.brandmark:hover .bw-dot { transform: translateY(-2px) scale(1.15); }
.brandmark:hover .bw { color: var(--text); }
.site-footer .bw { font-size: 22px; }

/* ---------- Scroll güç katmanı ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2), #FFB547); box-shadow: 0 0 10px var(--accent); }
.marquee { transition: transform .5s var(--ease); will-change: transform; }
.hero-inner { will-change: transform, opacity; }
.footer-giant { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }
