/* =====================================================================
   Atrustos | Production Website v2
   Design system: deep space + liquid glass.
   Dark cosmic canvas, translucent glass surfaces with specular edges,
   smooth (squircle where supported) radii, fluid type, spring motion.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:       #03040a;
  --bg-2:     #070914;
  --bg-3:     #0c1020;
  --text:     #eef1ff;
  --text-2:   rgba(222, 228, 255, .70);
  --text-3:   rgba(222, 228, 255, .44);
  --line:     rgba(255, 255, 255, .09);
  --line-2:   rgba(255, 255, 255, .16);

  --accent:   #ff6a2b;   /* Atrustos signal orange: signatures, seals */
  --accent-2: #ff9a6b;
  --cyan:     #5ee4ff;
  --violet:   #8d7dff;
  --mint:     #4ff0b4;   /* approved / signed */
  --rose:     #ff5c86;   /* revoked / denied */

  --grad-text: linear-gradient(100deg, #ffffff 0%, #c9d2ff 38%, #8fe9ff 62%, #ffb08a 100%);
  --grad-edge: linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,.04) 40%, rgba(255,255,255,.02) 60%, rgba(255,255,255,.22));

  --glass:     rgba(255, 255, 255, .045);
  --glass-2:   rgba(255, 255, 255, .075);
  --glass-hi:  rgba(255, 255, 255, .12);
  --blur:      blur(22px) saturate(170%);

  --r-sm:  12px;
  --r:     18px;
  --r-lg:  26px;
  --r-xl:  36px;
  --r-2xl: 48px;

  --maxw:   1240px;
  --gutter: 24px;
  --nav-h:  76px;

  --ease:        cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-io:     cubic-bezier(.65, 0, .35, 1);

  --font:  "Geist", "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --shadow-glass: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(255,255,255,.03), 0 30px 80px -30px rgba(0,0,0,.75);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  font-size: 17px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(255, 106, 43, .35); color: #fff; }

/* cosmic ambience behind every page: drifting aurora + grain */
body::before {
  content: ""; position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 32% at 18% 22%, rgba(141, 125, 255, .16), transparent 70%),
    radial-gradient(34% 30% at 82% 30%, rgba(94, 228, 255, .10), transparent 70%),
    radial-gradient(40% 36% at 60% 88%, rgba(255, 106, 43, .09), transparent 70%);
  animation: aurora 28s var(--ease-io) infinite alternate;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%  { transform: translate3d(3%, -2%, 0) rotate(4deg); }
  100% { transform: translate3d(-3%, 2%, 0) rotate(-3deg); }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(88px, 12vw, 160px); position: relative; }
.section--tight { padding-block: 64px; position: relative; }
.bg-paper-2 {
  background: linear-gradient(180deg, transparent, rgba(141,125,255,.045) 30%, rgba(94,228,255,.03) 70%, transparent);
}
.bg-ink, .bg-navy { background: transparent; color: var(--text); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.035em; line-height: 1.04; color: var(--text); text-wrap: balance; }
p { text-wrap: pretty; }
.display { font-size: clamp(52px, 9.2vw, 136px); font-weight: 600; line-height: .94; letter-spacing: -.055em; }
h2.section-title, .h2 { font-size: clamp(38px, 5.6vw, 80px); letter-spacing: -.045em; line-height: .98; }
.h3 { font-size: clamp(26px, 2.8vw, 38px); }
.lead { font-size: clamp(17px, 1.45vw, 21px); color: var(--text-2); line-height: 1.6; font-weight: 400; }
.muted { color: var(--text-2); }
.accent { color: var(--accent); }
.center { text-align: center; }
.measure { max-width: 640px; }
.center .measure { margin-inline: auto; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-warm { background: linear-gradient(100deg, #ffd2bd, var(--accent) 60%, #ff3d6e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-2);
  padding: 7px 14px 7px 10px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,43,.16), 0 0 14px var(--accent);
  animation: pulse-dot 2.4s var(--ease) infinite;
}
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 3px rgba(255,106,43,.18), 0 0 12px var(--accent); } 50% { box-shadow: 0 0 0 7px rgba(255,106,43,0), 0 0 20px var(--accent); } }

