/* ActiviGPS — marketing site */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/vendor/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/vendor/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/vendor/fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Noto Sans Georgian'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/vendor/fonts/noto-georgian.woff2) format('woff2'); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }

:root {
  --brand: #00B386; --brand-d: #009E76; --blue: #0084FF;
  --grad: linear-gradient(135deg, #00C896 0%, #0084FF 100%);
  --navy: #0A1630; --navy-2: #0F2142; --ink: #0F1B33; --text: #24324A; --muted: #64748B; --line: #E5EAF2;
  --bg: #FFFFFF; --soft: #F4F7FB; --card: #FFFFFF;
  --ok: #10B981; --warn: #F59E0B; --danger: #EF4444;
  --r: 16px; --r-sm: 10px;
  --sh: 0 1px 2px rgba(15, 27, 51, .06), 0 12px 32px -14px rgba(15, 27, 51, .22);
  --sh-lg: 0 30px 80px -30px rgba(10, 22, 48, .45);
  --font: 'Helvetica Neue LT GEO', 'Inter', 'Noto Sans Georgian', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --w: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.ic { flex: none; vertical-align: middle; }
.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 10px; top: 10px; z-index: 100; background: #fff; padding: 8px 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 132, 255, .6); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(0, 132, 255, .75); transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #C9D3E2; background: var(--soft); }
.btn-white { background: #fff; color: var(--navy); }
.btn-outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(229, 234, 242, .8); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--navy) !important; text-decoration: none !important; }
.logo img { width: 34px; height: 34px; }
.logo b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--text); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.nav a:hover, .nav a.on { color: var(--ink); background: var(--soft); }
.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang > button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 600 14px var(--font); color: var(--text); cursor: pointer; }
.lang-menu { position: absolute; right: 0; top: 44px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); padding: 6px; min-width: 150px; display: none; }
.lang.open .lang-menu { display: block; }
.lang-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); font-weight: 500; text-decoration: none; }
.lang-menu a:hover, .lang-menu a.on { background: var(--soft); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 1320px) { .nav .nav-x { display: none; } .nav a { padding: 8px 9px; } .hdr-in { gap: 14px; } }
.mnav { display: none; }
@media (max-width: 980px) {
  .nav, .hdr-r .hide-m { display: none; }
  .burger { display: inline-flex; }
  .mnav.open { display: block; position: fixed; inset: 70px 0 0; background: #fff; z-index: 49; padding: 16px 20px 40px; overflow: auto; }
  .mnav a { display: block; padding: 14px 6px; font-weight: 600; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mnav .btn { margin-top: 16px; }
}

/* hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #C9D4E8; padding: 72px 0 90px; }
.hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(600px 400px at 85% 10%, rgba(0, 132, 255, .35), transparent 60%),
  radial-gradient(500px 380px at 10% 90%, rgba(0, 200, 150, .28), transparent 60%); }
.hero::after { content: ''; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: #AFC0DA; }
.hero .eyebrow { color: #5EEAC4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; font-size: 14px; color: #9FB2CF; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks .ic { color: #34D399; }
.frame { position: relative; border-radius: 20px; background: #0E1D3B; border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--sh-lg); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 12px; color: #8EA3C4; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #334766; display: inline-block; }
.frame-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #5EEAC4; font-weight: 600; }
.frame-bar .live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 0 rgba(16, 185, 129, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hero-map { height: 430px; background: #DDE6F0; }
.float { position: absolute; z-index: 500; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); padding: 10px 14px; font-size: 13px; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.float b { display: block; font-size: 15px; }
.float small { color: var(--muted); }
.float .bub { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.float.f1 { left: 14px; bottom: 16px; }
.float.f2 { right: 14px; top: 56px; }
.float.f2 .bub { background: #EF4444; }
.hero-list { position: absolute; z-index: 500; left: 14px; top: 56px; width: 210px; background: rgba(255, 255, 255, .96); border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); font-size: 12.5px; }
.hero-list div { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--ink); }
.hero-list div span { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero-list i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
@media (max-width: 980px) {
  .hero { padding: 48px 0 60px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-map { height: 340px; }
  .hero-list { display: none; }
}

/* sections */
.sec { padding: 96px 0; }
.sec-soft { background: var(--soft); }
.sec-dark { background: var(--navy); color: #B9C7DD; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-head { margin-bottom: 48px; }
@media (max-width: 720px) { .sec { padding: 64px 0; } .sec-head { margin-bottom: 32px; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: -44px; position: relative; z-index: 2; box-shadow: var(--sh); }
.stats div { background: #fff; padding: 22px 24px; }
.stats b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--sh); border-color: #D5DEEA; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; color: var(--brand); background: linear-gradient(135deg, rgba(0, 200, 150, .14), rgba(0, 132, 255, .14)); }
.ico .ic { width: 22px; height: 22px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(0, 179, 134, .12); color: var(--brand-d); margin-left: 6px; vertical-align: middle; }

.steps { counter-reset: s; }
.step { position: relative; padding: 28px 26px 26px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 24px; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 10px 20px -10px rgba(0, 132, 255, .7); }

.show { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.show + .show { margin-top: 96px; }
.show.rev .show-txt { order: 2; }
.show ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.show li { display: flex; gap: 10px; align-items: flex-start; }
.show li .ic { color: var(--brand); margin-top: 3px; }
@media (max-width: 900px) { .show { grid-template-columns: 1fr; gap: 32px; } .show.rev .show-txt { order: 0; } .show + .show { margin-top: 64px; } }

/* UI mockups */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-lg); padding: 18px; }
.mock-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 700; color: var(--ink); font-size: 15px; }
.mock-h small { font-weight: 500; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpis div { background: var(--soft); border-radius: 12px; padding: 12px; }
.kpis b { display: block; font-size: 1.25rem; color: var(--ink); }
.kpis span { font-size: 12px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 10px 4px 0; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: var(--grad); opacity: .9; }
.bars-l { display: flex; gap: 10px; padding: 6px 4px 0; font-size: 11px; color: var(--muted); }
.bars-l span { flex: 1; text-align: center; }
.alerts { display: grid; gap: 10px; }
.al { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: 0 6px 18px -12px rgba(15, 27, 51, .3); }
.al .bub { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.al b { display: block; color: var(--ink); font-size: 14.5px; }
.al small { color: var(--muted); font-size: 12.5px; }
.al time { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.tbl-mock { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl-mock th { text-align: left; font-weight: 600; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
.tbl-mock td { padding: 9px 8px; border-bottom: 1px solid #F0F3F8; color: var(--ink); }

/* industries */
.ind { display: flex; gap: 16px; align-items: flex-start; }
.ind .ico { margin: 0; flex: none; }

/* products */
.prod { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.prod-img { position: relative; background: linear-gradient(160deg, #F5F8FC, #EAF1F8); aspect-ratio: 4/3; display: grid; place-items: center; padding: 18px; }
.prod-img img { max-height: 100%; }
.prod-badge { position: absolute; left: 14px; top: 14px; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.prod-b { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod-b h3 { margin-bottom: 6px; }
.prod-b p { flex: 1; }
.prod-f { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.price { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.price small { font-size: .85rem; font-weight: 600; color: var(--muted); }

/* pricing */
.seg { display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; padding: 10px 18px; border-radius: 10px; font: 600 14px var(--font); color: var(--muted); cursor: pointer; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(15, 27, 51, .1); }
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 36px; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; }
.plan.pop { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--sh-lg); }
.plan .pop-b { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.plan h3 { margin-bottom: 4px; }
.plan .tl { color: var(--muted); font-size: 14px; min-height: 42px; }
.plan .amt { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 10px 0 2px; }
.plan .amt small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .per { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; font-size: 14px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li .ic { color: var(--brand); margin-top: 2px; width: 16px; height: 16px; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin-top: 48px; background: #fff; }
.cmp { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid #EEF2F7; text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--ink); font-weight: 500; position: sticky; left: 0; background: inherit; }
.cmp thead th { background: var(--navy); color: #fff; font-weight: 700; position: sticky; top: 0; }
.cmp thead th:first-child { background: var(--navy); }
.cmp thead th.pop { background: linear-gradient(135deg, #00A97E, #0077E6); }
.cmp tbody tr { background: #fff; }
.cmp tbody tr:nth-child(even) { background: #FAFBFD; }
.cmp tr.grp td { background: var(--soft); font-weight: 700; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.cmp .yes { color: var(--brand); } .cmp .no { color: #C3CCD9; }
.cmp tfoot td { font-weight: 800; color: var(--ink); font-size: 16px; background: var(--soft); }
.note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* cta band */
.cta { position: relative; overflow: hidden; border-radius: 28px; background: var(--navy); color: #B9C7DD; padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 100% 0%, rgba(0, 132, 255, .4), transparent 60%), radial-gradient(400px 300px at 0% 100%, rgba(0, 200, 150, .3), transparent 60%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; padding: 36px 24px; } }

/* forms */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label.f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.inp, select.inp, textarea.inp { width: 100%; height: 48px; border: 1px solid #D5DDE8; border-radius: 12px; padding: 0 14px; font: 15px var(--font); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
textarea.inp { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.inp:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 132, 255, .14); }
.cta .inp { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.cta .inp::placeholder { color: #8EA3C4; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); font-weight: 400; }
.chk input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); }
.msg { padding: 12px 14px; border-radius: 12px; font-size: 14.5px; display: none; }
.msg.show { display: block; }
.msg.ok { background: #E7F8F1; color: #047857; }
.msg.err { background: #FDECEC; color: #B91C1C; }

/* auth */
.auth { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; background: var(--navy); color: #AFC0DA; padding: 64px; display: flex; flex-direction: column; justify-content: center; }
.auth-side::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 360px at 90% 0%, rgba(0, 132, 255, .35), transparent 60%), radial-gradient(420px 320px at 0% 100%, rgba(0, 200, 150, .3), transparent 60%); }
.auth-side > * { position: relative; }
.auth-side h2 { color: #fff; }
.auth-side ul { list-style: none; padding: 0; display: grid; gap: 14px; margin: 24px 0 0; }
.auth-side li { display: flex; gap: 12px; align-items: center; }
.auth-side li .ico { margin: 0; width: 40px; height: 40px; color: #5EEAC4; background: rgba(255, 255, 255, .07); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.auth-box { width: 100%; max-width: 460px; }
.auth-box h1 { font-size: 2rem; }
.type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-toggle label { border: 1px solid #D5DDE8; border-radius: 12px; padding: 12px 14px; cursor: pointer; display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.type-toggle input { display: none; }
.type-toggle label:has(input:checked) { border-color: var(--brand); background: rgba(0, 179, 134, .06); box-shadow: 0 0 0 3px rgba(0, 179, 134, .12); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 6px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* page hero (inner pages) */
.phero { background: var(--navy); color: #AFC0DA; padding: 64px 0 56px; position: relative; overflow: hidden; }
.phero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(520px 300px at 90% 0%, rgba(0, 132, 255, .35), transparent 60%), radial-gradient(420px 300px at 0% 100%, rgba(0, 200, 150, .25), transparent 60%); }
.phero .container { position: relative; }
.phero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.phero .lead { color: #AFC0DA; }
.crumbs { font-size: 13.5px; color: #8EA3C4; margin-bottom: 14px; }
.crumbs a { color: #8EA3C4; }

/* product page */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-img { background: linear-gradient(160deg, #F5F8FC, #EAF1F8); border-radius: 24px; padding: 40px; display: grid; place-items: center; position: sticky; top: 96px; }
.specs { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.specs td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs td:first-child { color: var(--muted); width: 45%; }
.specs td:last-child { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; gap: 28px; } .pd-img { position: static; } }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); background: #fff; border-radius: 30px; padding: 8px 16px; font: 600 14px var(--font); color: var(--text); cursor: pointer; }
.filters button.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* blog */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none !important; }
.post-card img { aspect-ratio: 800/420; object-fit: cover; width: 100%; display: block; }
.post-card .pb { padding: 22px; }
.post-card time { font-size: 13px; color: var(--muted); }
.post-card h3 { margin: 6px 0 8px; }
.article { max-width: 760px; margin: 0 auto; font-size: 17.5px; line-height: 1.75; }
.article h2 { font-size: 1.6rem; margin-top: 1.6em; }
.article img.cover { border-radius: 20px; margin-bottom: 32px; }

/* setup page */
.code { background: #0E1A33; color: #CFE3FF; border-radius: 12px; padding: 14px 16px; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: pre; position: relative; }
.code .cp { position: absolute; right: 8px; top: 8px; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 8px; padding: 4px 10px; font: 12px var(--font); cursor: pointer; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tbl th, .tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { background: var(--soft); font-weight: 700; color: var(--ink); font-size: 13.5px; }
.tbl code { background: var(--soft); padding: 2px 6px; border-radius: 6px; font-size: 14px; }
.toc { position: sticky; top: 96px; display: grid; gap: 4px; }
.toc a { color: var(--muted); padding: 6px 10px; border-radius: 8px; font-weight: 500; }
.toc a:hover { background: var(--soft); color: var(--ink); text-decoration: none; }
.layout-side { display: grid; grid-template-columns: 230px 1fr; gap: 48px; }
@media (max-width: 900px) { .layout-side { grid-template-columns: 1fr; } .toc { display: none; } }
.prose h2 { margin-top: 1.8em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }

/* footer */
.ftr { background: var(--navy); color: #8EA3C4; padding: 72px 0 28px; font-size: 14.5px; }
.ftr a { color: #B9C7DD; }
.ftr a:hover { color: #fff; }
.ftr-g { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.3fr; gap: 32px; }
.ftr h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ftr .logo { color: #fff !important; margin-bottom: 14px; }
.ftr-b { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 22px; font-size: 13.5px; }
.ftr .ci { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.ftr .ci .ic { color: #5EEAC4; margin-top: 2px; width: 18px; height: 18px; }
@media (max-width: 980px) { .ftr-g { grid-template-columns: 1fr 1fr; } }

/* map markers on the hero / share pages */
.vm { width: 30px; height: 30px; position: relative; }
.vm .arr { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .6s linear; }
.vm .lbl { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); background: rgba(10, 22, 48, .86); color: #fff; font: 600 11px var(--font); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.leaflet-container { font-family: var(--font); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

.e404 { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.e404 b { font-size: 7rem; line-height: 1; font-weight: 800; }

/* ── v2: catalog sections, search, tag chips ─────────────────────────────── */
.cat-bar { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; margin-bottom: 8px; }
.cat-bar .filters { margin-bottom: 0; }
.cat-search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 30px; background: #fff; color: var(--muted); min-width: 260px; }
.cat-search input { border: 0; outline: 0; font: 15px var(--font); color: var(--ink); background: transparent; width: 100%; }
.cat-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 179, 134, .15); }
.cat-sec { margin-top: 44px; }
.cat-head { margin-bottom: 20px; max-width: 760px; }
.cat-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 4px; }
.cat-head p { color: var(--muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { font-size: 12px; font-weight: 600; line-height: 1; padding: 6px 9px; border-radius: 20px; background: var(--soft); color: var(--text); border: 1px solid var(--line); white-space: nowrap; }
@media (max-width: 640px) { .cat-search { min-width: 0; width: 100%; } }

/* ── v2: device cost on plan cards + cost calculator ─────────────────────── */
.plan-dev { display: grid; gap: 6px; margin: 14px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--soft); border: 1px dashed var(--line); font-size: 13.5px; line-height: 1.35; }
.plan-dev > div { display: flex; gap: 8px; align-items: flex-start; }
.plan-dev svg { flex: none; margin-top: 1px; color: var(--brand-d); }
.calc { max-width: 980px; margin: 0 auto; padding: 28px; }
.calc-in { display: grid; grid-template-columns: 160px 1fr 1.4fr; gap: 16px; }
.calc-in .f span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 12px; }
.calc-out > div { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.calc-out span { font-size: 13px; color: var(--muted); font-weight: 600; }
.calc-out b { font-size: 1.6rem; color: var(--ink); letter-spacing: -.01em; }
.calc-out small { color: var(--muted); font-size: 12.5px; }
.calc-out .tot { background: var(--navy); border-color: var(--navy); }
.calc-out .tot b { color: #fff; } .calc-out .tot span, .calc-out .tot small { color: #B9C7DD; }
@media (max-width: 760px) { .calc-in, .calc-out { grid-template-columns: 1fr; } .calc { padding: 20px; } }

/* ── v2: features page (sticky menu + sections with real screens) ───────── */
.link { border: 0; background: none; padding: 0; font: 600 14px var(--font); color: var(--brand-d); cursor: pointer; }
.link:hover { text-decoration: underline; }
.fx-wrap { padding: 56px 0 40px; }
.fx-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.fx-nav { position: sticky; top: 92px; display: grid; gap: 2px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; border-left: 2px solid var(--line); }
.fx-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-weight: 600; font-size: 14.5px; text-decoration: none; line-height: 1.3; transition: color .15s, background .15s, border-color .15s; }
.fx-nav a svg { flex: none; opacity: .75; }
.fx-nav a:hover { color: var(--ink); background: var(--soft); }
.fx-nav a.on { color: var(--ink); border-left-color: var(--brand); background: linear-gradient(90deg, rgba(0, 179, 134, .10), transparent); }
.fx-nav a.on svg { color: var(--brand-d); opacity: 1; }
.fx-sec { scroll-margin-top: 90px; padding: 8px 0 64px; border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.fx-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.fx-ey { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-d); margin-bottom: 10px; }
.fx-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(0, 179, 134, .12); color: var(--brand-d); }
.fx-sec h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; max-width: 760px; }
.fx-lead { font-size: 1.08rem; color: var(--text); max-width: 760px; }
.fx-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px 22px; }
.fx-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.fx-list li svg { flex: none; margin-top: 3px; color: #fff; background: var(--brand); border-radius: 50%; padding: 2px; width: 18px; height: 18px; }
.fx-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-lg); }
.fx-shot img { display: block; width: 100%; height: auto; }
.fx-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #EEF2F7; border-bottom: 1px solid var(--line); }
.fx-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; } .fx-bar i:first-child { background: #F87171; } .fx-bar i:nth-child(2) { background: #FBBF24; } .fx-bar i:nth-child(3) { background: #34D399; }
.fx-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 12px; }
.fx-shot.phone { max-width: 320px; border-radius: 36px; border: 10px solid #0F172A; box-shadow: var(--sh-lg); }
.fx-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.fx-plan { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); background: var(--soft); border: 1px solid var(--line); border-radius: 30px; padding: 6px 14px; }
.fx-plan svg { color: #F59E0B; } .fx-plan b { color: var(--ink); }
.fx-tg { max-width: 460px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-lg); background: #DCE8F3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1.5' fill='%23B8CDE0'/%3E%3C/svg%3E"); padding-bottom: 14px; }
.tg-h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid #E2E8F0; }
.tg-h div { display: grid; } .tg-h small { color: #64748B; font-size: 12px; }
.tg-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); }
.tg-msg { margin: 12px 14px 0; max-width: 85%; background: #fff; border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.tg-msg.me { margin-left: auto; background: #EFFDDE; border-radius: 14px 14px 4px 14px; width: max-content; }
.tg-link { color: #2481CC; }
.fx-code { margin: 0; background: #0B1220; color: #CBD5E1; border-radius: 16px; padding: 22px; font: 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; box-shadow: var(--sh-lg); }
.fx-code .c { color: #64748B; } .fx-code .k { color: #7DD3FC; } .fx-code .s { color: #86EFAC; }
@media (max-width: 960px) {
  .fx-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fx-layout > * { min-width: 0; }
  .fx-nav { top: 70px; z-index: 40; display: flex; overflow-x: auto; max-height: none; border-left: 0; padding: 10px 0; margin: 0 -20px; padding-left: 20px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .fx-nav::-webkit-scrollbar { display: none; }
  .fx-nav a { flex: none; border: 1px solid var(--line); border-radius: 30px; margin: 0 6px 0 0; padding: 7px 14px; font-size: 13.5px; white-space: nowrap; }
  .fx-nav a.on { border-color: var(--brand); background: rgba(0, 179, 134, .1); }
  .fx-sec { scroll-margin-top: 130px; padding-bottom: 40px; margin-bottom: 40px; }
  .fx-list { grid-template-columns: 1fr; }
}
.pd-img { position: relative; }
.pd-credit { position: absolute; right: 14px; bottom: 10px; font-size: 11px; color: #94A3B8; }
.prod-img img[src*="/photo/"] { width: 100%; height: auto; }
