/* ============================================================
   WORKZONE — Premium tech theme (one-page)
   White canvas. Logo navy for type, buttons and structure.
   Logo orange only as an accent "tip".
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand (sampled from the logo) */
  --navy-900: #06214d;
  --navy-800: #0b1d3f;
  --navy-700: #003c8c;
  --blue-600: #0b4fb0;
  --blue-500: #1d5fc4;
  --blue-400: #4f86de;
  --blue-300: #93b4fd;
  --orange-500: #f89a00;
  --orange-400: #ffb020;
  --orange-300: #ffc966;

  --primary: var(--navy-700);
  --primary-dark: #002e6b;
  --primary-tint: rgba(0, 60, 140, .08);
  --primary-tint-2: #e8eefa;
  --accent: var(--orange-500);
  --accent-2: var(--orange-400);
  --accent-tint: rgba(248, 154, 0, .14);
  --accent-line: rgba(248, 154, 0, .45);

  /* Surfaces (one white canvas) */
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-tint: #eef2f9;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --surface-3: #eef2f9;
  --line: #e6eaf2;
  --line-2: #d6dde9;
  --dark: #0b1d3f;

  /* Text */
  --ink: #101a30;
  --title: #0f1b33;
  --ink-soft: #3e4a5e;
  --muted: #64708a;
  --faint: #9aa4b8;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(11, 29, 63, .05), 0 2px 8px rgba(11, 29, 63, .05);
  --shadow-md: 0 8px 30px -8px rgba(11, 29, 63, .12);
  --shadow-lg: 0 30px 70px -24px rgba(11, 29, 63, .28);
  --glow-accent: 0 12px 28px -12px rgba(248, 154, 0, .7);
  --glow-navy: 0 14px 30px -14px rgba(0, 60, 140, .6);

  --grad-brand: linear-gradient(120deg, #1d5fc4, #003c8c);
  --grad-accent: linear-gradient(120deg, #ffb020, #f89a00);
  --grad-text: linear-gradient(100deg, #003c8c 0%, #1d5fc4 45%, #f89a00 100%);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 34px;

  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-sans: 'Nunito', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Manrope', var(--font-sans);
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
/* fine tech grid, fades out below the hero */
body::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1100px; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 60, 140, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 60, 140, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 25%, #000, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 25%, #000, transparent 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--title); }
::selection { background: var(--primary); color: #fff; }
section[id], div[id] { scroll-margin-top: 90px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(56px, 7vw, 100px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.center { text-align: center; }

/* Sections stay white; a hairline is the only separator */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.band + .band { margin-top: -1px; }
.band--glow { background: #fff; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow, .subtitle {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before, .subtitle::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); flex: 0 0 auto; }
.section-head.center .eyebrow::after, .section-head.center .subtitle::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 100px; background: #fff; border: 1px solid var(--line-2); color: var(--ink-soft); font-family: var(--font-head); font-weight: 700; font-size: .86rem; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.pill b { color: var(--title); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin: 18px 0 14px; }
.section-sub { color: var(--muted); font-size: 1.08rem; }
.section-sub b { color: var(--title); }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-orange { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: .98rem;
  padding: 15px 28px; border-radius: 100px; border: 1px solid transparent;
  position: relative; isolation: isolate; overflow: hidden; white-space: nowrap; line-height: 1.2;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 165%;
  width: 210%; height: 290%; border-radius: 80%; background: rgba(255, 255, 255, .14);
  transform: translateX(-50%) rotate(-8deg); transition: top .6s var(--ease);
}
.btn:hover::before { top: -96%; }
.btn-primary, .btn-navy { background: var(--primary); color: #fff; box-shadow: var(--glow-navy); }
.btn-primary:hover, .btn-navy:hover { transform: translateY(-2px); background: var(--primary-dark); }
.btn-accent { background: var(--grad-accent); color: #1a0f00; box-shadow: var(--glow-accent); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border-color: rgba(0, 60, 140, .35); }
.btn-outline::before { display: none; }
.btn-outline:hover { border-color: var(--primary); background: var(--primary-tint); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--title); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost::before { display: none; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white::before { background: var(--primary-tint); }
.btn-white:hover { transform: translateY(-2px); }
.btn-lg { padding: 18px 34px; font-size: 1.02rem; }
.btn-sm { padding: 11px 20px; font-size: .9rem; }

/* ---------- Navbar ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav .container { max-width: 1360px; }
.nav.scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); box-shadow: 0 12px 30px -20px rgba(11, 29, 63, .25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; transition: height .3s; }
.nav.scrolled .nav-inner { height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo-tile { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.logo-tile img { width: 38px; height: 38px; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font-family: var(--font-head); font-weight: 800; font-size: 1.06rem; letter-spacing: .14em; color: var(--primary); }
.logo-word small { font-size: .5rem; letter-spacing: .2em; color: var(--accent); font-weight: 800; margin-top: 4px; font-family: var(--font-head); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-family: var(--font-head); font-weight: 700; font-size: .94rem; color: var(--ink-soft); padding: 9px 13px; border-radius: 100px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--primary); background: var(--primary-tint); }
.nav-links a.active { color: var(--primary); background: var(--primary-tint); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-login { padding: 12px 18px; }
.nav-login svg { width: 17px; height: 17px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px; box-shadow: var(--shadow-sm); }
.nav-toggle span { width: 20px; height: 2px; background: var(--primary); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1101px) and (max-width: 1280px) {
  .nav-links a { padding: 8px 10px; font-size: .9rem; }
  .nav-login { font-size: 0; gap: 0; padding: 12px; }
  .nav-cta .btn-accent { padding: 12px 20px; font-size: .9rem; }
  .logo-word small { display: none; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 84px 12px auto; z-index: 99; background: #fff; border-radius: 20px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 10px 20px 20px;
  transform: translateY(-10px); opacity: 0; pointer-events: none; max-height: calc(100vh - 100px); overflow: auto;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 13px 6px; font-family: var(--font-head); font-weight: 700; color: var(--title); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border: none; }
.mobile-menu .btn { width: 100%; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(136px, 16vw, 190px) 0 clamp(56px, 7vw, 96px); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 55% at 82% 45%, rgba(0, 60, 140, .07), transparent 62%), radial-gradient(30% 40% at 10% 90%, rgba(248, 154, 0, .07), transparent 62%); }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 100px; background: #fff; border: 1px solid var(--line-2); color: var(--ink-soft); font-family: var(--font-head); font-weight: 700; font-size: .86rem; box-shadow: var(--shadow-sm); }
.hero-badge b { background: var(--grad-accent); color: #1a0f00; border-radius: 100px; padding: 5px 11px; font-weight: 800; font-size: .78rem; letter-spacing: .04em; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); margin: 22px 0 20px; letter-spacing: -.03em; line-height: 1.08; color: var(--primary); }
.hero h1 .shine { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; margin-top: 40px; row-gap: 16px; }
.hero-trust .t { padding: 0 26px; border-left: 1px solid var(--line-2); }
.hero-trust .t:first-child { padding-left: 0; border-left: 0; }
.hero-trust .t b { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--primary); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hero-trust .t b .suf { color: var(--accent); }
.hero-trust .t > span { font-size: .86rem; color: var(--muted); font-weight: 600; }
.hero-trust .t b span { font-size: inherit; }

/* decorative sparks */
.spark { position: absolute; pointer-events: none; z-index: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F89A00'%3E%3Cpath d='M12 0c.6 7 5 11.4 12 12-7 .6-11.4 5-12 12-.6-7-5-11.4-12-12 7-.6 11.4-5 12-12z'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .9; animation: twinkle 4s var(--ease) infinite alternate; }
.spark.blue { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23003C8C'%3E%3Cpath d='M12 0c.6 7 5 11.4 12 12-7 .6-11.4 5-12 12-.6-7-5-11.4-12-12 7-.6 11.4-5 12-12z'/%3E%3C/svg%3E"); opacity: .35; }
@keyframes twinkle { 0% { transform: scale(.85) rotate(0deg); opacity: .5; } 100% { transform: scale(1.05) rotate(20deg); opacity: 1; } }

/* Hero visual */
.hero-visual { position: relative; min-height: 500px; }
.hero-visual::before {
  content: ""; position: absolute; width: 560px; height: 560px; max-width: 120%; aspect-ratio: 1; border-radius: 50%;
  right: -8%; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(0, 60, 140, .10), rgba(0, 60, 140, .03) 58%, transparent 72%);
  border: 1px solid rgba(0, 60, 140, .12);
}
.hero-visual::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: 4%; top: 50%; transform: translateY(-50%); border: 1px dashed rgba(248, 154, 0, .4); animation: spin 60s linear infinite; }
.hero-visual .browser-frame { position: absolute; top: 8%; left: 0; width: 100%; z-index: 1; animation: floaty 7s var(--ease) infinite; }
.hero-visual .phone-frame { position: absolute; bottom: -2%; right: -2%; width: 176px; z-index: 2; animation: floaty 6s var(--ease) infinite 1s; }
.glow-chip {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 11px;
  font-family: var(--font-head); font-weight: 800; font-size: .86rem; color: var(--title); line-height: 1.2;
}
.hero-visual .chip-1 { top: -4%; right: 6%; animation: floaty 5.5s var(--ease) infinite .4s; }
.hero-visual .chip-2 { bottom: 8%; left: -4%; animation: floaty 6.5s var(--ease) infinite .8s; }
.glow-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #1a0f00; flex: 0 0 auto; background: var(--grad-accent); }
.glow-chip .ic.blue { background: var(--primary); color: #fff; }
.glow-chip .ic svg { width: 18px; height: 18px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* ---------- Device frames ---------- */
.browser-frame { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 29, 63, .03); }
.browser-frame .bar { height: 38px; background: #f3f6fb; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser-frame .bar i { width: 10px; height: 10px; border-radius: 50%; display: block; background: #d5dbe6; }
.browser-frame .bar i:nth-child(1) { background: #ff5f57; }
.browser-frame .bar i:nth-child(2) { background: #febc2e; }
.browser-frame .bar i:nth-child(3) { background: #28c840; }
.browser-frame .bar .url { margin-left: 10px; height: 22px; flex: 1; max-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: .7rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; font-family: var(--font-mono); }
.browser-frame .shot { width: 100%; display: block; background: #fff; }
.browser-frame .shot.tall { aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.phone-frame { background: #0f1b33; border-radius: 34px; padding: 7px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, .3); position: relative; }
.phone-frame .mock-app, .phone-frame img { border-radius: 27px; width: 100%; display: block; }
.phone-frame .shot { border-radius: 27px; width: 100%; display: block; aspect-ratio: 9 / 16; object-fit: cover; object-position: top center; }
.phone-duo { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 520px; }
.phone-duo .phone-frame { width: 250px; }
.phone-duo .phone-frame:first-child { transform: translate(28px, -40px) rotate(-6deg); z-index: 1; }
.phone-duo .phone-frame:last-child { transform: translate(-28px, 0) rotate(4deg); z-index: 2; }
.phone-duo::before { content: ""; position: absolute; width: 440px; height: 440px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(0, 60, 140, .09), rgba(0, 60, 140, .02) 58%, transparent 72%); border: 1px solid rgba(0, 60, 140, .12); }

/* ---------- Slogan strip ---------- */
.slogan { padding: clamp(50px, 6vw, 80px) 0 clamp(10px, 2vw, 20px); text-align: center; }
.slogan-eyebrow { font-family: var(--font-mono); font-weight: 600; font-size: .74rem; letter-spacing: .34em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.slogan-big { font-size: clamp(1.8rem, 5vw, 3.6rem); letter-spacing: .03em; line-height: 1.08; color: var(--primary); }
.slogan-sub { margin-top: 16px; color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-inline: auto; }

/* ---------- Offer map (2 products + 2 services) ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.offer {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s var(--ease);
}
.offer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-accent); }
.offer.svc::before { background: var(--primary); }
.offer::after { content: attr(data-num); position: absolute; right: 18px; top: 14px; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; letter-spacing: -.04em; color: rgba(0, 60, 140, .07); line-height: 1; }
.offer:hover { transform: translateY(-6px); border-color: rgba(0, 60, 140, .3); box-shadow: var(--shadow-md); }
.offer .tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.offer.svc .tag { color: var(--primary); }
.offer .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.offer.svc .ic { background: var(--primary-tint); color: var(--primary); }
.offer .ic svg { width: 25px; height: 25px; }
.offer h3 { font-size: 1.18rem; color: var(--title); }
.offer p { color: var(--muted); font-size: .94rem; flex: 1; }
.offer .more { font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.offer .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.offer:hover .more svg { transform: translateX(4px); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0, 60, 140, .3); box-shadow: var(--shadow-md); }
.card .ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: var(--primary-tint); color: var(--primary); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.card .ic svg { width: 26px; height: 26px; }
.card.accent .ic { background: var(--accent-tint); color: var(--accent); }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--title); }
.card p { color: var(--muted); font-size: .97rem; }
.card .ticks { margin-top: 16px; gap: 10px; }
.card .ticks li { font-size: .95rem; }
.card .eyebrow { margin-bottom: 12px; }
.card.big { padding: 36px 32px; }
.card.big h3 { font-size: 1.5rem; }
.card.big p { color: var(--ink-soft); }

.module-card {
  display: flex; align-items: flex-start; gap: 15px; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.module-card:hover { transform: translateY(-4px); border-color: rgba(0, 60, 140, .3); box-shadow: var(--shadow-md); }
.module-card .ic { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); }
.module-card .ic svg { width: 23px; height: 23px; }
.module-card h4 { font-size: 1.02rem; margin-bottom: 4px; color: var(--title); }
.module-card p { font-size: .9rem; color: var(--muted); line-height: 1.5; }

.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 18px; text-align: center; }
.stat-card b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--primary); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 4px; }
.stat-card b span { font-size: inherit; color: inherit; }
.stat-card b .suf { color: var(--accent); }
.stat-card > span { color: var(--muted); font-weight: 600; font-size: .9rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-text .eyebrow, .split-text .subtitle { margin-bottom: 18px; }
.split-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.split-text p { color: var(--muted); margin-bottom: 14px; }
.split-text .actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.split + .split { margin-top: clamp(64px, 8vw, 110px); }
.media-shape::before { content: ""; position: absolute; inset: 12% -6% -8% 8%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 40px; z-index: -1; }
.media-shape.warm::before { background: var(--bg-soft); }
.media-shape.left::before { inset: 12% 8% -8% -6%; }
.split-media.phone-center { display: flex; justify-content: center; }

.ticks { list-style: none; margin-top: 22px; display: grid; gap: 13px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.ticks li::before {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a0f00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat, var(--grad-accent);
  box-shadow: 0 6px 14px -6px rgba(248, 154, 0, .7);
}
.ticks.cols { grid-template-columns: 1fr 1fr; }

.media-float { position: relative; }
.badge-float {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--title);
  animation: floaty 6s var(--ease) infinite;
}
.badge-float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #1a0f00; background: var(--grad-accent); flex: 0 0 auto; }
.badge-float .ic.blue { background: var(--primary); color: #fff; }
.badge-float .ic svg { width: 18px; height: 18px; }

/* ---------- Stats band (the one brand-navy block) ---------- */
.stat-band { margin-inline: 12px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #0b2354, #003c8c 60%, #0b3f8f); color: #fff; padding: clamp(46px, 6vw, 76px) 0; position: relative; overflow: hidden; }
.stat-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 95% at 100% 0%, rgba(140, 185, 255, .45), transparent 62%), radial-gradient(40% 70% at 0% 100%, rgba(79, 134, 222, .25), transparent 60%); }
.stat-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(75% 90% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(75% 90% at 50% 50%, #000 40%, transparent 100%);
}
.stat-band .waves { display: none; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -.03em; line-height: 1; color: #fff; margin-bottom: 8px; }
.stat b span { font-size: inherit; color: inherit; }
.stat b .suf { color: var(--orange-400); }
.stat > span { font-weight: 700; font-size: .98rem; color: rgba(255, 255, 255, .85); }

/* ---------- Steps (numbered row) ---------- */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; margin-top: 8px; }
.steps-row::before { content: ""; position: absolute; left: 12%; right: 12%; top: 26px; border-top: 1px dashed rgba(0, 60, 140, .3); }
.step-item { position: relative; text-align: center; padding: 0 10px; }
.step-item .num { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line-2); position: relative; }
.step-item .num::after { content: ""; position: absolute; right: -2px; top: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }
.step-item h3 { font-size: 1.12rem; margin-bottom: 8px; color: var(--title); }
.step-item p { color: var(--muted); font-size: .93rem; }

/* Steps on a wave (inside modal) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-top: 10px; }
.steps-wave { position: absolute; left: 0; right: 0; top: 50%; height: 160px; width: 100%; transform: translateY(-50%); pointer-events: none; }
.step { display: grid; grid-template-rows: 1fr 160px 1fr; grid-template-columns: 1fr; text-align: center; padding: 0 14px; }
.step .zone { grid-row: 2; grid-column: 1; position: relative; }
.step .dot { position: absolute; left: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(0, 60, 140, .14); }
.step.up .dot { top: 140px; }
.step.down .dot { top: 20px; }
.step .step-body { grid-column: 1; }
.step.up .step-body { grid-row: 1 / 3; align-self: end; padding-bottom: 40px; }
.step.down .step-body { grid-row: 2 / 4; align-self: start; padding-top: 44px; }
.step-body .pill-s { display: inline-block; padding: 4px 12px; border-radius: 100px; background: var(--accent-tint); color: #b45309; font-family: var(--font-mono); font-weight: 700; font-size: .7rem; letter-spacing: .12em; margin-bottom: 10px; }
.step-body h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--title); }
.step-body p { color: var(--muted); font-size: .93rem; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ind { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.ind:hover { transform: translateY(-4px); border-color: rgba(0, 60, 140, .3); box-shadow: var(--shadow-md); }
.ind .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); }
.ind .ic svg { width: 24px; height: 24px; }
.ind h4 { font-size: .98rem; color: var(--title); }
.ind p { font-size: .8rem; color: var(--muted); line-height: 1.4; }

/* ---------- App strip ---------- */
.app-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.app-shot { position: relative; }
.app-shot .phone-frame { transition: transform .4s var(--ease); max-width: 236px; margin-inline: auto; }
.app-shot:hover .phone-frame { transform: translateY(-10px); }
.app-shot .cap { text-align: center; margin-top: 18px; font-family: var(--font-head); font-weight: 800; color: var(--title); font-size: .98rem; }
.app-shot .cap small { display: block; font-family: var(--font-sans); font-weight: 600; color: var(--muted); font-size: .84rem; margin-top: 3px; }

/* ---------- Pricing ---------- */
.tabs { display: inline-flex; padding: 6px; border: 1px solid var(--line-2); border-radius: 100px; background: #fff; gap: 4px; box-shadow: var(--shadow-sm); }
.tabs button { border: 0; background: transparent; padding: 11px 24px; border-radius: 100px; font-family: var(--font-head); font-weight: 800; font-size: .96rem; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.tabs button:hover { color: var(--primary); }
.tabs button.on { background: var(--primary); color: #fff; box-shadow: var(--glow-navy); }
.tab-panel { animation: fadeUp .45s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.price-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.price-head .pmark { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--primary); color: #fff; flex: 0 0 auto; box-shadow: var(--glow-navy); }
.price-head .pmark svg { width: 26px; height: 26px; }
.price-head.accent .pmark { background: var(--grad-accent); color: #1a0f00; box-shadow: var(--glow-accent); }
.price-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.price-head p { color: var(--muted); width: 100%; }
.price-head p b { color: var(--title); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.price-card:hover { transform: translateY(-5px); border-color: rgba(0, 60, 140, .3); box-shadow: var(--shadow-md); }
.price-card.best { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-md); }
.price-card.best:not(:has(.badge))::after { content: "ХАМГИЙН ХЭМНЭЛТТЭЙ"; position: absolute; top: 18px; right: -38px; transform: rotate(38deg); background: var(--grad-accent); color: #1a0f00; font-family: var(--font-mono); font-size: .52rem; font-weight: 700; letter-spacing: .1em; padding: 5px 44px; }
.price-card .pl { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.price-card .amt { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--title); letter-spacing: -.03em; line-height: 1.1; }
.price-card .amt small { font-size: .9rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.price-card .was { margin-top: 6px; font-size: .92rem; color: var(--faint); text-decoration: line-through; }
.price-card .save { display: inline-block; margin-top: 12px; font-size: .84rem; font-weight: 800; color: #15803d; background: #dcfce7; padding: 5px 12px; border-radius: 100px; }
.price-card .note { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.price-card .note b { color: var(--title); }
.price-card .badge { display: inline-block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; margin-bottom: 14px; background: var(--primary-tint); color: var(--primary); }
.price-card.best .badge { background: var(--grad-accent); color: #1a0f00; }
.price-card h3 { font-size: 1.22rem; margin-bottom: 10px; color: var(--title); }
.price-card .lead-note { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.mfeat { list-style: none; display: grid; gap: 11px; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.mfeat li { display: grid; grid-template-columns: 18px 1fr; gap: 11px; align-items: start; font-size: .94rem; color: var(--ink-soft); }
.mfeat li svg { width: 18px; height: 18px; margin-top: 3px; color: #16a34a; }
.mfeat li.no svg { color: var(--faint); }
.mfeat li.opt svg { color: var(--accent); }
.mfeat li b { color: var(--title); font-weight: 700; }
.mrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); font-size: .95rem; }
.mrow:last-of-type { border-bottom: none; }
.mrow span { color: var(--muted); }
.mrow b { font-family: var(--font-head); color: var(--title); font-size: 1.02rem; text-align: right; }
.mrow b.big { font-size: 1.24rem; letter-spacing: -.02em; }
.mrow b.soft { color: var(--accent); }

.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 15px 18px; text-align: right; font-size: .96rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table thead th { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.price-table tbody td { color: var(--ink-soft); }
.price-table tbody td:first-child { color: var(--title); font-weight: 700; }
.price-table tbody td.hi { color: var(--primary); font-family: var(--font-head); font-weight: 800; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr { transition: background .25s; }
.price-table tbody tr:hover { background: var(--bg-soft); }
.price-table .disc { color: var(--accent); font-weight: 800; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.promo-band { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; padding: 18px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.promo-band .pi { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center; background: var(--grad-accent); color: #1a0f00; }
.promo-band .pi svg { width: 22px; height: 22px; }
.promo-band .pt { flex: 1; min-width: 220px; }
.promo-band .pt b { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--title); margin-bottom: 3px; }
.promo-band .pt span { color: var(--muted); font-size: .95rem; }
.promo-band .until { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: #b45309; background: var(--accent-tint); padding: 9px 16px; border-radius: 100px; white-space: nowrap; }

.price-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 24px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.price-foot b { font-family: var(--font-head); color: var(--title); font-size: 1.05rem; display: block; margin-bottom: 4px; }
.price-foot span { color: var(--muted); font-size: .95rem; }
.price-foot .val { font-family: var(--font-head); font-weight: 800; color: var(--primary); font-size: 1.3rem; white-space: nowrap; }

/* ---------- News / posts ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.chip { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--muted); padding: 9px 17px; border-radius: 100px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; transition: .25s var(--ease); }
.chip:hover { color: var(--primary); border-color: var(--primary); }
.chip.on { background: var(--primary); color: #fff; border-color: transparent; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.post-card:hover { transform: translateY(-6px); border-color: rgba(0, 60, 140, .3); box-shadow: var(--shadow-md); }
.post-cover { aspect-ratio: 16 / 9; background: var(--grad-brand); position: relative; overflow: hidden; flex: 0 0 auto; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-cover.ph::before { content: ""; position: absolute; inset: auto -20% -50% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(248, 154, 0, .55); filter: blur(12px); }
.post-cover.ph::after { content: attr(data-letter); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 3.6rem; color: rgba(255, 255, 255, .4); }
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.post-tag { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); background: var(--primary-tint); padding: 4px 10px; border-radius: 100px; }
.post-date { font-size: .82rem; color: var(--muted); font-weight: 600; }
.post-card h3 { font-size: 1.14rem; line-height: 1.35; margin-bottom: 10px; color: var(--title); }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-more { margin-top: 16px; font-family: var(--font-head); font-weight: 800; color: var(--primary); font-size: .94rem; display: inline-flex; align-items: center; gap: 7px; }
.post-card:hover .post-more { color: var(--accent); }
.empty-note { text-align: center; color: var(--muted); padding: 50px 0; }

/* article */
.article { max-width: 780px; margin-inline: auto; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 34px; border: 1px solid var(--line); }
.article-cover img { width: 100%; display: block; }
.article-body { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.8; }
.article-body h2 { color: var(--title); font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 38px 0 14px; }
.article-body p { margin-bottom: 18px; }
.article-body strong { color: var(--title); font-weight: 800; }
.article-body ul { margin: 0 0 20px; padding-left: 22px; display: grid; gap: 9px; }
.article-body li::marker { color: var(--accent); }
.article-foot { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- Page hero (post / admin) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(136px, 15vw, 180px) 0 clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 60% at 90% 10%, rgba(0, 60, 140, .06), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; max-width: 880px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 18px 0 16px; color: var(--primary); }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 660px; }
.page-hero p b { color: var(--title); }
.page-hero code { font-family: var(--font-mono); font-size: .85em; background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); color: var(--primary); }
.crumbs { display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--primary); }

/* ---------- Admin ---------- */
.admin-grid { display: grid; grid-template-columns: 330px 1fr; gap: 22px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 1.1rem; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--title); }
.plist { display: grid; gap: 9px; max-height: 460px; overflow-y: auto; }
.pitem { text-align: left; width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; cursor: pointer; transition: .22s var(--ease); font-family: inherit; }
.pitem:hover { border-color: var(--blue-400); background: #fff; }
.pitem.on { border-color: var(--primary); background: var(--primary-tint-2); }
.pitem b { display: block; font-family: var(--font-head); font-size: .96rem; color: var(--title); margin-bottom: 5px; line-height: 1.3; }
.pitem small { color: var(--muted); font-size: .78rem; }
.pitem .draft { color: #b45309; font-weight: 800; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.admin-note { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); color: var(--ink-soft); font-size: .88rem; line-height: 1.55; }
.admin-note b { color: #b45309; }
.admin-note code { font-family: var(--font-mono); font-size: .82em; background: var(--bg-soft); padding: 1px 5px; border-radius: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cover-prev { margin-top: 10px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); display: none; }
.cover-prev.on { display: block; }
.cover-prev img { width: 100%; display: block; max-height: 190px; object-fit: cover; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 44px; height: 25px; border-radius: 100px; background: #dfe5ef; border: 1px solid var(--line-2); position: relative; transition: .25s; flex: 0 0 auto; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: .25s var(--ease); }
.switch input:checked + i { background: #16a34a; border-color: #16a34a; }
.switch input:checked + i::after { transform: translateX(19px); }
.switch span { font-weight: 700; color: var(--title); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 130%); z-index: 200; background: var(--title); color: #fff; padding: 14px 22px; border-radius: 100px; box-shadow: var(--shadow-lg); font-weight: 700; transition: transform .35s var(--ease); }
.toast.on { transform: translate(-50%, 0); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.contact-item:hover { transform: translateY(-4px); border-color: rgba(0, 60, 140, .3); box-shadow: var(--shadow-md); }
.contact-item .ic { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: #fff; }
.contact-item .ic.accent { background: var(--grad-accent); color: #1a0f00; }
.contact-item .ic svg { width: 24px; height: 24px; }
.contact-item small { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; font-family: var(--font-mono); }
.contact-item b { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--title); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; color: var(--title); }
.form-card > p { color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; color: var(--title); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px;
  font-family: inherit; font-size: 1rem; background: var(--bg-soft); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(0, 60, 140, .12); }
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364708a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick label { display: block; cursor: pointer; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-soft); transition: border-color .25s, background .25s, box-shadow .25s, transform .25s var(--ease); margin: 0; }
.pick label:hover { transform: translateY(-2px); border-color: var(--blue-400); }
.pick label b { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--title); margin-bottom: 3px; }
.pick label span { font-size: .82rem; color: var(--muted); line-height: 1.4; font-weight: 500; }
.pick input:checked + label { border-color: var(--primary); background: var(--primary-tint-2); box-shadow: 0 0 0 1px var(--primary); }
.pick input:checked + label.wt { border-color: var(--accent); background: #fff7ea; box-shadow: 0 0 0 1px var(--accent); }
.pick input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; }
.field .err { display: none; margin-top: 7px; font-size: .85rem; color: #dc2626; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.field .err b { color: var(--title); font-weight: 800; }
.field .fix { color: var(--primary); text-decoration: underline; cursor: pointer; }
.field.valid input { border-color: #22c55e; }
.cond { display: none; }
.cond.on { display: block; animation: condIn .3s var(--ease); }
@keyframes condIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 10px; }
.form-note a { color: var(--primary); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { margin-inline: 12px; border-radius: var(--radius-xl); background: linear-gradient(135deg, #0b2354, #003c8c 60%, #0b3f8f); color: #fff; position: relative; overflow: hidden; padding: clamp(46px, 6vw, 80px) clamp(24px, 5vw, 70px); }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 100% 0%, rgba(248, 154, 0, .38), transparent 60%); }
.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 16px 0 14px; }
.cta-band p { color: rgba(255, 255, 255, .86); max-width: 560px; margin-bottom: 28px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-media { display: flex; justify-content: center; }
.cta-media .phone-frame { max-width: 230px; width: 100%; transform: rotate(-6deg); }

/* ---------- Footer ---------- */
.footer { margin: 12px 12px; border-radius: var(--radius-xl); background: var(--dark); color: rgba(255, 255, 255, .75); padding: 70px 0 28px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, var(--blue-500), var(--orange-500), transparent); }
.footer::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(40% 60% at 100% 0%, rgba(248, 154, 0, .12), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(29, 95, 196, .22), transparent 60%); }
.footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 38px; margin-bottom: 46px; }
.footer .logo-word b { color: #fff; }
.footer .logo-word small { color: var(--orange-400); }
.footer p { color: rgba(255, 255, 255, .68); font-size: .95rem; margin-top: 18px; max-width: 320px; }
.footer h5 { font-family: var(--font-head); color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: rgba(255, 255, 255, .75); font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: var(--orange-400); }
.footer .fcontact li { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.footer .fcontact svg { width: 18px; height: 18px; color: var(--orange-400); flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: rgba(255, 255, 255, .55); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: .25s var(--ease); }
.social a:hover { background: var(--grad-accent); color: #1a0f00; transform: translateY(-3px); }
.social svg { width: 19px; height: 19px; }

/* ---------- Full-screen modals ---------- */
.modal { position: fixed; inset: 0; z-index: 200; background: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; opacity: 0; transform: translateY(28px); transition: opacity .32s var(--ease), transform .32s var(--ease); }
.modal[hidden] { display: none; }
.modal.open { opacity: 1; transform: none; }
.modal-head { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.modal-head-inner { display: flex; align-items: center; gap: 14px; height: 74px; }
.modal-head .logo-tile { width: 38px; height: 38px; border-radius: 10px; }
.modal-head .logo-tile img { width: 34px; height: 34px; }
.modal-head .modal-title { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--title); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal-head .modal-title small { display: block; font-family: var(--font-sans); font-weight: 600; font-size: .78rem; color: var(--muted); }
.modal-close { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; color: var(--title); box-shadow: var(--shadow-sm); transition: background .25s, color .25s, transform .25s var(--ease), border-color .25s; }
.modal-close svg { width: 20px; height: 20px; }
.modal-close:hover { background: var(--primary); color: #fff; border-color: transparent; transform: rotate(90deg); }
.modal-body { padding-bottom: clamp(48px, 6vw, 80px); }
.modal-body > .section { padding: clamp(44px, 5vw, 76px) 0; }
.modal-cta { margin-top: clamp(40px, 5vw, 64px); padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); background: linear-gradient(135deg, #0b2354, #003c8c 60%, #0b3f8f); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; overflow: hidden; }
.modal-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 90% at 100% 0%, rgba(248, 154, 0, .35), transparent 60%); }
.modal-cta > * { position: relative; z-index: 1; }
.modal-cta h3 { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.7rem); max-width: 560px; }
.modal-cta p { color: rgba(255, 255, 255, .85); margin-top: 6px; font-size: .98rem; }
.modal-cta .cta-actions { flex: 0 0 auto; }
.modal-cta .btn-primary { background: var(--grad-accent); color: #1a0f00; box-shadow: var(--glow-accent); }
.modal-cta .btn-primary:hover { background: var(--grad-accent); }
body.modal-open { overflow: hidden; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { min-height: 0; max-width: 520px; width: 100%; margin-inline: auto; padding: 30px 0 70px; }
  .hero-visual .browser-frame { position: relative; top: auto; left: auto; }
  .hero-visual .phone-frame { bottom: 0; right: -4px; }
  .hero-visual::before { width: 90%; right: 0; }
  .hero-visual::after { display: none; }
  .split, .contact-grid, .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .app-strip { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid, .row2 { grid-template-columns: 1fr; }
  .cta-media { display: none; }
  .steps-row { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .steps-row::before { display: none; }
  .phone-duo { min-height: 460px; }
  .phone-duo .phone-frame { width: 210px; }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 20px; }
  .steps-wave, .step .zone { display: none; }
  .step { grid-template-rows: auto; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: left; }
  .step .step-body { grid-row: auto !important; padding: 0 !important; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-top: 118px; }
  .hero-visual .phone-frame { width: 140px; }
  .stat-band { margin-inline: 0; border-radius: 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { border-radius: 30px; }
  .footer { margin: 0; border-radius: 0; }
  .mobile-menu { inset: 84px 12px auto; }
  .page-hero { padding-top: 118px; }
  .modal-head-inner { height: 66px; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-word small { display: none; }
}
@media (max-width: 520px) {
  .grid-2, .grid-3, .grid-4, .post-grid, .steps, .offer-grid, .steps-row { grid-template-columns: 1fr; }
  .app-strip { grid-template-columns: 1fr; max-width: 290px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 1fr; }
  .ticks.cols { grid-template-columns: 1fr; }
  .hero-trust .t { padding: 0 16px; }
  .cta-band { padding: 40px 24px; }
  .tabs button { padding: 10px 16px; font-size: .9rem; }
  .phone-duo { min-height: 420px; }
  .phone-duo .phone-frame { width: 170px; }
  .phone-duo .phone-frame:first-child { transform: translate(18px, -30px) rotate(-6deg); }
  .phone-duo .phone-frame:last-child { transform: translate(-18px, 0) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Motion layer — subtle, purposeful animation
   ============================================================ */
/* Hero entrance (on load) */
.hero-copy > * { opacity: 0; animation: heroIn .8s var(--ease) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .25s; }
.hero-copy > :nth-child(4) { animation-delay: .35s; }
.hero-copy > :nth-child(5) { animation-delay: .45s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-visual .browser-frame { animation: visualIn .9s var(--ease) .25s both, floaty 7s var(--ease) 1.4s infinite; }
.hero-visual .phone-frame { animation: visualIn .9s var(--ease) .5s both, floaty 6s var(--ease) 1.8s infinite; }
.hero-visual .glow-chip { animation: visualIn .7s var(--ease) .85s both, floaty 6s var(--ease) 2s infinite; }
.hero-visual .chip-2 { animation-delay: 1.05s, 2.4s; }
@keyframes visualIn { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }
/* slow scan line over the hero grid */
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: -160px; height: 160px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(0, 60, 140, .06), transparent); animation: scan 11s linear 2s infinite; }
@keyframes scan { to { transform: translateY(calc(100vh + 320px)); } }

/* Product mock-ups come alive when shown */
.hero-visual .mk-cbars .grp i, .reveal.in .mk-cbars .grp i { transform-origin: bottom; animation: barUp .9s var(--ease) both; }
.mk-cbars .grp:nth-child(1) i { animation-delay: .7s; }
.mk-cbars .grp:nth-child(2) i { animation-delay: .78s; }
.mk-cbars .grp:nth-child(3) i { animation-delay: .86s; }
.mk-cbars .grp:nth-child(4) i { animation-delay: .94s; }
.mk-cbars .grp:nth-child(5) i { animation-delay: 1.02s; }
.mk-cbars .grp:nth-child(6) i { animation-delay: 1.1s; }
.mk-cbars .grp:nth-child(7) i { animation-delay: 1.18s; }
@keyframes barUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hero-visual .mk-cline path, .reveal.in .mk-cline path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.6s var(--ease) 1.1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-visual .at-dist i, .reveal.in .at-dist i { transform-origin: bottom; animation: barUp .8s var(--ease) .4s both; }
.ma-map .mm-pin::before { animation: ripple 2.4s ease-out infinite; }
@keyframes ripple { 0% { transform: translate(-50%, -50%) rotate(45deg) scale(.55); opacity: 1; } 100% { transform: translate(-50%, -50%) rotate(45deg) scale(1.7); opacity: 0; } }
.hero-visual .ma-cta { animation: ctaPulse 2.8s ease-in-out 1.5s infinite; }
@keyframes ctaPulse { 0%, 100% { box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .7); } 50% { box-shadow: 0 14px 28px -10px rgba(37, 99, 235, .95), 0 0 0 5px rgba(37, 99, 235, .12); } }
.ma-head .bell::after { animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.4); } }

/* Eyebrow marker draws in */
.reveal.in .eyebrow::before, .reveal.in .subtitle::before { transform-origin: left; animation: grow .7s var(--ease) .1s both; }
.section-head.center.reveal.in .eyebrow::after, .section-head.center.reveal.in .subtitle::after { transform-origin: right; animation: grow .7s var(--ease) .1s both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Check marks pop in one after another */
.reveal.in .ticks li::before { animation: pop .45s var(--ease) both; }
.reveal.in .ticks li:nth-child(1)::before { animation-delay: .2s; }
.reveal.in .ticks li:nth-child(2)::before { animation-delay: .3s; }
.reveal.in .ticks li:nth-child(3)::before { animation-delay: .4s; }
.reveal.in .ticks li:nth-child(4)::before { animation-delay: .5s; }
.reveal.in .ticks li:nth-child(5)::before { animation-delay: .6s; }
.reveal.in .ticks li:nth-child(6)::before { animation-delay: .7s; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* Steps: connector draws, numbers pop */
.steps-row::before { right: auto; width: 0; transition: width 1.4s var(--ease) .3s; }
.steps-row:has(.step-item.in)::before { width: 76%; }
.step-item.reveal.in .num { animation: pop .5s var(--ease) both; }
.step-item[data-d="1"].in .num { animation-delay: .1s; }
.step-item[data-d="2"].in .num { animation-delay: .2s; }
.step-item[data-d="3"].in .num { animation-delay: .3s; }

/* Module ticker under the slogan */
.ticker { overflow: hidden; margin-top: clamp(30px, 4vw, 46px); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 55s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk-group { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.tk-group span { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 30px; }
.tk-group span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Stats band: slow light sweep */
.stat-band .sweep { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, .12) 50%, transparent 58%); transform: translateX(-100%); animation: sweep 8s ease-in-out 1s infinite; }
@keyframes sweep { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

/* Offer tiles: watermark drifts on hover */
.offer::after { transition: transform .4s var(--ease), color .4s; }
.offer:hover::after { transform: translate(-6px, -3px); color: rgba(248, 154, 0, .16); }
.offer.svc:hover::after { color: rgba(0, 60, 140, .14); }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-visual .browser-frame, .hero-visual .phone-frame, .hero-visual .glow-chip { opacity: 1; }
  .mk-cline path { stroke-dasharray: none; stroke-dashoffset: 0; }
  .steps-row::before { width: 76%; }
  .hero::after { display: none; }
}
