/* ==========================================================================
   AIGU — landing page styles
   Dark, restrained, enterprise-trustworthy. Toned-down from the old Sundey
   design: less glow, less gradient, more whitespace.
   ========================================================================== */

:root {
  --bg: #081418;
  --bg-soft: #0b1c21;
  --panel: rgba(12, 30, 36, 0.72);
  --panel-strong: #0e2329;
  --panel-light: #12303a;
  --text: #eef6f7;
  --muted: #a9c3c9;
  --muted-2: #7f9aa1;
  --line: rgba(166, 222, 230, 0.12);
  --line-strong: rgba(166, 222, 230, 0.2);
  --brand: #57d6f2;
  --brand-2: #7fe6d2;
  --brand-ink: #06232b;
  --white: #ffffff;
  --success: #7fe6b0;
  --danger: #ff9e9e;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  --radius: 18px;
  --max: 1160px;
  --focus: 0 0 0 3px rgba(87, 214, 242, 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(87, 214, 242, 0.06), transparent 26%),
    linear-gradient(180deg, #081418 0%, #08161a 45%, #09181d 100%);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 10px; }

.container { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }

/* ---------- Announcement ---------- */
.announcement { border-bottom: 1px solid var(--line); background: rgba(9, 22, 26, 0.72); }
.announcement .inner {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  min-height: 44px; font-size: 14px; color: var(--muted); text-align: center; flex-wrap: wrap;
}
.announcement .pill {
  border: 1px solid var(--line-strong); background: rgba(87, 214, 242, 0.1);
  color: var(--brand-2); padding: 3px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
}

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 18, 22, 0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 18px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.02em; font-size: 21px; white-space: nowrap; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: url("/favicon.svg") center / 100% 100% no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-links, .nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 14.5px; transition: color 0.18s ease; }
.nav-links a:hover { color: var(--text); }

/* language switch */
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.lang-btn {
  appearance: none; border: 0; background: transparent; color: var(--muted-2);
  font: 600 12.5px/1 inherit; padding: 8px 11px; cursor: pointer; letter-spacing: 0.04em;
  transition: background 0.18s ease, color 0.18s ease;
}
.lang-btn + .lang-btn { border-left: 1px solid var(--line); }
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active { background: rgba(87, 214, 242, 0.16); color: var(--brand-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  font-weight: 650; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--brand-ink); box-shadow: 0 8px 22px rgba(87, 214, 242, 0.2);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(87, 214, 242, 0.28); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-secondary { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--text); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }
.btn-ghost { color: var(--muted); background: transparent; border-color: transparent; min-height: auto; padding: 0; }
.btn-ghost:hover { color: var(--text); transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(87, 214, 242, 0.35) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.05));
  mask-image: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.05));
  opacity: 0.18;
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 44px; align-items: center;
  position: relative; z-index: 1; min-height: 600px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 13px;
  border-radius: 999px; border: 1px solid rgba(87, 214, 242, 0.2);
  background: rgba(87, 214, 242, 0.06); color: var(--brand-2);
  font-size: 13px; font-weight: 650; margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--success); box-shadow: 0 0 0 5px rgba(127, 230, 176, 0.12); }

h1 { margin: 0; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.0; letter-spacing: -0.045em; max-width: 15ch; }
.hero .lead { margin: 22px 0 0; max-width: 620px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.62; }

/* entry cards (two ways in) */
.entry-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; max-width: 640px; }
.entry-card {
  display: flex; flex-direction: column; gap: 8px; padding: 20px;
  border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 35, 41, 0.6), rgba(10, 26, 31, 0.72));
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.entry-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
#entryBusiness:hover { box-shadow: 0 14px 40px rgba(87, 214, 242, 0.12); }
.entry-card-head { margin-bottom: 2px; }
.entry-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--brand-2);
}
.entry-card h3 { margin: 0; font-size: 18px; letter-spacing: -0.02em; }
.entry-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.entry-link { margin-top: 6px; color: var(--brand); font-size: 14px; font-weight: 650; }

/* hero visual: task panel (input -> output) */
.hero-visual { position: relative; }
.task-panel { border-radius: 24px; padding: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.signal {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--brand-2);
  padding: 5px 11px; border-radius: 999px; background: rgba(127, 230, 210, 0.08);
  border: 1px solid rgba(127, 230, 210, 0.18); font-weight: 600;
}
.signal::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--success); }

