/* 3DsWorks brand site — 2026 unified design system */

:root {
  /* Brand — single primary across all products */
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --brand-accent: #2ee6d6;      /* secondary, for CAE/AI tags */
  --brand-accent-2: #8b5cf6;    /* tertiary, for CAS */
  --brand-warm: #f59e0b;        /* warm accent — CTA highlights, key numbers */
  --brand-warm-dark: #d97706;
  --brand-warm-soft: #fef3c7;

  /* Neutrals */
  --ink: #0a0f1a;
  --ink-2: #131b2b;
  --ink-3: #2a3547;
  --muted: #62708a;
  --line: #e4e8f0;
  --line-dark: rgba(255, 255, 255, 0.1);
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --bg-dark: #05080f;
  --bg-dark-2: #0a0f1a;

  /* Back-compat aliases (older code) */
  --accent: var(--brand);
  --accent-2: var(--brand-accent);
  --accent-3: var(--brand-accent-2);

  /* Shape & elevation */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(10,15,26,.06), 0 1px 3px rgba(10,15,26,.08);
  --shadow-md: 0 4px 12px rgba(10,15,26,.08), 0 12px 32px rgba(10,15,26,.10);
  --shadow-lg: 0 12px 24px rgba(10,15,26,.10), 0 32px 64px rgba(10,15,26,.16);
  --shadow-brand: 0 12px 32px rgba(37,99,235,.32);

  --max: 1280px;
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -0.035em; color: var(--ink); font-weight: 600; }
p { margin: 0; }

.container { width: min(100% - 56px, var(--max)); margin-inline: auto; }

/* ---------- Sections ---------- */
.section { padding: 150px 0; }
.section.tight { padding: 100px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--bg-dark); color: #fff; }
.section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.section.dark .kicker { color: var(--accent-2); }

