/* ============================================================
   Novatech — landing styles
   Dark, electric-blue / metallic theme to match the logo.
   ============================================================ */

:root {
  --bg: #05070d;
  --bg-2: #080c14;
  --panel: #0c121d;
  --panel-2: #0f1726;
  --input-bg: #070c14;
  --grid-line: rgba(255, 255, 255, .025);
  --hover: rgba(255, 255, 255, .05);
  --nav-bg: rgba(5, 7, 13, .72);
  --menu-bg: rgba(7, 10, 17, .96);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #e8edf5;
  --muted: #93a0b4;
  --faint: #6b7891;

  --blue: #2f97ff;
  --blue-bright: #4aa8ff;
  --cyan: #45e0ff;
  --grad: linear-gradient(100deg, #2f97ff 0%, #45e0ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(47, 151, 255, .18), rgba(69, 224, 255, .08));

  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
  --ring: 0 0 0 1px var(--line);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand { font-family: 'Sora', 'Inter', sans-serif; letter-spacing: -.02em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Background decoration ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(120px); opacity: .5; pointer-events: none; }
.bg-glow--1 { width: 620px; height: 620px; top: -220px; right: -160px; background: radial-gradient(circle, rgba(47, 151, 255, .55), transparent 65%); }
.bg-glow--2 { width: 560px; height: 560px; top: 640px; left: -220px; background: radial-gradient(circle, rgba(69, 224, 255, .35), transparent 65%); }

/* ---------- Buttons ---------- */
.btn {
  --p: 13px 22px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: var(--p); border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #04121f; box-shadow: 0 10px 30px -8px rgba(47, 151, 255, .6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(47, 151, 255, .75); }
.btn--ghost { background: var(--hover); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2, rgba(127, 127, 127, .12)); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s ease, border-color .3s ease, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: var(--nav-bg); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand__logo { height: 46px; width: auto; filter: drop-shadow(0 4px 16px rgba(47, 151, 255, .35)); }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link { padding: 9px 15px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s, background .2s; }
.nav__link:hover { color: var(--text); background: var(--hover); }
.nav__link--cta { background: var(--grad); color: #04121f; font-weight: 600; }
.nav__link--cta:hover { color: #04121f; transform: translateY(-1px); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Controls (language + theme) */
.nav__controls { display: flex; align-items: center; gap: 10px; }
.lang-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(127, 127, 127, .06); }
.lang-toggle button { border: 0; background: none; cursor: pointer; font: 600 13px/1 'Inter', sans-serif; letter-spacing: .03em; color: var(--muted); padding: 7px 11px; border-radius: 999px; transition: color .2s, background .2s; }
.lang-toggle button:hover { color: var(--text); }
.lang-toggle button.is-active { color: #04121f; background: var(--grad); }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line-strong); background: rgba(127, 127, 127, .06); cursor: pointer; font-size: 17px; line-height: 1; transition: background .2s, transform .15s; }
.theme-toggle:hover { background: var(--hover); transform: translateY(-1px); }
.theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: inline; }

/* ---------- Shared section ---------- */
.section { padding: 96px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .015), transparent); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; line-height: 1.1; }
.section__lead { color: var(--muted); margin-top: 16px; font-size: 18px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--grad-soft); margin-bottom: 18px;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 60px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; line-height: 1.04; margin-bottom: 22px; }
.hero__sub { color: var(--muted); font-size: 19px; max-width: 540px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__tagline { margin-top: 30px; font-family: 'Sora', sans-serif; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; color: var(--faint); }

.hero__visual { position: relative; min-height: 420px; }
.device--float { animation: floaty 7s ease-in-out infinite; }
.device--phone-float { position: absolute; right: -6px; bottom: -28px; width: 168px; animation: floaty 7s ease-in-out infinite 1.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ---------- Stats ---------- */
.stats { padding: 8px 0 40px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 20px; background: var(--panel); }
.stat { text-align: center; }
.stat__num { font-family: 'Sora', sans-serif; font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.stat__plus { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 700; color: var(--cyan); }
.stat__label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
  position: relative; overflow: hidden;
}
.svc::after { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity .25s; }
.svc:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.svc:hover::after { opacity: 1; }
.svc > * { position: relative; z-index: 1; }
.svc__icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--line-strong); margin-bottom: 18px; }
.svc h3 { font-size: 20px; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 15px; }

/* ---------- Work / products ---------- */
.work { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding: 40px 0; }
.work + .work { border-top: 1px solid var(--line); }
.work--reverse .work__media { order: 2; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.tag--live { color: #5ef0a8; background: rgba(94, 240, 168, .1); border: 1px solid rgba(94, 240, 168, .25); }
.tag--concept { color: var(--cyan); background: var(--grad-soft); border: 1px solid var(--line-strong); }
.work__title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 12px; }
.work__desc { color: var(--muted); font-size: 16.5px; margin-bottom: 18px; }
.work__feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-bottom: 20px; }
.work__feats li { position: relative; padding-left: 24px; font-size: 14.5px; color: #c4cee0; }
.work__feats li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--cyan); font-weight: 700; }
.work__stack { display: flex; flex-wrap: wrap; gap: 8px; }
.work__stack span { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--hover); }