.task-subhead {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 10px;
}
.task-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 12px; border-radius: 12px; font-size: 12.5px; color: var(--muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.task-arrow { text-align: center; color: var(--brand); font-size: 22px; margin: 14px 0; line-height: 1; }
.task-output {
  border: 1px solid rgba(87, 214, 242, 0.16); background: rgba(87, 214, 242, 0.05);
  border-radius: 16px; padding: 16px;
}
.task-line { margin: 0 0 9px; font-size: 13.5px; line-height: 1.55; color: #d7f2f7; }
.task-line:last-of-type { margin-bottom: 0; }
.task-status {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--success);
  padding: 7px 12px; border-radius: 999px; background: rgba(127, 230, 176, 0.1);
  border: 1px solid rgba(127, 230, 176, 0.2);
}
.task-status::before { content: "✓"; font-weight: 800; }
.vis-caption { margin-top: 14px; text-align: center; color: var(--muted-2); font-size: 12.5px; }

.glass {
  background: linear-gradient(180deg, rgba(16, 40, 47, 0.85), rgba(9, 26, 31, 0.92));
  border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(18px);
}

/* ---------- Sections ---------- */
section[id], main[id] { scroll-margin-top: 88px; }
section.content { padding: 84px 0; border-top: 1px solid rgba(166, 222, 230, 0.05); }
section.content:first-of-type { border-top: 0; }

.section-head { max-width: 780px; margin-bottom: 38px; }
.section-head .overline {
  color: var(--brand-2); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 12px; font-weight: 700; margin-bottom: 14px;
}
.section-head h2 { margin: 0; font-size: clamp(30px, 4.6vw, 50px); line-height: 1.04; letter-spacing: -0.035em; }
.section-head p { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.section-head p.note { font-size: 15px; color: var(--muted-2); font-style: italic; }

/* What we build */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  padding: 26px; border-radius: 20px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02); display: flex; flex-direction: column;
}
.feature .icon {
  width: 44px; height: 44px; border-radius: 13px; display: inline-flex; align-items: center;
  justify-content: center; margin-bottom: 16px; font-size: 19px; font-weight: 800;
  color: var(--brand-2); background: rgba(87, 214, 242, 0.1); border: 1px solid var(--line-strong);
}
.feature h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -0.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.68; flex: 1; }
.feature-link, .feature-links a {
  margin-top: 16px; color: var(--brand); font-size: 14px; font-weight: 650; display: inline-block;
}
.feature-links { display: flex; gap: 18px; margin-top: 16px; }
.feature-link:hover, .feature-links a:hover { text-decoration: underline; }

/* How it works in practice */
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.example { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.example h3 { margin: 0 0 18px; font-size: 18px; letter-spacing: -0.02em; }
.example-io { display: grid; gap: 14px; }
.io { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.io-label {
  width: 44px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.io .io-label { background: rgba(87, 214, 242, 0.1); color: var(--brand-2); border: 1px solid var(--line-strong); }
.io p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Featured product */
.product-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; margin-bottom: 16px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(87, 214, 242, 0.08); color: var(--brand-2); font-size: 13px; font-weight: 700;
  letter-spacing: 0.01em;
}
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.value-card { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.value-card .icon {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center;
  justify-content: center; margin-bottom: 14px; font-size: 18px; font-weight: 800; color: var(--brand-2);
  background: rgba(87, 214, 242, 0.1); border: 1px solid var(--line-strong);
}
.value-card h3 { margin: 0 0 9px; font-size: 19px; letter-spacing: -0.02em; }
.value-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.66; }
.contact-phone {
  display: inline-block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
  text-decoration: none;
}
.contact-phone:hover { text-decoration: underline; }

.status-note {
  margin: 22px 0 0; padding: 14px 18px; border-radius: 14px;
  border: 1px dashed var(--line-strong); background: rgba(255, 255, 255, 0.02);
  color: var(--muted); font-size: 14px; line-height: 1.6;
}

/* Selected work */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work-card {
  display: flex; flex-direction: column; padding: 24px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.work-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.work-tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--brand-2); padding: 4px 10px; border-radius: 999px;
  background: rgba(87, 214, 242, 0.08); border: 1px solid var(--line-strong); margin-bottom: 14px;
}
.work-card h3 { margin: 0 0 9px; font-size: 20px; letter-spacing: -0.02em; }
.work-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.62; flex: 1; }
.work-more { display: inline-block; margin-top: 22px; color: var(--brand); font-size: 15px; font-weight: 650; }
.work-more:hover { text-decoration: underline; }

/* How we work */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; padding: 26px 22px 22px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.step-number {
  display: inline-flex; width: 38px; height: 38px; border-radius: 999px; align-items: center;
  justify-content: center; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--brand-ink); font-weight: 800; margin-bottom: 16px;
}
.step h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.66; }

/* Ecosystem */
.eco-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.eco-item {
  display: flex; flex-direction: column; padding: 22px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease;
}
a.eco-item:hover { border-color: var(--line-strong); }
.eco-type {
  align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px;
  padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line);
}
.eco-item h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.02em; }
.eco-item p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- CTA + contact ---------- */
.cta-band { padding: 84px 0 92px; }
.cta-box {
  padding: 44px; border-radius: 28px; border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(87, 214, 242, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(15, 39, 45, 0.85), rgba(8, 24, 29, 0.96));
  box-shadow: var(--shadow);
}
.cta-box h2 { margin: 0; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -0.035em; }
.cta-box p { margin: 16px 0 0; max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.66; }

.contact-form { margin-top: 30px; display: grid; gap: 18px; max-width: 760px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 650; color: var(--text); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px;
  transition: border-color 0.16s ease, background 0.16s ease; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: rgba(87, 214, 242, 0.05); box-shadow: var(--focus);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.form-note { margin: 0; color: var(--muted-2); font-size: 13px; line-height: 1.55; max-width: 560px; }
.form-msg { margin: 0; font-size: 14.5px; line-height: 1.5; }
.form-success { color: var(--success); }
.form-error { color: var(--danger); }

/* ---------- Footer ---------- */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 26px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 300px; margin: 16px 0 0; }
.footer-brand .footer-hq { margin-top: 8px; color: var(--muted-2); font-size: 13px; }
.footer-col h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin: 11px 0; }
.footer-col a:hover { color: var(--text); }
.copyright { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }

