/* ============================================================
   KOVIK — Design System
   Palette: deep indigo #1E1B4B · off-white #FAFAF9 · amber #F59E0B
   Type: Space Grotesk (headings) + Inter (body)
   ============================================================ */

:root {
  --primary: #1E1B4B;
  --primary-700: #2A2563;
  --primary-300: #6C67A8;
  --accent: #F59E0B;
  --accent-600: #D97706;
  --accent-soft: #FEF3C7;
  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --text: #1F2937;
  --muted: #6B7280;
  --line: #E7E5E4;
  --success: #16A34A;
  --danger: #DC2626;

  --shadow-sm: 0 1px 2px rgba(30, 27, 75, .06), 0 1px 3px rgba(30, 27, 75, .05);
  --shadow-md: 0 4px 14px rgba(30, 27, 75, .08);
  --shadow-lg: 0 18px 40px -12px rgba(30, 27, 75, .22);
  --shadow-xl: 0 30px 60px -20px rgba(30, 27, 75, .30);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 40px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 300ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
  text-wrap: balance;
}

/* Fluid type scale */
h1 { font-size: clamp(2.15rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { text-wrap: pretty; }

::selection { background: var(--accent); color: var(--primary); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(56px, 9vw, 110px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--accent);
  --fg-btn: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  min-height: 48px;
  border: 0; border-radius: 999px;
  background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
  will-change: transform;
}
.btn:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); background: var(--accent-600); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid var(--primary-300); outline-offset: 3px; }
.btn-primary { --bg-btn: var(--primary); --fg-btn: #fff; }
.btn-primary:hover { background: var(--primary-700); }
.btn-ghost { --bg-btn: transparent; --fg-btn: var(--primary); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: #fff; border-color: var(--primary-300); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; min-height: 56px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 16px;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.nav.scrolled {
  background: rgba(250, 250, 249, .85);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding-block: 10px;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--primary); letter-spacing: -.01em; }
.brand .mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--primary); color: var(--accent); font-size: 1.05rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--text); position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--accent); transition: width var(--dur) var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur); }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(120px, 18vw, 190px); padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .32em;
  background: var(--accent); opacity: .35; border-radius: 4px; z-index: -1;
}
.hero .tagline { font-family: "Space Grotesk", sans-serif; font-weight: 600; color: var(--primary-700); font-size: clamp(1.05rem, 2vw, 1.35rem); margin-bottom: 12px; }
.hero p.lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: .9rem; color: var(--muted); }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(22,163,74,.15); }

