/* =========================================================
   SMART TECH SOLUTION — Design System
   ========================================================= */
:root {
  --ink: #0d0b1f;
  --ink-2: #16132e;
  --ink-3: #221d45;
  --primary: #6d28d9;
  --primary-500: #7c3aed;
  --primary-400: #a78bfa;
  --primary-100: #ede9fe;
  --primary-50: #f6f3ff;
  --accent: #f97316;
  --accent-400: #fb923c;
  --text: #17142f;
  --muted: #5d5a78;
  --muted-light: #a5a2c0;
  --line: #e8e6f1;
  --bg: #ffffff;
  --bg-soft: #f8f7fc;
  --success: #10b981;

  --grad: linear-gradient(135deg, #6d28d9 0%, #7c3aed 45%, #f97316 100%);
  --grad-soft: linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #f97316 100%);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(23, 20, 47, 0.06), 0 1px 3px rgba(23, 20, 47, 0.04);
  --shadow: 0 10px 30px -12px rgba(45, 25, 110, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(45, 25, 110, 0.3);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
.hero-grid > *, .why-grid > *, .about-grid > *, .detail-grid > *, .contact-grid > *, .faq-wrap > *, .featured-product > *, .page-hero-grid > * { min-width: 0; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  background: var(--bg);
  overflow-x: clip; /* clip (not hidden) keeps position: sticky working */
  top: 0 !important; /* Google Translate banner fix */
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { color: var(--text); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 104px; }
.section-sm { padding-block: 72px; }
.bg-soft { background: var(--bg-soft); }
.text-center { text-align: center; }

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

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad);
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad);
}
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin-bottom: 16px; }
.section-lead { font-size: 1.08rem; color: var(--muted); }
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.section-head-row .section-head { margin-bottom: 0; max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 12px;
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn i { font-size: 0.95em; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(109, 40, 217, 0.7); }
.btn-primary:hover { background: #5b21b6; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(109, 40, 217, 0.75); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(249, 115, 22, 0.7); }
.btn-accent:hover { background: #ea580c; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--primary-400); color: var(--primary); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-whatsapp { background: #22c55e; color: #fff; }
.btn-whatsapp:hover { background: #16a34a; transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.875rem; border-radius: 10px; }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.92rem; color: var(--primary);
}
.link-arrow i { transition: transform 0.25s var(--ease); font-size: 0.8em; }
.link-arrow:hover i { transform: translateX(4px); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(23, 20, 47, 0.35); }
.header-spacer { height: var(--header-h); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  position: relative; width: 44px; height: 44px; overflow: hidden; flex-shrink: 0;
}
.brand-mark img {
  position: absolute; max-width: none; width: 180px; height: auto;
  left: -66px; top: -4px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.08rem; color: var(--text); letter-spacing: -0.02em; }
.brand-tag { font-size: 0.7rem; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; margin-top: 3px; }
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: var(--muted-light); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  font-size: 0.93rem; font-weight: 600; color: var(--text);
}
.nav-link i { font-size: 0.65rem; transition: transform 0.25s; color: var(--muted); }
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-50); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text);
}

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, 8px);
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px; opacity: 0; visibility: hidden;
  transition: opacity 0.22s, transform 0.22s var(--ease), visibility 0.22s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav-item.has-mega:hover .mega,