/* ---------- Mobile menu ---------- */
.mobile-menu-button {
  display: none; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04);
  color: var(--text); font-size: 18px; cursor: pointer;
}
.mobile-menu-button:hover { background: rgba(255, 255, 255, 0.08); }
.mobile-drawer { position: fixed; inset: 0; z-index: 60; display: none; pointer-events: none; }
.mobile-drawer.open { display: block; pointer-events: auto; }
.mobile-drawer-backdrop { position: absolute; inset: 0; background: rgba(2, 10, 12, 0.72); backdrop-filter: blur(8px); }
.mobile-drawer-panel {
  position: absolute; top: 0; right: 0; width: min(88vw, 360px); height: 100%;
  background: linear-gradient(180deg, rgba(11, 28, 33, 0.98), rgba(7, 20, 24, 0.99));
  border-left: 1px solid var(--line-strong); box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
  padding: 20px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.24s ease;
}
.mobile-drawer.open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.mobile-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--text); font-size: 18px; cursor: pointer; }
.mobile-close:hover { background: rgba(255, 255, 255, 0.08); }
.mobile-drawer-links { display: grid; gap: 8px; margin-top: 8px; }
.mobile-drawer-links a { padding: 14px; border-radius: 14px; color: var(--text); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); font-size: 15px; }
.mobile-drawer-links a:hover { background: rgba(255, 255, 255, 0.06); }
.mobile-drawer-actions { margin-top: auto; display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.mobile-drawer-actions .btn { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .feature-grid, .steps, .examples, .eco-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual { margin-top: 8px; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .mobile-menu-button { display: inline-flex; }
  .feature-grid, .steps, .examples, .eco-grid, .work-grid, .value-grid, .entry-cards, .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .cta-box { padding: 28px 22px; }
  .section-head p, .cta-box p, .hero .lead { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  section.content { padding: 64px 0; }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { width: min(calc(100% - 28px), var(--max)); }
}

/* ---------- Multi-page additions ---------- */
.nav-links a.is-active { color: var(--brand-2); }

/* sub-page hero */
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--line); background: rgba(9, 22, 26, 0.55); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.08; max-width: 840px; }
.page-hero .lead { margin-top: 18px; font-size: 18px; max-width: 800px; }

/* body copy inside content sections */
.section-body { max-width: 800px; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.section-body + .section-body { margin-top: 14px; }

/* bullet checklist cards */
.checklist { list-style: none; display: grid; gap: 12px; margin: 26px 0 0; padding: 0; max-width: 800px; }
.checklist li {
  padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 15.5px; line-height: 1.55;
}

/* whole-card clickable features */
.feature.feature-linkcard { cursor: default; }
.feature.feature-linkcard:hover { border-color: var(--line-strong); transform: translateY(-2px); }

/* ---------- S.U.N.D.E.Y product links (name → sundey.ai) ---------- */
.feature h3 a { color: inherit; text-decoration: none; }
.feature h3 a:hover { color: var(--brand); }
.section-head .overline a { color: inherit; text-decoration: none; }
.section-head .overline a:hover { color: var(--brand); }
.status-note a { color: inherit; text-decoration: none; }
.status-note a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* CTA rows */
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 26px; align-items: center; }
.cta-alt-link { color: var(--brand-2); font-weight: 650; font-size: 15px; }
.cta-alt-link:hover { text-decoration: underline; }
.cta-form-link { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.cta-form-link:hover { color: var(--text); }

/* home work links */
.work-links-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; }

/* mobile: page hero breathing room */
@media (max-width: 760px) {
  .page-hero { padding: 44px 0 36px; }
}

/* work page: tag pill hugs its content inside section headers */
.section-head .work-tag { width: fit-content; margin-bottom: 16px; }

/* action rows under checklists/notes (work, index, products) */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 28px; align-items: center; }

/* home: teaser grid of two cards */
.work-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* contact: CTA row inside the page hero */
.page-hero .cta-actions { margin-top: 30px; }

/* must come after the 760px media block above to win on mobile */
@media (max-width: 760px) {
  .work-grid-2 { grid-template-columns: 1fr; }
}

/* community tracks (products #community) */
.section-head.comm-tracks-head { margin-top: 44px; margin-bottom: 22px; }
.comm-tracks-h3 {
  margin: 10px 0 0;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 680;
  max-width: 760px;
}
.track-card {
  display: flex; flex-direction: column; padding: 24px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.track-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.track-card h3 { margin: 0 0 9px; font-size: 19px; letter-spacing: -0.02em; }
.track-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.62; flex: 1; }

/* ==========================================================================
   2026-11-07 repositioning: language switch pill, capabilities page,
   home vertical steps, capability cards, FAQ
   ========================================================================== */

/* Header language switcher (navigates to the /vi twin page) */
.lang-link {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--muted); text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.lang-link:hover { border-color: var(--brand); color: var(--text); }

/* Page hero: scope/capability disclaimer under the lead */
.page-hero .page-note {
  margin-top: 12px; font-size: 14px; font-style: italic;
  color: var(--muted-2); max-width: 760px; line-height: 1.6;
}

/* Uppercase sub-headers inside long content sections (capabilities) */
.sub-over {
  margin: 34px 0 14px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand);
}

