/* MagicBox site styles — light product-page look, no framework. */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --ink: #0b1220;
  --ink-2: #344054;
  --muted: #667085;
  --line: #e6e9f0;
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-50: #eef4ff;
  --blue-100: #dbe7ff;
  --sky: #38bdf8;
  --navy: #060a18;
  --navy-2: #0c1430;
  --green: #12b76a;
  --green-50: #ecfdf3;
  --green-700: #027a48;
  --red: #f04438;
  --red-50: #fef3f2;
  --red-700: #b42318;
  --radius: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px rgba(16, 24, 40, .06);
  --shadow-lg: 0 24px 64px rgba(16, 24, 40, .14);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.ic { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Layout */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 960px; }
.section { padding: 112px 0; position: relative; }
.section-sm { padding: 72px 0; }
.pt-0 { padding-top: 0; }
.bg-soft { background: var(--bg-soft); }
.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-5-7 { grid-template-columns: 5fr 7fr; }
.split-7-5 { grid-template-columns: 7fr 5fr; }
.center { text-align: center; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; } .mt-14 { margin-top: 56px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row-center { justify-content: center; }
.hidden { display: none !important; }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow .ic { font-size: 14px; }
.eyebrow-plain { background: none; padding: 0; }
.display { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.03em; }
.h4 { font-size: 20px; letter-spacing: -.02em; }
.h5 { font-size: 17px; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); }
.small { font-size: 14px; }
.xs { font-size: 12px; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.strong { font-weight: 600; color: var(--ink); }
.grad { background: linear-gradient(90deg, #2563eb 0%, #3b82f6 45%, #06b6d4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark .grad, .grad-light { background: linear-gradient(90deg, #60a5fa 0%, #93c5fd 50%, #67e8f9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.head .eyebrow { margin-bottom: 18px; }
.head .lead { margin-top: 18px; }
.head-left { margin-left: 0; text-align: left; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 600; line-height: 1; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn .ic { font-size: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, .35); }
.btn-primary:hover { background: var(--blue-600); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-light:hover { border-color: #cfd6e4; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-white { background: #fff; color: var(--blue); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.link { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link .ic { transition: transform .2s; }
.link:hover .ic { transform: translateX(3px); }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card-flat { box-shadow: none; }
.card-lg { padding: 40px; }
.card-hover { transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfd8ea; }
.icon-box { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-size: 22px; flex: none; }
.icon-box-sm { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
.icon-box-red { background: var(--red-50); color: var(--red); }
.icon-box-green { background: var(--green-50); color: var(--green); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.chip-blue { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue); }
.badge-new { display: inline-flex; padding: 2px 8px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; }

.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li .ic { font-size: 20px; color: var(--green); margin-top: 2px; }
.x-list li .ic { color: var(--red); }
.dot-list li .ic { color: var(--blue); }

/* Reveal on scroll (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Navbar */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 60; padding: 0 16px; }
.nav { max-width: 1240px; margin: 0 auto; height: 68px; padding: 0 12px 0 22px; display: flex; align-items: center; gap: 24px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border: 1px solid rgba(230, 233, 240, .9); border-radius: 20px; box-shadow: 0 8px 32px rgba(6, 10, 24, .12); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; color: var(--ink); }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.logo small { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; display: block; line-height: 1; margin-top: 2px; }
.logo span { line-height: 1.05; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-links > li > a, .nav-drop > button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); background: none; border: 0; cursor: pointer; }
.nav-links > li > a:hover, .nav-drop > button:hover, .nav-drop.open > button { background: var(--bg-soft); color: var(--ink); }
.nav-drop { position: relative; }
.nav-drop > button .ic { font-size: 16px; transition: transform .2s; }
.nav-drop.open > button .ic { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 380px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); display: none; }
.nav-drop.open .nav-menu { display: block; }
.nav-menu a { display: flex; gap: 12px; padding: 10px; border-radius: 12px; align-items: flex-start; }
.nav-menu a:hover { background: var(--bg-soft); }
.nav-menu strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.nav-menu span.small { color: var(--muted); display: block; line-height: 1.45; font-size: 13px; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bg-soft); font-size: 13px; font-weight: 600; }
.lang a { padding: 5px 10px; border-radius: 999px; color: var(--muted); }
.lang a.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 22px; place-items: center; cursor: pointer; }
.nav-mobile { display: none; }

/* Brand marks */
.brand-tile { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 22px; }
.c-facebook { color: #0866ff; } .c-tiktok { color: #111; } .c-instagram { color: #e1306c; } .c-zalo { color: #0068ff; } .c-shopee { color: #ee4d2d; } .c-youtube { color: #ff0000; } .c-threads { color: #111; } .c-telegram { color: #26a5e4; }

/* Hero (dark) */
.hero { position: relative; overflow: hidden; color: #c9d3e6; background: radial-gradient(900px 600px at 78% 35%, rgba(37, 99, 235, .45), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(6, 182, 212, .14), transparent 60%), var(--navy); padding: 168px 0 104px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); pointer-events: none; }
.hero > .container { position: relative; }
.hero h1, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.hero .lead, .on-dark .lead { color: #b8c3da; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #e2e8f5; font-size: 13px; font-weight: 500; margin-bottom: 26px; }
.hero-tag b { padding: 3px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.hero-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 36px 0; }
.tile { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.tile .ic { font-size: 26px; color: #7fb0ff; margin-bottom: 14px; }
.tile strong { display: block; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.3; }
.tile span { display: block; font-size: 12.5px; color: #93a0bb; margin-top: 4px; line-height: 1.4; }
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual .device { width: min(100%, 520px); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); position: relative; z-index: 2; }
.hero-visual .glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(59, 130, 246, .55), transparent 65%); filter: blur(20px); }
.hero-visual .ph { position: absolute; z-index: 3; }
.hero-visual .ph-1 { top: 2%; left: 0; transform: rotate(-8deg); }
.hero-visual .ph-2 { top: 0; right: 4%; transform: rotate(7deg); }
.hero-visual .ph-3 { bottom: 4%; right: 0; transform: rotate(-4deg); }
.note-hand { position: absolute; z-index: 4; left: 6%; bottom: 10%; color: #e2e8f5; font-size: 15px; font-style: italic; font-weight: 500; line-height: 1.3; transform: rotate(-6deg); }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: #93a0bb; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ic { color: #7fb0ff; }

/* Phone mockups */
.phone { width: 128px; aspect-ratio: 9 / 18.5; border-radius: 24px; padding: 6px; background: #0b1020; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); }
.phone .scr { height: 100%; border-radius: 19px; overflow: hidden; background: linear-gradient(160deg, #1d4ed8, #0ea5e9); position: relative; padding: 22px 9px 10px; display: flex; flex-direction: column; }
.phone .scr::before { content: ""; position: absolute; top: 7px; left: 50%; width: 34%; height: 8px; transform: translateX(-50%); background: #0b1020; border-radius: 999px; }
.phone .apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: auto; }
.phone .apps i { aspect-ratio: 1; border-radius: 8px; background: rgba(255, 255, 255, .9); display: grid; place-items: center; font-size: 15px; }
.phone .name { color: #fff; font-size: 11px; font-weight: 600; opacity: .95; }
.phone .ip { color: rgba(255, 255, 255, .8); font-size: 9.5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.scr.s-pink { background: linear-gradient(160deg, #db2777, #f97316); }
.scr.s-dark { background: linear-gradient(160deg, #111827, #374151); }
.scr.s-green { background: linear-gradient(160deg, #059669, #22d3ee); }
.scr.s-violet { background: linear-gradient(160deg, #7c3aed, #2563eb); }
.ipchip { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.ipchip i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* Mock UI panels */
.mock { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 14px; font-size: 13px; }
.mock-title { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.mock-rows { display: grid; gap: 6px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-2); }
.mock-row .mono, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.mock-row.bad { background: var(--red-50); border-color: #fecdca; color: var(--red-700); }
.mock-row.ok { background: var(--green-50); border-color: #abefc6; color: var(--green-700); }
.mock-row .lbl { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--bg-soft); color: var(--muted); }
.pill-green { background: var(--green-50); color: var(--green-700); }
.pill-red { background: var(--red-50); color: var(--red-700); }
.pill-blue { background: var(--blue-50); color: var(--blue); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.verdict { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-top: 16px; }
.verdict .ic { font-size: 18px; margin-top: 2px; }
.verdict-ok { background: var(--green-50); color: var(--green-700); }
.verdict-bad { background: var(--red-50); color: var(--red-700); }

/* Problem section */
.prob-split { display: grid; grid-template-columns: 1fr 230px; gap: 28px; align-items: center; }
.prob-split-sm { grid-template-columns: 1fr 150px; }
.ban { background: #111827; color: #e5e7eb; border-radius: 18px; padding: 22px; text-align: center; box-shadow: var(--shadow-lg); }
.ban strong { display: block; color: #fff; font-size: 17px; margin-bottom: 6px; }
.ban p { font-size: 13px; color: #9ca3af; margin-bottom: 14px; }
.ban div { padding: 10px; border-top: 1px solid #1f2937; font-size: 14px; }
.ban div:first-of-type { color: #93c5fd; font-weight: 600; }
.quote { padding: 14px 16px; border-radius: 14px; background: #fff7ed; color: #9a3412; font-style: italic; border: 1px solid #fed7aa; }
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.platforms a, .platforms span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--ink); }
.platforms .ic { font-size: 20px; }
.banner-ok { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 22px; border-radius: 16px; background: var(--green-50); border: 1px solid #abefc6; color: var(--green-700); font-weight: 500; text-align: left; }
.banner-ok .ic { font-size: 22px; color: var(--green); }

/* Feature tabs */
.tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.tab { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; transition: all .2s; box-shadow: var(--shadow-sm); }
.tab b { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; background: var(--bg-soft); color: var(--muted); }
.tab:hover { border-color: #c7d3ea; }
.tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(37, 99, 235, .3); }
.tab[aria-selected="true"] b { background: rgba(255, 255, 255, .2); color: #fff; }
.tab-panel { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding: 44px; border-radius: 28px; background: linear-gradient(180deg, #f3f7ff, #fff 70%); border: 1px solid var(--blue-100); }
.tab-panel[hidden] { display: none; }
.why { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--blue-100); font-size: 14px; }
.why strong { color: var(--blue); }
.visual { position: relative; border-radius: 22px; overflow: hidden; background: var(--navy-2); min-height: 360px; display: grid; place-items: center; padding: 28px; box-shadow: var(--shadow-lg); }
.visual img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visual-light { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.phones-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; padding-bottom: 18px; }
.phones-row .phone { width: 104px; position: relative; }
.proxy-table { width: 100%; background: #fff; border-radius: 16px; overflow: hidden; font-size: 13px; }
.proxy-table .tr { display: grid; grid-template-columns: 1fr 1.1fr 1.4fr .9fr; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.proxy-table .th { background: var(--bg-soft); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.proxy-table .tr:last-child { border-bottom: 0; }
.script { width: 100%; display: grid; gap: 10px; }
.script .stp { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dbe4f5; font-size: 14px; }
.script .stp .ic { color: #7fb0ff; font-size: 18px; }
.script .stp .t { margin-left: auto; font-size: 12px; color: #8ea0c2; font-family: ui-monospace, Menlo, monospace; }
.script .stp.run { border-color: rgba(96, 165, 250, .6); background: rgba(37, 99, 235, .18); }

/* Compare */
.cmp { border-radius: 28px; padding: 36px; border: 1px solid var(--line); }
.cmp-bad { background: linear-gradient(180deg, #fff5f4, #fff 60%); border-color: #fde2df; }
.cmp-good { background: linear-gradient(180deg, #eef4ff, #fff 60%); border-color: var(--blue-100); box-shadow: 0 24px 60px rgba(37, 99, 235, .12); }
.cmp-tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cmp-bad .cmp-tag { color: var(--red-700); }
.cmp-good .cmp-tag { color: var(--blue); }
.cmp-art { min-height: 150px; flex-wrap: wrap; margin: 22px 0; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; overflow: hidden; }
.mini-ph { width: 34px; height: 64px; border-radius: 8px; border: 2px solid #cbd5e1; background: #f8fafc; position: relative; }
.mini-ph::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 10px; height: 3px; border-radius: 3px; background: #cbd5e1; transform: translateX(-50%); }
.mini-gear { padding: 6px 10px; border-radius: 10px; background: var(--red-50); color: var(--red-700); font-size: 12px; font-weight: 600; white-space: nowrap; }
.cost { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 18px; margin-top: 22px; border-top: 1px dashed var(--line); }
.cost b { font-size: 28px; color: var(--ink); letter-spacing: -.03em; }

/* Dark banner */
.cmp-grid { grid-template-columns: 5fr 7fr; }
.dark-band .tile strong { font-size: 30px; letter-spacing: -.03em; }
.dark-band .tile { text-align: center; }
.dark-band { position: relative; overflow: hidden; color: #b8c3da; background: radial-gradient(800px 420px at 50% 0%, rgba(37, 99, 235, .5), transparent 70%), var(--navy); text-align: center; }
.dark-band .device { width: min(440px, 80%); margin: 0 auto -10px; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)); }
.dark-band .display { color: #fff; font-size: clamp(36px, 5vw, 64px); }

/* Solutions */
.sol-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.sol-top { height: 150px; position: relative; display: grid; place-items: center; overflow: hidden; }
.sol-top::before { content: ""; position: absolute; inset: 0; background: var(--c); opacity: .1; }
.sol-top .big { position: relative; width: 72px; height: 72px; border-radius: 20px; background: #fff; display: grid; place-items: center; font-size: 36px; color: var(--c); box-shadow: var(--shadow); }
.sol-top .orb { position: absolute; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--c) 40%, transparent); }
.sol-top .orb-1 { width: 140px; height: 140px; }
.sol-top .orb-2 { width: 220px; height: 220px; }
.sol-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.sol-body p { font-size: 14.5px; color: var(--muted); margin: 8px 0 18px; }
.sol-body .link { margin-top: auto; font-size: 15px; }

/* Browser frame */
.browser { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.browser-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f1f4f9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d0d5dd; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.app-stage { position: relative; padding-right: 70px; }
.app-stage .mobile { position: absolute; right: 0; bottom: -40px; width: 30%; max-width: 210px; border-radius: 26px; border: 6px solid #0b1020; box-shadow: var(--shadow-lg); }

/* Buy block */
.buy { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; }
.gallery-main { border-radius: 28px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); aspect-ratio: 4 / 3.4; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main img.contain { object-fit: contain; padding: 6%; background: radial-gradient(circle at 50% 40%, #fff, #eef2f8); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--bg-soft); cursor: pointer; }
.thumbs button.on { border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy-card { position: sticky; top: 104px; padding: 32px; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spec { padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); }
.spec span { display: block; font-size: 12px; color: var(--muted); }
.spec strong { display: block; font-size: 14.5px; color: var(--ink); font-weight: 600; line-height: 1.35; }
.total { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; }
.total div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.total div:last-child { border-bottom: 0; background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.perks div { text-align: center; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line); font-size: 12.5px; line-height: 1.35; }
.perks .ic { display: block; margin: 0 auto 6px; font-size: 20px; color: var(--blue); }

/* Steps */
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.flow .chip { padding: 10px 14px; font-size: 14px; }
.flow > .ic { color: var(--muted); }

/* Deck */
.deck { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 40px; border-radius: 28px; background: linear-gradient(135deg, #0c1430, #13245a); color: #b8c3da; overflow: hidden; }
.deck h2 { color: #fff; }
.deck-shot { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transform: rotate(2deg); border: 1px solid rgba(255, 255, 255, .15); }

/* Blue band + form */
.blue-band { background: radial-gradient(900px 400px at 50% 0%, #3b82f6, transparent 70%), linear-gradient(180deg, #1d4ed8, #1e40af); color: #dbe7ff; }
.blue-band h2 { color: #fff; }
.blue-band .lead { color: #dbe7ff; }
.form-card { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 30px 80px rgba(6, 10, 24, .35); color: var(--ink-2); text-align: left; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid #d0d5dd; background: #fff; font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23667085' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.form-note { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); color: #1e3a8a; font-size: 13px; }
.form-note .ic { color: var(--blue); margin-top: 2px; }
.alert-err { padding: 12px 14px; border-radius: 12px; background: var(--red-50); color: var(--red-700); font-size: 14px; border: 1px solid #fecdca; }
.form-ok { text-align: center; padding: 24px 8px; }
.form-ok .icon-box { width: 64px; height: 64px; font-size: 32px; border-radius: 20px; margin: 0 auto 18px; }

/* Use cases */
.uc-who { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 13px; font-weight: 600; }
.uc-setup { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px dashed #c7d3ea; background: var(--bg-soft); margin-top: auto; }
.uc-setup .ic { font-size: 20px; color: var(--blue); margin-top: 2px; }
.uc-card { display: flex; flex-direction: column; gap: 0; }

/* Day timeline */
.day { position: relative; }
.day li { position: relative; display: grid; grid-template-columns: 84px 20px 1fr; gap: 16px; padding-bottom: 28px; }
.day li:last-child { padding-bottom: 0; }
.day li::before { content: ""; position: absolute; left: calc(84px + 16px + 9.5px); top: 14px; bottom: -6px; width: 1px; background: var(--line); }
.day li:last-child::before { display: none; }
.day .time { text-align: right; font-weight: 700; color: var(--ink); font-size: 15px; padding-top: 2px; }
.day .dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); margin-top: 3px; position: relative; z-index: 1; }

/* Breadcrumb + sub hero */
.sub-hero { padding: 150px 0 80px; background: radial-gradient(800px 400px at 85% 0%, rgba(37, 99, 235, .12), transparent 70%), linear-gradient(180deg, #f3f6fc, #fff); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumb a:hover { color: var(--blue); }
.crumb .ic { font-size: 14px; }
.photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.photo img { width: 100%; max-height: 560px; object-fit: cover; }
.device-stage { border-radius: 28px; padding: 40px; background: radial-gradient(circle at 50% 40%, #fff, #e9eef8); border: 1px solid var(--line); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: transform .2s, background .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.faq details p { padding: 0 52px 22px 0; color: var(--ink-2); }

/* Footer */
.footer { background: var(--navy); color: #93a0bb; padding: 80px 0 32px; font-size: 15px; }
.footer .logo { color: #fff; }
.footer .logo small { color: #93a0bb; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 40px; border-radius: 24px; background: linear-gradient(135deg, #1d4ed8, #2563eb 50%, #0ea5e9); color: #dbe7ff; margin-bottom: 72px; }
.cta-strip h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; }

/* Floating Telegram button */
.tg-fab { position: fixed; left: 20px; bottom: 20px; z-index: 50; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #229ed9; color: #fff; font-size: 24px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.tg-fab:hover { transform: translateY(-3px); }

/* Responsive */
@media (max-width: 1100px) {
  .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-links > li > a, .nav-drop > button { padding: 0 10px; }
}
@media (max-width: 991px) {
  .section { padding: 80px 0; }
  .split, .split-5-7, .split-7-5, .tab-panel, .buy, .deck { grid-template-columns: 1fr; gap: 40px; }
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-grid { grid-template-columns: 1fr; }
  .hero { padding: 132px 0 72px; }
  .hero-visual { min-height: 420px; }
  .tab-panel { padding: 28px; }
  .buy-card { position: static; }
  .nav-links, .nav-right .btn, .nav-right .lang { display: none; }
  .nav-toggle { display: grid; margin-left: auto; }
  .nav-right { margin-left: auto; }
  .nav-mobile.open { display: block; margin: 8px auto 0; max-width: 1240px; padding: 14px; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 110px); overflow: auto; }
  .nav-mobile a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; font-weight: 500; color: var(--ink); }
  .nav-mobile a:hover { background: var(--bg-soft); }
  .nav-mobile .sub { padding-left: 12px; }
  .nav-mobile .sub a { font-size: 15px; color: var(--ink-2); padding: 9px 12px; }
  .nav-mobile .btns { display: grid; gap: 8px; margin-top: 8px; }
  .nav-mobile .btns a { justify-content: center; color: #fff; }
  .nav-mobile .btns a.btn-light { color: var(--ink); }
  .nav-mobile .lang { margin: 8px 12px 0; display: inline-flex; }
  .nav-mobile .lang a { padding: 5px 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-strip { flex-direction: column; align-items: flex-start; padding: 28px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .g-2, .g-3, .g-4, .g-5, .fields { grid-template-columns: 1fr; }
  .hero-tiles { grid-template-columns: 1fr 1fr; }
  .prob-split, .prob-split-sm { grid-template-columns: 1fr; }
  .prob-split .ban { max-width: 280px; margin: 0 auto; }
  .prob-split-sm .phone { margin: 0 auto; }
  .tabs { grid-template-columns: 1fr 1fr; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .head { margin-bottom: 40px; }
  .card { padding: 22px; }
  .card-lg, .cmp, .deck, .form-card { padding: 22px; }
  .tab-panel { padding: 20px; }
  .visual { min-height: 280px; padding: 18px; }
  .hero-visual { min-height: 340px; }
  .hero-visual .phone { width: 92px; }
  .phones-row .phone { width: 84px; }
  .proxy-table .tr { grid-template-columns: 1fr 1fr; }
  .proxy-table .tr > :nth-child(3) { display: none; }
  .proxy-table .tr > :nth-child(4) { display: none; }
  .app-stage { padding-right: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .day li { grid-template-columns: 64px 20px 1fr; gap: 12px; }
  .day li::before { left: calc(64px + 12px + 9.5px); }
  .faq details p { padding-right: 0; }
  .nav { height: 60px; padding: 0 8px 0 16px; }
  .nav-wrap { top: 10px; padding: 0 10px; }
  .btn { height: 50px; }
  .btn-lg { height: 54px; font-size: 16px; }
  .row .btn { flex: 1 1 auto; }
}
