:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fd;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --primary: #1d4ed8;
  --primary-2: #4f46e5;
  --accent: #f97316;
  --accent-text: #c2410c;
  --accent-bg: #c2410c;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

:root[data-theme="dark"] {
  --accent-text: #fdba74;
  --bg: #0b1120;
  --bg-alt: #111a2e;
  --surface: #131d33;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: #23314f;
  --primary: #60a5fa;
  --primary-2: #818cf8;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background 0.3s, color 0.3s;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 1.1rem; }
.logo-badge {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-size: 0.9rem;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--text);
  width: 40px; height: 40px; border-radius: 10px; cursor: pointer; font-size: 1.05rem;
}
.menu-btn { display: none; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 0.98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 14px; font-size: 0.88rem; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; margin-top: 16px; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-light { background: #fff; color: #1d4ed8; }

/* HERO */
.hero {
  padding: 70px 0 60px;
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 45%),
    radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 40%);
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.pill {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  background: color-mix(in srgb, var(--wa) 14%, transparent); color: var(--wa-dark);
}
:root[data-theme="dark"] .pill { color: var(--wa); }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.15; margin: 18px 0; font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.1rem; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.stats { list-style: none; display: flex; gap: 30px; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-size: 1.4rem; color: var(--primary); }
.stats span { font-size: 0.85rem; color: var(--muted); }

.hero-photo { position: relative; display: grid; place-items: center; }
.photo-ring {
  width: min(360px, 80vw); aspect-ratio: 1; border-radius: 50%; padding: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--accent));
  box-shadow: var(--shadow);
}
.photo-ring img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  object-position: 50% 22%; transform: scale(1.0);
  border: 6px solid var(--bg);
}
.hero-mark {
  width: 100%; height: 100%; border-radius: 50%; border: 6px solid var(--bg);
  display: grid; place-items: center; background: var(--surface);
  font-size: clamp(7rem, 22vw, 11rem); font-weight: 800; line-height: 1;
  color: var(--primary);
}
.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 9px 14px; border-radius: 12px; font-size: 0.85rem; font-weight: 600; white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.fc-1 { top: 8%; left: 0; }
.fc-2 { bottom: 14%; left: -4%; animation-delay: 1.2s; }
.fc-3 { top: 48%; right: -2%; animation-delay: 2.4s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* STRIP */
.strip { background: linear-gradient(90deg, var(--primary), var(--primary-2)); color: #fff; padding: 16px 0; }
.strip-inner { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: center; align-items: center; font-size: 0.95rem; }
.strip span { opacity: 0.85; }

/* SECTIONS */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.eyebrow { color: var(--accent-text); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.2; margin: 8px 0 12px; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--primary); }
.card.featured { border: 2px solid var(--primary); }
.tag {
  position: absolute; top: -12px; right: 20px; background: var(--accent-bg); color: #fff;
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.card-icon { font-size: 2rem; margin-bottom: 10px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.ticks, .syllabus { list-style: none; margin: 16px 0; display: grid; gap: 7px; font-size: 0.93rem; }
.ticks li::before { content: "✔"; color: var(--wa-dark); margin-right: 8px; font-weight: 700; }
:root[data-theme="dark"] .ticks li::before { color: var(--wa); }
.syllabus li { padding: 8px 12px; background: var(--bg-alt); border-radius: 10px; }
.syllabus b { color: var(--primary); margin-right: 6px; }
.price { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border); color: var(--muted); }
.price b { color: var(--text); font-size: 1.35rem; }
.note { text-align: center; margin-top: 30px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips span {
  padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 500;
  background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary);
}
.chips.big span { font-size: 0.9rem; padding: 7px 14px; }

/* ABOUT */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about p { color: var(--muted); margin-bottom: 14px; }
.skills h3 { margin: 0 0 6px; }
.skills h3:not(:first-child) { margin-top: 28px; }
.steps { padding-left: 20px; display: grid; gap: 8px; color: var(--muted); margin-top: 10px; }
.steps b { color: var(--text); }

/* FAQ */
details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 12px;
}
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin-top: 10px; }