/* Hero background shapes */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: -1; will-change: transform; }
.blob.b1 { width: 420px; height: 420px; background: #C7D2FE; top: -120px; right: -80px; }
.blob.b2 { width: 320px; height: 320px; background: #FDE68A; bottom: -140px; left: -100px; opacity: .45; }

/* ---------- Chatbot mockup ---------- */
.chat-mock {
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  border: 1px solid var(--line); overflow: hidden; position: relative;
}
.chat-mock .bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #FCFCFB; }
.chat-mock .bar i { width: 11px; height: 11px; border-radius: 50%; background: #E5E7EB; }
.chat-mock .bar i:nth-child(1) { background: #FCA5A5; }
.chat-mock .bar i:nth-child(2) { background: #FCD34D; }
.chat-mock .bar i:nth-child(3) { background: #86EFAC; }
.chat-mock .bar b { margin-left: 8px; font-family: "Space Grotesk", sans-serif; font-size: .85rem; color: var(--primary); }
.chat-mock .bar .live { margin-left: auto; font-size: .72rem; font-weight: 600; color: var(--success); display: flex; align-items: center; gap: 6px; }
.chat-mock .bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: pulse 1.6s infinite; }
.chat-body { padding: 20px 18px 26px; min-height: 340px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, #FCFCFB, #F7F7F5); }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: .92rem; line-height: 1.5; opacity: 0; transform: translateY(8px); animation: msgIn .4s var(--ease) forwards; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; box-shadow: var(--shadow-sm); }
.msg.user { background: var(--primary); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.msg.typing { display: flex; gap: 4px; padding: 14px 16px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-300); animation: blink 1.3s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .18s; }
.msg.typing span:nth-child(3) { animation-delay: .36s; }
.chat-chip { align-self: flex-start; background: var(--accent-soft); color: var(--accent-600); border: 1px solid #FDE68A; font-size: .8rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; opacity: 0; animation: msgIn .4s var(--ease) forwards; }

@keyframes msgIn { to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--primary); color: #fff; padding-block: clamp(26px, 4vw, 40px); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.trust .big { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.7rem); color: #fff; }
.trust .big em { color: var(--accent); font-style: normal; }
.trust .points { display: flex; flex-wrap: wrap; gap: clamp(18px, 4vw, 40px); }
.trust .points div { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: #E5E4FF; }
.trust .points svg { color: var(--accent); flex: none; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-600); margin-bottom: 20px;
  transition: transform var(--dur) var(--ease);
}
.card:hover .icon { transform: scale(1.1); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }
.card ul.feat { margin-top: 16px; display: grid; gap: 9px; }
.card ul.feat li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--text); }
.card ul.feat li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- AI capabilities ---------- */
.ai-section { background: linear-gradient(180deg, #fff, var(--bg)); }
.ai-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.ai-list { display: grid; gap: 16px; }
.ai-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ai-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.ai-item .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: var(--accent); }
.ai-item h4 { font-family: "Space Grotesk", sans-serif; font-size: 1.02rem; color: var(--primary); margin-bottom: 3px; }
.ai-item p { font-size: .9rem; color: var(--muted); }

/* ---------- Timeline ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 20px; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: var(--line); }
.steps::after {
  content: ""; position: absolute; top: 27px; left: 8%; height: 2px; width: 0;
  background: var(--accent); transition: width 1.4s var(--ease);
}
.steps.in-view::after { width: 84%; }
.step { text-align: center; position: relative; }
.step .num {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line); color: var(--primary);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.15rem;
  position: relative; z-index: 1; transition: transform var(--dur) var(--ease), border-color var(--dur), background var(--dur), color var(--dur);
}
.step:hover .num, .step.pop .num { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.08); }
.step h4 { font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; color: var(--primary); margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); }

/* ---------- Demo showcase ---------- */
.showcase { background: var(--primary); color: #fff; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.showcase .wrap { position: relative; z-index: 1; }
.showcase h2 { color: #fff; }
.showcase .lead { color: #C7C5E8; }
.browser { margin-top: 36px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-xl); }
.browser .chrome { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: #F3F4F6; border-bottom: 1px solid var(--line); }
.browser .chrome i { width: 11px; height: 11px; border-radius: 50%; background: #E5E7EB; }
.browser .chrome i:nth-child(1){ background:#FCA5A5 } .browser .chrome i:nth-child(2){ background:#FCD34D } .browser .chrome i:nth-child(3){ background:#86EFAC }
.browser .chrome .url { margin-left: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; color: var(--muted); padding: 4px 14px; }
.browser .screen { padding: 26px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: center; background: linear-gradient(135deg,#fff,#FAFAF9); }
.browser .screen .sk h3 { color: var(--primary); font-size: 1.35rem; margin-bottom: 8px; }
.browser .screen .sk p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.browser .screen .sk .pill { display: inline-block; background: var(--accent); color: var(--primary); font-size: .8rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; }
.browser .screen .art { aspect-ratio: 4/3; border-radius: 14px; background: linear-gradient(135deg,#1E1B4B,#4338CA); position: relative; overflow: hidden; }
.browser .screen .art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(245,158,11,.5), transparent 55%); }
.showcase .shapes { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.showcase .shapes span { position: absolute; border-radius: 50%; filter: blur(70px); }
.showcase .shapes span:nth-child(1){ width:300px;height:300px;background:#4338CA;top:-80px;right:-40px }
.showcase .shapes span:nth-child(2){ width:260px;height:260px;background:#D97706;bottom:-100px;left:-60px;opacity:.5 }

/* ---------- Why KOVIK / stats ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
.founder { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.founder .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: var(--accent); display: grid; place-items: center; font-family: "Space Grotesk",sans-serif; font-weight: 700; font-size: 1.3rem; margin-bottom: 16px; }
.founder h3 { font-size: 1.2rem; margin-bottom: 4px; }
.founder .role { color: var(--accent-600); font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.founder blockquote { font-size: 1.02rem; color: var(--text); border-left: 3px solid var(--accent); padding-left: 16px; font-style: italic; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat .n { font-family: "Space Grotesk",sans-serif; font-weight: 700; font-size: clamp(1.8rem,4vw,2.4rem); color: var(--primary); line-height: 1; }
.stat .n .suf { color: var(--accent-600); }
.stat .l { font-size: .86rem; color: var(--muted); margin-top: 8px; }

/* ---------- Pricing / enquiry ---------- */
.pricing-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.pricing-box .left { padding: clamp(30px,4vw,50px); background: var(--primary); color: #fff; }
.pricing-box .left h3 { color: #fff; font-size: clamp(1.4rem,3vw,2rem); margin-bottom: 14px; }
.pricing-box .left p { color: #C7C5E8; margin-bottom: 24px; }
.pricing-box .left ul { display: grid; gap: 12px; }
.pricing-box .left li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: #E5E4FF; }
.pricing-box .left li svg { color: var(--accent); flex: none; margin-top: 3px; }
.pricing-box .right { padding: clamp(30px,4vw,50px); }
.pricing-box .right h4 { font-family: "Space Grotesk",sans-serif; font-size: 1.15rem; color: var(--primary); margin-bottom: 6px; }
.pricing-box .right .sub { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--primary); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font-size: .95rem; transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary-300); box-shadow: 0 0 0 4px rgba(108,103,168,.14); }
.field .err { color: var(--danger); font-size: .8rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 14px; font-size: .9rem; font-weight: 600; display: none; padding: 12px 16px; border-radius: var(--radius-sm); }
.form-status.ok { display: block; background: #DCFCE7; color: #166534; }
.form-status.bad { display: block; background: #FEE2E2; color: #991B1B; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--dur); }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: "Space Grotesk",sans-serif; font-weight: 600; color: var(--primary); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; transition: transform var(--dur) var(--ease); color: var(--accent-600); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 24px 22px; color: var(--muted); font-size: .95rem; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg,#1E1B4B,#4338CA); position: relative; }
.post-card .thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 80%, rgba(245,158,11,.45), transparent 55%); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .meta { font-size: .78rem; color: var(--muted); display: flex; gap: 12px; }
.post-card h3 { font-size: 1.12rem; line-height: 1.3; }
.post-card p { font-size: .92rem; color: var(--muted); flex: 1; }
.post-card .more { font-weight: 600; font-size: .88rem; color: var(--accent-600); display: inline-flex; align-items: center; gap: 6px; }
.post-card:hover .more { gap: 10px; }

/* Article */
.article { max-width: 760px; margin-inline: auto; }
.article .head { text-align: center; margin-bottom: 34px; }
.article .head h1 { font-size: clamp(1.9rem,4.5vw,2.9rem); margin-bottom: 16px; }
.article .byline { display: flex; justify-content: center; align-items: center; gap: 14px; color: var(--muted); font-size: .88rem; flex-wrap: wrap; }
.article .byline .who { display: flex; align-items: center; gap: 9px; }
.article .byline .who .av { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--accent); display: grid; place-items: center; font-family: "Space Grotesk",sans-serif; font-weight: 700; font-size: .8rem; }
.article .cover { aspect-ratio: 16/8; border-radius: var(--radius-lg); background: linear-gradient(135deg,#1E1B4B,#4338CA); position: relative; overflow: hidden; margin-bottom: 34px; }
.article .cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(245,158,11,.45), transparent 55%); }
.article-body { font-size: 1.08rem; }
.article-body > * + * { margin-top: 1.3em; }
.article-body h2 { margin-top: 2em; font-size: 1.5rem; }
.article-body h3 { margin-top: 1.6em; font-size: 1.2rem; }
.article-body p { color: #374151; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-top: .5em; color: #374151; }
.article-body blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; font-style: italic; color: var(--primary); font-family: "Space Grotesk",sans-serif; }
.article-body strong { color: var(--primary); }
.related { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 40px; }

/* ---------- Login ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 100px 20px 60px; position: relative; overflow: hidden; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: clamp(28px,5vw,42px); position: relative; z-index: 1; }
.auth-card .auth-brand { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-card h2 { text-align: center; font-size: 1.55rem; margin-bottom: 8px; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: .93rem; margin-bottom: 28px; }
.auth-step { display: none; }
.auth-step.active { display: block; animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.otp-boxes { display: flex; justify-content: center; gap: 12px; margin: 24px 0; }
.otp-boxes input {
  width: 58px; height: 66px; text-align: center; font-family: "Space Grotesk",sans-serif;
  font-size: 1.7rem; font-weight: 700; color: var(--primary);
  border: 2px solid var(--line); border-radius: 14px; background: #FCFCFB;
  transition: border-color var(--dur), transform .12s var(--ease), box-shadow var(--dur);
}
.otp-boxes input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(245,158,11,.18); }
.otp-boxes input.filled { animation: pop .28s var(--ease); border-color: var(--primary-300); }
.otp-boxes input.error { border-color: var(--danger); animation: shake .4s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }
.otp-timer { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 6px; }
.otp-timer button { background: none; border: 0; color: var(--accent-600); font-weight: 600; cursor: pointer; }
.otp-timer button:disabled { color: var(--muted); cursor: not-allowed; }
.auth-msg { text-align: center; font-size: .88rem; margin-top: 16px; padding: 10px; border-radius: var(--radius-sm); display: none; }
.auth-msg.show { display: block; }
.auth-msg.error { background: #FEE2E2; color: #991B1B; }
.auth-msg.info { background: #E0E7FF; color: #3730A3; }
.auth-msg.success { background: #DCFCE7; color: #166534; }
.back-link { display: block; text-align: center; margin-top: 20px; font-size: .85rem; color: var(--muted); }
.back-link:hover { color: var(--primary); }

/* success checkmark */
.check-wrap { text-align: center; padding: 10px 0; }
.check-circle { width: 84px; height: 84px; margin: 0 auto 20px; }
.check-circle circle { stroke: var(--success); stroke-width: 3; fill: none; stroke-dasharray: 166; stroke-dashoffset: 166; animation: draw .6s var(--ease) forwards; }
.check-circle path { stroke: var(--success); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .4s var(--ease) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Dashboard ---------- */
.dash { padding-top: 110px; }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.dash-head .who h1 { font-size: clamp(1.5rem,3vw,2rem); }
.dash-head .who p { color: var(--muted); font-size: .92rem; }
.dash-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.dash-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.dash-card h4 { font-family: "Space Grotesk",sans-serif; color: var(--primary); margin-bottom: 6px; font-size: 1.05rem; }
.dash-card p { color: var(--muted); font-size: .9rem; }
.dash-card .badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-600); margin-bottom: 14px; }
.progress { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 16px; }
.progress i { display: block; height: 100%; border-radius: 999px; background: var(--accent); width: 0; transition: width 1s var(--ease); }

/* ---------- Contact / CTA ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,60px); align-items: start; }
.contact-info .item { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.contact-info .item .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; flex: none; }
.contact-info .item b { display: block; color: var(--primary); font-family: "Space Grotesk",sans-serif; }
.contact-info .item a, .contact-info .item span { color: var(--muted); font-size: .92rem; }

/* ---------- Footer ---------- */
footer { background: var(--primary); color: #C7C5E8; padding-block: 56px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
footer .brand { color: #fff; margin-bottom: 14px; }
footer .brand .mark { background: var(--accent); color: var(--primary); }
footer p { font-size: .9rem; color: #A5A3CE; }
footer h5 { font-family: "Space Grotesk",sans-serif; color: #fff; font-size: .95rem; margin-bottom: 16px; }
footer ul { display: grid; gap: 10px; }
footer ul a { font-size: .9rem; color: #C7C5E8; transition: color var(--dur); }
footer ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background var(--dur), transform var(--dur); }
.socials a:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px); }

/* ---------- Sticky WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 13px 20px 13px 15px; border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem; transition: transform var(--dur) var(--ease); }
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { flex: none; }

/* ---------- Chat widget (live) ---------- */
.chat-fab { position: fixed; right: 20px; bottom: 88px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--primary); color: var(--accent); border: 0; cursor: pointer; box-shadow: var(--shadow-lg); display: grid; place-items: center; transition: transform var(--dur) var(--ease); }
.chat-fab:hover { transform: scale(1.08); }
.chat-panel { position: fixed; right: 20px; bottom: 156px; z-index: 95; width: min(380px, calc(100vw - 40px)); height: min(560px, calc(100vh - 190px)); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); border: 1px solid var(--line); display: none; flex-direction: column; overflow: hidden; }
.chat-panel.open { display: flex; animation: fadeUp .3s var(--ease); }
.chat-panel .cp-head { background: var(--primary); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-panel .cp-head .mk { width: 38px; height: 38px; border-radius: 11px; background: var(--accent); color: var(--primary); display: grid; place-items: center; font-weight: 700; font-family: "Space Grotesk",sans-serif; }
.chat-panel .cp-head b { display: block; font-family: "Space Grotesk",sans-serif; font-size: .95rem; }
.chat-panel .cp-head small { color: #C7C5E8; font-size: .76rem; }
.chat-panel .cp-head .x { margin-left: auto; background: none; border: 0; color: #C7C5E8; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #FAFAF9; }
.chat-log .msg { opacity: 1; transform: none; animation: none; }
.chat-input { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .92rem; }
.chat-input input:focus { outline: none; border-color: var(--primary-300); }
.chat-input button { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--primary); border: 0; cursor: pointer; display: grid; place-items: center; flex: none; }
.chat-input button:disabled { opacity: .5; }
.doc-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); border: 1px solid #FDE68A; color: var(--accent-600); font-size: .82rem; font-weight: 600; padding: 9px 14px; border-radius: 12px; align-self: flex-start; cursor: pointer; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .ai-layout, .why, .contact-grid, .pricing-box { grid-template-columns: 1fr; }
  .grid-3, .blog-grid, .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .steps::before, .steps::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .browser .screen { grid-template-columns: 1fr; }
  .pricing-box .left { border-radius: 0; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 0 0 auto 0; top: 64px; flex-direction: column; align-items: stretch; background: rgba(250,250,249,.98); backdrop-filter: blur(14px); padding: 20px var(--gutter) 30px; gap: 4px; box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform var(--dur) var(--ease); }
  .nav.open .nav-links { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .grid-3, .grid-2, .blog-grid, .dash-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 56px 1fr; text-align: left; gap: 18px; align-items: center; }
  .step .num { margin: 0; }
  .hero-actions .btn { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .otp-boxes input { width: 50px; height: 58px; font-size: 1.5rem; }
  .otp-boxes { gap: 9px; }
}
@media (max-width: 400px) {
  .otp-boxes input { width: 44px; height: 54px; font-size: 1.35rem; }
  .otp-boxes { gap: 7px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .blob { animation: none !important; }
}

/* ---------- Utility ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-32 { margin-top: 32px; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 10px; }

/* ============================================================
   KOVIK — additions: sub-pages, article reading, feedback
   ============================================================ */

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: clamp(126px, 16vw, 176px);
  padding-bottom: clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, #ffffff, var(--bg));
}
.page-hero .blob { z-index: 0; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { font-size: clamp(1.02rem, 1.7vw, 1.2rem); }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-inline: auto; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent-600); }
.crumb span { opacity: .5; }

/* ---------- Section backgrounds ---------- */
.bg-white { background: #fff; }
.bg-soft { background: var(--bg); }
.bg-navy { background: var(--primary); color: #fff; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy .lead { color: #C7C5E8; }

/* ---------- Service detail blocks ---------- */
.svc { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.svc + .svc { margin-top: clamp(48px, 7vw, 90px); }
.svc.rev .svc-copy { order: 2; }
.svc h2 { margin-bottom: 14px; }
.svc .badge-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: var(--primary); color: var(--accent); font-family: "Space Grotesk", sans-serif;
  font-weight: 700; font-size: 1.05rem; margin-bottom: 16px;
}
.svc ul.feat { display: grid; gap: 12px; margin-top: 20px; }
.svc ul.feat li { position: relative; padding-left: 30px; font-size: .97rem; }
.svc ul.feat li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.svc-visual {
  border-radius: var(--radius-lg); background: linear-gradient(135deg, #1E1B4B, #4338CA);
  aspect-ratio: 5/4; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.svc-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 25%, rgba(245,158,11,.45), transparent 55%); }
.svc-visual svg { width: 96px; height: 96px; color: #fff; opacity: .92; position: relative; z-index: 1; }

/* ---------- Feature band ---------- */
.band { background: var(--primary); color: #fff; border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 52px); text-align: center; position: relative; overflow: hidden; }
.band h2 { color: #fff; margin-bottom: 12px; }
.band p { color: #C7C5E8; max-width: 60ch; margin: 0 auto 26px; }
.band .shapes span { position: absolute; border-radius: 50%; filter: blur(70px); }
.band .shapes span:nth-child(1){ width:280px;height:280px;background:#4338CA;top:-90px;right:-50px;opacity:.7 }
.band .shapes span:nth-child(2){ width:240px;height:240px;background:#D97706;bottom:-110px;left:-60px;opacity:.45 }
.band .wrap, .band > * { position: relative; z-index: 1; }

/* ---------- Article reading experience ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 120; transition: width .1s linear; }
.back-to-blog { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: 26px; transition: color var(--dur), gap var(--dur); }
.back-to-blog:hover { color: var(--accent-600); gap: 12px; }
.article .head { text-align: center; margin-bottom: 30px; }
.article .head h1 { font-size: clamp(1.85rem, 4.6vw, 2.85rem); line-height: 1.18; margin-bottom: 18px; }
.article .byline { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--muted); font-size: .88rem; flex-wrap: wrap; }
.article .byline .who { display: flex; align-items: center; gap: 9px; }
.article .byline .who .av { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--accent); display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .8rem; }
.article .byline .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.article .cover { aspect-ratio: 16/7; border-radius: var(--radius-lg); background: linear-gradient(135deg, #1E1B4B, #4338CA); position: relative; overflow: hidden; margin-bottom: clamp(30px, 4vw, 44px); }
.article .cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 25%, rgba(245,158,11,.45), transparent 55%); }
.article .cover .tag {
  position: absolute; left: 24px; bottom: 22px; z-index: 1; background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px); color: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: .82rem; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
}

.article-body { font-size: 1.11rem; line-height: 1.8; }
.article-body > * + * { margin-top: 1.35em; }
.article-body p { color: #333a45; }
.article-body .lead-para { font-size: 1.28rem; line-height: 1.65; color: var(--primary); font-weight: 500; }
.article-body .lead-para::first-letter {
  float: left; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 3.4rem;
  line-height: .86; padding: 6px 12px 0 0; color: var(--accent-600);
}
.article-body h2 { margin-top: 2.1em; font-size: clamp(1.35rem, 2.6vw, 1.6rem); padding-top: .2em; }
.article-body h2::before { content: ""; display: block; width: 40px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: 14px; }
.article-body h3 { margin-top: 1.7em; font-size: 1.22rem; }
.article-body ul, .article-body ol { padding-left: 1.35em; display: grid; gap: .55em; }
.article-body ul { list-style: none; }
.article-body ul li { position: relative; padding-left: 26px; }
.article-body ul li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.article-body ol { list-style: decimal; }
.article-body li { color: #333a45; }
.article-body li::marker { color: var(--accent-600); font-weight: 700; }
.article-body blockquote {
  border-left: 4px solid var(--accent); background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; font-style: normal; color: var(--primary); font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem; line-height: 1.6; box-shadow: var(--shadow-sm); margin-top: 1.6em;
}
.article-body a { color: var(--accent-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--primary); font-weight: 700; }
.article-body em { color: var(--primary); }

.author-card {
  display: flex; gap: 18px; align-items: center; margin-top: clamp(44px, 6vw, 64px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.author-card .av { width: 60px; height: 60px; flex: none; border-radius: 50%; background: var(--primary); color: var(--accent); display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.2rem; }
.author-card h4 { font-family: "Space Grotesk", sans-serif; color: var(--primary); font-size: 1.05rem; margin-bottom: 3px; }
.author-card .role { color: var(--accent-600); font-size: .84rem; font-weight: 600; margin-bottom: 8px; }
.author-card p { color: var(--muted); font-size: .92rem; }
.related { border-top: 1px solid var(--line); margin-top: clamp(44px, 6vw, 64px); padding-top: 40px; }

/* ---------- Feedback ---------- */
.feedback-card { max-width: 620px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(28px, 5vw, 44px); }
.stars { display: flex; gap: 8px; margin-top: 4px; }
.star { background: none; border: 0; cursor: pointer; font-size: 2.15rem; line-height: 1; color: #D6D3D1; padding: 0; transition: transform .15s var(--ease), color .15s var(--ease); }
.star:hover { transform: scale(1.14); }
.star.active { color: var(--accent); }
.rating-label { font-size: .85rem; color: var(--muted); margin-top: 8px; min-height: 20px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-check span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; color: var(--text); transition: all var(--dur) var(--ease); }
.chip-check input:checked + span { background: var(--accent-soft); border-color: #FDE68A; color: var(--accent-600); font-weight: 600; }
.chip-check input:focus-visible + span { outline: 3px solid var(--primary-300); outline-offset: 2px; }
.thanks { text-align: center; padding: 20px 0; }

/* ---------- Responsive for new blocks ---------- */
@media (max-width: 940px) {
  .svc { grid-template-columns: 1fr; }
  .svc.rev .svc-copy { order: 0; }
  .svc-visual { aspect-ratio: 16/10; }
}
@media (max-width: 760px) {
  .article-body { font-size: 1.05rem; }
  .article-body .lead-para { font-size: 1.16rem; }
  .author-card { flex-direction: column; text-align: center; }
  .back-to-blog { margin-bottom: 20px; }
}

/* ============================================================
   KOVIK — admin panel
   ============================================================ */
.admin-shell { min-height: 100vh; background: var(--bg); }
.admin-top { position: sticky; top: 0; z-index: 60; background: var(--primary); color: #fff; padding-block: 13px; box-shadow: var(--shadow-md); }
.admin-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-top .brand { color: #fff; }
.admin-top .brand .mark { background: var(--accent); color: var(--primary); }
.admin-top .who { font-size: .82rem; color: #C7C5E8; }
.admin-top .actions { display: flex; align-items: center; gap: 10px; }
.admin-btn { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.22); padding: 9px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background var(--dur), transform var(--dur); }
.admin-btn:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.admin-main { padding-block: clamp(24px, 4vw, 40px) 70px; }

.admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.admin-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.admin-stat .n { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--primary); }
.admin-stat .n small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.admin-stat .l { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.admin-stat.accent { background: var(--primary); border-color: var(--primary); }
.admin-stat.accent .n, .admin-stat.accent .l { color: #fff; }
.admin-stat.accent .n { color: var(--accent); }

.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: clamp(22px,3vw,30px) 0 16px; }
.tab { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--text); transition: all var(--dur) var(--ease); }
.tab:hover { border-color: var(--primary-300); }
.tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.tab .cnt { opacity: .7; margin-left: 6px; }

.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-scroll { overflow-x: auto; }
table.admin { width: 100%; border-collapse: collapse; min-width: 720px; }
table.admin th { text-align: left; font-family: "Space Grotesk", sans-serif; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; background: #FCFCFB; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.admin td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--text); vertical-align: top; }
table.admin tr:last-child td { border-bottom: 0; }
table.admin tr:hover td { background: #FCFCFB; }
table.admin td.strong { font-weight: 600; color: var(--primary); }
table.admin td.mono { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); font-size: .84rem; }
table.admin td .sub { display: block; font-size: .82rem; color: var(--muted); margin-top: 3px; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-600); white-space: nowrap; }
.tag.demo { background: #E0E7FF; color: #3730A3; }
.tag.contact { background: #DCFCE7; color: #166534; }
.tag.feedback { background: var(--accent-soft); color: var(--accent-600); }
.tag.doc { background: #F3E8FF; color: #7E22CE; }
.rate-stars { color: var(--accent); letter-spacing: 1px; white-space: nowrap; }
.wa-mini { display: inline-flex; align-items: center; gap: 5px; color: var(--success); font-weight: 600; font-size: .84rem; }
.wa-mini:hover { text-decoration: underline; }
.admin-empty { text-align: center; padding: 54px 20px; color: var(--muted); }
.admin-empty svg { color: var(--line); margin-bottom: 12px; }
.admin-foot { margin-top: 18px; font-size: .82rem; color: var(--muted); text-align: center; }

@media (max-width: 1000px) { .admin-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-top .who { display: none; }
}

/* admin header on small screens */
@media (max-width: 700px) {
  .admin-top .wrap { flex-wrap: wrap; row-gap: 10px; }
  .admin-top .actions { width: 100%; justify-content: space-between; }
  .admin-btn { padding: 8px 12px; font-size: .78rem; flex: 1; text-align: center; }
}