.nav-item.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item.has-mega:hover .nav-link i { transform: rotate(180deg); }
.mega-services { width: 820px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mega-products { width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-col h6 {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-light);
  font-weight: 700; padding: 6px 12px 10px;
}
.mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; transition: background 0.2s; }
.mega-link:hover { background: var(--bg-soft); }
.mega-link .mi {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--primary-50); color: var(--primary); font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.mega-link:hover .mi { background: var(--primary); color: #fff; }
.mega-link strong { display: block; font-size: 0.9rem; color: var(--text); font-weight: 600; line-height: 1.3; }
.mega-link small { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega-link .pill-mini {
  display: inline-block; font-size: 0.62rem; font-weight: 700; padding: 2px 7px; border-radius: 20px;
  background: #fff4ea; color: #c2410c; margin-left: 6px; vertical-align: middle; letter-spacing: 0.02em;
}
.mega-foot {
  grid-column: 1 / -1; margin-top: 8px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 0.86rem;
}
.mega-foot span { color: var(--text); font-weight: 600; }

/* Google Translate (compact) */
#google_translate_element { display: flex; align-items: center; }
#google_translate_element .goog-te-gadget-simple {
  border: 1px solid var(--line) !important; border-radius: 10px; padding: 7px 10px !important;
  background: #fff !important; font-family: var(--font) !important; font-size: 0.8rem !important;
  display: inline-flex !important; align-items: center;
}
#google_translate_element .goog-te-gadget-simple img { display: none; }
#google_translate_element .goog-te-menu-value { color: var(--text) !important; margin: 0 !important; }
#google_translate_element .goog-te-menu-value span { color: var(--text) !important; border: 0 !important; }
.skiptranslate > iframe.skiptranslate, .goog-te-banner-frame { display: none !important; }

/* =========================================================
   HERO (home)
   ========================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: #cfcbe6;
  padding: 88px 0 104px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.glow-1 { width: 520px; height: 520px; background: #6d28d9; top: -160px; right: 8%; animation: drift 14s ease-in-out infinite; }
.glow-2 { width: 380px; height: 380px; background: #f97316; bottom: -180px; right: 30%; opacity: 0.3; animation: drift 18s ease-in-out infinite reverse; }
.glow-3 { width: 340px; height: 340px; background: #4f46e5; top: 30%; left: -120px; opacity: 0.35; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 30px); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 40px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.83rem; color: #e4e1f5; margin-bottom: 26px;
}
.hero-badge b {
  background: var(--grad); color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 30px; letter-spacing: 0.04em;
}
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero-lead { font-size: 1.14rem; color: #b9b5d3; max-width: 560px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 0.9rem; color: #cfcbe6; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: var(--success); }

/* hero visual */
.hero-visual { position: relative; }
.mock {
  position: relative; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  padding: 14px; backdrop-filter: blur(6px);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 14px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.mock-bar i:nth-child(1) { background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-url {
  margin-left: 12px; flex: 1; font-size: 0.72rem; color: #9d99bb; background: rgba(0, 0, 0, 0.25);
  border-radius: 8px; padding: 5px 12px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
.mock-body { display: grid; grid-template-columns: 64px 1fr; gap: 12px; background: #120f28; border-radius: 12px; padding: 14px; min-height: 340px; }
.mock-side { display: flex; flex-direction: column; gap: 10px; align-items: center; padding-top: 4px; }
.mock-side span { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); display: grid; place-items: center; color: #7f7aa3; font-size: 0.9rem; }
.mock-side span.on { background: rgba(124, 58, 237, 0.25); color: #c4b5fd; }
.mock-main { display: grid; gap: 12px; align-content: start; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 10px; padding: 10px 12px; }
.kpi small { display: block; font-size: 0.65rem; color: #8a86ab; text-transform: uppercase; letter-spacing: 0.06em; }
.kpi strong { display: block; color: #fff; font-size: 1.05rem; margin-top: 2px; }
.kpi em { font-style: normal; font-size: 0.68rem; color: #34d399; }
.mock-chart {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 10px;
  padding: 14px; height: 150px; display: flex; align-items: flex-end; gap: 8px;
}
.mock-chart span {
  flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #a78bfa, #6d28d9);
  transform-origin: bottom; animation: grow 1.4s var(--ease) both;
}
.mock-chart span:nth-child(odd) { background: linear-gradient(180deg, #fdba74, #f97316); }
@keyframes grow { from { transform: scaleY(0); } }
.mock-rows { display: grid; gap: 8px; }
.mock-row { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.03); border-radius: 8px; padding: 8px 10px; }
.mock-row b { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }
.mock-row i { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); flex: 1; }
.mock-row i + i { flex: 0 0 22%; }
.mock-row u { text-decoration: none; font-size: 0.62rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; background: rgba(16, 185, 129, 0.15); color: #34d399; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--text); border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.55);
  font-size: 0.8rem; font-weight: 600; line-height: 1.25;
  animation: bob 6s ease-in-out infinite;
}
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.7rem; }
.float-chip .ci { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 0.95rem; }
.chip-1 { top: 44%; left: -56px; }
.chip-1 .ci { background: #dcfce7; color: #15803d; }
.chip-2 { bottom: 12%; right: -30px; animation-delay: -3s; }
.chip-2 .ci { background: var(--primary-100); color: var(--primary); }
.chip-3 { top: -22px; right: 14%; animation-delay: -1.5s; }
.chip-3 .ci { background: #ffedd5; color: #c2410c; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* =========================================================
   TECH MARQUEE
   ========================================================= */
.tech-strip { border-bottom: 1px solid var(--line); padding: 34px 0; background: #fff; }
.tech-strip p { text-align: center; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--muted-light); margin-bottom: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 600; color: #8b88a6; white-space: nowrap; transition: color 0.2s; }
.marquee-track span i { font-size: 1.5rem; }
.marquee-track span:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   CARDS — services
   ========================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.icon-box {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--primary-50); color: var(--primary); font-size: 1.35rem; margin-bottom: 22px;
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease);
}
.card:hover .icon-box { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.04); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; margin-bottom: 20px; }
.card .link-arrow { margin-top: auto; }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag { font-size: 0.74rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: 20px; }

/* Service category tabs (home) */
.svc-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.svc-tab {
  padding: 10px 18px; border-radius: 40px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: 0.9rem; color: var(--muted); transition: all 0.2s;
}
.svc-tab:hover { color: var(--text); border-color: var(--primary-400); }
.svc-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.svc-panel[hidden] { display: none; }

/* =========================================================
   PRODUCTS
   ========================================================= */
.products { background: var(--ink); color: #b9b5d3; position: relative; overflow: hidden; isolation: isolate; }
.products::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.35), transparent 65%);
  top: -300px; left: -200px; z-index: -1;
}
.products .section-title { color: #fff; }
.products .section-lead { color: #b9b5d3; }
.products .eyebrow { color: var(--primary-400); }

.featured-product {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  border-radius: 28px; padding: 48px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(249, 115, 22, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 24px; position: relative; overflow: hidden;
}
.featured-product .badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 700;
  padding: 5px 12px; border-radius: 30px; letter-spacing: 0.02em;
}
.badge-accent { background: rgba(249, 115, 22, 0.16); color: #fdba74; border: 1px solid rgba(249, 115, 22, 0.3); }
.badge-violet { background: rgba(167, 139, 250, 0.14); color: #c4b5fd; border: 1px solid rgba(167, 139, 250, 0.3); }
.badge-soft { background: var(--primary-50); color: var(--primary); }
.badge-orange { background: #fff4ea; color: #c2410c; }
.featured-product h3 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.featured-product p { font-size: 1.02rem; margin-bottom: 24px; color: #cfcbe6; }
.check-list { display: grid; gap: 10px; margin-bottom: 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li i { color: var(--success); margin-top: 5px; font-size: 0.9rem; }
.check-list.two { grid-template-columns: 1fr 1fr; }
.featured-product .check-list li { color: #e4e1f5; font-size: 0.95rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.fp-visual { position: relative; }
.invoice {
  background: #fff; border-radius: 18px; padding: 26px; color: var(--text);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7); transform: rotate(-2deg);
}
.invoice-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.invoice-top strong { font-size: 1rem; }
.invoice-top .ok { font-size: 0.72rem; font-weight: 700; color: #15803d; background: #dcfce7; padding: 4px 10px; border-radius: 20px; }
.inv-line { display: flex; justify-content: space-between; font-size: 0.85rem; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.inv-line b { color: var(--text); font-weight: 600; }
.inv-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.inv-total span { font-size: 0.8rem; color: var(--muted); }
.inv-total strong { font-size: 1.4rem; }
.inv-qr { display: flex; gap: 14px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.75rem; }
.inv-qr i { font-size: 2.4rem; color: var(--text); }
.fp-sync {
  position: absolute; top: -22px; left: -18px; background: var(--ink-3); color: #fff; border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px; padding: 12px 16px; font-size: 0.8rem; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

.product-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px; padding: 32px; transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s;
  display: flex; flex-direction: column; position: relative;
}
.product-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.07); border-color: rgba(167, 139, 250, 0.4); }
.product-card .icon-box { background: rgba(167, 139, 250, 0.14); color: #c4b5fd; }
.product-card:hover .icon-box { background: var(--grad); color: #fff; }
.product-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.product-card p { font-size: 0.94rem; margin-bottom: 20px; }
.product-card ul { display: grid; gap: 8px; margin-bottom: 24px; font-size: 0.88rem; color: #cfcbe6; }
.product-card ul li { display: flex; gap: 10px; }
.product-card ul li i { color: var(--primary-400); margin-top: 5px; font-size: 0.75rem; }
.product-card .link-arrow { color: #fdba74; margin-top: auto; }
.product-card .card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* =========================================================
   STATS / WHY
   ========================================================= */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.stat { padding: 36px 28px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.stat strong sup { font-size: 0.55em; color: var(--accent); vertical-align: top; position: relative; top: 0.25em; margin-left: 2px; }
.stat > span { font-size: 0.9rem; }

.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.why-visual { position: relative; border-radius: 28px; background: var(--bg-soft); border: 1px solid var(--line); padding: 36px; }
.why-list { display: grid; gap: 14px; }
.why-item { display: flex; gap: 18px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.why-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.why-item .icon-box { margin: 0; width: 48px; height: 48px; font-size: 1.1rem; flex-shrink: 0; }
.why-item h4 { font-size: 1.02rem; margin-bottom: 4px; }
.why-item p { font-size: 0.9rem; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; text-align: center; padding: 0 8px; z-index: 1; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--primary-100);
  color: var(--primary); font-weight: 800; font-size: 1rem; box-shadow: 0 0 0 8px var(--bg-soft);
  transition: all 0.3s;
}
.step:hover .step-num { background: var(--primary); color: #fff; border-color: var(--primary); }
.step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px;
  border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--text); font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.industry i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff4ea; color: var(--accent); flex-shrink: 0; }
.industry:hover { border-color: var(--primary-400); box-shadow: var(--shadow); transform: translateY(-3px); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { overflow: hidden; }
.testimonialSwiper { padding-bottom: 56px !important; }
.t-card {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; position: relative;
}
.t-stars { color: #f59e0b; font-size: 0.85rem; display: flex; gap: 3px; margin-bottom: 16px; }
.t-card p { color: var(--text); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; flex: 1; }
.t-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.t-author h5 { font-size: 0.95rem; }
.t-author span { font-size: 0.82rem; }
.swiper-slide { height: auto !important; }
.swiper-pagination-bullet { background: var(--muted-light) !important; opacity: 0.5 !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; opacity: 1 !important; width: 22px !important; border-radius: 6px !important; }
.swiper-nav { display: flex; gap: 10px; }
.swiper-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text);
  display: grid; place-items: center; transition: all 0.2s;
}
.swiper-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Review modal */
.modal {
  position: fixed; inset: 0; z-index: 2000; background: rgba(13, 11, 31, 0.6); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.modal.active { opacity: 1; visibility: visible; }
.modal-box {
  width: 100%; max-width: 480px; background: #fff; border-radius: 24px; padding: 36px; position: relative;
  transform: translateY(16px) scale(0.98); transition: transform 0.3s var(--ease);
}
.modal.active .modal-box { transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft); font-size: 1.3rem; color: var(--muted); }
.modal-close:hover { background: var(--line); color: var(--text); }
.modal-box h3 { font-size: 1.4rem; margin-bottom: 6px; }
.modal-box > p { font-size: 0.92rem; margin-bottom: 22px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color 0.25s, box-shadow 0.25s; }
.faq-item.active { border-color: var(--primary-100); box-shadow: var(--shadow); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; text-align: left;
  padding: 20px 24px; font-weight: 600; font-size: 1rem; color: var(--text);
}
.faq-question i {
  width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center;
  font-size: 0.72rem; flex-shrink: 0; transition: transform 0.3s, background 0.3s, color 0.3s;
}
.faq-item.active .faq-question i { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 24px 22px; font-size: 0.95rem; }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 72px 56px;
  background: var(--ink); color: #cfcbe6;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 65%); right: -120px; top: -220px; z-index: -1; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 115, 22, 0.3), transparent 65%); left: 20%; bottom: -260px; z-index: -1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { font-size: 1.05rem; }
.cta-band .btn-row { justify-content: flex-end; }

/* =========================================================
   PAGE HERO (inner)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #b9b5d3;
  padding: 80px 0 88px;
}
.page-hero .hero-bg::before { mask-image: radial-gradient(ellipse 60% 80% at 70% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 70% 30%, #000 20%, transparent 70%); }
.page-hero .glow-1 { width: 420px; height: 420px; top: -200px; right: 5%; }
.page-hero .glow-2 { width: 300px; height: 300px; bottom: -220px; right: 35%; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.84rem; margin-bottom: 22px; color: #8f8bb0; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 0.6rem; }
.breadcrumb span:last-child { color: #e4e1f5; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; margin-bottom: 18px; max-width: 820px; }
.page-hero .lead { font-size: 1.12rem; max-width: 680px; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
.hero-icon-card {
  justify-self: end; width: 220px; height: 220px; border-radius: 40px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(249, 115, 22, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.14); font-size: 5rem; color: #fff; position: relative;
  box-shadow: 0 40px 80px -30px rgba(109, 40, 217, 0.6); animation: bob 7s ease-in-out infinite;
}
.hero-icon-card::after { content: ""; position: absolute; inset: 18px; border-radius: 28px; border: 1px dashed rgba(255, 255, 255, 0.18); }

/* =========================================================
   SERVICE / PRODUCT DETAIL
   ========================================================= */
.detail-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: start; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 18px; }
.prose p { font-size: 1.03rem; margin-bottom: 18px; }
.prose .check-list { margin: 26px 0 0; }
.prose .check-list li { color: var(--text); font-weight: 500; }
.side-card { position: sticky; top: calc(var(--header-h) + 24px); border-radius: 24px; border: 1px solid var(--line); padding: 32px; background: #fff; box-shadow: var(--shadow); }
.side-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.side-card > p { font-size: 0.92rem; margin-bottom: 22px; }
.side-card .btn { width: 100%; margin-bottom: 10px; }
.side-meta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 0.88rem; }
.side-meta div { display: flex; gap: 10px; align-items: center; }
.side-meta i { color: var(--primary); width: 16px; }

.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card .icon-box { width: 48px; height: 48px; font-size: 1.1rem; margin-bottom: 18px; }
.feature-card:hover .icon-box { background: var(--grad); color: #fff; }
.feature-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--text); font-size: 0.92rem;
}
.chip i { color: var(--primary); font-size: 1.1rem; }

.related-card { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: all 0.25s; }
.related-card .icon-box { margin: 0; width: 48px; height: 48px; font-size: 1.1rem; flex-shrink: 0; }
.related-card strong { display: block; color: var(--text); font-size: 0.98rem; }
.related-card small { font-size: 0.82rem; }
.related-card > i { margin-left: auto; color: var(--muted-light); transition: transform 0.25s; }
.related-card:hover { border-color: var(--primary-400); box-shadow: var(--shadow); }
.related-card:hover > i { transform: translateX(4px); color: var(--primary); }

/* Pricing (SyncroBooks) */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 36px; background: #fff; display: flex; flex-direction: column; }
.price-card.popular { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.price-card .popular-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 14px; border-radius: 20px; letter-spacing: 0.04em; white-space: nowrap; }
.price-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.price-card > p { font-size: 0.9rem; margin-bottom: 22px; }
.price { font-size: 2.5rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1; margin-bottom: 24px; }
.price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price sub { font-size: 1rem; font-weight: 700; vertical-align: top; position: relative; top: 0.45em; margin-right: 4px; }
.price-card ul { display: grid; gap: 12px; margin-bottom: 30px; font-size: 0.93rem; flex: 1; }
.price-card ul li { display: flex; gap: 10px; }
.price-card ul li i { color: var(--success); margin-top: 5px; font-size: 0.8rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.93rem; }
.compare th, .compare td { padding: 16px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--text); font-weight: 500; }
.compare thead th { background: var(--bg-soft); color: var(--text); font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }
.compare .fa-check { color: var(--success); }
.compare .fa-minus { color: var(--muted-light); }
.note { font-size: 0.85rem; text-align: center; margin-top: 20px; }
.note a { color: var(--primary); font-weight: 600; }

.affiliate-note { display: flex; gap: 12px; align-items: flex-start; font-size: 0.82rem; padding: 14px 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); margin-top: 28px; }
.affiliate-note i { color: var(--primary); margin-top: 3px; }

/* =========================================================
   ABOUT / CONTACT / LEGAL
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-logo { border-radius: 28px; background: var(--bg-soft); border: 1px solid var(--line); padding: 48px; display: grid; place-items: center; }
.mv-card { padding: 40px; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.mv-card .icon-box { margin-bottom: 20px; }
.mv-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.founder { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; padding: 44px; border-radius: 28px; background: var(--bg-soft); border: 1px solid var(--line); }
.founder-avatar { width: 128px; height: 128px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 2.4rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 8px #fff; }
.founder h3 { font-size: 1.5rem; }
.founder .role { color: var(--primary); font-weight: 600; margin-bottom: 12px; display: block; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: #fff; margin-bottom: 14px; transition: all 0.25s; }
.contact-card:hover { border-color: var(--primary-400); box-shadow: var(--shadow); }
.contact-card .icon-box { margin: 0; flex-shrink: 0; }
.contact-card small { display: block; font-size: 0.8rem; }
.contact-card strong { color: var(--text); font-size: 1rem; word-break: break-word; }
.form-card { border-radius: 24px; border: 1px solid var(--line); padding: 40px; background: #fff; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card > p { margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft);
  font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary-500); background: #fff; box-shadow: 0 0 0 4px var(--primary-100); }

.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 1rem; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--muted-light); padding: 88px 0 0; margin-top: 0; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer p { font-size: 0.93rem; }
.footer-about p { margin: 20px 0 24px; max-width: 320px; }
.footer h5 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; font-size: 0.92rem; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--primary-400); margin-top: 5px; width: 16px; }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); color: #e4e1f5; transition: all 0.25s; }
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer .brand-mark { background: #fff; border-radius: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.86rem; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* Back to top + WhatsApp float */
#backToTop {
  position: fixed; left: 24px; bottom: 24px; z-index: 900; width: 46px; height: 46px; border-radius: 14px;
  background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s;
}
#backToTop.show { opacity: 1; visibility: visible; transform: none; }
#backToTop:hover { background: var(--primary); }

/* =========================================================
   CHATBOT (ids/classes used by js/chatbot.js)
   ========================================================= */
.chatbot-widget { position: fixed; right: 24px; bottom: 24px; z-index: 1500; }
.chatbot-bubble {
  width: 60px; height: 60px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.45rem;
  display: grid; place-items: center; box-shadow: 0 16px 34px -10px rgba(109, 40, 217, 0.7); transition: transform 0.25s var(--ease);
  position: relative;
}
.chatbot-bubble::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(124, 58, 237, 0.5); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.chatbot-bubble:hover { transform: scale(1.07); }
.chatbot-window {
  position: absolute; right: 0; bottom: 76px; width: 370px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 140px);
  background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.98); transform-origin: bottom right; transition: all 0.28s var(--ease);
}
.chatbot-window.active { opacity: 1; visibility: visible; transform: none; }
.chatbot-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--ink); color: #fff; }
.chatbot-header-info { display: flex; align-items: center; gap: 12px; }
.chatbot-header-info > i { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; }
.chatbot-header-info strong { display: block; font-size: 0.95rem; }
.chatbot-header-info small { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: #b9b5d3; }
.chatbot-header-info small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; }
.chatbot-close { font-size: 1.5rem; color: #b9b5d3; width: 34px; height: 34px; border-radius: 50%; }
.chatbot-close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.chat-message { max-width: 85%; padding: 11px 15px; border-radius: 16px; font-size: 0.9rem; line-height: 1.5; white-space: pre-line; }
.chat-message.bot { background: #fff; border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-message.user { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chatbot-input-area { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chatbot-input-area input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 0.9rem; background: var(--bg-soft); }
.chatbot-input-area input:focus { outline: none; border-color: var(--primary-500); background: #fff; }
.chatbot-input-area button { width: 44px; border-radius: 12px; background: var(--primary); color: #fff; }
.chatbot-input-area button:hover { background: #5b21b6; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .mega-services { width: 720px; }
}

@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  /* backdrop-filter would trap the fixed mobile menu inside the header box */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-quote { display: none; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 16px 24px 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    border-top: 1px solid var(--line);
  }
  .nav-menu.open { transform: none; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-link:hover, .nav-link.active { background: transparent; }
  .mega {
    position: static; transform: none !important; opacity: 1; visibility: visible; width: 100% !important;
    box-shadow: none; border: 0; border-radius: 0; padding: 0; display: none !important;
  }
  .mega::before { display: none; }
  .nav-item.open .mega { display: grid !important; grid-template-columns: 1fr; padding: 8px 0 12px; }
  .nav-item.open .nav-link i { transform: rotate(180deg); }
  .nav-item.has-mega:hover .nav-link i { transform: none; }
  .nav-item.open.has-mega:hover .nav-link i { transform: rotate(180deg); }
  .mega-link small { display: none; }
  .mega-foot { display: none; }
  .mobile-cta { display: grid !important; gap: 10px; margin-top: 24px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .chatbot-widget, body.menu-open #backToTop { display: none; }

  .hero-grid, .why-grid, .faq-wrap, .detail-grid, .about-grid, .contact-grid, .featured-product, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 72px; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .grid-4, .industries { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .process::before { display: none; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; padding: 56px 40px; }
  .cta-band .btn-row { justify-content: flex-start; }
  .side-card { position: static; }
  .hero-icon-card { display: none; }
  .fp-visual { max-width: 460px; }
}
.mobile-cta { display: none; }

@media (max-width: 720px) {
  .section { padding-block: 76px; }
  .section-sm { padding-block: 56px; }
  .container { padding-inline: 18px; }
  .hero { padding: 56px 0 88px; }
  .hero-trust { gap: 10px 20px; }
  .brand-tag { display: none; }
  #google_translate_element { display: none; }
  .grid-3, .grid-2, .grid-4, .pricing-grid, .industries { grid-template-columns: 1fr; }
  .form-row, .check-list.two { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .featured-product { padding: 32px 22px; }
  .card, .product-card, .price-card { padding: 26px; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-kpis .kpi:nth-child(3) { display: none; }
  .chip-1 { left: -6px; top: -30px; }
  .chip-2 { right: -6px; bottom: -24px; }
  .chip-3 { display: none; }
  .founder { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .founder-avatar { margin: 0 auto; }
  .form-card { padding: 28px 22px; }
  .cta-band { padding: 44px 24px; border-radius: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }
  .chatbot-widget { right: 16px; bottom: 16px; }
  #backToTop { left: 16px; bottom: 16px; }
  .section-head-row .swiper-nav { display: none; }
}

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