/* Home: full development scope — vertical timeline */
.steps-v { max-width: 820px; }
.step-v { position: relative; padding: 0 0 30px 76px; }
.step-v::before {
  content: ""; position: absolute; left: 26px; top: 54px; bottom: 0;
  width: 2px; background: var(--line);
}
.step-v:last-child { padding-bottom: 0; }
.step-v:last-child::before { content: none; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  color: var(--brand); font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-v h3 { margin: 6px 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.step-v p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 640px; }
@media (max-width: 760px) {
  .step-v { padding: 0 0 24px 58px; }
  .step-v::before { left: 19px; top: 42px; }
  .step-num { width: 40px; height: 40px; font-size: 15px; }
  .step-v h3 { margin-top: 4px; }
}

/* Home: four technical capability cards */
.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cap-card {
  display: flex; flex-direction: column; padding: 26px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  text-decoration: none; color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cap-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.cap-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 20px;
  color: var(--brand); background: rgba(87, 214, 242, 0.08);
  border: 1px solid var(--line-strong);
}
.cap-card h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -0.02em; }
.cap-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.66; flex: 1; }
.cap-card .feature-link { margin-top: 14px; }
@media (max-width: 900px) {
  .cap-grid { grid-template-columns: 1fr; }
}

/* Home: FAQ (details/summary) */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.02); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-size: 16.5px; font-weight: 600;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 20px; flex: none; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-a { margin: 0; padding: 0 20px 18px; font-size: 15px; color: var(--muted); line-height: 1.7; }

/* Capabilities: callout box (clarifications + evidence) */
.info-box {
  margin-top: 26px; max-width: 860px;
  border: 1px solid var(--line-strong); border-left: 3px solid var(--brand);
  border-radius: 14px; padding: 20px 22px;
  background: rgba(87, 214, 242, 0.05);
}
.info-box h4 { margin: 0 0 8px; font-size: 15px; }
.info-box p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.68; }
.info-box a { color: var(--brand); }

/* Capabilities: labeled architecture illustration (E2EE) */
.arch {
  margin-top: 26px; border: 1px dashed var(--line-strong); border-radius: 18px;
  padding: 22px; background: rgba(255, 255, 255, 0.02);
}
.arch-label {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600; margin-bottom: 16px;
}
.arch-flow { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.arch-node {
  flex: 1 1 160px; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px; background: rgba(255, 255, 255, 0.02);
}
.arch-node h4 { margin: 0; font-size: 15px; line-height: 1.45; }
.arch-arrow { align-self: center; color: var(--muted-2); font-size: 18px; }
.arch-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted-2); line-height: 1.6; }

/* ==========================================================================
   2026-11-07 — Original SVG illustrations + animation system
   Everything below is additive: no existing rule is modified. No libraries,
   no SMIL — CSS transitions/keyframes plus a small IntersectionObserver in
   app.js. The global prefers-reduced-motion override near the top of this
   file keeps last-wins: its `* { transition/animation: none !important }`
   disables everything here, app.js shows .reveal immediately in that mode,
   and the <noscript> style in base.html keeps .reveal visible without JS.
   ========================================================================== */

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* stagger (60ms steps on the hero, small offsets inside grids) */
.hero-copy .reveal:nth-child(1) { --d: 0s; }
.hero-copy .reveal:nth-child(2) { --d: 0.06s; }
.hero-copy .reveal:nth-child(3) { --d: 0.12s; }
.hero-copy .reveal:nth-child(4) { --d: 0.18s; }
.hero-copy .reveal:nth-child(5) { --d: 0.24s; }
.hero-visual.reveal { --d: 0.3s; }
.cap-grid .reveal:nth-child(2) { --d: 0.06s; }
.cap-grid .reveal:nth-child(3) { --d: 0.12s; }
.cap-grid .reveal:nth-child(4) { --d: 0.18s; }
.feature-grid .reveal:nth-child(2), .steps .reveal:nth-child(2),
.examples .reveal:nth-child(2) { --d: 0.06s; }
.feature-grid .reveal:nth-child(3), .steps .reveal:nth-child(3),
.examples .reveal:nth-child(3) { --d: 0.12s; }
.work-grid .reveal:nth-child(2) { --d: 0.05s; }
.work-grid .reveal:nth-child(3) { --d: 0.1s; }
.work-grid .reveal:nth-child(4) { --d: 0.15s; }
.work-grid .reveal:nth-child(5) { --d: 0.2s; }
.faq .reveal:nth-child(even) { --d: 0.05s; }
.steps-v .step-v:nth-of-type(2) { --d: 0.08s; }
.steps-v .step-v:nth-of-type(3) { --d: 0.16s; }
.steps-v .step-v:nth-of-type(4) { --d: 0.24s; }
.steps-v .step-v:nth-of-type(5) { --d: 0.32s; }

/* ---------- Hero: float + signal pulse (page-load stagger = reveal above) ---------- */
.task-panel { animation: panelFloat 7s ease-in-out infinite alternate; }
@keyframes panelFloat {
  from { transform: translateY(-4px); }
  to   { transform: translateY(4px); }
}
.signal::before { animation: signalPulse 2.4s ease-in-out infinite; }
@keyframes signalPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.72); }
}