.section-head { max-width: 980px; margin-bottom: 72px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }
.section-head h2 { margin-top: 24px; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; }
.section-head p { margin-top: 24px; max-width: 680px; color: var(--muted); font-size: 19px; }
.section-head.center p { margin-inline: auto; }
.section.dark .section-head p { color: rgba(255, 255, 255, 0.6); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e8eeff; }
.btn-outline-light { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-lg { padding: 17px 32px; font-size: 16px; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(5, 8, 15, 0.55);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { height: 76px; display: flex; align-items: center; gap: 40px; }
.brand img { height: 30px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(255,255,255,.66); font-size: 14.5px; font-weight: 500; transition: color .15s ease; }
.nav-links a:hover { color: #fff; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-actions .lang { color: rgba(255,255,255,.55); font-size: 14px; }
.nav-actions .btn { padding: 11px 20px; font-size: 14px; }

.nav-mobile { display: none; margin-left: auto; position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer; padding: 9px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 14px; font-weight: 600;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile-menu {
  position: absolute; right: 0; top: 48px; min-width: 220px; padding: 10px;
  background: #0a0f1a; border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5); display: grid;
}
.nav-mobile-menu a { padding: 11px 14px; border-radius: 8px; color: rgba(255,255,255,.75); font-size: 15px; }
.nav-mobile-menu a:hover { background: rgba(255,255,255,.07); color: #fff; }

@media (max-width: 1020px) {
  .nav-links, .nav-actions { display: none; }
  .nav-mobile { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  color: #fff;
  padding-top: 76px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 620px at 18% -6%, rgba(77,124,255,.42), transparent 62%),
    radial-gradient(900px 560px at 82% 8%, rgba(46,230,214,.18), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(139,92,246,.2), transparent 62%),
    #05080f;
}
/* FEA render bleeding in from the right, masked so the copy stays clean */
.hero-fea {
  position: absolute; z-index: -2;
  inset: 0 0 0 auto;
  width: min(62vw, 880px);
  background: url("../images/hero-fea.jpg") 64% 50% / cover no-repeat;
  opacity: .42;
  filter: blur(1.2px) saturate(1.12) contrast(1.03);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 34%, #000 68%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 34%, #000 68%);
  pointer-events: none;
}
@media (max-width: 860px) {
  .hero-fea {
    width: 130%;
    right: -46%;
    opacity: .28;
  }
}

.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  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: 72px 72px;
  mask-image: radial-gradient(75% 60% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 60% at 50% 30%, #000 30%, transparent 100%);
}
.hero-inner { padding: 128px 0 96px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.8); font-size: 13px; letter-spacing: .02em;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 14px var(--accent-2); }
.hero h1 {
  margin: 34px auto 0;
  max-width: 1120px;
  color: #fff;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero h1 .grad {
  background: linear-gradient(96deg, #9db8ff 0%, #2ee6d6 55%, #8b5cf6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  margin: 32px auto 0;
  max-width: 760px;
  color: rgba(255,255,255,.66);
  font-size: 20px;
  line-height: 1.6;
}
.hero-actions { margin-top: 42px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.42); }

.hero-visual {
  position: relative;
  margin-top: 88px;
  perspective: 1800px;
}
.hero-visual::before {
  content: "";
  position: absolute; left: 8%; right: 8%; bottom: -8%; height: 55%;
  background: radial-gradient(ellipse at center, rgba(77,124,255,.5), transparent 70%);
  filter: blur(50px);
  z-index: -1;
}
.screen {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: #0b111c;
  box-shadow: 0 60px 140px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04) inset;
  overflow: hidden;
  transform: rotateX(6deg) rotateY(0deg) scale(.985);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.hero-visual:hover .screen { transform: rotateX(0deg) scale(1); }
.screen-bar {
  height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03);
}
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.screen-bar i:nth-child(1) { background: #ff5f57; }
.screen-bar i:nth-child(2) { background: #febc2e; }
.screen-bar i:nth-child(3) { background: #28c840; }
.screen img { width: 100%; }
.hero-shot { position: relative; margin: 0; background: #0b111c; }
.hero-shot img { width: 100%; height: auto; display: block; }
.hero-shot figcaption {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(5, 8, 15, .62); border: 1px solid rgba(255, 255, 255, .18);
  padding: 6px 11px; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
@media (max-width: 640px) {
  .hero-shot figcaption { left: 10px; bottom: 10px; font-size: 9.5px; padding: 5px 9px; }
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 96px;
}
.hero-stats .s {
  padding: 34px 8px 40px;
  border-right: 1px solid rgba(255,255,255,.08);
  text-align: left;
}
.hero-stats .s:last-child { border-right: 0; }
.hero-stats b { display: block; font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; letter-spacing: -0.04em; color: #fff; }
.hero-stats span { display: block; margin-top: 8px; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* ---------- Logo strip ---------- */
.strip { background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,.06); }
.strip-inner { display: flex; align-items: center; gap: 40px; padding: 34px 0 44px; flex-wrap: wrap; }
.strip-label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.strip-items { display: flex; gap: 44px; flex-wrap: wrap; }
.strip-items span { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.55); }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 18px;
  grid-template-areas:
    "a a b b"
    "a a c d"
    "e e f f";
}
.bento .card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  padding: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bento .card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(10,15,26,.12); border-color: #d3dae8; }
.bento .b-a { grid-area: a; }
.bento .b-b { grid-area: b; }
.bento .b-c { grid-area: c; }
.bento .b-d { grid-area: d; }
.bento .b-e { grid-area: e; }
.bento .b-f { grid-area: f; }

.card .idx { position: absolute; top: 26px; right: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: #a7b2c6; }
.card h3 { font-size: 22px; line-height: 1.15; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 46ch; }
.card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.card .tags span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }

.card.media { justify-content: flex-end; border: 0; color: #fff; }
.card.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card.media:hover img { transform: scale(1.05); }
.card.media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5,8,15,.08) 0%, rgba(5,8,15,.45) 52%, rgba(5,8,15,.92) 100%);
}
.card.media > * { position: relative; z-index: 2; }
.card.media h3 { color: #fff; }
.card.media p { color: rgba(255,255,255,.72); }
.card.media .idx { color: rgba(255,255,255,.55); }

@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px;
    grid-template-areas: "a a" "b b" "c d" "e e" "f f"; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .bento .card { min-height: 220px; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.step { padding: 42px 40px 20px; border-right: 1px solid rgba(255,255,255,.12); }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--mono); font-size: 13px; letter-spacing: .18em; color: var(--accent-2); }
.step h3 { margin-top: 22px; font-size: 26px; color: #fff; }
.step p { margin-top: 14px; color: rgba(255,255,255,.55); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; border-top: 0; } .step { border-right: 0; border-top: 1px solid rgba(255,255,255,.12); padding-inline: 0; } }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tile {
  position: relative; display: flex; align-items: flex-end;
  min-height: 420px; border-radius: var(--radius); overflow: hidden;
  color: #fff; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,8,15,.05) 30%, rgba(5,8,15,.9) 100%); }
.tile-body { padding: 36px; }
.tile-body .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.tile-body h3 { margin-top: 12px; color: #fff; font-size: 28px; }
.tile-body p { margin-top: 10px; color: rgba(255,255,255,.72); font-size: 15px; max-width: 42ch; }
@media (max-width: 900px) { .industries { grid-template-columns: 1fr; } .tile { min-height: 340px; } }

/* ---------- Statement ---------- */
.statement { padding: 170px 0; text-align: center; }
.statement p {
  margin: 0 auto;
  max-width: 1180px;
  color: #fff;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.statement .accent { color: var(--accent-2); }
.statement .meta { margin-top: 44px; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.38); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); margin-top: 90px; }
.metrics .m { padding: 40px 20px; border-right: 1px solid rgba(255,255,255,.12); text-align: left; }
.metrics .m:last-child { border-right: 0; }
.metrics b { display: block; font-size: clamp(34px, 4vw, 54px); font-weight: 500; letter-spacing: -0.04em; color: #fff; }
.metrics span { display: block; margin-top: 8px; color: rgba(255,255,255,.5); font-size: 13.5px; }
@media (max-width: 860px) { .metrics { grid-template-columns: repeat(2, 1fr); } .metrics .m:nth-child(2) { border-right: 0; } .metrics .m:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 38px 34px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(10,15,26,.1); }
.price-card.featured { background: var(--bg-dark); border-color: var(--bg-dark); color: #fff; }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured .price-name, .price-card.featured .price-desc, .price-card.featured li { color: rgba(255,255,255,.65); }
.price-name { font-size: 13px; font-family: var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.price { margin-top: 18px; font-size: 54px; font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.price small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.price-desc { margin-top: 14px; color: var(--muted); font-size: 15px; min-height: 44px; }
.price-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-3); }
.price-list li::before { content: "→"; color: var(--accent); font-weight: 700; }
.price-card.featured .price-list li::before { color: var(--accent-2); }
.price-card .btn { margin-top: auto; margin-top: 32px; width: 100%; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.faq-layout .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 18px; font-weight: 500; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--accent); font-weight: 300; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 24px; color: var(--muted); font-size: 15.5px; max-width: 60ch; }
.faq .a a { color: var(--accent); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 40px; } .faq-layout .section-head { position: static; } }

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  padding: 130px 0;
  text-align: center;
  isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(77,124,255,.4), transparent 60%),
    radial-gradient(700px 400px at 80% 100%, rgba(46,230,214,.16), transparent 60%);
}
.cta-band h2 { color: #fff; font-size: clamp(38px, 5.5vw, 76px); line-height: 1.02; }
.cta-band p { margin: 26px auto 0; max-width: 620px; color: rgba(255,255,255,.6); font-size: 18px; }
.cta-actions { margin-top: 44px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #030509; color: rgba(255,255,255,.5); padding: 90px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 48px; }
.footer-brand img { height: 30px; }
.footer-brand p { margin-top: 22px; font-size: 14.5px; max-width: 340px; color: rgba(255,255,255,.45); }
.footer h4 { color: #fff; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.footer a { color: rgba(255,255,255,.5); font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 70px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3);
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.mt-24 { margin-top: 24px; }
.mt-56 { margin-top: 56px; }
.center { text-align: center; }

@media (max-width: 640px) {
  .section { padding: 96px 0; }
  .hero-inner { padding: 96px 0 64px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .s:nth-child(2) { border-right: 0; }
  .hero-stats .s:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .container { width: min(100% - 36px, var(--max)); }
}

/* ---------- Brand home: product cards ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.product {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: 0 40px 90px rgba(10,15,26,.14); }
.product-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0f1a; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.product:hover .product-media img { transform: scale(1.04); }
.product-media .plabel {
  position: absolute; left: 22px; top: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; background: rgba(5,8,15,.55); border: 1px solid rgba(255,255,255,.2);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px);
}
.product-body { padding: 34px 34px 36px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: clamp(26px, 2.6vw, 34px); }
.product-body .sub { margin-top: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.product-body p { margin-top: 16px; color: var(--muted); font-size: 16px; }
.product-feats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.product-feats li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-3); }
.product-feats li::before { content: "—"; color: var(--accent); }
.product-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }

/* ---------- Brand home: flow ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.flow-item { position: relative; padding: 40px 30px; border-right: 1px solid rgba(255,255,255,.12); }
.flow-item:last-child { border-right: 0; }
.flow-item .fn { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--accent-2); }
.flow-item h3 { margin-top: 16px; font-size: 21px; color: #fff; }
.flow-item p { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,.52); }
.flow-item .prod { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.35); text-transform: uppercase; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } .flow-item:nth-child(2) { border-right: 0; } .flow-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } .flow-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); } }

/* ---------- Unified downloads ---------- */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dl-card {
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 40px;
  background: rgba(255,255,255,.035);
}
.dl-card .dl-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.dl-card h3 { color: #fff; margin-top: 14px; font-size: 28px; }
.dl-card p { color: rgba(255,255,255,.55); margin-top: 10px; font-size: 15px; }
.dl-meta { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.dl-meta span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 4px 10px; }
.dl-card .btn { margin-top: 28px; }
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }

/* ---------- Download page ---------- */
.dl-row {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 16px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.dl-row.head { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 0 12px; }
.dl-file { font-size: 15px; color: var(--ink); font-weight: 500; }
.dl-file small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.dl-row .btn { padding: 10px 16px; font-size: 13.5px; justify-self: end; }
.dl-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 820px) {
  .dl-row { grid-template-columns: 1fr auto; }
  .dl-row.head { display: none; }
  .dl-row > div:nth-child(2), .dl-row > div:nth-child(3) { display: none; }
}

/* ---------- Dual product visual ---------- */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); }
.dual figure { margin: 0; position: relative; background: #0a0f1a; overflow: hidden; }
.dual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 11; }
.dual figcaption {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  color: #fff; background: rgba(5,8,15,.62); border: 1px solid rgba(255,255,255,.18);
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
@media (max-width: 640px) { .dual { grid-template-columns: 1fr; } }

/* =========================================================
   Corporate layout layer — wide grid, image-led cards,
   light nav, minimal radius (enterprise software pattern)
   ========================================================= */
:root {
  --max: 1440px;
  --radius: 4px;
  --line: #e3e6ea;
  --bg-soft: #f4f5f7;
}
.container { width: min(100% - 96px, var(--max)); }

.section { padding: 120px 0; }
.section.tight { padding: 80px 0; }
.section-head { margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.08; }
.section-head p { font-size: 18px; max-width: 720px; }

/* Light navigation */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav-inner { height: 80px; gap: 36px; }
.nav-links { gap: 30px; }
.nav-links a { color: #374151; font-size: 14px; }
.nav-links a:hover { color: #0a0f1a; }
.nav-actions .lang { color: #6b7280; }
.nav-mobile summary { border-color: var(--line); color: #374151; }
.nav-mobile-menu { background: #fff; border-color: var(--line); box-shadow: 0 20px 50px rgba(10,15,26,.12); }
.nav-mobile-menu a { color: #374151; }
.nav-mobile-menu a:hover { background: #f4f5f7; color: #0a0f1a; }

/* Buttons: small radius */
.btn { border-radius: 4px; padding: 14px 24px; }
.btn-lg { padding: 16px 28px; }
.btn-primary { box-shadow: none; }

/* Hero: wider, taller, left aligned like an enterprise banner */
.hero { padding-top: 80px; }
.hero-inner { padding: 104px 0 88px; text-align: left; }
.hero h1 { margin: 26px 0 0; max-width: 1000px; font-size: clamp(46px, 5.4vw, 80px); line-height: 1.02; }
.hero .lead { margin: 26px 0 0; max-width: 720px; font-size: 19px; }
.hero-actions { justify-content: flex-start; margin-top: 34px; }
.hero-badge { font-size: 12px; }
.hero-stats { margin-top: 64px; }
.hero-stats .s { padding: 26px 8px 30px; }

/* Product cards: wider, squarer, weaker shadow */
.products { gap: 28px; }
.product { border-radius: 4px; box-shadow: none; }
.product:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10,15,26,.10); }
.product-media { aspect-ratio: 16 / 9; }
.product-body { padding: 28px 30px 30px; }
.product-body h3 { font-size: 26px; }
.product-body p { font-size: 15px; }

/* Bento becomes a uniform 3-up image grid */
.bento {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  grid-template-areas: none;
  gap: 28px;
}
.bento .card {
  grid-area: auto;
  min-height: 330px;
  border-radius: 4px;
  box-shadow: none;
  padding: 28px;
}
.bento .card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10,15,26,.10); }
.bento .card h3 { font-size: 21px; }
.bento .card.media { min-height: 330px; }

/* Industry tiles */
.industries { gap: 28px; }
.tile { border-radius: 4px; min-height: 380px; }

/* Flow: cleaner hairlines */
.flow-item { padding: 34px 28px; }

/* Pricing */
.pricing { gap: 28px; }
.price-card { border-radius: 4px; box-shadow: none; padding: 34px 30px; }
.price-card:hover { box-shadow: 0 18px 40px rgba(10,15,26,.08); }

/* Downloads */
.dl-grid { gap: 28px; }
.dl-card { border-radius: 4px; }

/* Metrics + statement */
.metrics .m { padding: 32px 18px; }

/* Footer */
.footer-top { gap: 56px; }

@media (max-width: 1100px) {
  .container { width: min(100% - 64px, var(--max)); }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { text-align: left; padding: 72px 0 64px; }
  .hero-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 36px, var(--max)); }
  .bento { grid-template-columns: 1fr; }
  .section { padding: 88px 0; }
}

/* ---------- Isometric hero art ---------- */
.hero { position: relative; }
.hero-art {
  position: absolute;
  top: 90px;
  right: -60px;
  width: 640px;
  max-width: 50%;
  opacity: .95;
  pointer-events: none;
  z-index: 0;
  animation: floatArt 12s ease-in-out infinite;
}
.hero-art img { width: 100%; display: block; }
.hero-inner { position: relative; z-index: 1; }
@keyframes floatArt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (max-width: 1100px) {
  .hero-art { width: 520px; right: -200px; opacity: .45; }
}
@media (max-width: 760px) {
  .hero-art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art { animation: none; }
}

/* ---------- Inside the app: screenshot gallery ---------- */
.app-gallery { background: #fff; }
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(300px, 0.9fr);
  gap: 52px;
  align-items: start;
}
.gallery-stage {
  position: relative;
  margin: 0;
  aspect-ratio: 2048 / 1250;
  overflow: hidden;
  background: #05080f;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 34px 90px rgba(10, 15, 26, .2);
}
.stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .5s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.stage-img.is-active { opacity: 1; transform: scale(1); }
.stage-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 20px 15px;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0), rgba(5, 8, 15, .88));
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.stage-bar .count { color: rgba(255, 255, 255, .5); }
.stage-bar .count b { color: #fff; font-weight: 600; }

.gallery-list { align-self: stretch; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.gm-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.gm-item .n {
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: #a7b2c6;
  transition: color .2s ease;
}
.gm-item .b { display: block; }
.gm-item .t {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  transition: color .2s ease;
}
.gm-item .d {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  transition: max-height .5s ease, opacity .35s ease, margin-top .35s ease;
}
.gm-item:hover .t { color: var(--accent); }
.gm-item.is-active .n { color: var(--accent); }
.gm-item.is-active .t { color: var(--accent); }
.gm-item.is-active .d { max-height: 180px; margin-top: 9px; opacity: 1; }
.gm-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.gm-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.gm-more span { color: var(--accent); transition: transform .2s ease; }
.gm-more:hover span { transform: translateX(4px); }

@media (max-width: 1020px) {
  .gallery { grid-template-columns: 1fr; gap: 34px; }
  .gallery-stage { box-shadow: 0 24px 60px rgba(10, 15, 26, .18); }
}
@media (max-width: 640px) {
  .gm-item .t { font-size: 17px; }
  .stage-bar { padding: 26px 14px 11px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-img { transition: opacity .2s ease; transform: none; }
  .gm-item .d { transition: none; }
}

/* ---------- Custom development ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10, 15, 26, .09); border-color: #d3dae8; }
.svc-card .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: #a7b2c6;
}
.svc-card h3 { margin-top: 14px; font-size: 23px; line-height: 1.2; }
.svc-card .promise { margin-top: 10px; font-size: 15.5px; font-weight: 600; color: var(--accent); }
.svc-card p { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.svc-tags span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.svc-note { margin-top: 24px; font-size: 13.5px; color: var(--muted); }
.svc-note a { color: var(--accent); }

.svc-band { background: #fff; border-top: 1px solid var(--line); }
.svc-band-inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: center; }
.svc-band h2 { margin-top: 20px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.svc-band p { margin-top: 18px; max-width: 560px; color: var(--muted); font-size: 17px; }
.svc-band-list { display: grid; border-top: 1px solid var(--line); }
.svc-band-list span { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.svc-band-list .btn { margin-top: 24px; justify-self: start; }

@media (max-width: 1100px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .svc-band-inner { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Licensing table (About) ---------- */
.lic-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lic-table th {
  padding: 0 18px 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
}
.lic-table td {
  padding: 15px 18px 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  vertical-align: top;
  line-height: 1.55;
}
.lic-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.lic-table td:last-child { font-family: var(--mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.lic-table tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) {
  .lic-table td:first-child, .lic-table td:last-child { white-space: normal; }
  .lic-table td { padding: 13px 12px 13px 0; }
  .lic-table th { padding-right: 12px; }
  .lic-table thead { display: none; }
  .lic-table, .lic-table tbody, .lic-table tr, .lic-table td { display: block; width: 100%; }
  .lic-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .lic-table tr:last-child { border-bottom: 0; }
  .lic-table td { border: 0; padding: 0; }
  .lic-table td:nth-child(2) { margin-top: 4px; }
  .lic-table td:last-child { margin-top: 6px; font-size: 11.5px; }
}

/* =========================================================
   2026 global polish — scroll reveal, product shot depth, nav dark-mode
   ========================================================= */

/* Scroll-reveal: elements with [data-reveal] fade-up when entering viewport */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].in-view { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Product screenshot floating depth — Autodesk-style hero shot */
.hero-shot,
.hero-visual .screen,
.app-shot,
.showcase-card,
.hero-visual figure {
  box-shadow: var(--shadow-lg);
}
.hero-visual .screen {
  transform: perspective(1600px) rotateX(3deg);
  transform-origin: center bottom;
  border-radius: 14px;
  overflow: hidden;
}
.hero-visual .screen img,
.hero-visual .screen video { display: block; width: 100%; }

/* Card hover lift (generalize for product/advantage cards) */
.card, .adv, .product, .step, .price-card, .tile, .migrate-card,
.content-card, .feature, .bento article, .industries .tile {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .adv:hover, .product:hover, .step:hover, .price-card:hover,
.tile:hover, .migrate-card:hover, .content-card:hover, .feature:hover,
.bento article:hover, .industries .tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Nav dark adaptation: only when the nav is overlaid on a dark hero (body.nav-overlay).
   Without .nav-overlay the sticky nav keeps its solid white background so the links stay readable. */
body.nav-dark.nav-overlay:not(.nav-scrolled) .g-nav {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.nav-dark.nav-overlay:not(.nav-scrolled) .g-nav .g-brand img { filter: brightness(0) invert(1); }
body.nav-dark.nav-overlay:not(.nav-scrolled) .g-links > li > a { color: rgba(255,255,255,.72); }
body.nav-dark.nav-overlay:not(.nav-scrolled) .g-links > li > a:hover { color: #fff; }
body.nav-dark.nav-overlay:not(.nav-scrolled) .g-nav[data-active] .g-links > li > a { color: #fff; }
body.nav-dark.nav-overlay:not(.nav-scrolled) .g-lang { border-color: rgba(255,255,255,.28); color: #fff; }
body.nav-dark.nav-overlay:not(.nav-scrolled) .g-lang:hover { border-color: #fff; }
body.nav-dark.nav-overlay:not(.nav-scrolled) .g-cta { background: #fff; color: var(--ink); }
body.nav-dark.nav-overlay:not(.nav-scrolled) .g-cta:hover { background: #e8eefc; }

/* When scrolled, nav always becomes solid white (even on dark hero) */
body.nav-scrolled .g-nav {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
body.nav-scrolled .g-nav .g-brand img { filter: none; }
body.nav-scrolled .g-links > li > a { color: #374151; }
body.nav-scrolled .g-nav[data-active] .g-links > li > a { color: var(--ink); }
body.nav-scrolled .g-lang { border-color: var(--line); color: #374151; }
body.nav-scrolled .g-cta { background: var(--brand); color: #fff; }

/* Trust strip under hero */
.trust-strip {
  width: min(100% - 56px, var(--max));
  margin: -28px auto 0;
  position: relative;
  z-index: 5;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.trust-strip b { color: var(--ink); font-weight: 600; }
.trust-strip .ts-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .ts-item::before {
  content: "✓";
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px; font-weight: 700;
}

/* Section kicker unify */
.kicker { color: var(--brand); }

/* Homepage section backgrounds */
#flow {
  position: relative;
  background-image: url("../images/flow-bg.jpg");
  background-size: cover;
  background-position: center;
}
#flow::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,15,30,.92) 0%, rgba(8,15,30,.88) 100%);
  z-index: 0;
}
#flow .container { position: relative; z-index: 1; }

.svc-band {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.svc-band::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../images/svc-bg.jpg") center/cover no-repeat;
  opacity: .9;
}
.svc-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, #fff 38%, rgba(255,255,255,.85) 55%, rgba(255,255,255,0) 78%);
}
.svc-band .container { position: relative; z-index: 1; }

.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../images/cta-bg.jpg") center/cover no-repeat;
  z-index: 0;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,18,38,.88) 0%, rgba(10,18,38,.65) 100%);
  z-index: 0;
}
.cta-band .container { position: relative; z-index: 1; }

/* CAD page content section decorative backgrounds */
/* Cost comparison section — soft blue radial glow */
.cost-section,
section:has(.cost-card) {
  position: relative;
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(37,99,235,.06), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fafbff 100%);
}

/* Advantages section — subtle grid dot texture */
.advantages,
section:has(.advantages) {
  position: relative;
  background:
    radial-gradient(rgba(37,99,235,.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Migrate section — light gray with fine grid */
section:has(.migrate-grid),
.migrate-section {
  background:
    linear-gradient(180deg, #f6f8fb 0%, #eef2f8 100%);
}

/* Product categories section — soft top accent */
.categories-section,
section:has(.cat-nav) {
  background:
    radial-gradient(1000px 300px at 50% 0%, rgba(37,99,235,.04), transparent 80%),
    #f7f8fa;
}

/* Featured advantage card — subtle tech gradient */
.adv.featured {
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(46,230,214,.15), transparent 60%),
    linear-gradient(160deg, #0f2544 0%, #0a1a33 100%) !important;
}

/* Industries case grid */
.industries {
  background: linear-gradient(180deg, #fff 0%, #f4f7fc 100%);
  padding: 80px 0;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.case-card {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #111827;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 16px rgba(15,23,42,.08);
  transition: transform .35s ease, box-shadow .35s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,23,42,.18);
}
.case-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.case-card:hover img { transform: scale(1.05); }
.case-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(8,15,30,.9) 100%);
  color: #fff;
}
.case-card figcaption b { display: block; font-size: 16px; font-weight: 600; }
.case-card figcaption span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.65); }
@media (max-width: 900px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cases-grid { grid-template-columns: 1fr; }
}

/* Migrate cards with background image on the right */
.migrate-card.has-img {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-right: 40%;
}
.migrate-card.has-img::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background: var(--card-img) center/cover no-repeat;
  z-index: -1;
}
.migrate-card.has-img::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.95) 30%, rgba(255,255,255,.4) 70%, rgba(255,255,255,0) 100%);
  z-index: -1;
}
.migrate-card.has-img:hover::before { transform: scale(1.05); transition: transform .6s ease; }
@media (max-width: 760px) {
  .migrate-card.has-img { padding-right: 32%; }
  .migrate-card.has-img::before { width: 40%; }
  .migrate-card.has-img::after { width: 50%; }
}

/* Advantage cards with background image */
.adv.has-img {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.adv.has-img::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: var(--card-img) center/cover no-repeat;
  z-index: -1;
  transition: transform .6s ease;
}
.adv.has-img::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 35%, rgba(255,255,255,.3) 75%, rgba(255,255,255,0) 100%);
  z-index: -1;
}
.adv.has-img:hover::before { transform: scale(1.06); }
@media (max-width: 760px) {
  .adv.has-img::before { width: 35%; }
  .adv.has-img::after { width: 50%; }
}

/* ---------- Legal / third-party notices ---------- */
.legal-head { padding: 64px 0 36px; background: #fff; }
.legal-head .container { max-width: 1060px; }
.legal-head h1 {
  margin-top: 18px;
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.legal-head p { margin-top: 18px; max-width: 780px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.legal-updated {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a7b2c6;
}
.legal-section { padding: 56px 0; border-top: 1px solid var(--line); background: #fff; }
.legal-section .container { max-width: 1060px; }
.legal-section h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
.legal-section h3 { margin-top: 30px; font-size: 18px; font-weight: 600; }
.legal-section p { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.legal-section ul { margin-top: 14px; padding-left: 22px; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.legal-section li { margin-top: 7px; }
.legal-section a { color: var(--accent); }
.legal-section .lic-table { margin-top: 22px; }
.legal-section code {
  padding: 2px 6px;
  border-radius: 4px;
  background: #f1f3f6;
  font-family: var(--mono);
  font-size: 13px;
  color: #1f2937;
}
