/* =========================================================
   ManviNext Technologies — Main Stylesheet
   ========================================================= */

:root {
  --navy-950: #050816;
  --navy-900: #0a0f2c;
  --navy-800: #111842;
  --navy-700: #1b245c;
  --indigo: #6366f1;
  --indigo-600: #4f46e5;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --green: #22c55e;
  --wa: #25d366;

  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;

  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(99,102,241,.12), rgba(34,211,238,.12));

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow: 0 12px 32px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(30, 27, 75, .35);
  --glow: 0 10px 30px -8px rgba(99, 102, 241, .55);

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; letter-spacing: -.02em; }

.ico {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--indigo-600); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

.btn--primary { background: var(--grad); background-size: 160% 160%; color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(99,102,241,.7); background-position: 100% 0; }

.btn--glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn--glass .ico, .btn--wa .ico { transform: none !important; }

.btn--outline { background: transparent; color: var(--indigo-600); border-color: rgba(99,102,241,.4); }
.btn--outline:hover { background: var(--indigo-600); color: #fff; border-color: var(--indigo-600); transform: translateY(-2px); }

.btn--white { background: #fff; color: var(--indigo-600); box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.btn--white:hover { transform: translateY(-2px); }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 26px -10px rgba(37,211,102,.7); }
.btn--wa:hover { background: #1ebe5b; transform: translateY(-2px); }

/* ---------- Eyebrow / Section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--indigo-600); background: var(--grad-soft); border: 1px solid rgba(99,102,241,.18);
  margin-bottom: 18px;
}
.eyebrow--light { color: #c7d2fe; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

.section { padding: 110px 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__title { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; margin-bottom: 16px; }
.section__sub { font-size: 18px; color: var(--muted); }
.section__head--light .section__title { color: #fff; }
.section__head--light .section__sub { color: #a5b4fc; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, height .35s;
}
/* blur lives on a pseudo-element so the fixed mobile menu isn't trapped by backdrop-filter */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: rgba(10, 15, 44, .82);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -10px rgba(0,0,0,.4);
}
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled { --header-h: 66px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.logo__mark { width: 42px; height: 42px; flex-shrink: 0; filter: drop-shadow(0 6px 14px rgba(99,102,241,.5)); }
.logo__mark svg { width: 100%; height: 100%; }
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1; display: flex; flex-direction: column; }
.logo__name { white-space: nowrap; }
.logo__name > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo__text small { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #94a3b8; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 8px 14px; border-radius: 999px;
  font-weight: 500; font-size: 15px; color: rgba(255,255,255,.78); transition: color .25s, background .25s;
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; border-radius: 3px;
  transform: translateX(-50%); background: var(--grad);
}
.nav-toggle { display: none; color: #fff; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.nav-toggle .ico { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #1e1b4b 0%, transparent 60%), var(--navy-900);
  color: #cbd5e1;
  padding: calc(var(--header-h) + 80px) 0 70px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb--1 { width: 520px; height: 520px; background: #4f46e5; top: -160px; right: -120px; animation: float 14s ease-in-out infinite; }
.orb--2 { width: 380px; height: 380px; background: #0891b2; bottom: -120px; left: -120px; opacity: .35; animation: float 18s ease-in-out infinite reverse; }
.orb--3 { width: 260px; height: 260px; background: #8b5cf6; top: 40%; left: 40%; opacity: .25; animation: float 16s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px, -30px); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; margin-bottom: 24px; }
.hero__lead { font-size: 18px; max-width: 560px; color: #a8b3cf; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; color: #c7d2fe; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(34,197,94,.18); color: #4ade80; stroke-width: 3; }

/* Hero visual */
.hero__visual { position: relative; height: 460px; }
.mock-browser {
  position: absolute; top: 20px; left: 0; right: 40px;
  border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mock-browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.08); }
.mock-browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.mock-browser__bar i:nth-child(2) { background: #fbbf24; }
.mock-browser__bar i:nth-child(3) { background: #34d399; }
.mock-browser__bar span { margin-left: 14px; flex: 1; font-size: 12px; color: #94a3b8; background: rgba(255,255,255,.06); border-radius: 6px; padding: 4px 12px; }
.mock-browser__body { padding: 20px; background: linear-gradient(180deg, #0f1640, #0b1030); }
.mb-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.mb-nav b { width: 70px; height: 12px; border-radius: 6px; background: var(--grad); margin-right: auto; }
.mb-nav span { width: 38px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.18); }
.mb-nav em { width: 56px; height: 20px; border-radius: 10px; background: var(--indigo); }
.mb-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-bottom: 22px; }
.mb-hero__text b { display: block; height: 16px; border-radius: 6px; background: rgba(255,255,255,.85); margin-bottom: 10px; }
.mb-hero__text b:nth-child(2) { width: 70%; background: var(--grad); }
.mb-hero__text span { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.2); margin: 9px 0; }
.mb-hero__text span:nth-of-type(2) { width: 80%; }
.mb-hero__text em { display: block; width: 96px; height: 26px; border-radius: 13px; background: var(--grad); margin-top: 16px; }
.mb-hero__img { border-radius: 12px; background: radial-gradient(circle at 30% 30%, rgba(34,211,238,.6), transparent 55%), radial-gradient(circle at 70% 70%, rgba(139,92,246,.7), transparent 55%), #1e1b4b; min-height: 110px; }
.mb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mb-cards div { height: 62px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); position: relative; }
.mb-cards div::before { content: ""; position: absolute; left: 12px; top: 12px; width: 20px; height: 20px; border-radius: 6px; background: var(--grad); opacity: .85; }

.mock-phone {
  position: absolute; right: 0; bottom: 0; width: 170px; height: 340px;
  border-radius: 30px; padding: 10px; background: #0b0f2a;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255,255,255,.04);
  animation: bob 7s ease-in-out infinite; animation-delay: -3.5s;
}
.mock-phone__notch { position: absolute; top: 14px; left: 50%; width: 60px; height: 16px; border-radius: 10px; transform: translateX(-50%); background: #000; z-index: 2; }
.mock-phone__screen { height: 100%; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #f8fafc, #eef2ff); padding: 36px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.mp-head { height: 10px; width: 60%; border-radius: 5px; background: #1e293b; }
.mp-banner { height: 80px; border-radius: 14px; background: var(--grad); }
.mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.mp-grid i { border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); }
.mp-btn { height: 26px; border-radius: 13px; background: var(--navy-900); }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(255,255,255,.95); color: var(--ink); box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 15px; line-height: 1.2; }
.float-card small { font-size: 12px; color: var(--muted); }
.float-card__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.float-card__icon--green { background: linear-gradient(135deg, #22c55e, #10b981); }
.float-card--a { left: -24px; bottom: 70px; animation-delay: -1s; }
.float-card--b { right: 120px; top: -6px; animation-delay: -2.5s; }

/* Stats */
.stats {
  position: relative; margin-top: 70px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stat { padding: 28px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.08); }
.stat strong { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { font-size: 14px; color: #a5b4fc; }

/* ---------- Tech marquee ---------- */
.tech { background: var(--navy-950); padding: 34px 0; border-top: 1px solid rgba(255,255,255,.05); }
.tech__label { text-align: center; color: #64748b; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #475569; white-space: nowrap; transition: color .3s; }
.marquee__track span:hover { color: #c7d2fe; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about__visual { position: relative; padding: 30px 30px 60px 0; }
.about__visual::before {
  content: ""; position: absolute; inset: 0 60px 30px -30px; border-radius: 32px;
  background: var(--grad); opacity: .12; transform: rotate(-4deg);
}
.about__card--main {
  position: relative; padding: 40px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #cbd5e1;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.about__card--main::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,.5), transparent 70%); }
.about__card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 24px; box-shadow: var(--glow); }
.about__card-icon .ico { width: 28px; height: 28px; }
.about__card--main h3 { color: #fff; font-size: 28px; margin-bottom: 14px; }
.about__card--main p { margin-bottom: 24px; color: #a8b3cf; }
.mini-list { display: grid; gap: 12px; }
.mini-list li { display: flex; align-items: center; gap: 10px; color: #e2e8f0; font-weight: 500; }
.mini-list .ico { color: var(--cyan); stroke-width: 3; width: 18px; height: 18px; }
.about__badge {
  position: absolute; right: 0; bottom: 20px; padding: 20px 26px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  animation: bob 6s ease-in-out infinite;
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about__badge span { font-size: 14px; color: var(--muted); font-weight: 500; }

.about__content > p { font-size: 17px; margin-bottom: 18px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 32px 0 36px; }
.pillar { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--indigo-600); }
.pillar h4 { font-size: 17px; margin-bottom: 4px; }
.pillar p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.services::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 0% 0%, rgba(99,102,241,.07), transparent 60%), radial-gradient(800px 400px at 100% 100%, rgba(34,211,238,.07), transparent 60%); pointer-events: none; }
.tabs { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.tab {
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  background: #fff; color: var(--ink-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: all .25s var(--ease);
}
.tab:hover { border-color: rgba(99,102,241,.45); color: var(--indigo-600); }
.tab.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }

.services__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s, opacity .4s;
  overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: var(--grad); opacity: 0; transition: opacity .4s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::before { opacity: 1; }
.service__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--grad-soft); color: var(--indigo-600);
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.service__icon .ico { width: 28px; height: 28px; }
.service:hover .service__icon { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service__tag { position: absolute; top: 28px; right: 24px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); padding: 4px 10px; border-radius: 999px; }
.service h3 { font-size: 20px; margin-bottom: 10px; }
.service p { font-size: 15px; color: var(--muted); }
.service.is-hidden { display: none; }

/* ---------- Why ---------- */
.why { background: var(--navy-900); overflow: hidden; }
.why__bg { position: absolute; inset: 0; pointer-events: none; }
.orb--4 { width: 600px; height: 600px; background: #4f46e5; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .22; filter: blur(120px); }
.why__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  padding: 34px 30px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09);
  transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.why-card:hover { transform: translateY(-6px); background: linear-gradient(180deg, rgba(99,102,241,.16), rgba(255,255,255,.03)); border-color: rgba(129,140,248,.4); }
.why-card__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 22px; box-shadow: var(--glow); }
.why-card__icon .ico { width: 26px; height: 26px; }
.why-card h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.why-card p { color: #a8b3cf; font-size: 15px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(99,102,241,.4) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__num {
  position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 24px;
  border-radius: 50%; font-family: var(--font-head); font-weight: 800; font-size: 22px; color: #fff;
  background: var(--grad); box-shadow: var(--glow), 0 0 0 10px #fff, 0 0 0 11px var(--line);
  transition: transform .4s var(--ease);
}
.step:hover .step__num { transform: scale(1.08) rotate(-6deg); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Work ---------- */
.work { background: var(--bg-soft); }
.work__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.work__content > p { font-size: 17px; margin-bottom: 24px; }
.check-list { display: grid; gap: 12px; margin-bottom: 34px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.check-list .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: var(--grad); stroke-width: 3; }
.work__visual { position: relative; }
.shop { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); transition: transform .6s var(--ease); }
.work__visual:hover .shop { transform: perspective(1200px) rotateY(0) rotateX(0); }
.shop__bar { display: flex; gap: 7px; padding: 12px 16px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.shop__bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.shop__bar i:nth-child(2) { background: #fbbf24; }
.shop__bar i:nth-child(3) { background: #34d399; }
.shop__body { padding: 22px; }
.shop__banner { border-radius: 14px; padding: 28px 24px; margin-bottom: 20px; background: linear-gradient(120deg, #831843, #be185d 45%, #f59e0b); }
.shop__banner b { display: block; width: 55%; height: 18px; border-radius: 6px; background: rgba(255,255,255,.95); margin-bottom: 10px; }
.shop__banner span { display: block; width: 40%; height: 8px; border-radius: 4px; background: rgba(255,255,255,.55); margin-bottom: 18px; }
.shop__banner em { display: block; width: 100px; height: 28px; border-radius: 14px; background: #fff; }
.shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shop__img { aspect-ratio: 1; border-radius: 12px; margin-bottom: 10px; }
.s1 { background: linear-gradient(135deg, #fce7f3, #f9a8d4); }
.s2 { background: linear-gradient(135deg, #fef3c7, #fbbf24); }
.s3 { background: linear-gradient(135deg, #ede9fe, #a78bfa); }
.shop__item b { display: block; height: 8px; border-radius: 4px; background: #cbd5e1; margin-bottom: 6px; }
.shop__item span { display: block; width: 45%; height: 8px; border-radius: 4px; background: var(--indigo); }
.float-card--c { left: -30px; bottom: -24px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 110px; background: var(--bg-soft); }
.cta-band__box {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 56px 60px; border-radius: 28px; color: #e0e7ff;
  background: linear-gradient(120deg, #4338ca 0%, #6d28d9 50%, #0891b2 100%);
  box-shadow: var(--shadow-lg);
}
.cta-band__box::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band__box > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin-bottom: 8px; }
.cta-band p { font-size: 17px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; }
.contact__info > p { font-size: 17px; margin-bottom: 32px; }
.contact__cards { display: grid; gap: 14px; margin-bottom: 30px; }
.c-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.c-card:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: rgba(99,102,241,.35); }
.c-card__icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.c-card__icon--wa { background: var(--wa); }
.c-card small { display: block; font-size: 13px; color: var(--muted); }
.c-card strong { font-family: var(--font-head); font-size: 17px; color: var(--ink); word-break: break-word; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); transition: all .3s var(--ease); }
.socials a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); box-shadow: var(--glow); }

.form { padding: 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: relative; }
.form::before { content: ""; position: absolute; top: 0; left: 40px; right: 40px; height: 4px; border-radius: 0 0 4px 4px; background: var(--grad); }
.form h3 { font-size: 24px; margin-bottom: 6px; }
.form__note { font-size: 14.5px; color: var(--muted); margin-bottom: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  font-size: 15px; transition: border-color .25s, box-shadow .25s, background .25s; outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo); background: #fff; box-shadow: 0 0 0 4px rgba(99,102,241,.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ef4444; }
.form__error { min-height: 20px; color: #dc2626; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__actions .btn { flex: 1 1 200px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #94a3b8; padding: 80px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer__brand .logo { margin-bottom: 20px; }
.footer__tagline { font-family: var(--font-head); font-weight: 700; color: #e0e7ff; margin-bottom: 10px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer ul { display: grid; gap: 12px; }
.footer ul a { transition: color .25s, padding .25s; }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact .ico { color: #818cf8; width: 18px; height: 18px; }
.socials--footer { margin-top: 22px; }
.socials--footer a { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); color: #cbd5e1; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 24px; border-top: 1px solid rgba(255,255,255,.07); font-size: 14px; }

/* ---------- Floating ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 18px 0 16px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 700; font-family: var(--font-head);
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .3s var(--ease);
}
.wa-float .ico { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--wa); z-index: -1; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }

.to-top {
  position: fixed; right: 32px; bottom: 96px; z-index: 89; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-800); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--indigo-600); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav__link { padding: 8px 10px; }
  .hero__inner { gap: 40px; }
  .float-card--a { left: 0; }
}

@media (max-width: 991px) {
  :root { --header-h: 68px; }
  .section { padding: 90px 0; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); z-index: 101;
    flex-direction: column; align-items: stretch; gap: 24px; padding: 96px 24px 32px;
    background: var(--navy-900); border-left: 1px solid rgba(255,255,255,.08);
    box-shadow: -30px 0 60px rgba(0,0,0,.4);
    transform: translateX(100%); transition: transform .45s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { font-size: 17px; padding: 14px 16px; border-radius: 12px; }
  .nav__link.is-active { background: rgba(99,102,241,.18); }
  .nav__link.is-active::after { display: none; }
  .nav__cta { padding: 14px 20px; font-size: 15px; }
  .nav-toggle { position: relative; z-index: 102; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(5,8,22,.6); z-index: 99; }

  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { max-width: 560px; width: 100%; margin: 0 auto; height: 440px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }

  .about__inner, .work__inner, .contact__inner { grid-template-columns: 1fr; gap: 56px; }
  .about__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .work__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .services__grid, .why__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .steps::before { display: none; }
  .cta-band__box { flex-direction: column; text-align: center; padding: 48px 32px; }
  .cta-band__actions { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .section__sub { font-size: 16px; }

  .logo__text { font-size: 19px; }
  .logo__text small { font-size: 9px; letter-spacing: .26em; }
  .logo__mark { width: 38px; height: 38px; }

  .hero__lead { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { height: 340px; }
  .mock-browser { right: 50px; }
  .mock-browser__body { padding: 14px; }
  .mb-cards div { height: 44px; }
  .mock-phone { width: 128px; height: 256px; border-radius: 24px; padding: 8px; }
  .mock-phone__screen { border-radius: 18px; padding: 28px 9px 9px; gap: 7px; }
  .mp-banner { height: 56px; }
  .float-card { padding: 9px 12px; gap: 9px; }
  .float-card__icon { width: 32px; height: 32px; }
  .float-card strong { font-size: 13px; }
  .float-card small { font-size: 11px; }
  .float-card--a { bottom: 30px; }
  .float-card--b { right: 70px; top: -14px; }
  .stats { margin-top: 48px; }
  .stat { padding: 22px 12px; }
  .stat strong { font-size: 30px; }
  .stat span { font-size: 13px; }

  .about__visual { padding: 20px 0 70px; }
  .about__visual::before { inset: 0 20px 40px -10px; }
  .about__card--main { padding: 30px 24px; }
  .about__card--main h3 { font-size: 24px; }
  .pillars { grid-template-columns: 1fr; }

  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 32px; padding: 4px 16px 10px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }
  .services__grid, .why__grid { grid-template-columns: 1fr; gap: 16px; }
  .service, .why-card { padding: 26px 22px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }

  .shop { transform: none; }
  .shop__body { padding: 14px; }
  .float-card--c { left: 10px; bottom: -20px; }

  .cta-band { padding-bottom: 72px; }
  .cta-band__box { padding: 40px 22px; border-radius: 22px; }
  .cta-band__actions { flex-direction: column; width: 100%; }
  .cta-band__actions .btn { width: 100%; }

  .form { padding: 30px 20px; }
  .form::before { left: 20px; right: 20px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }

  .footer { padding-top: 60px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; padding: 20px 16px 96px; }

  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
  .to-top { right: 22px; bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
