/* Kapa Technologies — brand layer on top of Bootstrap 5 */
:root {
  --k-red: #E0102A;
  --k-red-600: #C80E25;
  --k-red-700: #9E0A1C;
  --k-ink: #121821;
  --k-slate: #2F353D;
  --k-muted: #4B5563;
  --k-muted-2: #5B6470;
  --k-line: #E6E8EC;
  --k-soft: #F5F6F8;
  --k-night: #0A0F17;
  --k-night-2: #121A26;
  --k-blue: #1E5BD8;
  --k-teal: #0D9488;
  --k-radius: 16px;
  --bs-body-font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--k-ink);
  --bs-link-color: var(--k-red-600);
  --bs-link-color-rgb: 200, 14, 37;
  --bs-link-hover-color: var(--k-red-700);
  --bs-link-hover-color-rgb: 158, 10, 28;
  --bs-border-color: var(--k-line);
  --bs-focus-ring-color: rgba(224, 16, 42, .35);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, .display-font { font-family: Sora, Inter, sans-serif; letter-spacing: -0.02em; }
.ki { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 2000; background: #fff; padding: 10px 14px; border-radius: 8px; }
.text-secondary-dark { color: #B8C0CC !important; }
.text-muted-k { color: var(--k-muted) !important; }
.eyebrow { font: 600 13px/1.2 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--k-red-600); }
.on-dark .eyebrow { color: #FF6B7C; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-sm { padding: clamp(40px, 6vw, 72px) 0; }
.bg-soft { background: var(--k-soft); }
.on-dark { background: var(--k-night); color: #fff; }
.grid-bg { background-color: var(--k-night); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; }
.h-section { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; font-weight: 700; }
.lead-k { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--k-muted); }
.on-dark .lead-k { color: #B8C0CC; }

/* Buttons */
.btn { --bs-btn-font-weight: 600; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-lg { min-height: 52px; padding-inline: 24px; font-size: 16px; }
.btn-kapa { --bs-btn-bg: var(--k-red); --bs-btn-color: #fff; --bs-btn-border-color: var(--k-red); --bs-btn-hover-bg: var(--k-red-600); --bs-btn-hover-border-color: var(--k-red-600); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--k-red-700); --bs-btn-active-color: #fff; --bs-btn-disabled-bg: var(--k-red); --bs-btn-disabled-color: #fff; }
.btn-ghost-light { --bs-btn-color: #fff; --bs-btn-bg: rgba(255,255,255,.08); --bs-btn-border-color: rgba(255,255,255,.24); --bs-btn-hover-bg: rgba(255,255,255,.16); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: rgba(255,255,255,.4); --bs-btn-active-color: #fff; }
.btn-outline-k { --bs-btn-color: var(--k-ink); --bs-btn-bg: #fff; --bs-btn-border-color: #D5D9DF; --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--k-ink); --bs-btn-hover-border-color: var(--k-ink); }
.btn-icon { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.btn-icon:hover { background: rgba(0,0,0,.05); }
.nav-cta-link { color: var(--k-ink); text-decoration: none; font-weight: 500; }
.nav-cta-link:hover { color: var(--k-red-600); }

/* Utility bar + header */
.utility-bar { background: var(--k-ink); color: #C9CFD8; min-height: 40px; display: flex; align-items: center; padding: 4px 0; }
.utility-bar a { color: #C9CFD8; text-decoration: none; }
.utility-bar a:hover, .utility-bar strong { color: #fff; }
.utility-bar label { color: #C9CFD8; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; display: inline-block; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.currency-select { min-height: 30px !important; height: 30px; font-size: 13px; background-color: #1F2630; color: #fff; border-color: #3A4350; width: auto; min-height: 32px; padding-top: 2px; padding-bottom: 2px; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--k-line); }
.site-header .navbar { min-height: 72px; padding: 0; }
.site-header .nav-link { color: var(--k-slate); font-weight: 500; padding: 10px 14px !important; border-radius: 8px; border: 0; background: none; }
.site-header .nav-link:hover, .site-header .nav-link.active, .site-header .nav-link.show { color: var(--k-ink); background: #F3F4F6; }
.navbar-brand img { height: 30px; width: auto; }
.mega-menu { left: 0; right: 0; top: 100%; border: 0; border-top: 1px solid var(--k-line); border-radius: 0; padding: 28px 0; margin-top: 0 !important; max-height: calc(100vh - 120px); overflow-y: auto; }
.mega-title { font: 600 12px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--k-red-600); padding: 0 10px 10px; }
.mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--k-ink); }
.mega-link:hover { background: var(--k-soft); color: var(--k-ink); }
.mega-link strong { display: block; font-size: 14px; }
.mega-link small { display: block; color: var(--k-muted-2); font-size: 12.5px; line-height: 1.35; }
.mega-feature { background: var(--k-night); color: #fff; border-radius: var(--k-radius); padding: 22px; height: 100%; }
.mega-feature p { color: #C9CFD8; font-size: 14px; margin: 14px 0; }
.mega-feature hr { border-color: rgba(255,255,255,.15); opacity: 1; }
.mega-logo { height: 52px; background: #fff; border-radius: 10px; padding: 6px 10px; }
.mega-hub { height: 30px; background: #fff; border-radius: 6px; padding: 2px 6px; }
.mobile-nav .accordion-body a, .mobile-links a { display: block; padding: 10px 0; color: var(--k-ink); text-decoration: none; font-weight: 500; }
.mobile-links { border-top: 1px solid var(--k-line); margin-top: 8px; padding-top: 8px; }
.mobile-links a { font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--k-soft); }

/* Icon tiles */
.ico { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg, #F3F4F6); color: var(--fg, var(--k-ink)); flex: none; }
.ico-sm { width: 34px; height: 34px; border-radius: 9px; }
.ico-sm .ki { width: 18px; height: 18px; }
.ico-lg { width: 64px; height: 64px; border-radius: 16px; }
.ico-lg .ki { width: 30px; height: 30px; }

/* Cards */
.k-card { background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-radius); padding: 24px; height: 100%; display: flex; flex-direction: column; gap: 12px; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; position: relative; color: inherit; text-decoration: none; }
a.k-card:hover, .k-card.hoverable:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(18,24,33,.28); border-color: #D5D9DF; color: inherit; }
.k-card h3 { font-size: 18px; margin: 0; font-weight: 700; }
.k-card p { margin: 0; color: var(--k-muted); font-size: 14.5px; line-height: 1.55; }
.k-card .grow { flex-grow: 1; }
.k-card .price { font-weight: 600; font-size: 14.5px; }
.k-card .price small { color: var(--k-muted-2); font-weight: 400; }
.k-card.featured { border: 2px solid var(--k-red); }
.badge-k { display: inline-flex; align-items: center; font: 600 11px Inter, sans-serif; letter-spacing: .05em; padding: 4px 9px; border-radius: 99px; }
.badge-live { background: #DCFCE7; color: #166534; }
.badge-ai { background: #FEE2E2; color: #991B1B; }
.badge-red { background: var(--k-red); color: #fff; }
.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero canvas.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero .container-xl { position: relative; z-index: 2; }
.hero-chevron { position: absolute; right: -140px; top: -80px; width: 680px; height: 680px; opacity: .07; z-index: 1; pointer-events: none; }
.hero h1 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.03; font-weight: 800; }
.hero h1 .accent { color: #FF4D61; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 99px; padding: 6px 14px 6px 6px; font-size: 13.5px; color: #E5E7EB; text-decoration: none; }
.hero-pill:hover { color: #fff; background: rgba(255,255,255,.12); }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #9AA3AF; font-size: 14px; }
.hero-checks span::before { content: "✓"; color: #22C55E; margin-right: 6px; font-weight: 700; }
.scene { position: relative; height: 540px; perspective: 1600px; }
.scene .dash { position: absolute; left: 6%; right: 0; top: 60px; background: #fff; border-radius: 18px; box-shadow: 0 60px 120px -30px rgba(0,0,0,.75); overflow: hidden; color: var(--k-ink); transform: rotateY(-16deg) rotateX(9deg); transform-style: preserve-3d; animation: float3d 8s ease-in-out infinite; }
@keyframes float3d { 0%,100% { transform: rotateY(-16deg) rotateX(9deg) translateY(0); } 50% { transform: rotateY(-11deg) rotateX(7deg) translateY(-14px); } }
.dash-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #EEF0F3; background: #FAFAFB; font-size: 12px; color: var(--k-muted-2); }
.dash-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dash-body { display: grid; grid-template-columns: 150px minmax(0,1fr); }
.dash-side { background: #0F1620; padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: #C9CFD8; }
.dash-side .on { background: var(--k-red); color: #fff; border-radius: 6px; }
.dash-side div { padding: 7px 8px; }
.dash-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.kpi { border: 1px solid #EEF0F3; border-radius: 10px; padding: 10px; }
.kpi .l { font-size: 11px; color: var(--k-muted-2); }
.kpi .v { font: 700 18px Sora, sans-serif; }
.kpi .d { font-size: 11px; color: #15803D; }
.bars { border: 1px solid #EEF0F3; border-radius: 10px; padding: 12px; display: flex; align-items: flex-end; gap: 8px; height: 130px; }
.bars span { flex: 1; border-radius: 4px 4px 0 0; transform-origin: bottom; animation: grow 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { transform: scaleY(0); } }
.phone-mock { position: absolute; left: -6px; bottom: -6px; width: 220px; background: #0B0F14; border-radius: 32px; padding: 8px; box-shadow: 0 50px 90px -20px rgba(0,0,0,.85); animation: floatPhone 6.5s ease-in-out infinite; z-index: 3; }
@keyframes floatPhone { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-18px) rotate(-2.5deg); } }
.wa { background: #ECE5DD; border-radius: 25px; overflow: hidden; }
.wa-head { background: #075E54; color: #fff; padding: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.wa-head img { width: 26px; height: 26px; background: #fff; border-radius: 50%; padding: 4px; }
.wa-body { padding: 10px; display: flex; flex-direction: column; gap: 7px; font-size: 11.5px; line-height: 1.4; color: #111; min-height: 230px; }
.bub { border-radius: 10px; padding: 7px 9px; max-width: 88%; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bub.me { align-self: flex-end; background: #DCF8C6; }
.bub.in { animation: popIn .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.typing { display: inline-flex; gap: 3px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9AA3AF; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }
.ring3d { position: absolute; left: 50%; top: 52%; width: 0; height: 0; transform-style: preserve-3d; animation: spin3d 32s linear infinite; z-index: 1; }
@keyframes spin3d { from { transform: rotateX(-14deg) rotateY(0); } to { transform: rotateX(-14deg) rotateY(360deg); } }
.chip3d { position: absolute; left: -72px; top: -20px; width: 144px; height: 40px; border-radius: 99px; background: rgba(255,255,255,.96); color: var(--k-ink); font: 600 13px Inter, sans-serif; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.35); backface-visibility: hidden; }
.chip3d i { width: 8px; height: 8px; border-radius: 50%; }

/* Logo strip */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; font: 700 20px Sora, sans-serif; color: #8A929D; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; font: 700 20px Sora, sans-serif; color: #8A929D; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* AI ask bar */
.ask-bar { max-width: 780px; margin: 0 auto; background: #fff; border: 1px solid #D5D9DF; border-radius: 18px; padding: 8px 8px 8px 20px; display: flex; align-items: center; gap: 12px; box-shadow: 0 24px 60px -30px rgba(18,24,33,.45); }
.ask-bar input { border: 0; outline: 0; flex: 1; min-width: 0; font-size: 16px; min-height: 48px; }
.ask-bar .ki { color: var(--k-red); }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #D5D9DF; background: #fff; border-radius: 99px; padding: 8px 14px; font-size: 14px; color: var(--k-ink); min-height: 40px; cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--k-ink); color: var(--k-ink); }
.chip.active { background: var(--k-ink); border-color: var(--k-ink); color: #fff; }

/* Tabs filter */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #F3F4F6; border-radius: 12px; padding: 4px; }
.seg button { border: 0; background: transparent; border-radius: 9px; padding: 0 16px; min-height: 40px; font-weight: 500; color: var(--k-slate); }
.seg button[aria-selected="true"], .seg button.active { background: #fff; color: var(--k-ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* Steps */
.step-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.video-frame { position: relative; aspect-ratio: 16/10; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); background: var(--k-night-2); display: flex; align-items: center; justify-content: center; }
.play-btn { width: 88px; height: 88px; border-radius: 50%; background: var(--k-red); border: 0; color: #fff; display: flex; align-items: center; justify-content: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,16,42,.55); } 100% { box-shadow: 0 0 0 22px rgba(224,16,42,0); } }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; }
.flow-node { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 22px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 150px; justify-content: center; }
.flow-node img { height: 44px; background: #fff; border-radius: 10px; padding: 4px 8px; }
.flow-arrow { color: #FF6B7C; font-size: 24px; }
.flow-arrow .dash-anim { stroke-dasharray: 4 6; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -10; } }

/* Industries */
.ind-card { overflow: hidden; padding: 0; }
.ind-visual { height: 170px; position: relative; display: flex; align-items: center; justify-content: center; background: var(--bg); overflow: hidden; }
.ind-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind-visual .ki { width: 64px; height: 64px; stroke-width: 1.3; color: var(--fg); opacity: .9; transition: transform .5s; }
.ind-card:hover .ind-visual .ki { transform: scale(1.12) rotate(-4deg); }
.ind-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

/* Case studies */
.case-visual { height: 200px; border-radius: 12px 12px 0 0; background: var(--bg); padding: 18px; position: relative; overflow: hidden; }
.mini-ui { background: #fff; border-radius: 10px; box-shadow: 0 16px 40px -18px rgba(0,0,0,.35); height: 100%; display: grid; grid-template-columns: 56px 1fr; overflow: hidden; transform: perspective(900px) rotateX(8deg) rotateY(-8deg); transition: transform .5s; }
.k-card:hover .mini-ui { transform: perspective(900px) rotateX(0) rotateY(0); }
.mini-ui .side { background: var(--fg); opacity: .92; }
.mini-ui .main { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.mini-ui .row1 { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.mini-ui .row1 span { height: 26px; border-radius: 5px; background: #F3F4F6; }
.mini-ui .chart { flex: 1; border-radius: 6px; background: linear-gradient(transparent 60%, var(--bg) 60%); border: 1px solid #F0F1F3; position: relative; }
.mini-ui .chart svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }

/* Globe */
.globe-wrap { position: relative; aspect-ratio: 1/1; max-width: 540px; width: 100%; margin: 0 auto; }
.globe-wrap canvas { width: 100% !important; height: 100% !important; display: block; }
.globe-fallback { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #1b2533, var(--k-night) 70%); }
.market { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--k-line); border-radius: 14px; padding: 16px 18px; background: #fff; }

/* Pricing */
.plan { border: 1px solid var(--k-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: #fff; height: 100%; position: relative; }
.plan.featured { border: 2px solid var(--k-red); box-shadow: 0 30px 60px -36px rgba(224,16,42,.6); }
.plan .flag { position: absolute; top: -13px; left: 26px; }
.plan .big { font: 800 36px Sora, sans-serif; letter-spacing: -0.02em; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; color: #374151; flex-grow: 1; }
.plan li { display: flex; gap: 8px; }
.plan li::before { content: "✓"; color: #16A34A; font-weight: 700; }
.price-table { border: 1px solid var(--k-line); border-radius: 18px; overflow: hidden; }
.price-table .pt-row { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,3fr) minmax(0,1.2fr) auto; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid #EEF0F3; }
.price-table .pt-head { background: var(--k-ink); color: #fff; font-weight: 600; border-top: 0; }
.price-table .pt-cat { padding: 22px 20px 8px; font: 600 12px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--k-red-600); }
.pt-row .amt { font-weight: 700; text-align: right; }
@media (max-width: 767.98px) { .price-table .pt-row { grid-template-columns: 1fr auto; } .price-table .pt-row .d, .price-table .pt-row .act { display: none; } }
.suite-card .incl { display: flex; flex-wrap: wrap; gap: 6px; }
.suite-card .incl span { font-size: 12.5px; background: var(--k-soft); border-radius: 99px; padding: 4px 10px; }
.calc { position: sticky; top: 100px; }
.calc-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.form-check-input:checked { background-color: var(--k-red); border-color: var(--k-red); }
.form-control:focus, .form-select:focus { border-color: #F2798A; box-shadow: 0 0 0 .25rem rgba(224,16,42,.15); }

/* Product page */
.product-hero { padding: clamp(56px, 8vw, 96px) 0; }
.chat-demo { background: #0B0F14; border-radius: 36px; padding: 10px; width: 300px; max-width: 100%; margin: 0 auto; box-shadow: 0 50px 100px -30px rgba(0,0,0,.6); }
.chat-demo .wa-body { min-height: 360px; font-size: 13.5px; gap: 9px; padding: 14px; }
.cap-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cap-list div { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--k-line); border-radius: 12px; background: #fff; font-weight: 500; }
.cap-list .ki { color: #16A34A; width: 20px; height: 20px; }
.breadcrumb { --bs-breadcrumb-divider-color: #9AA3AF; --bs-breadcrumb-item-active-color: #C9CFD8; font-size: 14px; }
.on-dark .breadcrumb a { color: #C9CFD8; text-decoration: none; }

/* Auth / checkout */
.auth-wrap { min-height: calc(100vh - 112px); display: flex; flex-wrap: wrap; }
.auth-aside { flex: 1 1 420px; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.auth-main { flex: 999 1 520px; min-width: 0; padding: clamp(32px, 5vw, 64px) 20px; display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 500px; }
.form-label { font-weight: 500; color: #374151; }
.form-control, .form-select { min-height: 48px; border-radius: 10px; border-color: #D5D9DF; }
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 8px; }
.steps li { flex: 1; padding-top: 10px; border-top: 3px solid var(--k-line); font: 600 13px Inter, sans-serif; color: #6B7280; }
.steps li.on { border-color: var(--k-red); color: var(--k-ink); }
.pick { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #D5D9DF; border-radius: 12px; padding: 14px 16px; cursor: pointer; background: #fff; margin: 0; }
.pick:has(input:checked) { border: 2px solid var(--k-red); background: #FFF5F6; padding: 13px 15px; }
.pick input { margin-right: 10px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--k-muted-2); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--k-line); }

/* Footer */
.site-footer { background: #070B11; color: #C9CFD8; padding: 72px 0 28px; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; border-radius: 20px; background: var(--k-night-2); border: 1px solid #1F2630; margin-bottom: 56px; color: #fff; }
.footer-h { font: 600 14px Inter, sans-serif; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer-cols a, .footer-txt { display: block; color: #C9CFD8; text-decoration: none; font-size: 14.5px; padding: 5px 0; }
.footer-cols a:hover, .footer-bottom a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1F2630; margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #9AA3AF; }
.footer-bottom a { color: #9AA3AF; text-decoration: none; }
.social { width: 40px; height: 40px; border-radius: 10px; border: 1px solid #2A323D; display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; }

/* AI dock */
.ai-dock { position: fixed; right: 20px; bottom: 20px; z-index: 1050; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ai-fab { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 99px; min-height: 56px; padding: 0 22px; background: var(--k-red); color: #fff; font-weight: 600; box-shadow: 0 16px 34px -10px rgba(224,16,42,.7); animation: pulse 2.6s ease-out infinite; }
.ai-fab:hover { background: var(--k-red-600); }
.ai-fab[aria-expanded="true"] { animation: none; }
.ai-panel { width: 380px; max-width: calc(100vw - 32px); height: min(600px, calc(100vh - 120px)); background: #fff; border-radius: 22px; box-shadow: 0 40px 90px -20px rgba(10,15,23,.55); border: 1px solid var(--k-line); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: panelIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.ai-head { background: var(--k-night); color: #fff; padding: 12px 8px 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.ai-avatar { background: #fff; border-radius: 50%; padding: 5px; }
.ai-sub { color: #9AA3AF; }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--k-soft); font-size: 14.5px; line-height: 1.5; }
.ai-log .msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; white-space: pre-wrap; word-wrap: break-word; }
.ai-log .msg.bot { background: #fff; border: 1px solid var(--k-line); border-bottom-left-radius: 4px; align-self: flex-start; }
.ai-log .msg.me { background: var(--k-red); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.ai-log .rec { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #EEF0F3; white-space: normal; }
.ai-log .rec a { display: flex; justify-content: space-between; gap: 10px; text-decoration: none; color: var(--k-ink); font-weight: 500; }
.ai-log .rec a:hover { color: var(--k-red-600); }
.ai-log .rec .btn { margin-top: 6px; }
.ai-suggest { display: flex; gap: 6px; padding: 8px 12px 0; overflow-x: auto; background: #fff; }
.ai-suggest .chip { flex: none; font-size: 13px; min-height: 34px; padding: 4px 12px; }
.ai-form { display: flex; gap: 8px; padding: 12px; background: #fff; }
.ai-form .form-control { min-height: 46px; }
.ai-form .btn { min-width: 46px; padding: 0 12px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.counter { font: 800 clamp(34px, 4vw, 52px) Sora, sans-serif; letter-spacing: -0.03em; }

/* Misc */
.leader-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--k-soft); display: flex; align-items: center; justify-content: center; font: 700 26px Sora, sans-serif; color: var(--k-red); flex: none; }
.value-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--k-line); border-radius: 99px; padding: 8px 16px; font-weight: 500; background: #fff; }
.method-step { border-top: 3px solid var(--k-red); padding-top: 16px; }
.method-step .n { font: 800 32px Sora, sans-serif; color: #E6E8EC; }
.error-code { font: 800 clamp(80px, 14vw, 160px) Sora, sans-serif; color: var(--k-red); line-height: 1; }
.prose h2 { font-size: 22px; margin-top: 32px; }
.prose p, .prose li { color: #374151; line-height: 1.7; }

@media (max-width: 991.98px) {
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 575.98px) {
  .ai-dock { right: 12px; bottom: 12px; }
  .ai-fab span { display: none; }
  .ai-fab { width: 56px; padding: 0; justify-content: center; }
  .ai-panel { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; border-radius: 0; }
  .footer-cta { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* v2 additions */
.office-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; margin-top: 6px; box-shadow: 0 0 0 4px rgba(0,0,0,.05); }
.marquee-track .client { display: inline-flex; align-items: center; height: 44px; }
.marquee-track .client img { height: 40px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.marquee-track .client img:hover { filter: none; opacity: 1; }
.services-menu { width: min(720px, 92vw); padding: 14px; border: 0; border-radius: 16px; margin-top: 8px !important; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.services-menu.show { display: grid; }
.services-menu > div { grid-column: 1 / -1; }
@media (max-width: 991.98px) { .services-menu.show { grid-template-columns: 1fr; } }
.case-logo { height: 36px; width: auto; max-width: 150px; object-fit: contain; align-self: flex-start; }
.svc-orbit { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1/1; margin: 0 auto; perspective: 1200px; }
.svc-core { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 32px; background: #fff; color: var(--fg); display: flex; align-items: center; justify-content: center; box-shadow: 0 30px 70px -20px rgba(0,0,0,.7); animation: coreFloat 6s ease-in-out infinite; }
.svc-core .ki { width: 56px; height: 56px; stroke-width: 1.5; }
@keyframes coreFloat { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
.svc-chip { position: absolute; left: 50%; top: 50%; white-space: nowrap; transform: translate(-50%, -50%) rotate(calc(var(--i) * 60deg)) translateY(-165px) rotate(calc(var(--i) * -60deg)); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); color: #E5E7EB; border-radius: 99px; padding: 8px 14px; font-size: 13px; animation: chipIn .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * .1s); max-width: 250px; overflow: hidden; text-overflow: ellipsis; }
@keyframes chipIn { from { opacity: 0; } }
@media (max-width: 575.98px) { .svc-chip { font-size: 11px; padding: 6px 10px; transform: translate(-50%, -50%) rotate(calc(var(--i) * 60deg)) translateY(-130px) rotate(calc(var(--i) * -60deg)); max-width: 140px; } .svc-core { width: 96px; height: 96px; margin: -48px 0 0 -48px; } }
/* KAPA AI mark */
.ai-mark { width: 26px; height: 26px; flex: none; }
.ai-mark .ai-orbit { transform-origin: 24px 24px; }
.ai-mark.spin .ai-orbit { animation: aiOrbit 3.2s linear infinite; }
.ai-mark.spin .ai-ring { transform-origin: 24px 24px; animation: aiOrbit 18s linear infinite reverse; }
.ai-mark.spin .ai-spark { transform-origin: 33.5px 23px; animation: aiTwinkle 2.4s ease-in-out infinite; }
@keyframes aiOrbit { to { transform: rotate(360deg); } }
@keyframes aiTwinkle { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .6; } }
.ai-fab { background: linear-gradient(135deg, #E0102A 0%, #B3135F 55%, #6D28D9 100%); box-shadow: 0 16px 34px -10px rgba(140,20,90,.7); }
.ai-fab:hover { background: linear-gradient(135deg, #C80E25 0%, #9E1053 55%, #5B21B6 100%); }
.ai-fab .ai-mark { width: 30px; height: 30px; }
.ai-avatar { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #E0102A, #6D28D9); color: #fff; padding: 0; }
.ai-avatar .ai-mark { width: 28px; height: 28px; }
.ask-mark { width: 42px; height: 42px; border-radius: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #E0102A, #6D28D9); color: #fff; }
.ask-mark .ai-mark { width: 30px; height: 30px; }
.ai-badge { width: 72px; height: 72px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #E0102A, #6D28D9); color: #fff; box-shadow: 0 24px 50px -20px rgba(109,40,217,.7); }
.ai-badge .ai-mark { width: 50px; height: 50px; }
.product-hero .container-xl, .on-dark > .container-xl { z-index: 2; position: relative; }
@media (max-width: 575.98px) { .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; } }
html, body { overflow-x: clip; }
.company-menu { min-width: 300px; padding: 10px; border: 0; border-radius: 14px; margin-top: 8px !important; }
.mega-feature .ai-avatar { width: 46px; height: 46px; }
.mega-feature .btn-sm { min-height: 38px; }
.footer-offices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid #1F2630; font-size: 13.5px; }
.footer-offices div { display: flex; flex-direction: column; gap: 2px; }
.footer-offices strong { color: #fff; font-weight: 600; }
.footer-offices a { color: #C9CFD8; text-decoration: none; }
.footer-offices a:hover { color: #fff; }
@media (max-width: 767.98px) { .footer-offices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pro-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: center; border: 1px solid var(--k-line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); background: linear-gradient(120deg, #fff 0%, #FFF7F8 100%); }
.pro-band-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pro-band-links a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--k-line); color: var(--k-ink); text-decoration: none; font-weight: 500; font-size: 14.5px; min-height: 52px; }
.pro-band-links a:hover { border-color: var(--k-ink); }
@media (max-width: 767.98px) { .pro-band { grid-template-columns: 1fr; } .pro-band-links { grid-template-columns: 1fr; } }

/* Hero scene: fixed 600x540 stage scaled to fit any screen */
.scene.scene-fit { height: calc(540px * var(--s, 1)); perspective: none; }
.scene-stage { position: absolute; left: calc(20px * var(--s, 1)); top: 0; width: 600px; height: 540px; transform: scale(var(--s, 1)); transform-origin: top left; perspective: 1600px; }
@media (max-width: 991.98px) { .scene.scene-fit { --s: .9; margin: 8px auto 0; max-width: 600px; } }
@media (max-width: 575.98px) { .scene.scene-fit { --s: .55; } }

/* Compact one-line KAPA AI button */
.ai-fab { min-height: 44px; height: 44px; padding: 0 16px 0 8px; gap: 6px; font-size: 14px; white-space: nowrap; animation: none; box-shadow: 0 10px 24px -10px rgba(109,40,217,.65); }
.ai-fab .ai-mark { width: 28px; height: 28px; }
.ai-dock { right: 18px; bottom: 18px; gap: 10px; }
@media (max-width: 575.98px) {
  .ai-fab { width: 48px; height: 48px; min-height: 48px; padding: 0; }
  .ai-fab .ai-mark { width: 30px; height: 30px; }
}
/* Product page detail */
.sub-nav { position: sticky; top: 72px; z-index: 900; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--k-line); }
.sub-nav .container-xl { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sub-nav a { flex: none; padding: 14px 14px; color: var(--k-slate); text-decoration: none; font-weight: 500; font-size: 14.5px; border-bottom: 2px solid transparent; }
.sub-nav a:hover { color: var(--k-ink); border-bottom-color: var(--k-red); }
.hub-mock { background: #fff; border: 1px solid var(--k-line); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(18,24,33,.35); transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .6s; }
.hub-mock:hover { transform: none; }
.hub-mock-body { padding: 18px; }
.hub-mock .kpi .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-rows { display: flex; flex-direction: column; gap: 8px; }
.hub-rows div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #EEF0F3; border-radius: 10px; font-size: 14px; }
.hub-rows .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hub-rows small { margin-left: auto; color: var(--k-muted-2); }
.feat-num { font: 800 22px Sora, sans-serif; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; position: relative; }
.flow-steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--k-line), var(--k-line)); }
.flow-steps li { display: flex; gap: 18px; padding: 14px 0; position: relative; }
.flow-steps .flow-n { flex: none; width: 44px; height: 44px; border-radius: 14px; color: #fff; display: flex; align-items: center; justify-content: center; font: 700 17px Sora, sans-serif; box-shadow: 0 10px 20px -10px rgba(0,0,0,.4); }
.flow-steps strong { font-size: 17px; }
.flow-steps p { margin: 4px 0 0; color: var(--k-muted); }
/* 3D icon tiles */
.ico-3d { position: relative; background: linear-gradient(145deg, color-mix(in srgb, var(--fg) 55%, #fff) 0%, var(--fg) 55%, color-mix(in srgb, var(--fg) 80%, #000) 100%); color: #fff; box-shadow: 0 10px 18px -8px color-mix(in srgb, var(--fg) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -3px 6px rgba(0,0,0,.18); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.ico-3d::after { content: ""; position: absolute; inset: 2px 2px 50% 2px; border-radius: inherit; background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,0)); pointer-events: none; }
.ico-3d .ki { stroke-width: 2; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); position: relative; z-index: 1; }
a.k-card:hover .ico-3d, .k-card.hoverable:hover .ico-3d { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.ico-xl { width: 76px; height: 76px; border-radius: 22px; }
.ico-xl .ki { width: 38px; height: 38px; }
.ico-xxl { width: 104px; height: 104px; border-radius: 28px; }
.ico-xxl .ki { width: 52px; height: 52px; }
.ind-visual .ico-3d { animation: icoFloat 5s ease-in-out infinite; z-index: 1; }
.ind-visual .ico-3d .ki { color: #fff; opacity: 1; width: 38px; height: 38px; transform: none !important; }
.ind-visual .ico-xxl .ki { width: 52px; height: 52px; }
@keyframes icoFloat { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.ind-visual { background: radial-gradient(circle at 30% 20%, #fff 0%, var(--bg) 60%); }
.ind-pattern { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--fg) 22%, transparent) 1.2px, transparent 1.3px); background-size: 16px 16px; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); }
.ind-tags { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; z-index: 1; }
.ind-tags span { background: rgba(255,255,255,.9); border: 1px solid rgba(0,0,0,.06); border-radius: 99px; padding: 3px 10px; font-size: 11.5px; font-weight: 600; color: #1F2937; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.logo-tile { height: 84px; border: 1px solid var(--k-line); border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 14px; background: #fff; text-align: center; }
.logo-tile img { max-height: 44px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile span { font: 700 15px Sora, sans-serif; color: #6B7280; }
.story-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border: 1px dashed #D5D9DF; border-radius: 16px; padding: 18px 22px; }
.story-card blockquote p { font-size: 15.5px; line-height: 1.55; }
/* Billing */
.cycle-opt { margin: 0; cursor: pointer; }
.cycle-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cycle-opt span { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; min-height: 40px; border-radius: 9px; font-weight: 500; color: var(--k-slate); }
.cycle-opt em { font-style: normal; font-size: 11px; font-weight: 700; color: #166534; background: #DCFCE7; border-radius: 99px; padding: 2px 7px; }
.cycle-opt input:checked + span { background: #fff; color: var(--k-ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.cycle-opt input:focus-visible + span { outline: 2px solid var(--k-red); }
.pick.is-covered { opacity: .5; background: var(--k-soft); cursor: not-allowed; }
.pick-one { border-width: 2px; }
.trial-box { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.compare-table .pt-row { grid-template-columns: minmax(0,2fr) minmax(0,1.5fr) minmax(0,1.5fr) auto; }
/* KAPA ONE orbit */
.one-orbit { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1/1; margin: 0 auto; }
.one-orbit::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); }
.one-core { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 36px; background: linear-gradient(145deg, #fff, #f1f2f5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 30px 80px -20px rgba(224,16,42,.55); animation: coreFloat 6s ease-in-out infinite; }
.one-core img { width: 54px; height: 54px; }
.one-core span { font: 800 13px Sora, sans-serif; color: var(--k-ink); letter-spacing: .04em; }
.one-app { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translate(-50%, -50%) rotate(calc(var(--i) * 360deg / var(--n))) translateY(calc(-1 * min(205px, 41vw))) rotate(calc(var(--i) * -360deg / var(--n))); animation: chipIn .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * .08s); }
.one-app small { color: #E5E7EB; font-weight: 600; font-size: 12px; }
.one-app .ico { width: 54px; height: 54px; border-radius: 16px; }

.ai-log .ai-mini-form { display: flex; flex-direction: column; gap: 6px; }
.ai-log .ai-mini-form textarea { resize: vertical; }

.social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; }
