/* =========================================================
   MilixNow CRM — Marketing Website Stylesheet
   Mobile-first, responsive (phone / tablet / laptop / desktop)
   ========================================================= */

:root {
  /* MilixNow palette — Midnight Navy · Electric Blue · Mint Teal · Coral */
  --primary: #1463ff;
  --primary-600: #0b4fe0;
  --primary-800: #061a4a;
  --primary-50: #eef4ff;
  --primary-100: #dbe7ff;
  --accent: #00b89c;
  --accent-600: #009e86;
  --accent-50: #e6faf6;
  --orange: #ff7a45;
  --coral: #ff7a45;
  --teal: #14b8a6;
  --green: #16a34a;
  --yellow: #f5b400;
  --ink: #0d1b33;
  --text: #4e5b73;
  --muted: #8592a8;
  --line: #e3e9f3;
  --bg: #ffffff;
  --bg-soft: #f5f8fe;
  --grad: linear-gradient(100deg, #1463ff 0%, #0b8fd6 55%, #009e86 100%);
  --grad-text: linear-gradient(95deg, #1463ff 0%, #00b89c 100%);
  --grad-diag: linear-gradient(135deg, #061a4a 0%, #0c3aa8 52%, #0a8f9e 100%);
  --grad-soft: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(6, 26, 74, .06);
  --shadow: 0 12px 32px -8px rgba(6, 26, 74, .14);
  --shadow-lg: 0 30px 70px -20px rgba(6, 26, 74, .28);
  --glow: 0 10px 26px -8px rgba(20, 99, 255, .55);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
svg.lucide { display: inline-block; vertical-align: middle; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(20, 99, 255, .45); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.text-center { text-align: center; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--primary);
  background: var(--primary-50); border: 1px solid var(--primary-100);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.eyebrow svg { width: 15px; height: 15px; color: var(--accent); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.08rem; }
.lead { font-size: 1.15rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .98rem; padding: 13px 26px; border-radius: 100px;
  border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap; line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(20, 99, 255, .55); background-size: 150% 100%; }
.btn-grad:hover { background-position: 100% 0; box-shadow: 0 14px 30px -8px rgba(20, 99, 255, .6); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-ghost-white { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-white:hover { background: #fff; color: var(--primary); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header / Nav ---------- */
.topbar { background: var(--primary-800); color: #c3d4f5; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar .social { display: flex; gap: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(6,26,74,.18); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--ink); letter-spacing: -.03em; }
.logo img { width: 40px; height: 40px; }
.logo b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-wrap { position: relative; }
.nav-item.static { position: static; }
.nav-item.static > .dropdown { top: calc(100% - 8px); }
.nav-item.static > .dropdown::before { top: -20px; height: 20px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px;
  font-weight: 500; color: var(--ink); background: none; border: 0; font-size: .98rem;
}
.nav-link svg { width: 16px; height: 16px; transition: transform .25s; }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active { color: var(--primary); background: var(--primary-50); }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px; opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s, visibility .22s; z-index: 50;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega { width: min(1060px, 94vw); display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 18px; }
.mega-2 { width: min(640px, 94vw); display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 12px; }
.mega-1 { width: 320px; }
.mega-col h6 { font-family: var(--font-head); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 6px 10px 8px; }
.menu-link { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-size: .93rem; font-weight: 500; transition: background .2s; }
.menu-link:hover { background: var(--primary-50); color: var(--primary); }
.menu-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.menu-ico svg { width: 17px; height: 17px; }
.menu-link:hover .menu-ico { background: var(--grad); color: #fff; }
.menu-link small { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; line-height: 1.3; }
.mega-foot { grid-column: 1 / -1; margin-top: 8px; padding: 14px 16px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mega-foot p { margin: 0; color: var(--ink); font-weight: 500; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); color: var(--ink); }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn svg { width: 19px; height: 19px; }
.menu-toggle { display: none; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(4, 14, 36, .5); opacity: 0; visibility: hidden; transition: .3s; z-index: 190; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; z-index: 200;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 10px 12px 20px; }
.drawer-body details { border-bottom: 1px solid var(--line); }
.drawer-body summary, .drawer-body > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 10px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.drawer-body summary::-webkit-details-marker { display: none; }
.drawer-body summary svg { width: 18px; transition: transform .25s; }
.drawer-body details[open] summary svg { transform: rotate(180deg); }
.drawer-body > a { border-bottom: 1px solid var(--line); }
.drawer-sub { padding: 0 0 10px; }
.drawer-sub h6 { margin: 10px 10px 4px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font-head); }
.drawer-sub a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; font-size: .94rem; }
.drawer-sub a svg { width: 16px; height: 16px; color: var(--primary); }
.drawer-sub a:hover { background: var(--primary-50); }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; background: rgba(4,14,36,.6); backdrop-filter: blur(6px); z-index: 300; display: none; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px; }
.search-overlay.open { display: flex; }
.search-box { width: min(640px, 100%); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-box form { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 1.1rem; color: var(--ink); background: transparent; }
.search-results { max-height: 50vh; overflow-y: auto; padding: 8px; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.search-results a:hover, .search-results a.active { background: var(--primary-50); }
.search-results small { color: var(--muted); display: block; }
.search-empty { padding: 20px; text-align: center; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; background: var(--grad-soft); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(20,99,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20,99,255,.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.blob-1 { width: 460px; height: 460px; background: #b9d0ff; top: -140px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: #aef0e2; bottom: -160px; left: -100px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .92rem; color: var(--ink); font-weight: 500; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 18px; height: 18px; color: var(--green); }
.rating-row { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; display: grid; place-items: center; font-weight: 700; font-size: .8rem; color: #fff; }
.avatars span:first-child { margin-left: 0; }
.stars { display: flex; gap: 2px; color: var(--yellow); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.rating-row p { margin: 0; font-size: .88rem; }
.rating-row strong { color: var(--ink); }

/* Dashboard mockup (pure CSS/SVG — crisp at any resolution) */
.hero-visual { position: relative; }
.mock-window { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f7faff; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; }
.mock-bar i:nth-child(2) { background: #ffbd2e; }
.mock-bar i:nth-child(3) { background: #28c940; }
.mock-bar .url { margin-left: 12px; flex: 1; height: 22px; border-radius: 6px; background: #e9eff9; font-size: .7rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }
.mock-body { display: grid; grid-template-columns: 58px 1fr; min-height: 360px; }
.mock-side { background: var(--primary-800); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mock-side span { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #8ea8d6; }
.mock-side span.on { background: rgba(255,255,255,.14); color: #fff; }
.mock-side svg { width: 17px; height: 17px; }
.mock-main { padding: 16px; background: #f8fbff; }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-top b { font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.mock-top em { font-style: normal; font-size: .7rem; padding: 4px 10px; border-radius: 20px; background: var(--grad); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi small { font-size: .66rem; color: var(--muted); display: block; }
.kpi strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.kpi .up { font-size: .64rem; color: var(--green); font-weight: 600; margin-left: 4px; }
.mock-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mock-card h5 { font-size: .74rem; margin: 0 0 8px; color: var(--ink); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; padding-top: 6px; }
.bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #4d8bff, #1463ff); animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; transform-origin: bottom; }
.bars span:nth-child(even) { background: linear-gradient(180deg, #3fdcc2, #009e86); }
@keyframes grow { from { transform: scaleY(0); } }
.pipeline-list { display: grid; gap: 7px; }
.pl-row { display: flex; align-items: center; gap: 8px; font-size: .68rem; color: var(--ink); }
.pl-row i { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; color: #fff; font-size: .6rem; font-weight: 700; }
.pl-row .tag { margin-left: auto; font-size: .58rem; padding: 2px 7px; border-radius: 10px; font-weight: 600; }
.tag-hot { background: #ffe9e0; color: #d4461a; }
.tag-warm { background: #fff3db; color: #b67800; }
.tag-new { background: #e4f8ee; color: #138a47; }
.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: .8rem; animation: floaty 6s ease-in-out infinite;
}
.float-card b { color: var(--ink); display: block; font-size: .85rem; }
.float-card small { color: var(--muted); }
.fc-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.fc-ico svg { width: 19px; height: 19px; }
.fc-1 { top: -22px; left: -34px; }
.fc-2 { bottom: 56px; right: -28px; animation-delay: -3s; }
.fc-3 { bottom: -26px; left: 40px; animation-delay: -1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Trust strip / stats ---------- */
.trust { padding: 56px 0; border-bottom: 1px solid var(--line); }
.trust h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); text-align: center; font-weight: 600; margin-bottom: 30px; }
.industry-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.industry { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-weight: 500; color: var(--ink); font-size: .93rem; transition: .25s; }
.industry svg { width: 18px; height: 18px; color: var(--primary); }
.industry:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .3s; }
.stat:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--ink); font-weight: 500; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.check-list { display: grid; gap: 12px; margin: 22px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list li svg { flex: none; width: 22px; height: 22px; color: #fff; background: var(--grad); border-radius: 50%; padding: 4px; margin-top: 1px; }
.check-list li span b { display: block; }
.check-list li span small { color: var(--text); font-size: .93rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .3s; }
.step:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 18px; right: 20px; font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--primary-50); -webkit-text-stroke: 1px var(--primary-100); }
.step h3 { font-size: 1.12rem; margin-top: 16px; }
.step p { font-size: .94rem; margin: 0; }
.ico-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -8px rgba(20,99,255,.5); }
.ico-box svg { width: 24px; height: 24px; }
.ico-soft { background: var(--primary-50); color: var(--primary); box-shadow: none; }

/* ---------- CTA band with lead form ---------- */
.band { position: relative; background: var(--grad-diag); color: #e1ebff; padding: 70px 0; overflow: hidden; }
.band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 20%, rgba(255,255,255,.14), transparent 35%), radial-gradient(circle at 90% 90%, rgba(255,255,255,.1), transparent 30%); pointer-events: none; }
.band .container { position: relative; z-index: 1; }
.band h2 { color: #fff; }
.band p { color: #d3e2ff; }
.band-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.lead-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; max-width: 1000px; margin: 0 auto; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; height: 54px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  padding: 0 16px; outline: 0; transition: border-color .2s, box-shadow .2s; font-size: .98rem;
}
.field textarea { height: 130px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(20,99,255,.12); }
.field.tel { display: flex; }
.field.tel .cc { flex: none; display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 54px; border: 1.5px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; background: #f7faff; color: var(--ink); font-weight: 500; font-size: .92rem; }
.field.tel input { border-radius: 0 12px 12px 0; }
.band .field input { border-color: transparent; }
.band .btn { height: 54px; }
.form-note { text-align: center; font-size: .82rem; margin-top: 14px; opacity: .85; }
.form-note svg { width: 14px; height: 14px; display: inline; vertical-align: -2px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #ef4444 !important; }
.field .err { position: absolute; left: 4px; bottom: -19px; font-size: .74rem; color: #ffb4b4; }
.form-card .field .err, .bg-soft .field .err, .section .field .err { color: #dc2626; }
.band .field .err { color: #ffd1d1; }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 44px; padding: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 100px; width: fit-content; max-width: 100%; }
.tab-btn { border: 0; background: transparent; padding: 11px 22px; border-radius: 100px; font-weight: 600; color: var(--text); transition: .25s; display: inline-flex; align-items: center; gap: 8px; }
.tab-btn svg { width: 17px; height: 17px; }
.tab-btn:hover { color: var(--primary); }
.tab-btn[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(20,99,255,.6); }
.tab-panel { display: none; animation: fadeUp .45s ease both; }
.tab-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Feature cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.f-card { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .3s; display: flex; flex-direction: column; overflow: hidden; }
.f-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.f-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: transparent; }
.f-card:hover::after { transform: scaleX(1); }
.f-card h3 { margin: 20px 0 10px; font-size: 1.2rem; }
.f-card p { font-size: .95rem; margin-bottom: 18px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); font-size: .93rem; }
.more svg { width: 16px; height: 16px; transition: transform .25s; }
.f-card:hover .more svg, .more:hover svg { transform: translateX(4px); }

/* ---------- Visual mocks (feature illustrations) ---------- */
.visual { position: relative; border-radius: var(--radius-lg); padding: 34px; background: linear-gradient(145deg, #edf3ff, #e6faf5); border: 1px solid var(--line); overflow: hidden; }
.visual::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(77,139,255,.3), transparent 70%); top: -80px; right: -60px; }
.visual > * { position: relative; }
.v-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 16px; border: 1px solid var(--line); }
.v-card + .v-card { margin-top: 12px; }
.v-row { display: flex; align-items: center; gap: 12px; font-size: .86rem; color: var(--ink); }
.v-row + .v-row { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.v-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .78rem; flex: none; }
.v-row small { display: block; color: var(--muted); font-size: .74rem; }
.v-row .end { margin-left: auto; text-align: right; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .7rem; font-weight: 600; }
.p-green { background: #e4f8ee; color: #138a47; }
.p-pink { background: #ffe9e0; color: #d4461a; }
.p-amber { background: #fff3db; color: #b67800; }
.p-violet { background: var(--primary-50); color: var(--primary); }
.v-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.v-head b { font-family: var(--font-head); color: var(--ink); }
.progress { height: 8px; background: #e9eff9; border-radius: 10px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--grad); border-radius: 10px; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kanban-col { background: rgba(255,255,255,.7); border-radius: 12px; padding: 10px; border: 1px solid var(--line); }
.kanban-col h6 { margin: 0 0 8px; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-body); display: flex; justify-content: space-between; }
.k-item { background: #fff; border-radius: 9px; padding: 9px; font-size: .74rem; color: var(--ink); box-shadow: var(--shadow-sm); margin-bottom: 7px; border-left: 3px solid var(--primary); }
.k-item:nth-child(3n) { border-left-color: var(--accent); }
.k-item:nth-child(4n) { border-left-color: var(--teal); }
.k-item small { display: block; color: var(--muted); font-size: .66rem; }
.chat-bubble { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: .84rem; margin-bottom: 8px; }
.chat-in { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chat-out { background: var(--grad); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; font-size: .72rem; }
.cal-grid span { padding: 7px 0; border-radius: 8px; color: var(--ink); }
.cal-grid .h { color: var(--muted); font-weight: 600; }
.cal-grid .ev { background: var(--primary-50); color: var(--primary); font-weight: 700; }
.cal-grid .today { background: var(--grad); color: #fff; font-weight: 700; }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; }
.wave i { width: 4px; border-radius: 4px; background: var(--grad); animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
.donut { width: 130px; height: 130px; border-radius: 50%; background: conic-gradient(var(--primary) 0 42%, var(--accent) 42% 68%, var(--orange) 68% 84%, var(--teal) 84% 100%); display: grid; place-items: center; }
.donut::after { content: ""; width: 78px; height: 78px; border-radius: 50%; background: #fff; }
.legend { display: grid; gap: 8px; font-size: .8rem; color: var(--ink); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }

/* Integrations */
.int-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.int-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .3s; color: var(--ink); font-weight: 600; font-size: .9rem; }
.int-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.int-logo { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; box-shadow: 0 8px 18px -8px rgba(0,0,0,.35); letter-spacing: -.02em; }
.int-logo svg { width: 26px; height: 26px; }
.int-logo.lg { width: 84px; height: 84px; border-radius: 22px; font-size: 1.5rem; }
.int-logo.lg svg { width: 40px; height: 40px; }
.int-card small { color: var(--muted); font-weight: 400; font-size: .76rem; }
.hub { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: 100%; max-width: 480px; margin: 0 auto; }
.hub-core { width: 120px; height: 120px; border-radius: 32px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 20px 50px -12px rgba(20,99,255,.55); z-index: 2; }
.hub-core img { width: 72px; height: 72px; }
.hub-ring { position: absolute; inset: 8%; border: 1.5px dashed #c3d6f7; border-radius: 50%; animation: spin 60s linear infinite; }
.hub-ring.r2 { inset: 26%; animation-duration: 40s; animation-direction: reverse; }
.hub-node { position: absolute; transform: translate(-50%, -50%); }
.hub-node .int-logo { width: 56px; height: 56px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* App section */
.app-section { overflow: hidden; }
.phone { width: 250px; aspect-ratio: 9 / 19; border-radius: 38px; background: #061229; padding: 10px; box-shadow: var(--shadow-lg); position: relative; }
.phone-screen { width: 100%; height: 100%; border-radius: 30px; background: #f8fbff; overflow: hidden; position: relative; }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #061229; border-radius: 20px; z-index: 3; }
.ps-head { background: var(--grad-diag); color: #fff; padding: 40px 16px 18px; }
.ps-head small { opacity: .8; font-size: .7rem; }
.ps-head b { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.ps-body { padding: 12px; display: grid; gap: 8px; }
.ps-item { background: #fff; border-radius: 12px; padding: 10px; display: flex; align-items: center; gap: 10px; font-size: .72rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.ps-item small { display: block; color: var(--muted); font-size: .62rem; }
.ps-item .v-av { width: 30px; height: 30px; font-size: .66rem; }
.phones { display: flex; justify-content: center; align-items: center; position: relative; isolation: isolate; padding-bottom: 40px; }
.phones .phone:nth-child(2) { margin-left: -60px; transform: translateY(40px) rotate(6deg); z-index: -1; opacity: .96; }
.store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: var(--ink); color: #fff; transition: .25s; }
.store-btn:hover { transform: translateY(-2px); background: #000; }
.store-btn svg { width: 26px; height: 26px; }
.store-btn small { display: block; font-size: .66rem; opacity: .8; line-height: 1.1; }
.store-btn b { font-size: 1rem; line-height: 1.1; }

/* FAQ */
.faq-wrap { max-width: 880px; margin: 0 auto; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; transition: box-shadow .25s, border-color .25s; }
.faq[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; color: var(--ink); font-size: 1.03rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; transition: .3s; }
.faq summary .plus svg { width: 17px; height: 17px; }
.faq[open] summary .plus { background: var(--grad); color: #fff; transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; }
.faq .ans p:last-child { margin: 0; }

/* Testimonials */
.t-slider { position: relative; }
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 2px 26px; scrollbar-width: none; }
.t-track::-webkit-scrollbar { display: none; }
.t-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: .3s; }
.t-card:hover { box-shadow: var(--shadow); }
.t-card .q { width: 34px; height: 34px; color: var(--primary-100); }
.t-card p { color: var(--ink); margin: 14px 0 22px; flex: 1; }
.t-person { display: flex; align-items: center; gap: 12px; }
.t-person b { color: var(--ink); display: block; }
.t-person small { color: var(--muted); }
.t-nav { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.t-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: .25s; }
.t-nav button:hover { background: var(--grad); color: #fff; border-color: transparent; }
.t-nav svg { width: 20px; height: 20px; }

/* Blog */
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .3s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.blog-thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; display: grid; place-items: center; }
.blog-thumb svg.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.blog-thumb .ico-box { position: relative; width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); box-shadow: none; border: 1px solid rgba(255,255,255,.35); }
.blog-thumb .ico-box svg { width: 30px; height: 30px; }
.blog-cat { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--primary); font-size: .74rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.blog-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 16px; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.blog-meta span { display: inline-flex; align-items: center; gap: 5px; }
.blog-meta svg { width: 14px; height: 14px; }
.blog-body h3 { font-size: 1.15rem; line-height: 1.35; }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body p { font-size: .93rem; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--grad-soft); padding: 60px 0 70px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(20,99,255,.14) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.page-hero .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--primary); }
.crumbs svg { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--primary); font-weight: 600; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h3 { margin-bottom: 6px; }
.form-card > p { font-size: .93rem; margin-bottom: 20px; }
.form-grid { display: grid; gap: 22px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }

/* Content (prose) */
.prose { max-width: 820px; margin: 0 auto; color: var(--text); font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--accent); background: var(--accent-50); border-radius: 0 12px 12px 0; color: var(--ink); font-weight: 500; }

/* Pricing */
.toggle-wrap { display: flex; justify-content: center; margin-bottom: 44px; }
.seg { display: inline-flex; padding: 5px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 100px; }
.seg button { border: 0; background: transparent; padding: 10px 26px; border-radius: 100px; font-weight: 600; color: var(--text); }
.seg button.on { background: var(--grad); color: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-grid.cols-4 .price-card { padding: 30px 22px; }
.price-card { position: relative; border-radius: var(--radius-lg); padding: 36px 30px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .3s; }
.price-card:hover { box-shadow: var(--shadow); }
.price-card.popular { background: var(--grad-diag); color: #dbe7ff; border: 0; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.price-card.popular h3, .price-card.popular .amt { color: #fff; }
.price-card.popular .old, .price-card.popular .per { color: #b9cdf2; }
.badge-pop { position: absolute; top: 18px; right: 18px; background: var(--coral); color: #fff; font-weight: 700; font-size: .72rem; padding: 5px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .06em; }
.price-card .plan-ico { margin-bottom: 18px; }
.price-card.popular .ico-box { background: rgba(255,255,255,.18); box-shadow: none; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }
.amt { font-family: var(--font-head); font-weight: 700; font-size: 2.7rem; color: var(--ink); line-height: 1; }
.old { text-decoration: line-through; color: var(--muted); font-size: 1.05rem; }
.per { color: var(--muted); font-size: .92rem; }
.tax-note { font-size: .8rem; opacity: .8; margin-bottom: 20px; }
.price-card ul { display: grid; gap: 11px; margin: 22px 0 28px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.price-card li svg { flex: none; width: 19px; height: 19px; color: var(--green); margin-top: 2px; }
.price-card.popular li svg { color: #9ff0c4; }
.price-card .btn { margin-top: auto; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .94rem; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--ink); font-weight: 500; position: sticky; left: 0; background: #fff; }
.cmp thead th { background: var(--primary-800); color: #fff; font-family: var(--font-head); font-size: 1rem; position: sticky; top: 0; }
.cmp thead th:first-child { background: var(--primary-800); color: #fff; }
.cmp tr.grp td { background: var(--primary-50); color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: .76rem; letter-spacing: .08em; text-align: left; }
.cmp .yes { color: var(--green); }
.cmp .no { color: #c9cbd6; }
.cmp svg { width: 20px; height: 20px; display: inline-block; }
.addon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.addon { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.addon h4 { margin: 14px 0 4px; }
.addon strong { color: var(--primary); font-family: var(--font-head); font-size: 1.2rem; }

/* Tools / calculators */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.calc-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.range-row { margin-bottom: 26px; }
.range-row .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.range-row label { font-weight: 600; color: var(--ink); }
.range-row .val { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.range-row .val input { width: 120px; border: 0; padding: 8px 10px; text-align: right; font-weight: 600; color: var(--ink); outline: 0; }
.range-row .val span { padding: 8px 10px; background: var(--primary-50); color: var(--primary); font-weight: 600; font-size: .9rem; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 10px; background: linear-gradient(90deg, var(--primary) var(--p, 50%), #e1e9f6 var(--p, 50%)); outline: 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--accent); box-shadow: var(--shadow-sm); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--accent); cursor: pointer; }
.result-panel { background: var(--grad-diag); color: #dbe7ff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.result-panel h3 { color: #fff; }
.res-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.res-row b { color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.res-big { font-family: var(--font-head); font-size: 2.3rem; color: #fff; font-weight: 700; margin: 6px 0 16px; line-height: 1.1; word-break: break-word; }
.seg-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-inline button { border: 1.5px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 10px; font-weight: 600; color: var(--text); }
.seg-inline button.on { border-color: var(--primary); background: var(--primary-50); color: var(--primary); }

/* Contact */
.contact-cards { display: grid; gap: 16px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.c-card h4 { margin: 0 0 4px; }
.c-card p, .c-card a { margin: 0; font-size: .95rem; }
.c-card a:hover { color: var(--primary); }
.map-art { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }

/* Video tutorials */
.video-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: .3s; }
.video-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.video-thumb { aspect-ratio: 16 / 9; background: var(--grad-diag); display: grid; place-items: center; position: relative; }
.video-thumb .play { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.2); }
.video-thumb .play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-thumb .dur { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: .75rem; padding: 2px 8px; border-radius: 6px; }
.video-card .vb { padding: 18px 20px; }
.video-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.video-card small { color: var(--muted); }

/* Timeline (What's new) */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); }
.tl-item { position: relative; padding: 0 0 36px; }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
.tl-item .ver { display: inline-block; font-weight: 700; font-size: .8rem; color: var(--primary); background: var(--primary-50); padding: 3px 12px; border-radius: 20px; margin-bottom: 8px; }
.tl-item .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.tl-item ul { list-style: disc; padding-left: 1.2em; }

/* CTA final */
.cta-box { position: relative; overflow: hidden; border-radius: 28px; background: var(--grad-diag); padding: 64px 56px; color: #e1ebff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-box h2 { color: #fff; }
.cta-box::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); right: -120px; top: -160px; }
.cta-box > * { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: #061229; color: #98a9c6; padding-top: 80px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.foot-links { display: grid; gap: 10px; }
.foot-links a { transition: color .2s, padding .2s; }
.foot-links a:hover { color: #fff; padding-left: 4px; }
.foot-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.foot-contact svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.foot-contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: .25s; }
.socials a:hover { background: var(--grad); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.newsletter { display: flex; margin-top: 14px; background: rgba(255,255,255,.07); border-radius: 12px; padding: 5px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; padding: 0 12px; }
.newsletter input::placeholder { color: #7c8fb0; }
.footer-bottom { margin-top: 60px; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* Floating actions */
.fab-stack { position: fixed; right: 20px; bottom: 20px; display: grid; gap: 12px; z-index: 90; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 26px -8px rgba(0,0,0,.4); transition: transform .25s; position: relative; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 25px; height: 25px; }
.fab-wa { background: #25d366; }
.fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2s infinite; }
@keyframes ping { to { transform: scale(1.5); opacity: 0; } }
.fab-call { background: var(--grad); }
.to-top { background: #fff; color: var(--primary); border: 1px solid var(--line); opacity: 0; visibility: hidden; }
.to-top.show { opacity: 1; visibility: visible; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; z-index: 400; transition: transform .4s cubic-bezier(.2,.8,.2,1), visibility .4s; max-width: calc(100% - 40px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast svg { width: 20px; height: 20px; color: #4ade80; flex: none; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf .big { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 11rem); font-weight: 700; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
  .price-grid.cols-4 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
  .main-nav .nav-link { padding: 10px 10px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .int-grid { grid-template-columns: repeat(4, 1fr); }
  .fc-1 { left: -10px; }
  .fc-2 { right: -8px; }
}

/* Tablet */
@media (max-width: 991px) {
  :root { --header-h: 68px; }
  .section { padding: 76px 0; }
  .main-nav, .nav-actions .hide-md { display: none; }
  .menu-toggle { display: grid; }
  .topbar-left .hide-md { display: none; }
  .hero { padding: 50px 0 80px; }
  .hero-grid, .split, .page-hero-grid, .calc, .cta-box { grid-template-columns: 1fr; }
  .hero-grid { gap: 70px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row, .hero-points, .rating-row { justify-content: center; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .split { gap: 44px; }
  .split.reverse > :first-child { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-form { grid-template-columns: 1fr 1fr; }
  .lead-form .btn { grid-column: 1 / -1; }
  .t-track { grid-auto-columns: calc((100% - 22px) / 2); }
  .price-grid, .price-grid.cols-4 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .price-card.popular { transform: none; }
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cta-box { padding: 48px 36px; text-align: center; }
  .cta-box .btn-row, .cta-box .store-btns { justify-content: center; }
}

/* Phone */
@media (max-width: 767px) {
  body { font-size: 15.5px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 48px 0; }
  .container { padding: 0 16px; }
  .section-head { margin-bottom: 38px; }
  .topbar { display: none; }
  .logo { font-size: 1.22rem; }
  .logo img { width: 34px; height: 34px; }
  .nav-actions .btn-grad { display: none; }
  .hero-points { gap: 8px 16px; font-size: .86rem; }
  .btn-row .btn { flex: 1 1 auto; }
  .mock-body { grid-template-columns: 44px 1fr; min-height: 0; }
  .mock-side span { width: 28px; height: 28px; }
  .mock-main { padding: 10px; }
  .kpis { gap: 6px; }
  .kpi { padding: 8px; }
  .kpi strong { font-size: .95rem; }
  .mock-grid { grid-template-columns: 1fr; }
  .mock-grid .mock-card:last-child { display: none; }
  .bars { height: 80px; }
  .float-card { padding: 8px 10px; font-size: .72rem; gap: 8px; }
  .float-card b { font-size: .76rem; }
  .fc-ico { width: 30px; height: 30px; }
  .fc-ico svg { width: 15px; height: 15px; }
  .fc-1 { top: -30px; left: -4px; }
  .fc-2 { right: -4px; bottom: 30px; }
  .fc-3 { display: none; }
  .steps, .card-grid, .card-grid.cols-4, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .stat-grid { gap: 12px; }
  .stat { padding: 22px 12px; }
  .lead-form { grid-template-columns: 1fr; gap: 22px; }
  .tabs { border-radius: 18px; width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn { padding: 10px 16px; flex: none; }
  .int-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .int-card { padding: 16px 6px; font-size: .78rem; }
  .int-logo { width: 44px; height: 44px; font-size: .9rem; }
  .t-track { grid-auto-columns: 88%; }
  .visual { padding: 20px; }
  .kanban { grid-template-columns: 1fr 1fr; }
  .kanban-col:last-child { display: none; }
  .phone { width: 210px; }
  .phones .phone:nth-child(2) { display: none; }
  .form-grid.two { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .addon-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .footer-bottom nav { justify-content: center; }
  .cta-box { padding: 40px 22px; border-radius: 22px; }
  .calc-panel, .result-panel { padding: 22px; }
  .range-row .val input { width: 112px; padding: 8px 8px; font-size: .95rem; }
  .range-row .val span { padding: 8px 8px; }
  .fab-stack { right: 14px; bottom: 14px; }
  .fab { width: 48px; height: 48px; }
  .hub-node .int-logo { width: 42px; height: 42px; font-size: .8rem; }
  .hub-core { width: 88px; height: 88px; border-radius: 24px; }
  .hub-core img { width: 54px; height: 54px; }
}

@media (max-width: 400px) {
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .kpi small { font-size: .58rem; }
}

.flag-in { width: 20px; height: 14px; border-radius: 3px; flex: none; background: linear-gradient(#ff9933 0 33.3%, #fff 33.3% 66.6%, #138808 66.6%); box-shadow: 0 0 0 1px rgba(0,0,0,.08); position: relative; }
.flag-in::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; border-radius: 50%; border: 1px solid #000080; transform: translate(-50%,-50%); }

/* ---------- Tablet refinements (768px – 991px) ---------- */
@media (min-width: 768px) and (max-width: 991px) {
  /* Lead form: clean 2 × 2 grid (name | phone / email | button) */
  .lead-form { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .lead-form .btn { grid-column: auto; width: 100%; }

  /* Odd card left alone on the last row -> spans full width */
  .card-grid > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
  /* ...and blog / video cards become horizontal so they don't look stretched */
  .card-grid > .blog-card:last-child:nth-child(odd):not(:first-child) { flex-direction: row; }
  .card-grid > .blog-card:last-child:nth-child(odd):not(:first-child) .blog-thumb { flex: 0 0 46%; aspect-ratio: auto; min-height: 240px; }
  .card-grid > .video-card:last-child:nth-child(odd):not(:first-child) { display: grid; grid-template-columns: 46% 1fr; align-items: center; }
  .card-grid > .f-card:last-child:nth-child(odd):not(:first-child) { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: start; }
  .card-grid > .f-card:last-child:nth-child(odd):not(:first-child) .ico-box { grid-row: span 3; }
  .card-grid > .f-card:last-child:nth-child(odd):not(:first-child) h3 { margin-top: 0; }

  /* Integrations grid: 4 per row, orphan-free centring */
  .int-grid { grid-template-columns: repeat(4, 1fr); }

  /* Footer bottom: centred and balanced */
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .footer-bottom nav { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; align-items: start; }
  .footer-grid > :last-child h4 { grid-column: 1 / -1; }

  /* Visual cards inside splits get breathing room */
  .split .visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .stat { padding: 24px 10px; }
  .stat strong { font-size: 2rem; }
}

/* Customer review photos */
.t-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--primary-100); }

/* ---------- Utility classes (replace former inline styles; identical look) ---------- */
.w-340 { width: 340px; }
.kbd { font-size: .75rem; color: var(--muted); font-family: inherit; }
.m0 { margin: 0 !important; }
.muted { color: var(--muted); }
.small { font-size: .89rem; }
.ink { color: var(--ink); }
.crumbs.center, .blog-meta.center, .btn-row.center { justify-content: center; }
.hero-narrow { max-width: 820px; margin: 0 auto; }
.eyebrow-light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); color: #fff; }
.mt-26 { margin-top: 26px; } .mt-28 { margin-top: 28px; } .mt-30 { margin-top: 30px; } .mt-40 { margin-top: 40px; }
.mb-54 { margin-bottom: 54px; } .mb-56 { margin-bottom: 56px; } .mb-64 { margin-bottom: 64px; } .mb-70 { margin-bottom: 70px; }
.pt-50 { padding-top: 50px; } .pt-60 { padding-top: 60px; }
.cta-points { margin-top: 18px; font-size: .9rem; }
.h3-lg { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.h3-sm { font-size: 1.15rem; }
.h1-md { font-size: 2rem; }
.group-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 26px; }
.group-title.sm { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 22px; }
.tm-note { font-size: .84rem; color: var(--muted); }
.link-strong { color: var(--primary); font-weight: 600; }
.align-start { align-items: start !important; }
.no-border { border: 0 !important; }
.int-pair { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 20px 0; }
.int-pair .dots { display: flex; gap: 6px; }
.int-pair .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); display: block; }
.emi-donut-row { display: flex; gap: 18px; align-items: center; margin-bottom: 10px; }
.donut.donut-sm { width: 90px; height: 90px; }
.calc-note { font-size: .78rem; margin-top: 14px; opacity: .8; }
.post-head { max-width: 860px; margin: 0 auto; }
.post-title { font-size: clamp(1.9rem, 4vw, 3rem); }
.post-thumb { margin-bottom: 34px; border: 0; }
.post-cta { grid-template-columns: 1fr; padding: 36px; margin-top: 40px; text-align: left; }
.post-cta h2 { font-size: 1.6rem; }
/* Honeypot field (spam trap) — invisible to people, bots fill it */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Real integration logos on white tiles */
.int-logo.logo-img, .menu-ico.logo-img { background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px -10px rgba(6,26,74,.35); }
.int-logo.logo-img img { width: 64%; height: 64%; object-fit: contain; }
.menu-ico.logo-img img { width: 20px; height: 20px; object-fit: contain; }
.menu-link:hover .menu-ico.logo-img { background: #fff; }

/* App "coming soon" store buttons + official badge */
.store-btn.soon { cursor: default; background: var(--primary-800); position: relative; }
.store-btn.soon:hover { transform: none; background: var(--primary-800); }
.store-btn.soon::after { content: "SOON"; position: absolute; top: -8px; right: -8px; background: var(--coral); color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .08em; padding: 3px 7px; border-radius: 20px; }
.store-badge img { height: 52px; width: auto; }

/* CRM login "coming soon" page */
.soon-hero { min-height: calc(100vh - 116px); display: grid; align-items: center; padding: 90px 0; }
.soon-title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