/* ---------- Home scope timeline: draw-in line + flow pulse ---------- */
.steps-v { position: relative; }
.steps-line {
  position: absolute; left: 26px; top: 26px; bottom: 26px; width: 2px;
  z-index: 1; pointer-events: none; overflow: visible;
}
.steps-line .draw {
  stroke: var(--brand); stroke-width: 2; opacity: 0.9;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s ease 0.25s;
}
.steps-v.is-in .steps-line .draw { stroke-dashoffset: 0; }
.steps-rail {
  position: absolute; left: 26px; top: 26px; bottom: 26px; width: 2px;
  z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(87, 214, 242, 0.75) 50%, transparent 100%);
  background-size: 100% 26%; background-repeat: no-repeat;
  background-position: 0% -45%; /* parked off-canvas when animation is disabled */
  animation: railFlow 4.2s linear infinite;
}
@keyframes railFlow {
  0%   { background-position: 0% -45%; opacity: 0; }
  12%  { opacity: 0.8; }
  86%  { opacity: 0.8; }
  100% { background-position: 0% 145%; opacity: 0; }
}
.step-num { background: var(--bg-soft); z-index: 2; }
.step-num svg {
  width: 24px; height: 24px; display: block; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 760px) {
  .steps-line, .steps-rail { left: 19px; top: 20px; bottom: 20px; }
  .step-num svg { width: 18px; height: 18px; }
}

/* ---------- Home capability cards: mini-diagrams ---------- */
.cap-illo {
  width: 84px; height: auto; display: block; margin-bottom: 16px;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.cap-illo rect, .cap-illo line, .cap-illo path, .cap-illo circle,
.cap-illo polyline, .cap-illo ellipse { stroke-width: 1.6; }
.cap-illo .mi-s { stroke: var(--muted-2); }
.cap-illo .mi-b { stroke: var(--brand); }
.cap-illo .mi-dash { stroke: var(--muted-2); stroke-dasharray: 3.5 3.5; opacity: 0.65; }
.cap-illo .mi-dot { fill: var(--brand); stroke: none; }
.cap-illo .mi-pulse {
  fill: var(--brand); stroke: none;
  animation: cap2Pulse 3s ease-in-out infinite;
}
@keyframes cap2Pulse {
  0%   { transform: translate(0, 0); opacity: 0; }
  18%  { opacity: 0.9; }
  80%  { opacity: 0.9; }
  100% { transform: translate(48px, -3.6px); opacity: 0; }
}

/* ---------- Diagram blocks (.diag) ---------- */
.diag {
  margin-top: 30px; border: 1px dashed var(--line-strong); border-radius: 18px;
  padding: 24px 22px 22px; background: rgba(255, 255, 255, 0.02);
}
.diag-label {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600; margin-bottom: 18px;
}
.d-sub { display: block; margin-top: 5px; font-size: 12px; color: var(--muted-2); line-height: 1.5; }
.d-dot { fill: var(--brand); }

/* real-time: clients <-> transport <-> server */
.diag-rt-grid {
  display: grid; grid-template-columns: 1.2fr auto 1fr auto 1.15fr;
  gap: 12px; align-items: center;
}
.diag-box {
  border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
}
.diag-box h4 { margin: 0; font-size: 14.5px; letter-spacing: -0.01em; }
.d-ico { width: 54px; height: auto; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.d-pill {
  padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 650;
  color: var(--brand-2); background: rgba(87, 214, 242, 0.07);
  border: 1px solid var(--line-strong); white-space: nowrap;
}
.dbox-clients .d-sub { margin-top: 0; }
.diag-conn { width: 84px; justify-self: center; }
.diag-conn svg { width: 100%; height: auto; display: block; overflow: visible; }
.conn-v { display: none; }
.dc-line { stroke: var(--line-strong); stroke-width: 1.6; }
.dc-arr { stroke: var(--muted-2); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dc-dot { fill: var(--brand); }
.conn-h .dc-dot { animation: flowH 3s linear infinite; }
.conn-v .dc-dot { animation: flowV 3s linear infinite; }
.diag-rt-grid > .diag-conn:nth-child(4) .dc-dot,
.wf-grid > .diag-conn:nth-child(4) .dc-dot { animation-delay: -1.5s; }
@keyframes flowH {
  0%   { transform: translateX(0); opacity: 0; }
  12%  { opacity: 0.85; }
  82%  { opacity: 0.85; }
  100% { transform: translateX(72px); opacity: 0; }
}
@keyframes flowV {
  0%   { transform: translateY(0); opacity: 0; }
  12%  { opacity: 0.85; }
  82%  { opacity: 0.85; }
  100% { transform: translateY(44px); opacity: 0; }
}
.diag-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.d-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(87, 214, 242, 0.06); color: var(--muted);
  font-size: 12.5px; font-weight: 600;
}
.d-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }

/* security: stacked layers */
.layers {
  position: relative; border: 1px dashed var(--line-strong); border-radius: 16px;
  padding: 22px 18px 18px; display: grid; gap: 8px;
}
.layers-chip {
  position: absolute; top: -12px; right: 16px; padding: 4px 11px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--panel-strong); color: var(--brand-2);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
}
.layer {
  display: flex; align-items: center; gap: 13px; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-size: 14.5px;
}
.layer svg {
  width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: 0.9;
}
.layer-app {
  border-color: rgba(87, 214, 242, 0.35); background: rgba(87, 214, 242, 0.06);
  color: var(--text); font-weight: 600;
}