/* CONTACT */
.contact { background: linear-gradient(135deg, #1d4ed8, #4f46e5); color: #fff; text-align: center; }
.contact h2 { color: #fff; }
.contact p { opacity: 0.9; }
.contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 30px 0 24px; }
.socials { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; opacity: 0.95; }
.socials a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.footer { padding: 24px 0; text-align: center; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--border); }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  animation: pulse 2.5s infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner, .about { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu-btn { display: inline-block; }
  .hide-mobile { display: none; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-top: 1px solid var(--border); }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0; }
  .float-card { font-size: 0.75rem; padding: 7px 10px; }
  .fc-2 { left: 0; }
  .fc-3 { right: 0; }
  .btn-lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* LAUNCH OFFER */
.launch {
  display: block; width: fit-content; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent-text);
  font-size: 0.78rem; font-weight: 700;
}
.price s { color: var(--muted); opacity: 0.8; margin-right: 4px; }
.offer-banner {
  text-align: center; padding: 10px 16px; font-size: 0.92rem; font-weight: 600;
  background: var(--accent-bg); color: #fff;
}
.offer-banner a { color: #fff; text-decoration: underline; }
.nav-links a.nav-demo { color: var(--accent-text); font-weight: 600; }

/* BRAND */
.logo-accent { color: var(--accent-text); }
.founder-tag {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  background: var(--text); color: var(--bg); padding: 6px 16px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow);
}

/* KODIVO */
.logo-sub { font-weight: 500; color: var(--muted); font-size: 0.9rem; }
.muted { color: var(--muted); }
.mini-services { margin-top: 24px; }
.mini {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 14px;
  background: var(--bg-alt); border: 1px solid var(--border);
}
.mini span { color: var(--muted); font-size: 0.88rem; }
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.process li { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 0.9rem; }
.process li b { color: var(--text); font-size: 1rem; }
.process span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-weight: 700;
}
.academy-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px; border-radius: var(--radius); border: 2px solid var(--primary); background: var(--surface);
}
.academy-inner p { color: var(--muted); max-width: 620px; }
.socials-inline { display: flex; gap: 18px; margin-top: 6px; font-weight: 600; }
.footer a { color: var(--muted); text-decoration: underline; }
.legal h1 { font-size: 2rem; margin-bottom: 4px; }
.legal h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 720px) {
  .process { grid-template-columns: 1fr 1fr; }
  .academy-inner { padding: 24px; }
}

/* LANGUAGE SWITCH */
.lang-btn {
  height: 40px; padding: 0 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--primary); background: transparent; color: var(--primary);
  font-family: inherit; font-weight: 600; font-size: 0.92rem;
}
.lang-btn:hover { background: var(--primary); color: #fff; }
:root[lang="hi"] body { line-height: 1.75; }

/* OUR WORK */
.work-card { padding: 0; overflow: hidden; color: var(--text); }
.work-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); }
.work-card h3, .work-card p, .work-card .work-link { padding: 0 22px; }
.work-card h3 { margin-top: 18px; }
.work-card .work-link { display: block; margin: 12px 0 20px; color: var(--primary); font-weight: 600; }

/* LEAD FORMS */
.lead-form, .form-done {
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); text-align: left;
}
.contact .lead-form, .contact .form-done { max-width: 720px; margin: 36px auto 28px; }
.form-title { font-size: 1.25rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); margin-bottom: 16px; font-size: .95rem; }
.contact .form-sub { color: var(--muted); opacity: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 6px 0 4px; }
.consent-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.lead-form button[disabled] { opacity: .6; cursor: wait; }
.form-status { min-height: 1.4em; margin-top: 10px; font-size: .92rem; color: var(--muted); }
.form-status.error { color: #dc2626; }
.form-done h3 { margin-bottom: 6px; }
.form-done p { color: var(--muted); margin-bottom: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.session-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.session-sub { color: var(--muted); margin: 10px 0; }
@media (max-width: 720px) {
  .form-grid, .session-wrap { grid-template-columns: 1fr; }
  .lead-form { padding: 20px; }
}

/* SEO LANDING PAGES */
.page-hero { padding: 56px 0 48px; text-align: center; }
.page-hero .hero-cta { justify-content: center; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); text-decoration: underline; }
.seo-ticks { max-width: 720px; margin: 0 auto; font-size: 1.02rem; gap: 12px; }
.card p a { font-weight: 600; }
.section-head h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.2; margin: 8px 0 12px; }
.footer-links { margin-bottom: 10px; line-height: 2; }
.footer-links a { color: var(--muted); }