/* ---------- Device frames ---------- */
.device { border-radius: 14px; background: #0a0f18; border: 1px solid var(--line-strong); box-shadow: var(--shadow); overflow: hidden; }
.device--browser { width: 100%; }
.device__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0d1420; border-bottom: 1px solid var(--line); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.device__url { margin-left: 10px; flex: 1; font-size: 12px; color: var(--muted); background: #070b12; border: 1px solid var(--line); padding: 5px 12px; border-radius: 7px; }

.screen { aspect-ratio: 16 / 10.4; background: #070b12; padding: 14px; }

/* dashboard mockup */
.screen--dashboard { display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.mk-side { background: #0c1421; border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px; display: flex; flex-direction: column; gap: 9px; }
.mk-logo { height: 16px; border-radius: 5px; background: var(--grad); opacity: .9; }
.mk-logo--ai { background: linear-gradient(120deg, #8a5bff, #45e0ff); }
.mk-nav { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.mk-nav.is-active { background: var(--grad); }
.mk-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mk-row--head { display: flex; align-items: center; justify-content: space-between; }
.mk-h { width: 120px; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.mk-h--sm { width: 80px; }
.mk-pill { width: 56px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.mk-pill--g { background: rgba(94, 240, 168, .3); }
.mk-pill--b { background: var(--grad); }
.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mk-card { background: #0c1421; border: 1px solid var(--line); border-radius: 9px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mk-card--blue { background: var(--grad-soft); border-color: rgba(69, 224, 255, .3); }
.mk-card__v { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; }
.mk-card__l { height: 7px; width: 70%; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.mk-chart { display: flex; align-items: flex-end; gap: 7px; height: 78px; padding: 10px; background: #0c1421; border: 1px solid var(--line); border-radius: 9px; }
.mk-chart span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--grad); opacity: .85; }
.mk-list { display: flex; flex-direction: column; gap: 7px; }
.mk-li { height: 11px; border-radius: 5px; background: rgba(255, 255, 255, .06); }
.mk-li:nth-child(2) { width: 90%; } .mk-li:nth-child(3) { width: 75%; }
.mk-table { background: #0c1421; border: 1px solid var(--line); border-radius: 9px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mk-tr { height: 12px; border-radius: 5px; background: rgba(255, 255, 255, .06); }
.mk-tr--h { background: rgba(69, 224, 255, .22); width: 50%; }

/* rental mockup */
.screen--rental { display: flex; flex-direction: column; gap: 12px; }
.mk-rhead { display: flex; align-items: center; justify-content: space-between; }
.mk-rcols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; flex: 1; }
.mk-cal { background: #0c1421; border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.mk-cal__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mk-cal__row span { aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, .05); }
.mk-cal__row span.on { background: var(--grad); opacity: .9; }
.mk-cal__row span.on--2 { background: rgba(94, 240, 168, .55); }
.mk-cal__row span.on--3 { background: rgba(254, 188, 46, .5); }
.mk-bookings { display: flex; flex-direction: column; gap: 9px; }
.mk-bk { flex: 1; border-radius: 9px; background: #0c1421; border: 1px solid var(--line); border-left: 3px solid var(--blue); }
.mk-bk:nth-child(2) { border-left-color: #5ef0a8; }
.mk-bk:nth-child(3) { border-left-color: #febc2e; }
.mk-bk:nth-child(4) { border-left-color: var(--cyan); }

/* cctv mockup */
.screen--cctv { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; background: #04060a; }
.mk-cam { position: relative; border-radius: 9px; border: 1px solid var(--line); overflow: hidden; background:
    repeating-linear-gradient(0deg, #0a1018, #0a1018 2px, #0c131d 2px, #0c131d 4px); }
.mk-cam--alert { border-color: rgba(255, 95, 87, .6); box-shadow: 0 0 0 1px rgba(255, 95, 87, .4) inset; }
.mk-cam__lbl { position: absolute; left: 8px; bottom: 7px; font-size: 10px; font-weight: 600; color: #cfe; background: rgba(0, 0, 0, .5); padding: 2px 7px; border-radius: 5px; letter-spacing: .04em; }
.mk-cam--alert .mk-cam__lbl { color: #ffd0cd; }
.mk-rec { position: absolute; right: 8px; top: 7px; font-size: 9px; font-weight: 700; color: #ff6b63; }
.mk-box { position: absolute; border: 2px solid; border-radius: 4px; }
.mk-box--p { left: 26%; top: 22%; width: 30%; height: 56%; border-color: var(--cyan); box-shadow: 0 0 14px rgba(69, 224, 255, .5); }
.mk-box--v { left: 16%; top: 40%; width: 56%; height: 40%; border-color: #5ef0a8; }
.mk-box--a { left: 38%; top: 18%; width: 34%; height: 64%; border-color: #ff5f57; box-shadow: 0 0 16px rgba(255, 95, 87, .6); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* ai mockup */
.screen--ai { display: grid; grid-template-columns: 58px 1fr; gap: 12px; }
.mk-ai__side { background: #0c1421; border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px; display: flex; flex-direction: column; gap: 9px; }
.mk-ai__chat { background: #0a111c; border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.mk-msg { display: flex; flex-direction: column; gap: 6px; max-width: 78%; }
.mk-msg span { height: 9px; border-radius: 6px; }
.mk-msg--bot { align-self: flex-start; }
.mk-msg--bot span { background: rgba(255, 255, 255, .1); }
.mk-msg--bot span:nth-child(1) { width: 150px; } .mk-msg--bot span:nth-child(2) { width: 110px; } .mk-msg--bot span:nth-child(3) { width: 90px; }
.mk-msg--me { align-self: flex-end; }
.mk-msg--me span { width: 130px; background: var(--grad); }
.mk-ai__input { margin-top: auto; height: 30px; border-radius: 999px; background: #0c1421; border: 1px solid var(--line-strong); display: flex; align-items: center; padding: 0 12px; }
.mk-ai__dots { display: flex; gap: 5px; }
.mk-ai__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: blink 1.2s infinite; }
.mk-ai__dots i:nth-child(2) { animation-delay: .2s; } .mk-ai__dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* phone */
.device--phone { border-radius: 30px; padding: 9px; background: #0b0f17; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.device--phone .screen { border-radius: 22px; aspect-ratio: 9 / 18.5; padding: 0; overflow: hidden; }
.device--phone-static { width: 250px; margin: 0 auto; }
.screen--mobile { background: linear-gradient(180deg, #0c1626, #070b12); display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; }
.mk-mhead { height: 14px; width: 60%; border-radius: 6px; background: rgba(255, 255, 255, .14); }
.mk-mhero { height: 70px; border-radius: 12px; background: var(--grad); opacity: .9; }
.mk-mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-mgrid span { height: 52px; border-radius: 10px; background: #0e1828; border: 1px solid var(--line); }
.mk-mbar { margin-top: auto; height: 30px; border-radius: 12px; background: #0e1828; border: 1px solid var(--line); }

/* shop phone */
.screen--shop { background: #0a0f18; display: flex; flex-direction: column; }
.mk-shead { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 8px; }
.mk-cart { width: 22px; height: 22px; border-radius: 7px; background: var(--grad-soft); border: 1px solid var(--line-strong); }
.mk-banner { margin: 0 12px; padding: 14px; border-radius: 12px; background: var(--grad); color: #04121f; font-weight: 700; font-size: 12.5px; text-align: center; }
.mk-pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.mk-prod { background: #0d1626; border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 7px; }
.mk-prod__img { height: 56px; border-radius: 8px; background: linear-gradient(135deg, #1b2a44, #122036); }
.mk-prod__img--2 { background: linear-gradient(135deg, #243b52, #14283a); }
.mk-prod__img--3 { background: linear-gradient(135deg, #2a2350, #161433); }
.mk-prod__t { height: 8px; width: 80%; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.mk-prod__p { height: 8px; width: 45%; border-radius: 4px; background: var(--cyan); opacity: .8; }
.mk-tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 12px; border-top: 1px solid var(--line); }
.mk-tabbar span { width: 22px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.mk-tabbar span.is-active { background: var(--grad); width: 26px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.step__n { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 38px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.step h3 { font-size: 19px; margin: 6px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why__list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.why__list li { position: relative; padding-left: 30px; color: var(--muted); }
.why__list li strong { color: var(--text); }
.why__list li::before { content: "→"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.badge-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: transform .2s, border-color .2s; }
.badge-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.badge-card__ic { font-size: 26px; display: block; margin-bottom: 12px; }
.badge-card h4 { font-size: 17px; margin-bottom: 6px; }
.badge-card p { color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
.contact__list { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; font-size: 20px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--line-strong); }
.contact__lbl { display: block; font-size: 12.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.contact__val { font-weight: 600; font-size: 16px; }
a.contact__val:hover { color: var(--cyan); }

.contact__form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: #c4cee0; }
.field .opt { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--input-bg); border: 1px solid var(--line-strong); border-radius: 11px;
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 151, 255, .18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff5f57; }
.field__err { display: block; color: #ff8e88; font-size: 12.5px; margin-top: 5px; min-height: 1px; }
.form__note { margin-top: 12px; font-size: 14px; text-align: center; min-height: 20px; }
.form__note.is-ok { color: #5ef0a8; }
.form__note.is-err { color: #ff8e88; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 28px; background: var(--bg-2); }
.footer__inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: center; }
.footer__logo { height: 44px; }
.footer__tag { color: var(--faint); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-top: 10px; }
.footer__nav { display: flex; gap: 22px; }
.footer__nav a { color: var(--muted); font-size: 15px; }
.footer__nav a:hover { color: var(--text); }
.footer__contact { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.footer__contact a { color: var(--muted); font-size: 14.5px; }
.footer__contact a:hover { color: var(--cyan); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }

/* ---------- To-top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #04121f; font-size: 20px; font-weight: 700; box-shadow: 0 10px 26px -8px rgba(47, 151, 255, .7); opacity: 0; transform: translateY(14px); pointer-events: none; transition: .3s; }
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Light theme — overrides the design tokens. Product "screens"
   stay dark on purpose (they read as real app screenshots).
   ============================================================ */
[data-theme="light"] {
  --bg: #f3f6fc;
  --bg-2: #eaeef7;
  --panel: #ffffff;
  --panel-2: #f4f7fc;
  --input-bg: #ffffff;
  --line: rgba(13, 23, 46, .10);
  --line-strong: rgba(13, 23, 46, .16);
  --text: #0c1626;
  --muted: #51607a;
  --faint: #8a97ad;
  --grid-line: rgba(13, 23, 46, .045);
  --hover: rgba(13, 23, 46, .05);
  --nav-bg: rgba(255, 255, 255, .82);
  --menu-bg: rgba(255, 255, 255, .97);
  --grad: linear-gradient(100deg, #1f82dd 0%, #14a7d8 100%);
  --shadow: 0 24px 60px -22px rgba(13, 23, 46, .22);
}
[data-theme="light"] body { background: var(--bg); }
[data-theme="light"] .bg-glow { opacity: .3; }
[data-theme="light"] .bg-grid { mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 78%); }
[data-theme="light"] .eyebrow,
[data-theme="light"] .stat__plus,
[data-theme="light"] .tag--concept,
[data-theme="light"] .work__feats li::before,
[data-theme="light"] .why__list li::before { color: #0e72cc; }
[data-theme="light"] a.contact__val:hover,
[data-theme="light"] .footer__contact a:hover,
[data-theme="light"] .nav__link:hover { color: #0e72cc; }
[data-theme="light"] .lang-toggle,
[data-theme="light"] .theme-toggle { background: rgba(13, 23, 46, .04); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner, .why, .contact { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; margin-top: 10px; }
  .device--phone-float { position: static; margin: 18px auto 0; }
  .work, .work--reverse { grid-template-columns: 1fr; gap: 26px; }
  .work--reverse .work__media { order: 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .nav__links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 4px; align-items: stretch;
    background: var(--menu-bg); backdrop-filter: blur(14px); padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .32s ease; z-index: 49;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__link { padding: 13px 14px; font-size: 16px; }
  .nav__toggle { display: flex; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .why__cards { grid-template-columns: 1fr; }
  .work__feats { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__contact { text-align: left; }
}