/* solutions: 3-zone workflow */
.wf-grid {
  display: grid; grid-template-columns: 1.25fr auto 1fr auto 1.3fr;
  gap: 12px; align-items: center;
}
.wf-zone {
  border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  display: flex; flex-direction: column; gap: 10px;
}
.wf-zone h4 { margin: 0; font-size: 14.5px; letter-spacing: -0.01em; }
.wf-left h4 {
  font-size: 12px; color: var(--muted-2); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 700; margin-bottom: 2px;
}
.wf-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px;
  border-radius: 11px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04); color: var(--muted);
  font-size: 13px; font-weight: 600; width: fit-content;
}
.wf-chip svg {
  width: 15px; height: 15px; flex: none; fill: none; stroke: var(--brand-2);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.wf-mid {
  align-items: center; text-align: center; gap: 8px;
  border-color: rgba(87, 214, 242, 0.35); background: rgba(87, 214, 242, 0.06);
  padding: 20px 18px;
}
.wf-mid svg {
  width: 30px; height: 30px; fill: none; stroke: var(--brand);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.wf-mid h4 { font-size: 17px; }
.wf-right { display: grid; gap: 12px; }
.wf-out {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.wf-out svg {
  width: 21px; height: 21px; flex: none; fill: none; stroke: var(--muted-2);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.wf-out h4 { font-size: 14px; line-height: 1.45; color: var(--muted); }
.wf-gate { border-color: rgba(127, 230, 176, 0.35); background: rgba(127, 230, 176, 0.05); }
.wf-gate svg { stroke: var(--success); }
.wf-gate h4 { color: var(--text); }

/* diagram stacking on narrow screens (390px: wrap, never overflow) */
@media (max-width: 860px) {
  .diag-rt-grid, .wf-grid { grid-template-columns: 1fr; gap: 8px; }
  .diag-conn { width: 26px; margin: 2px 0; }
  .conn-h { display: none; }
  .conn-v { display: block; }
  .wf-chip { width: 100%; }
}

/* ---------- Micro-interactions ---------- */
.feature-link, .entry-link { display: inline-block; transition: transform 0.18s ease; }
.feature-link:hover, .entry-link:hover { transform: translateX(3px); }

.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  border-radius: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.22s ease;
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }

.faq-item summary { transition: transform 0.16s ease; transform-origin: left center; }
.faq-item[open] summary { animation: faqPulse 0.3s ease; }
@keyframes faqPulse {
  0%   { transform: scale(0.985); }
  100% { transform: scale(1); }
}

.btn-primary:hover {
  box-shadow: 0 0 0 4px rgba(87, 214, 242, 0.12), 0 12px 28px rgba(87, 214, 242, 0.28);
}
.btn-secondary:hover { box-shadow: 0 0 0 4px rgba(87, 214, 242, 0.12); }
.cap-card:hover, .feature.feature-linkcard:hover, .work-card:hover, .track-card:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(87, 214, 242, 0.1);
}

/* ---------- Item 2 helpers: company-profile content (2026-11-07) ---------- */
/* stat cards (AIGU Software metrics) */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin-top: 6px;
}
.stat-card {
  padding: 22px 20px; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}
.stat-num { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.stat-label { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1024px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 24px; }
}

/* contact-by-need rows */
.need-grid {
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.need-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 8px 20px; padding: 18px 22px; border-top: 1px solid var(--line);
  align-items: baseline;
}
.need-row:first-child { border-top: none; }
.need-t { font-size: 15.5px; font-weight: 600; line-height: 1.5; }
.need-v { font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.need-v a { color: var(--brand); }
@media (max-width: 700px) { .need-row { grid-template-columns: 1fr; gap: 4px; } }

/* contact card sub-lines (Zalo/email + quote) */
.card-sub {
  margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 8px;
  align-items: baseline; font-size: 14px; color: var(--muted);
}
.card-sub a { color: var(--brand); word-break: break-all; }
.card-quote { margin: 8px 0 0; font-size: 13px; color: var(--muted-2); line-height: 1.55; }

/* footer ecosystem row */
.eco-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
}
.eco-label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2);
}
.eco-row a { font-size: 13.5px; color: var(--muted); }
.eco-row a:hover { color: var(--brand); }

/* info boxes side by side (software section) */
.info-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px; margin-top: 8px;
}
.info-grid .info-box { margin-top: 0; max-width: none; }
@media (max-width: 800px) { .info-grid { grid-template-columns: 1fr; } }

/* compact sub-header (overline only) */
.sub-head { margin-top: 40px; margin-bottom: 16px; }

/* ==========================================================================
   2026-11-07 — Item 3: company-profile illustrations (append-only)
   Five pieces: A) /work live-website pulse strip  B) /work internal-ops
   diagram  C) /solutions AIGU OS criteria grid  D) /products 3-day launch
   timeline  E) /contact contact-by-need node pulse line.
   Conventions: original inline SVG (labels are HTML, never SVG text), no
   libraries, no SMIL, new keyframes are transform/opacity only, every block
   is .reveal (IntersectionObserver in app.js). The top-of-file
   prefers-reduced-motion override + the <noscript> style in base.html keep
   the reduced-motion and no-JS guarantees intact.
   ========================================================================== */

