/* MA ERP landing: same identity as ma_web_theme (navy, purple to cyan, Cairo). */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("/assets/fonts/cairo-arabic-wght-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("/assets/fonts/cairo-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #08051F;
  --navy-2: #140C3D;
  --ink: #0F0A2E;
  --text: #334155;
  --muted: #64748B;
  --line: #E7E3F5;
  --bg: #FFFFFF;
  --bg-soft: #F7F5FF;
  --purple: #6D28FF;
  --violet: #A855F7;
  --cyan: #22D3EE;
  --teal: #0891B2;
  --grad: linear-gradient(135deg, #7C3AED 0%, #6D28FF 50%, #0891B2 100%);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 12, 52, .06), 0 18px 40px rgba(76, 29, 149, .10);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px; font: inherit; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.sm { padding: 7px 16px; font-size: .95rem; }
.btn.lg { padding: 14px 28px; font-size: 1.05rem; }
.btn.block { display: flex; width: 100%; }
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 10px 24px rgba(109, 40, 255, .30); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(109, 40, 255, .42); }
.btn-ghost { color: var(--purple); background: #fff; border-color: #D9CCFF; }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 5, 31, .94); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168, 85, 247, .18);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; box-shadow: 0 0 0 1px rgba(168, 85, 247, .45), 0 6px 18px rgba(109, 40, 255, .35); }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; }
.brand small { font-size: .74rem; color: #A5B4FC; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links > a:not(.btn) { color: #CBD5E1; font-weight: 600; font-size: .96rem; }
.nav-links > a:not(.btn):hover { color: #fff; }
.nav-links .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #E2E8F0; overflow: hidden;
  background: var(--navy) url("/assets/background.svg") center / cover no-repeat;
  padding: 72px 0 96px;
}
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy.copy-gold, .hero.is-gold .hero-copy.copy-erp { display: none; }
.hero.is-gold .hero-copy.copy-gold { display: block; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px;
  background: rgba(34, 211, 238, .10); border: 1px solid rgba(34, 211, 238, .35); color: #A5F3FC; font-weight: 600; font-size: .9rem;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.pill-gold { background: rgba(253, 230, 138, .12); border-color: rgba(251, 191, 36, .4); color: #FDE68A; }
.pill-gold i { background: #FBBF24; box-shadow: 0 0 10px #F59E0B; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 900; margin: 18px 0 16px; }
.grad { background: linear-gradient(90deg, #E9D5FF 0%, #C4B5FD 35%, #67E8F9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad.gold { background: linear-gradient(90deg, #FDE68A 0%, #FBBF24 55%, #F59E0B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: #CBD5E1; max-width: 560px; margin: 0 0 28px; }
.lead b { color: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta.center { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .93rem; color: #94A3B8; }
.trust li::before { content: "✓"; color: var(--cyan); font-weight: 900; margin-inline-end: 6px; }

.hero-visual { position: relative; min-width: 0; }
.hero-visual::before {
  content: ""; position: absolute; inset: 12% 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 255, .5), transparent 70%); filter: blur(32px);
}
.hero.is-gold .hero-visual::before {
  background: radial-gradient(circle, rgba(245, 158, 11, .38), transparent 70%);
}
.device {
  position: relative;
  border-radius: 22px;
  background: rgba(10, 7, 32, .78);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: border-color .5s ease, box-shadow .5s ease;
}
.hero.is-gold .device {
  border-color: rgba(251, 191, 36, .38);
  box-shadow: 0 28px 70px rgba(90, 55, 0, .28);
}
.device-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.device-dots { display: flex; gap: 6px; }
.device-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.device-switch {
  margin-inline-start: auto; display: flex; padding: 3px; gap: 2px;
  border-radius: 9px; background: rgba(255, 255, 255, .06);
}
.device-switch button {
  font: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .02em;
  padding: 5px 11px; border: 0; border-radius: 7px; cursor: pointer;
  color: #94A3B8; background: transparent;
}
.device-switch button[aria-selected="true"] { color: #08051F; background: #fff; }
.hero.is-gold .device-switch button[aria-selected="true"] { color: #1C1003; background: #FDE68A; }
.device-screens {
  position: relative; height: 430px;
}
.device-screen {
  position: absolute; inset: 0; padding: 14px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s ease, visibility .45s ease;
}
.device-screen.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
.device-strip {
  flex: 0 0 36px; height: 36px; display: flex; align-items: center;
  padding: 0 12px; border-radius: 8px;
  background: rgba(8, 5, 31, .5); border: 1px solid rgba(255, 255, 255, .08);
  color: #94A3B8; font-size: .78rem; font-weight: 700;
}
.gold-board {
  overflow: hidden; direction: ltr; padding: 0;
  background: #0B0904; border-color: rgba(251, 191, 36, .22);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.gold-board-run {
  display: flex; align-items: center; gap: 28px; width: max-content; white-space: nowrap;
  animation: ticker 22s linear infinite; padding-inline: 12px;
}
.gold-board-run span { color: #D6D3D1; font-size: .78rem; font-weight: 700; }
.gold-board-run b { color: #FDE68A; font-weight: 800; }
.gold-spark span { background: linear-gradient(180deg, #FDE68A, #B45309); }
.app-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; align-content: center; }
.app-grid figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.app-grid img { width: 62px; height: 62px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); transition: transform .2s ease; }
.app-grid figure:hover img { transform: translateY(-3px) scale(1.06); }
.app-grid figcaption { font-size: .82rem; font-weight: 700; color: #E2E8F0; }
.glass-stat {
  flex: 0 0 auto; margin-top: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 14px; background: rgba(8, 5, 31, .55); border: 1px solid rgba(255, 255, 255, .08);
}
.glass-stat small { display: block; color: #94A3B8; font-size: .78rem; }
.glass-stat b { color: #fff; font-size: 1.15rem; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 42px; }
.spark span:nth-child(1) { height: 38%; } .spark span:nth-child(2) { height: 52%; } .spark span:nth-child(3) { height: 46%; }
.spark span:nth-child(4) { height: 64%; } .spark span:nth-child(5) { height: 58%; } .spark span:nth-child(6) { height: 80%; } .spark span:nth-child(7) { height: 92%; }
.spark span { width: 9px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--cyan), var(--purple)); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- strip ---------- */
.strip { margin-top: -44px; position: relative; z-index: 2; }
.strip-in {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.strip-in div { padding: 20px 16px; text-align: center; }
.strip-in div + div { border-inline-start: 1px solid var(--line); }
.strip-in b { display: block; font-size: 1.5rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip-in span { font-size: .92rem; color: var(--muted); font-weight: 600; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .9rem; color: var(--purple); background: #F1EBFF; padding: 4px 14px; border-radius: 99px; margin-bottom: 12px; }
.eyebrow.light { color: #C4B5FD; background: rgba(168, 85, 247, .15); }
.head h2, .section h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 900; }
.head p { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.features article {
  padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.features article:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D9CCFF; }
.features img { width: 52px; height: 52px; margin-bottom: 14px; }
.features h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; }
.features p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- why ---------- */
.why { background: var(--navy) url("/assets/background.svg") center / cover no-repeat; color: #CBD5E1; }
.why h2 { color: #fff; margin-bottom: 22px; }
.why-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-inline-start: 34px; }
.checks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center; font-size: .78rem; font-weight: 900; color: #fff; background: var(--grad);
}
.checks b { color: #fff; }
.checks.dark b { color: var(--ink); }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini {
  padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10); backdrop-filter: blur(6px);
}
.mini img { width: 44px; height: 44px; margin-bottom: 10px; }
.mini b { display: block; color: #fff; }
.mini span { font-size: .9rem; color: #94A3B8; }

/* ---------- pricing ---------- */
.period { display: flex; justify-content: center; gap: 6px; width: fit-content; margin: 0 auto 36px; padding: 6px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.period button {
  font: inherit; font-weight: 700; border: 0; background: transparent; color: var(--muted);
  padding: 8px 20px; border-radius: 10px; cursor: pointer;
}
.period button em { font-style: normal; font-size: .75rem; color: #0F766E; background: #CCFBF1; padding: 2px 8px; border-radius: 99px; margin-inline-start: 6px; }
.period button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(16, 12, 52, .08); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plans.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line);
}
.plan h3 { font-size: 1.35rem; font-weight: 900; direction: ltr; text-align: right; }
.plan .for { color: var(--muted); margin: 2px 0 16px; font-size: .95rem; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 2.6rem; font-weight: 900; color: var(--ink); line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.price i { font-style: normal; }
.eq { min-height: 1.5em; margin: 8px 0 18px; font-size: .88rem; color: #0F766E; font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: .95rem; }
.plan li { position: relative; padding-inline-start: 26px; }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--purple); font-weight: 900; }
.plan li.new::before { content: "+"; color: #0891B2; font-size: 1.1rem; line-height: 1.5; }
.plan li.no { color: #A0AEC0; text-decoration: line-through; }
.plan li.no::before { content: "–"; color: #CBD5E1; }
.plan li.lim { color: var(--ink); }
.plan li.lim::before { content: "●"; font-size: .6rem; top: .5em; color: var(--violet); }
.plan.featured {
  background: linear-gradient(180deg, #120B38, #08051F); border: 0; color: #CBD5E1;
  box-shadow: 0 30px 60px rgba(76, 29, 149, .35); transform: translateY(-10px);
}
.plan.featured::after {
  content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 2px; pointer-events: none;
  background: linear-gradient(135deg, var(--violet), var(--purple), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan.featured h3, .plan.featured .price b, .plan.featured li.lim { color: #fff; }
.plan.featured .for, .plan.featured .price span { color: #94A3B8; }
.plan.featured .eq { color: #5EEAD4; }
.plan.featured li::before { color: var(--cyan); }
.badge {
  position: absolute; z-index: 3; top: -13px; inset-inline-start: 24px; padding: 3px 14px; border-radius: 99px;
  background: var(--grad); color: #fff; font-size: .82rem; font-weight: 800; box-shadow: 0 6px 16px rgba(109, 40, 255, .4);
}
.note { text-align: center; color: var(--muted); margin: 34px 0 0; }

/* ---------- desktop (offline) plan ---------- */
.desktop-plan {
  position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center;
  margin-top: 34px; padding: 30px 32px; border-radius: 22px; color: #CBD5E1;
  background: linear-gradient(135deg, #062A3A, #0B1440 45%, #08051F);
  box-shadow: 0 24px 50px rgba(6, 42, 58, .28);
}
.desktop-plan::after {
  content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 2px; pointer-events: none;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.desktop-plan h3 { font-size: 1.6rem; font-weight: 900; color: #fff; direction: ltr; text-align: right; margin: 8px 0 2px; }
.desktop-plan .for { color: #94A3B8; margin: 0 0 16px; }
.desktop-plan .for b { color: #fff; }
.desktop-plan .price b { color: #fff; }
.desktop-plan .price span { color: #94A3B8; }
.desktop-plan .eq { color: #5EEAD4; margin-bottom: 18px; }
.dp-tag { display: inline-block; padding: 3px 12px; border-radius: 99px; font-size: .8rem; font-weight: 800; color: #062A3A; background: var(--cyan); }
.dp-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.desktop-plan .btn-ghost { color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .4); }
.desktop-plan .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.desktop-plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.desktop-plan li { position: relative; padding-inline-start: 26px; }
.desktop-plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--cyan); font-weight: 900; }
.desktop-plan li.new::before { content: "+"; font-size: 1.1rem; line-height: 1.5; }
.desktop-plan li.lim { color: #fff; }
.desktop-plan li.lim::before { content: "●"; font-size: .6rem; top: .5em; color: var(--violet); }
.desktop-plan li.req { color: #94A3B8; font-size: .85rem; }
.desktop-plan li.req::before { content: "ℹ"; color: #94A3B8; }
.desktop-plan li.warn { color: #B45309; }
.desktop-plan li.warn::before { content: "⚠"; color: #B45309; }
@media (max-width: 900px) {
  .desktop-plan { grid-template-columns: 1fr; padding: 26px 22px; gap: 22px; }
  .dp-btns .btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- demo ---------- */
.demo { background: linear-gradient(135deg, #140C3D, #08051F 55%, #062A3A); color: #CBD5E1; }
.demo h2 { color: #fff; margin-bottom: 12px; }
.demo p { margin: 0 0 24px; }
.demo-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.cred { padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.cred-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(8, 5, 31, .6); margin-bottom: 10px; }
.cred-row span { flex: 1; color: #94A3B8; }
.cred-row code { font: 700 1.1rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; direction: ltr; }
.cred-row button { font: inherit; font-size: .82rem; font-weight: 700; color: #A5F3FC; background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .3); border-radius: 8px; padding: 3px 10px; cursor: pointer; }
.cred p { margin: 8px 0 0; font-size: .86rem; color: #94A3B8; }

/* ---------- trial ---------- */
.trial-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.trial-copy h2 { margin-bottom: 14px; }
.trial-copy p { color: var(--muted); font-size: 1.05rem; margin: 0 0 24px; }
.trial-form { position: relative; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 14px; }
.trial-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trial-form label { display: grid; gap: 6px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.trial-form input, .trial-form select {
  font: inherit; font-weight: 500; color: var(--ink); padding: 11px 14px; border-radius: 12px;
  border: 1px solid #E2E8F0; background: #FBFAFF; width: 100%;
}
.trial-form input:focus, .trial-form select:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(109, 40, 255, .14); background: #fff; }
.trial-form input[dir="ltr"] { text-align: right; }
.proof { border: 1px dashed #D9CCFF; border-radius: 16px; padding: 14px 16px 16px; margin: 0; display: grid; gap: 12px; background: #FCFBFF; }
.proof legend { font-weight: 800; color: var(--ink); padding: 0 6px; }
.proof legend small { font-weight: 600; color: #0F766E; margin-inline-start: 6px; }
.drop { position: relative; display: flex !important; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #E2E8F0; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.drop:hover, .drop:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(109, 40, 255, .10); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-ic { flex: none; display: flex; }
.drop-ic img { width: 42px; height: 42px; flex: none; }
.drop-txt { display: grid; }
.drop-txt b { color: var(--ink); }
.drop-txt small { color: var(--muted); font-weight: 500; }
.drop.has-file { border-color: #0F766E; background: #F0FDFA; }
.trial-form .hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.trial-done { padding: 40px 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.trial-done img { margin: 0 auto 14px; }
.trial-done h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 8px; }
.trial-done p { color: var(--muted); margin: 0 0 20px; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-err { margin: 0; color: #E11D48; font-weight: 700; font-size: .92rem; }
.form-hint { margin: 0; text-align: center; color: var(--muted); font-size: .88rem; }

/* ---------- solutions + english ---------- */
.seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seo-grid article { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.seo-grid h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; }
.seo-grid p { margin: 0; color: var(--muted); font-size: .95rem; }
.seo-grid b { color: var(--ink); font-weight: 700; }
.seo-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.seo-tags span { font-size: .86rem; font-weight: 600; color: var(--purple); background: #F1EBFF; padding: 5px 14px; border-radius: 99px; }
.en { background: var(--bg-soft); text-align: left; }
.en h2 { margin: 12px 0 14px; }
.en p { color: var(--text); font-size: 1.04rem; }
.en-points { padding-left: 20px; color: var(--text); }
.en-points li { margin-bottom: 6px; }

/* ---------- faq ---------- */
.faq { background: var(--bg-soft); }
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--purple); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- final + footer ---------- */
.final { padding: 0 0 96px; background: var(--bg-soft); }
.final-in {
  text-align: center; padding: 56px 24px; border-radius: 28px; color: #CBD5E1;
  background: var(--navy) url("/assets/background.svg") center / cover no-repeat;
  box-shadow: 0 30px 60px rgba(76, 29, 149, .25);
}
.final h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; }
.final p { margin: 10px 0 26px; font-size: 1.08rem; }
.foot { background: var(--navy); color: #94A3B8; padding: 56px 0 24px; font-size: .95rem; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.foot h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.foot-in > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 6px; }
.foot a { color: #CBD5E1; }
.foot a:hover { color: #fff; }
.foot-brand p { margin: 14px 0 0; max-width: 320px; }
.foot-brand p a { color: #C4B5FD; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; font-size: .86rem; }
.wa-float {
  position: fixed; bottom: 22px; left: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #25D366; box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .plan.featured { transform: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 20px 20px; background: rgba(8, 5, 31, .97); border-bottom: 1px solid rgba(168, 85, 247, .2);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) { padding: 10px 4px; }
  .hero { padding: 48px 0 88px; }
  .hero-in, .why-in, .demo-in, .trial-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { animation: none; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .strip-in div:nth-child(3) { border-inline-start: 0; }
  .strip-in div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .features, .seo-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .proof legend small { display: block; margin: 2px 0 0; }
  .drop-ic img { width: 36px; height: 36px; }
  .wrap { width: calc(100% - 32px); }
  .features, .plans, .plans.plans-2, .why-cards, .seo-grid { grid-template-columns: 1fr; }
  .trial-form .row { grid-template-columns: 1fr; }
  .trial-form { padding: 22px; }
  .period { width: 100%; }
  .period button { flex: 1; padding: 8px 6px; }
  .period button em { display: none; }
  .foot-in { grid-template-columns: 1fr; }
  .btn.lg { width: 100%; }
  .app-grid img { width: 52px; height: 52px; }
  .device-screens { height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-visual { animation: none; }
  .device-screen { transition: none; }
  .gold-board-run { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* MA GOLD feature cards: even rows (4 wide, 2 on medium screens, 1 on phones) */
.features.features-even { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .features.features-even { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features.features-even { grid-template-columns: 1fr; } }

/* MA GOLD page */
.device-screens.single { height: auto; }
.device-screens.single .device-screen { position: relative; inset: auto; padding: 0; opacity: 1; visibility: visible; pointer-events: auto; }
.device-screens.single img { display: block; width: 100%; height: auto; border-radius: 0 0 16px 16px; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(16, 12, 52, .08); }
.shot.wide { grid-column: 1 / -1; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 14px 18px; font-weight: 700; color: var(--ink); }
.shot figcaption small { display: block; margin-top: 4px; font-weight: 400; color: var(--muted, #64748B); font-size: .88rem; }
.features.features-3 { grid-template-columns: repeat(3, 1fr); }
.features.features-3 article b.num { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; margin-bottom: 12px; background: #FDE68A; color: #5D4300; font-size: 1.1rem; }
.plan .vat { margin: -6px 0 14px; text-align: center; font-size: .8rem; color: #94A3B8; }
@media (max-width: 900px) { .shots { grid-template-columns: 1fr; } .features.features-3 { grid-template-columns: 1fr; } }
.demo-note { margin: 10px 0 0; font-size: .9rem; opacity: .85; }