/* PRICING */
.plans { align-items: stretch; }
.plan-price { margin: 14px 0 4px; color: var(--muted); }
.plan-price b { color: var(--text); font-size: 2rem; font-weight: 800; }
.plan-price small { margin-left: 6px; font-size: .85rem; }
.plan-price .from { font-size: .9rem; }
.plan .ticks { margin-bottom: 8px; }
.plan .btn-block { margin-top: auto; }
.nots { list-style: none; display: grid; gap: 7px; font-size: .9rem; color: var(--muted); margin: 0 0 16px; }
.nots li::before { content: "✕"; margin-right: 8px; font-weight: 700; opacity: .7; }
.narrow-grid { max-width: 820px; margin: 0 auto; }
.quick .mini em { font-style: normal; font-weight: 700; color: var(--text); margin-top: 6px; }
.quick .mini em s { color: var(--muted); font-weight: 500; margin-right: 4px; }
.note a { color: var(--primary); font-weight: 600; }
.services-more { text-align: center; margin-top: 28px; }
.process-6 { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
@media (max-width: 720px) { .process-6 { grid-template-columns: 1fr; } }
.services-more .btn { margin: 4px; }

/* GUIDES */
.guide .byline { color: var(--muted); font-size: .88rem; margin: 6px 0 18px; }
.guide .guide-intro { font-size: 1.08rem; color: var(--text); }
.guide h2 { font-size: 1.35rem; }
.guide ol { padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.guide a { color: var(--primary); font-weight: 600; }
.guide .breadcrumb { margin-bottom: 14px; }
.table-wrap { overflow-x: auto; margin: 14px 0; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 460px; }
.table-wrap th, .table-wrap td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; }
.table-wrap th { background: var(--bg-alt); color: var(--text); }
.table-wrap td { color: var(--muted); }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0; padding: 18px 20px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--border); }
.cta-box p { margin: 0; color: var(--text); font-weight: 500; flex: 1 1 260px; }
.chat-sample { display: grid; gap: 8px; margin: 12px 0; padding: 16px 18px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--border); }
.chat-sample p { margin: 0; }
.guide-card h3 { color: var(--text); }
.guide-card { color: inherit; text-decoration: none; }
.guide-card .work-link { margin-top: auto; padding-top: 12px; color: var(--primary); font-weight: 600; }
.guide ul + p, .guide ol + p, .guide .table-wrap + p { margin-top: 12px; }
.mini span a { color: var(--primary); font-weight: 600; }

/* REVIEWS */
.reviews { max-width: 980px; margin: 0 auto; }
.review { margin: 0; gap: 10px; }
.review .review-tag { position: static; align-self: flex-start; }
.review .stars { color: #f59e0b; letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { color: var(--text); font-size: .98rem; line-height: 1.6; }
.review figcaption { display: flex; flex-direction: column; font-size: .9rem; }
.review figcaption span { color: var(--muted); }
.review .review-tag { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); font-weight: 600; }

/* FOUNDER BLOCK ON CITY PAGES */
.local-founder { display: flex; align-items: center; gap: 28px; max-width: 760px; margin: 0 auto 56px; }
.local-founder img {
  width: 150px; height: 150px; flex-shrink: 0; border-radius: 50%; object-fit: cover; object-position: 50% 22%;
  padding: 5px; background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--accent));
}
.local-founder h2 { margin: 6px 0 8px; }
.local-founder p { color: var(--muted); }
@media (max-width: 720px) {
  .local-founder { flex-direction: column; text-align: center; gap: 16px; }
}

/* "Working now / Next" card on the demo pages */
.status-card { margin-top: 24px; }
.status-card:hover { transform: none; }
.status-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.status-cols h4 { margin: 14px 0 0; font-size: 1rem; }
.status-cols h4 .muted { font-weight: 500; font-size: 0.85rem; }
.ticks.next-list li::before, :root[data-theme="dark"] .ticks.next-list li::before { content: "→"; color: var(--primary); }
@media (max-width: 760px) { .status-cols { grid-template-columns: 1fr; } }

/* Business address line in the footer */
.footer-address { margin-bottom: 6px; }