/* ---------- A: /work — live pulse strip (hub -> three live sites) ---------- */
.live-strip {
  position: relative; display: flex; align-items: center; flex-wrap: wrap;
  gap: 16px 12px; margin: 18px 0 28px; padding: 20px 18px 18px;
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}
.live-pill {
  position: absolute; top: -11px; right: 18px;
  background: var(--bg-soft);
}
.live-hub {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  padding: 9px 16px 9px 10px; border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(87, 214, 242, 0.18), rgba(127, 230, 210, 0.18));
  color: var(--text); font-weight: 800; letter-spacing: -0.01em; font-size: 15px;
}
.live-mark {
  width: 24px; height: 24px; border-radius: 7px; flex: none;
  background: url("/favicon.svg") center / 100% 100% no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.live-conn { width: 62px; flex: none; display: block; overflow: visible; }
.live-browser {
  position: relative; width: 150px; flex: none;
  border: 1px solid var(--line-strong); border-radius: 13px; overflow: hidden;
  background: var(--panel-strong);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}
.lb-bar {
  display: flex; align-items: center; gap: 5px; padding: 8px 10px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.lb-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.lb-live {
  margin-left: auto; width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 4px rgba(127, 230, 176, 0.14);
  animation: signalPulse 2.4s ease-in-out infinite;
}
.live-strip .live-browser:nth-of-type(3) .lb-live { animation-delay: 0.35s; }
.live-strip .live-browser:nth-of-type(4) .lb-live { animation-delay: 0.7s; }
.lb-body {
  display: flex; align-items: center; justify-content: center;
  height: 84px; color: var(--brand);
}
.lb-body svg {
  width: 34px; height: 34px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 860px) {
  .live-conn { display: none; }
  .live-strip { gap: 12px; padding: 16px 14px 14px; }
  .live-hub { flex: 1 1 100%; justify-content: center; }
  .live-browser { flex: 1 1 100px; width: auto; }
  .lb-body { height: 74px; }
  .lb-body svg { width: 28px; height: 28px; }
}

/* ---------- B: /work — internal ops diagram (enterprise systems) ---------- */
.diag-ops { position: relative; }
.ops-chip {
  position: absolute; top: -12px; right: 18px; padding: 4px 11px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--panel-strong); color: var(--brand-2);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
}
.ops-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 20px 34px; padding: 24px 8px 8px;
}
.ops-ico {
  position: relative; width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  color: var(--brand);
}
.ops-ico svg {
  width: 30px; height: 30px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.ops-gear::before {
  content: ""; position: absolute; inset: -7px; border-radius: 24px;
  border: 1.5px solid rgba(87, 214, 242, 0.55); opacity: 0;
  animation: opsRing 2.8s ease-out infinite;
}
@keyframes opsRing {
  0%   { transform: scale(0.72); opacity: 0; }
  30%  { opacity: 0.75; }
  100% { transform: scale(1.22); opacity: 0; }
}
.ops-lock { animation: lockPulse 2.4s ease-in-out infinite; }
@keyframes lockPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.07); opacity: 0.75; }
}
@media (max-width: 480px) {
  .ops-row { gap: 16px 22px; }
  .ops-ico { width: 58px; height: 58px; }
  .ops-ico svg { width: 26px; height: 26px; }
}

/* ---------- C: /solutions — AIGU OS criteria grid ---------- */
.diag-os { display: flex; flex-direction: column; align-items: center; }
.os-grid {
  position: relative; width: 320px; max-width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.os-cell {
  aspect-ratio: 1; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
}
.os-active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(87, 214, 242, 0.35);
}
.os-next { position: relative; border: 1.5px dashed rgba(87, 214, 242, 0.6); }
.os-next::after {
  content: ""; position: absolute; inset: -6px; border-radius: 16px;
  border: 1.5px solid rgba(87, 214, 242, 0.55); opacity: 0;
  animation: opsRing 2.6s ease-out infinite;
}
.os-dot {
  position: absolute; left: 45px; top: 45px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--brand); z-index: 2; opacity: 0;
  box-shadow: 0 0 10px rgba(87, 214, 242, 0.8);
  animation: osDot 3.2s linear infinite;
}
@keyframes osDot {
  0%   { transform: translateX(0); opacity: 0; }
  12%  { opacity: 0.95; }
  75%  { opacity: 0.95; }
  100% { transform: translateX(var(--os-dist, 110px)); opacity: 0; }
}
.os-chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-top: 20px;
}
@media (max-width: 480px) {
  .os-grid { width: 260px; }
  .os-dot { left: 35px; top: 35px; --os-dist: 90px; }
}