/* ---------- Liquid glass primitive ---------- */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-glass);
}
/* gradient hairline edge (specular rim) */
.glass::before, .card::before, .price::before, .featrow__media::before, .pillar__art::before, .cta-band__inner::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: var(--grad-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* pointer-following light (driven by --mx/--my from site.js) */
.glass::after, .card::after, .price::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(255,255,255,.09), transparent 45%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.glass:hover::after, .card:hover::after, .price:hover::after { opacity: 1; }

/* smoother continuous corners where the browser supports them */
@supports (corner-shape: squircle) {
  .glass, .card, .price, .btn, .eyebrow, .chip, .badge-pill, .featrow__media, .pillar__art, .cta-band__inner, .mega, .nav__inner, .code-block {
    corner-shape: squircle;
  }
  .glass, .card, .price, .featrow__media, .pillar__art, .cta-band__inner, .mega { border-radius: calc(var(--r-lg) * 1.7); }
  /* rims and light layers must follow the same curve as their host, or two corners show */
  *::before, *::after { corner-shape: inherit; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px; font-weight: 550; letter-spacing: -.01em; padding: 13px 22px;
  border-radius: 100px; border: 1px solid transparent;
  transition: transform .5s var(--ease-spring), background .3s var(--ease), color .3s, border-color .3s, box-shadow .4s var(--ease);
  white-space: nowrap;
}
.btn .ico { width: 17px; height: 17px; transition: transform .4s var(--ease-spring); }
.btn:hover .ico { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--primary, .btn--light {
  background: linear-gradient(180deg, #ffffff, #dfe4ff); color: #05060d;
  box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset, 0 10px 30px -10px rgba(190,200,255,.55);
}
.btn--primary:hover, .btn--light:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 18px 44px -12px rgba(190,200,255,.7); }
.btn--accent {
  background: linear-gradient(180deg, #ff8a52, #ff5a1f); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 34px -10px rgba(255,106,43,.75);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 20px 50px -12px rgba(255,106,43,.9); }
.btn--ghost {
  color: var(--text); background: rgba(255,255,255,.06); border-color: var(--line-2);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.btn--ghost:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.btn--lg { padding: 17px 30px; font-size: 16px; }
/* liquid shine sweep */
.btn::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 60%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .8s var(--ease);
}
.btn:hover::after { left: 140%; }
.btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.14), transparent); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 550; color: var(--text); font-size: 15px;
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: border-color .3s var(--ease), gap .4s var(--ease-spring);
}
.link-arrow .ico { width: 16px; height: 16px; color: var(--accent); }
.link-arrow:hover { border-color: var(--accent); gap: 12px; }

/* =====================================================================
   HEADER / NAV  (rendered by site.js) — floating glass capsule
   ===================================================================== */
.nav {
  position: fixed; inset: 14px 0 auto 0; z-index: 1000; height: 62px;
  display: flex; justify-content: center; padding-inline: 14px; pointer-events: none;
  transition: transform .6s var(--ease);
}
.nav.hidden { transform: translateY(-120%); }
.nav__inner {
  pointer-events: auto;
  width: 100%; max-width: 1180px; height: 100%;
  display: flex; align-items: center; gap: 22px; padding: 0 10px 0 20px;
  border-radius: 100px;
  background: linear-gradient(180deg, rgba(20,24,44,.55), rgba(10,12,26,.42));
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.07), 0 18px 50px -18px rgba(0,0,0,.8);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled .nav__inner { background: linear-gradient(180deg, rgba(20,24,44,.78), rgba(10,12,26,.7)); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -.03em; color: #fff; }
.brand svg, .brand img { width: 28px; height: 28px; }

.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: 100px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav__link:hover, .nav__item.open .nav__link { color: #fff; background: rgba(255,255,255,.07); }
.nav__link .chev { width: 14px; height: 14px; transition: transform .4s var(--ease-spring); opacity: .7; }
.nav__item.open .nav__link .chev { transform: rotate(180deg); }
.nav__item[aria-current] .nav__link { color: #fff; }

.nav__right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav__right .btn { padding: 10px 18px; font-size: 14px; }
.nav__login { padding: 9px 14px; font-weight: 500; font-size: 14.5px; color: var(--text-2); transition: color .2s; }
.nav__login:hover { color: #fff; }

/* Mega-menu */
.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(10px) scale(.98);
  transform-origin: top center;
  width: max-content; max-width: 720px;
  background: linear-gradient(180deg, rgba(22,26,48,.86), rgba(12,14,28,.9));
  -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px -30px rgba(0,0,0,.9);
  padding: 12px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility .3s;
}
.mega::before { content: ""; position: absolute; inset: -20px 0 auto 0; height: 20px; } /* hover bridge */
.nav__item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }
.mega--wide { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega--single { display: grid; grid-template-columns: 1fr; gap: 2px; min-width: 290px; }
.mega__link { display: flex; gap: 13px; padding: 12px; border-radius: var(--r); transition: background .25s var(--ease); }
.mega__link:hover { background: rgba(255,255,255,.06); }
.mega__ico {
  flex: none; width: 40px; height: 40px; border-radius: 13px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .45s var(--ease-spring), background .3s, color .3s;
}
.mega__ico svg { width: 19px; height: 19px; }
.mega__link:hover .mega__ico { transform: scale(1.08) rotate(-4deg); background: linear-gradient(180deg, #ff8a52, #ff5a1f); }
.mega__link > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.mega__t { display: block; font-size: 14.5px; font-weight: 600; color: #fff; line-height: 1.25; letter-spacing: -.01em; }
.mega__d { display: block; font-size: 13px; color: var(--text-3); line-height: 1.45; margin-top: 3px; }

/* Mobile nav */
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 100px;
  background: rgba(255,255,255,.07); align-items: center; justify-content: center; }
.nav__toggle svg { width: 20px; height: 20px; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(4,5,12,.86); -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%);
  padding: 100px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; transform: scale(1.03); visibility: hidden;
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s;
}
.mobile-nav.open { opacity: 1; transform: none; visibility: visible; }
.mobile-nav__group { border-bottom: 1px solid var(--line); }
.mobile-nav__head { width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: #fff; }
.mobile-nav__head svg { width: 20px; height: 20px; transition: transform .4s var(--ease-spring); }
.mobile-nav__group.open .mobile-nav__head svg { transform: rotate(180deg); }
.mobile-nav__sub { display: none; padding: 0 4px 14px; }
.mobile-nav__group.open .mobile-nav__sub { display: block; }
.mobile-nav__sub a { display: block; padding: 9px 0; color: var(--text-2); font-weight: 500; }
.mobile-nav__cta { margin-top: 28px; display: grid; gap: 10px; }

/* =====================================================================
   PAGE HERO (interior pages)
   ===================================================================== */
.hero { position: relative; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(60% 60% at 50% 30%, #000 0%, transparent 75%);
  animation: grid-drift 30s linear infinite;
}
@keyframes grid-drift { to { background-position: 72px 72px, 72px 72px; } }
.page-hero { padding-top: calc(var(--nav-h) + 110px); padding-bottom: 72px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; left: 50%; top: 30%; width: min(900px, 120vw); aspect-ratio: 2/1; transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(141,125,255,.22), rgba(94,228,255,.08) 45%, transparent 70%);
  filter: blur(30px); pointer-events: none; z-index: -1;
}
.page-hero h1 { margin: 26px auto 22px; max-width: 16ch; font-size: clamp(44px, 7vw, 96px); letter-spacing: -.05em; line-height: .98;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lead { max-width: 640px; margin-inline: auto; }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: 13px; color: var(--text-3); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }

.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--text);
  padding: 8px 15px; border-radius: 100px; background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  transition: transform .45s var(--ease-spring), border-color .3s;
}
.badge-pill:hover { transform: translateY(-2px); border-color: rgba(255,106,43,.6); }
.badge-pill svg { width: 15px; height: 15px; color: var(--accent); }

.bullets { display: grid; gap: 12px; margin: 6px 0 26px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--text); }
.bullets li svg { width: 20px; height: 20px; color: var(--mint); flex: none; margin-top: 2px; }
.bullets li b { font-weight: 650; }

/* =====================================================================
   FEATURE ROWS, CARDS, GRIDS (shared)
   ===================================================================== */
.featrow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.featrow + .featrow { margin-top: 120px; }
.featrow--rev .featrow__media { order: -1; }
.featrow h3 { font-size: clamp(28px, 3.2vw, 44px); margin: 18px 0 16px; }
.featrow p { color: var(--text-2); font-size: 17px; margin-bottom: 22px; }
.featrow__media {
  position: relative; aspect-ratio: 4/3; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--shadow-glass);
  display: grid; place-items: center;
  transition: transform .7s var(--ease);
}
.featrow__media:hover { transform: translateY(-6px); }
.featrow__media .glyph { width: 34%; opacity: .95; filter: drop-shadow(0 0 40px rgba(141,125,255,.5)); }
.featrow__media--video { padding: 0; background: #000; }
.featrow__media--video video { width: 100%; height: 100%; object-fit: cover; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; isolation: isolate; display: block;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-glass);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.card__ico {
  width: 50px; height: 50px; border-radius: 16px; margin-bottom: 22px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.08), 0 10px 26px -10px rgba(141,125,255,.6);
  transition: transform .55s var(--ease-spring), background .35s;
}
.card__ico svg { width: 23px; height: 23px; }
.card:hover .card__ico { transform: scale(1.1) rotate(-5deg); background: linear-gradient(180deg, #ff8a52, #ff5a1f); }
.card h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -.025em; }
.card p { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .02em; color: var(--text-2);
  padding: 6px 11px; border-radius: 100px; background: rgba(255,255,255,.05); border: 1px solid var(--line);
}

.sec-head { max-width: 760px; margin-bottom: 64px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin: 22px 0 18px; }
.sec-head .lead { max-width: 620px; }
.sec-head.center .lead { margin-inline: auto; }

/* =====================================================================
   STATS
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.stats > div {
  position: relative; padding: 28px 26px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.06);
}
.stats__num { font-size: clamp(40px, 4.6vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats__num .accent { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.stats__lbl { margin-top: 12px; font-size: 14px; color: var(--text-2); }

.worldmap { position: relative; overflow: hidden; }
.worldmap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: url("../img/atrustos-world-map.png") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 80%);
}
.worldmap > .container { position: relative; z-index: 1; }
.worldmap .stats { margin-top: 240px; }

/* =====================================================================
   PILLARS (platform)
   ===================================================================== */
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pillar + .pillar { margin-top: 120px; padding-top: 120px; border-top: 1px solid var(--line); }
.pillar--rev .pillar__art { order: -1; }
.pillar__badge {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 24px; color: #fff;
  background: linear-gradient(180deg, #ff8a52, #ff5a1f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 16px 40px -12px rgba(255,106,43,.7);
}
.pillar__badge svg { width: 28px; height: 28px; }
.pillar h2 { font-size: clamp(30px, 3.6vw, 50px); margin-bottom: 18px; }
.pillar p { color: var(--text-2); font-size: 17px; margin-bottom: 22px; }
.pillar__art {
  position: relative; aspect-ratio: 1/1; border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(141,125,255,.28), transparent 70%),
    radial-gradient(40% 40% at 70% 75%, rgba(255,106,43,.18), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  display: grid; place-items: center; box-shadow: var(--shadow-glass);
}
.pillar__art svg { width: 30%; height: auto; color: #fff; opacity: .95; filter: drop-shadow(0 0 30px rgba(141,125,255,.8)); animation: float 7s var(--ease-io) infinite alternate; }
@keyframes float { from { transform: translateY(-8px) rotate(-2deg); } to { transform: translateY(8px) rotate(2deg); } }

/* =====================================================================
   PRICING
   ===================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-radius: var(--r-xl); box-shadow: var(--shadow-glass);
  padding: 36px; display: flex; flex-direction: column;
}
.price--feature {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255,106,43,.24), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  transform: translateY(-10px);
}
.price__tag { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-2); }
.price__name { font-size: 24px; font-weight: 650; margin: 6px 0 4px; }
.price__amt { font-size: 56px; font-weight: 600; letter-spacing: -.05em; margin: 16px 0 2px; color: #fff; }
.price__per { font-size: 14px; color: var(--text-3); }
.price__desc { font-size: 15px; color: var(--text-2); margin: 16px 0 24px; }
.price__list { display: grid; gap: 12px; margin-bottom: 30px; }
.price__list li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; color: var(--text); }
.price__list svg { width: 18px; height: 18px; color: var(--mint); flex: none; margin-top: 2px; }
.price .btn { margin-top: auto; }
.price__badge { align-self: flex-start; font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .1em; background: linear-gradient(180deg, #ff8a52, #ff5a1f); color: #fff; padding: 5px 11px; border-radius: 100px; margin-bottom: 16px; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq__item {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: background .4s var(--ease);
}
.faq__item.open { background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.025)); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 28px; text-align: left; font-size: 18px; font-weight: 550; letter-spacing: -.02em; color: #fff; }
.faq__q .ico { flex: none; width: 22px; height: 22px; color: var(--accent); transition: transform .5s var(--ease-spring); }
.faq__item.open .faq__q .ico { transform: rotate(135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq__a p { padding: 0 28px 26px; color: var(--text-2); font-size: 16px; line-height: 1.7; max-width: 68ch; }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { text-align: center; }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-2xl); padding: clamp(64px, 9vw, 120px) 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  box-shadow: var(--shadow-glass);
}
.cta-band__inner::after {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: conic-gradient(from 0deg at 50% 50%, rgba(141,125,255,.0), rgba(141,125,255,.35), rgba(94,228,255,.25), rgba(255,106,43,.32), rgba(141,125,255,.0));
  filter: blur(60px); animation: spin 18s linear infinite; opacity: .8;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band h2 { color: #fff; font-size: clamp(36px, 5.4vw, 76px); letter-spacing: -.05em; margin-bottom: 18px; }
.cta-band p { color: var(--text-2); margin: 0 auto 34px; max-width: 540px; font-size: 18px; }
.cta-band__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .glyph { width: 64px; margin: 0 auto 26px; filter: drop-shadow(0 0 30px rgba(255,255,255,.4)); }

/* =====================================================================
   FOOTER  (rendered by site.js)
   ===================================================================== */
.footer { position: relative; padding-block: 96px 36px; color: var(--text-2); border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(141,125,255,.05)); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__tag { font-size: 14.5px; color: var(--text-3); max-width: 32ch; line-height: 1.6; }
.footer__col h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); margin-bottom: 18px; }
.footer__col a { display: block; font-size: 14.5px; color: var(--text-2); padding: 6px 0; transition: color .2s, transform .4s var(--ease-spring); }
.footer__col a:hover { color: #fff; transform: translateX(3px); }
.footer__wordmark {
  margin-top: 80px; font-size: clamp(64px, 17vw, 260px); font-weight: 650; letter-spacing: -.07em; line-height: .8; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__bottom { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__bottom small { color: var(--text-3); font-size: 13px; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { color: var(--text-3); font-size: 13px; transition: color .2s; }
.footer__legal a:hover { color: #fff; }
.footer .brand img.footer__badger { width: 40px; height: 40px; }

/* =====================================================================
   CODE
   ===================================================================== */
.code-block {
  font-family: var(--mono); font-size: 13.5px; line-height: 1.8; text-align: left;
  color: #dfe5ff; background: rgba(6, 8, 20, .7); width: 100%; height: 100%;
  margin: 0; padding: 30px 28px; white-space: pre; overflow-x: auto; border-radius: inherit;
}
.code-block .c-com { color: #6f7aa6; font-style: italic; }
.code-block .c-key { color: #ff9a6b; font-weight: 600; }
.code-block .c-str { color: #9fefff; }
.code-block .c-pun { color: #a5aed6; }
.featrow__media:has(.code-block) { padding: 0; place-items: stretch; aspect-ratio: auto; }
.inline-code {
  font-family: var(--mono); font-size: .86em; color: var(--accent-2);
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  border-radius: 7px; padding: 2px 7px; white-space: nowrap;
}

/* =====================================================================
   REVEAL (scroll-in) — driven by site.js IntersectionObserver
   ===================================================================== */
.reveal { opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity .45s var(--ease), transform .55s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .reduce .reveal { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1020px) {
  .nav__menu, .nav__right .btn, .nav__login { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__inner { padding: 0 9px 0 18px; }
  .featrow, .pillar { grid-template-columns: 1fr; gap: 36px; }
  .featrow--rev .featrow__media, .pillar--rev .pillar__art { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .price--feature { transform: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .price { padding: 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn, .cta-band__cta .btn { flex: 1 1 auto; }
  .faq__q { padding: 20px 20px; font-size: 16.5px; }
  .faq__a p { padding: 0 20px 22px; }
}

/* =====================================================================
   COMING SOON — links whose destination doesn't exist yet (site.js)
   ===================================================================== */
.is-soon { cursor: default; }
.btn.is-soon, .btn.is-soon:hover { opacity: .55; transform: none; box-shadow: none; }
.btn.is-soon::after { display: none; }
a.card.is-soon:hover { transform: none; }
a.card.is-soon .link-arrow, .link-arrow.is-soon { color: var(--text-3); border-color: var(--line); }
.mega__link.is-soon:hover, .footer__col a.is-soon:hover { background: none; transform: none; color: inherit; }
.soon-pill { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 100px; font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; color: var(--accent-2); background: rgba(255,106,43,.12); }
.mega__t .soon-pill { vertical-align: 2px; }