/* ---------- D: /products — 3-day launch timeline (horizontal draw-in) ---------- */
.sw-timeline {
  position: relative; max-width: 720px; margin: 6px auto 34px;
  display: flex; justify-content: space-between;
}
.sw-base {
  position: absolute; left: 16.666%; right: 16.666%; top: 21px; height: 2px;
  background: var(--line); border-radius: 2px;
}
.sw-line {
  position: absolute; left: 16.666%; right: 16.666%; top: 20px; height: 2px;
  pointer-events: none; overflow: visible;
}
.sw-draw {
  stroke: var(--brand); stroke-width: 2; opacity: 0.9;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s ease 0.25s;
}
.sw-timeline.is-in .sw-draw { stroke-dashoffset: 0; }
.sw-streak {
  position: absolute; left: 16.666%; top: 18px; width: 110px; height: 6px;
  border-radius: 3px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(87, 214, 242, 0.5) 50%, transparent 100%);
  animation: streakH 4.2s linear infinite;
}
@keyframes streakH {
  0%   { transform: translateX(0); opacity: 0; }
  12%  { opacity: 0.85; }
  85%  { opacity: 0.85; }
  100% { transform: translateX(var(--sw-dist, 480px)); opacity: 0; }
}
.sw-node {
  position: relative; z-index: 2; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center;
}
.sw-num {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); box-shadow: 0 0 0 6px var(--bg);
}
.sw-num svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.sw-tag {
  margin-top: 12px; max-width: 150px; padding: 7px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(87, 214, 242, 0.06);
  color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.35;
  text-align: center;
}
@media (max-width: 560px) {
  .sw-base { top: 16px; }
  .sw-line { top: 15px; }
  .sw-streak { top: 13px; width: 90px; --sw-dist: 220px; }
  .sw-num { width: 36px; height: 36px; box-shadow: 0 0 0 5px var(--bg); }
  .sw-num svg { width: 16px; height: 16px; }
  .sw-tag { margin-top: 10px; max-width: 104px; padding: 6px 9px; font-size: 11px; }
}

/* ---------- E: /contact — contact-by-need node pulse line ---------- */
.need-grid { position: relative; }
.need-line {
  position: absolute; left: 28px; top: 30px; bottom: 30px; width: 2px;
  border-radius: 2px; z-index: 1;
  background: linear-gradient(180deg, rgba(87, 214, 242, 0.65), rgba(127, 230, 210, 0.65));
  transform: scaleY(0); transform-origin: 50% 0;
  transition: transform 0.9s ease 0.2s;
}
.need-grid.is-in .need-line { transform: scaleY(1); }
.need-row { position: relative; padding-left: 46px; }
.need-row::before {
  content: ""; position: absolute; left: 24px; top: 25px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px rgba(87, 214, 242, 0.14);
  animation: signalPulse 2.4s ease-in-out infinite;
}
.need-grid .need-row:nth-of-type(2)::before { animation-delay: 0.12s; }
.need-grid .need-row:nth-of-type(3)::before { animation-delay: 0.24s; }
.need-grid .need-row:nth-of-type(4)::before { animation-delay: 0.36s; }
.need-grid .need-row:nth-of-type(5)::before { animation-delay: 0.48s; }
@media (max-width: 700px) {
  .need-line { left: 24px; }
  .need-row { padding-left: 42px; }
  .need-row::before { left: 20px; }
}

/* ==========================================================================
   Item 4 — real portfolio imagery (show, don't tell)
   Real screenshots of AIGU's own live sites, paired with the copy.
   Reference pattern: yitec.net (image + text in every section), adapted to
   AIGU's dark enterprise theme. All new blocks are .reveal-gated; no SMIL,
   no new keyframes (reuses signalPulse); the top-of-file
   prefers-reduced-motion override and the base.html noscript rule keep
   everything visible with reduced motion / JS off.
   ========================================================================== */

/* ---------- shared: browser-card frame for a real screenshot ---------- */
.browser-card {
  display: block; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: var(--panel-strong); box-shadow: var(--shadow);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.browser-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.bc-bar {
  display: flex; align-items: center; gap: 9px; padding: 9px 12px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.bc-dots { display: inline-flex; gap: 5px; flex: none; }
.bc-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.bc-url {
  flex: 1 1 auto; min-width: 0; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  color: var(--muted-2); font-size: 12px; letter-spacing: 0.01em; text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bc-live {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--success); box-shadow: 0 0 0 4px rgba(127, 230, 176, 0.14);
  animation: signalPulse 2.4s ease-in-out infinite;
}
.bc-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.shot-cap { margin: 14px 0 0; color: var(--muted-2); font-size: 13.5px; line-height: 1.6; text-align: center; }

/* ---------- /work — real screenshot headers on the representative-site cards ---------- */
.work-shot {
  position: relative; aspect-ratio: 16 / 10;
  margin: -24px -24px 16px; border-bottom: 1px solid var(--line);
  border-radius: 19px 19px 0 0; overflow: hidden; background: var(--panel-strong);
}
.work-shot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transition: transform 0.5s ease;
}
.work-card:hover .work-shot img { transform: scale(1.04); }

/* ---------- /solutions — S.U.N.D.E.Y product screenshot (sundey.ai) ---------- */
.sun-shot { max-width: 880px; margin: 36px auto 6px; }

/* ---------- /products — AIGU Software real site + a real client site on a phone ---------- */
.sw-visual {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 28px; margin-top: 32px;
}
.sw-visual .browser-card { flex: 1 1 440px; max-width: 640px; }
.sw-visual .browser-card .bc-live { animation-delay: 0.3s; }
.phone-frame {
  position: relative; width: 218px; flex: none; margin-top: 6px;
  border: 1px solid var(--line-strong); border-radius: 34px; background: #04100f;
  padding: 12px; box-shadow: var(--shadow);
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 62px; height: 5px; border-radius: 3px; background: #16333a; z-index: 2;
}
.phone-shot {
  width: 100%; aspect-ratio: 35 / 75; object-fit: cover; display: block;
  border-radius: 24px;
}
@media (max-width: 640px) {
  .sw-visual .browser-card { flex-basis: 100%; }
  .phone-frame { width: 188px; margin-top: 0; }
}
