/* ===== O.1 Web Profile ===== */
:root {
  --purple: #714B67;
  --purple-dark: #5a3d52;
  --purple-light: #8f6b84;
  --teal: #00A09D;
  --teal-dark: #008784;
  --green: #006C35;
  --gold: #D4AF37;
  --blue: #226DB4;
  --text: #1a1f36;
  --muted: #697386;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --border: #e3e8ef;
  --font-en: 'Inter', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --wrap: 1140px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(26,31,54,0.07);
  --shadow-lg: 0 12px 40px rgba(26,31,54,0.1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-en);
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(113,75,103,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 90% 5%, rgba(0,108,53,0.05) 0%, transparent 45%),
    var(--bg);
  line-height: 1.65;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(113,75,103,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113,75,103,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}
body > * { position: relative; z-index: 1; }a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.wrap {
  width: min(var(--wrap), 92vw);
  margin-inline: auto;
}

/* ===== Site header — CopyGen S4 dark theme ===== */
.site-hero {
  position: relative;
  background: #06080f;
  overflow: hidden;
}
.cg-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.cg-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 15, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.cg-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.cg-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cg-logo svg { width: 40px; height: 40px; display: block; }
.brand-o1 {
  font-family: 'Inter', ui-monospace, monospace;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-dot {
  color: var(--teal);
}
.brand-slogan {
  display: block;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  letter-spacing: 0.02em;
  line-height: 1.35;
  max-width: 160px;
}
.cg-brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cg-brand-text small {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}
.cg-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
}
.cg-menu a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}
.cg-menu a:hover { color: #fff; }
.cg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.cg-btn-nav {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  box-shadow: 0 6px 20px rgba(113, 75, 103, 0.35);
}
.cg-btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(113, 75, 103, 0.45);
}
.cg-btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(113, 75, 103, 0.35);
}
.cg-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(113, 75, 103, 0.45);
}
.cg-btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.cg-btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(0, 160, 157, 0.1);
  transform: translateY(-1px);
}

/* Hero */
.cg-hero {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 9vw, 96px) 0 clamp(48px, 7vw, 72px);
  --accent: var(--purple);
}
.cg-hero-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(36px, 5vw, 56px);
}
.cg-hero-copy {
  max-width: 680px;
}
.cg-hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateY(var(--pattern-y, 0px));
}
.cg-binary-tree {
  position: absolute;
  inset: -10% -5%;
  z-index: 1;
  opacity: 0.45;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, black 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, black 15%, transparent 75%);
}
.cg-tree-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cg-binary-digits {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 1;
  pointer-events: none;
  font-family: 'Inter', ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.07;
  overflow: hidden;
}
.cg-binary-digits span {
  color: var(--teal);
  animation: digitFall 18s linear infinite;
  animation-delay: calc(var(--i, 0) * -1.5s);
}
.cg-binary-digits-left {
  left: clamp(8px, 3vw, 48px);
}
.cg-binary-digits-right {
  right: clamp(8px, 3vw, 48px);
}
.cg-binary-digits-right span { color: var(--purple-light); }
.cg-binary-digits span:nth-child(1) { --i: 0; }
.cg-binary-digits span:nth-child(2) { --i: 1; }
.cg-binary-digits span:nth-child(3) { --i: 2; }
.cg-binary-digits span:nth-child(4) { --i: 3; }
.cg-binary-digits span:nth-child(5) { --i: 4; }
.cg-binary-digits span:nth-child(6) { --i: 5; }
.cg-binary-digits span:nth-child(7) { --i: 6; }
.cg-binary-digits span:nth-child(8) { --i: 7; }
.cg-binary-digits span:nth-child(9) { --i: 8; }
.cg-binary-digits span:nth-child(10) { --i: 9; }
.cg-binary-digits span:nth-child(11) { --i: 10; }
.cg-binary-digits span:nth-child(12) { --i: 11; }
@keyframes digitFall {
  0% { transform: translateY(-120%); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateY(120%); opacity: 0; }
}
.cg-pattern-svg {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.cg-hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
  mix-blend-mode: overlay;
}
.cg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.7;
  animation: blobFloat 14s ease-in-out infinite;
  z-index: 2;
}
.cg-blob-1 {
  width: 420px;
  height: 420px;
  top: -12%;
  left: -8%;
  background: rgba(113, 75, 103, 0.35);
}
.cg-blob-2 {
  width: 360px;
  height: 360px;
  bottom: -5%;
  right: -6%;
  background: rgba(0, 160, 157, 0.22);
  animation-delay: -4s;
}
.cg-blob-3 {
  width: 280px;
  height: 280px;
  top: 35%;
  left: 38%;
  background: rgba(0, 108, 53, 0.18);
  animation-delay: -8s;
}
.cg-blob-4 {
  width: 200px;
  height: 200px;
  top: 15%;
  left: 12%;
  background: rgba(34, 109, 180, 0.16);
  animation-delay: -2s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-15px, 10px) scale(0.97); }
}
.cg-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.cg-eyebrow {
  display: inline-flex;
  padding: 5px 12px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.cg-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.cg-grad {
  position: relative;
  display: inline-block;
  background: linear-gradient(
    120deg,
    #c49bb8 0%,
    var(--teal) 35%,
    #4caf7a 55%,
    var(--teal) 75%,
    #c49bb8 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShimmer 5s ease-in-out infinite;
}
.cg-hero-copy h1 span:not(.cg-grad) {
  background: linear-gradient(135deg, #c49bb8 0%, var(--teal) 55%, #4caf7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes gradShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.cg-lead {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
  margin-inline: auto;
}
.cg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
  justify-content: center;
}
.cg-metrics-inline {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 48px);
  justify-content: center;
  padding-top: 0;
  border-top: none;
}
.cg-metrics-inline .cg-metric strong {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c, #fff);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}
.cg-metrics-inline .cg-metric span {
  font-size: 0.72rem;
}

.cg-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cg-metric span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

/* Hero bento visual */
.cg-hero-visual {
  position: relative;
  width: min(820px, 100%);
}
.cg-hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--accent, var(--purple)) 18%, transparent) 0%,
    transparent 70%
  );
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  transition: opacity 0.5s ease;
}
.hero-bento {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(16px, 3vw, 24px);
  backdrop-filter: blur(8px);
}
.bento-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.bento-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: clamp(18px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: #fff;
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  isolation: isolate;
}
.bento-pillar::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  padding: 1.5px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    var(--c),
    var(--teal),
    var(--purple),
    var(--blue),
    var(--c)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: -1;
}
.bento-pillar.is-active::before {
  opacity: 1;
  animation: borderSpin 3s linear infinite;
}
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes borderSpin {
  to { --border-angle: 360deg; }
}
.bento-pillar:hover {
  border-color: color-mix(in srgb, var(--c) 40%, transparent);
  background: rgba(255, 255, 255, 0.06);
}
.bento-pillar.is-active {
  background: color-mix(in srgb, var(--c) 12%, rgba(12, 15, 24, 0.9));
  border-color: transparent;
  box-shadow: 0 8px 32px color-mix(in srgb, var(--c) 20%, transparent);
  transform: translateY(-2px);
}
.bento-pillar-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  border-radius: 12px;
  color: var(--c);
}
.bento-pillar-icon svg { width: 20px; height: 20px; }
.bento-pillar-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c);
}
.bento-pillar-svc {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  transition: opacity 0.36s ease, transform 0.36s ease;
}
.bento-pillar-svc.is-switch {
  opacity: 0;
  transform: translateY(6px);
}
.bento-pillar-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bento-pillar.is-active .bento-pillar-desc { color: rgba(255, 255, 255, 0.55); }
.bento-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  justify-content: center;
}
.bento-chip {
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  transition: 0.35s ease;
}
.bento-chip.is-on {
  background: color-mix(in srgb, var(--c) 18%, transparent);
  border-color: color-mix(in srgb, var(--c) 45%, transparent);
  color: color-mix(in srgb, var(--c) 70%, white);
}
.hero-bento-progress {
  height: 2px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.hero-bento-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  transition: width 0.1s linear;
}
.cg-mockup {
  position: relative;
  background: #0c0f18;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.3),
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(113, 75, 103, 0.08);
  overflow: hidden;
}
.cg-mockup::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(113,75,103,0.45), rgba(0,160,157,0.35), rgba(0,108,53,0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.cg-mockup-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #141824 0%, #0e1119 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cg-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.cg-dot:nth-child(1) { background: #ff6b6b; opacity: 0.85; }
.cg-dot:nth-child(2) { background: #ffd93d; opacity: 0.85; }
.cg-dot:nth-child(3) { background: #6bcb77; opacity: 0.85; }
.cg-mockup-url {
  margin-left: auto;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cg-mockup-body {
  min-height: 320px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cg-mockup-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
}
.cg-mockup-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  transition: width 0.1s linear;
}

/* App mockup interior */
.app-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.app-tab {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.25s ease;
}
.app-tab svg { width: 18px; height: 18px; }
.app-tab:hover {
  border-color: color-mix(in srgb, var(--c) 50%, transparent);
  color: var(--c);
  background: rgba(255, 255, 255, 0.06);
}
.app-tab.is-active {
  background: color-mix(in srgb, var(--c) 18%, #0c0f18);
  border-color: var(--c);
  color: var(--c);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--c) 25%, transparent);
}
.app-main {
  flex: 1;
  position: relative;
  min-height: 160px;
}
.app-scenes { position: relative; min-height: 160px; }
.app-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}
.app-scene.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.app-scene-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--c) 15%, #0c0f18);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  border-radius: 14px;
  color: var(--c);
  margin-bottom: 12px;
}
.app-scene-icon svg { width: 24px; height: 24px; }
.app-scene-tag {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c);
  margin-bottom: 6px;
}
.app-scene-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
  transition: opacity 0.36s ease, transform 0.36s ease;
}
.app-scene-title.is-switch {
  opacity: 0;
  transform: translateY(6px);
}
.app-scene-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 95%;
}
.app-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.app-chip {
  padding: 5px 11px;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  transition: 0.35s ease;
}
.app-chip.is-on {
  background: color-mix(in srgb, var(--c) 20%, #0c0f18);
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  color: color-mix(in srgb, var(--c) 70%, white);
}

/* Floating cards */
.cg-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(12, 15, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 160, 157, 0.08);
  backdrop-filter: blur(10px);
  animation: floatBob 5s ease-in-out infinite;
}
.cg-float-a {
  top: 8%;
  right: -6%;
  animation-delay: 0s;
}
.cg-float-b {
  bottom: 12%;
  left: -4%;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  animation-delay: -2.5s;
}
.cg-float-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 18%, #0c0f18);
  border-radius: 10px;
  color: var(--accent);
}
.cg-float-icon svg { width: 18px; height: 18px; }
.cg-float strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}
.cg-float small {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}
.cg-float-badge {
  font-family: var(--font-en);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--teal);
  background: rgba(0, 160, 157, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
/* ===== Hero (legacy + compact) ===== */
.hero {
  position: relative;
  background: linear-gradient(165deg, #fff 0%, #f9f7fb 50%, #eef4fc 100%);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(113,75,103,0.08) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(0,108,53,0.06) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}
.hero-tech-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.tech-grid-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}
.tech-circuit-lines {
  position: absolute;
  inset: 0;
}
.tech-circuit-lines span {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(0,160,157,0.25), transparent);
  height: 1px;
  animation: circuitFlow 8s linear infinite;
}
.tech-circuit-lines span:nth-child(1) {
  top: 22%;
  left: -10%;
  width: 45%;
  animation-delay: 0s;
}
.tech-circuit-lines span:nth-child(2) {
  top: 58%;
  right: -5%;
  width: 55%;
  animation-delay: -3s;
  background: linear-gradient(90deg, transparent, rgba(113,75,103,0.2), transparent);
}
.tech-circuit-lines span:nth-child(3) {
  bottom: 18%;
  left: 10%;
  width: 35%;
  animation-delay: -5s;
}
@keyframes circuitFlow {
  0% { opacity: 0; transform: translateX(-20px); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(20px); }
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 18px;
  color: var(--text);
}
.hero h1 span {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 24px;
  line-height: 1.85;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-pills span {
  padding: 7px 15px;
  background: rgba(255,255,255,0.8);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  transition: 0.2s;
}
.hero-pills span:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow);
}

/* ===== Hero Spotlight (Bento + Live Panel) ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.hero-showcase {
  width: min(460px, 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.spotlight-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.bento-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  font-family: inherit;
  color: var(--text);
}
.bento-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--c) 35%, transparent);
}
.bento-tile.is-active {
  background: color-mix(in srgb, var(--c) 9%, white);
  border-color: var(--c);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--c) 18%, transparent);
  transform: translateY(-3px);
}
.bento-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c);
}
.bento-icon svg { width: 22px; height: 22px; }
.bento-name {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}
.bento-num {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 20px;
}
.bento-tile.is-active .bento-num {
  background: color-mix(in srgb, var(--c) 15%, white);
  color: var(--c);
}
.spotlight-stage {
  --c: var(--purple);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: box-shadow 0.35s ease;
}
.spotlight-stage::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 50%, white));
}
.spotlight-stage.is-pulse {
  box-shadow: 0 16px 48px color-mix(in srgb, var(--c) 22%, transparent);
}
.spotlight-stage-inner {
  padding: 22px 22px 18px;
}
.spot-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}
.spot-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.35;
  transition: opacity 0.3s ease;
}
.spot-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
  transition: opacity 0.3s ease;
}
.spotlight-stage.is-switching .spot-title,
.spotlight-stage.is-switching .spot-desc {
  opacity: 0;
}
.spot-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 72px;
  margin-bottom: 16px;
}
.spot-svc {
  padding: 5px 11px;
  background: color-mix(in srgb, var(--c) 8%, white);
  border: 1px solid color-mix(in srgb, var(--c) 20%, transparent);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  animation: spotSvcIn 0.45s ease forwards;
  animation-delay: var(--d);
}
@keyframes spotSvcIn {
  to { opacity: 1; transform: translateY(0); }
}
.spot-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.spot-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}
.spot-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c);
  transition: 0.2s;
}
.spot-link:hover { opacity: 0.75; }
.spot-progress {
  height: 3px;
  background: var(--bg-alt);
  border-radius: 3px;
  overflow: hidden;
}
.spot-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--c);
  border-radius: 3px;
  animation: spotProgress 4.5s linear forwards;
}
@keyframes spotProgress {
  to { width: 100%; }
}

/* ===== Showcase — video stage + cosmos services ===== */
.video-stage {
  position: relative;
  z-index: 3;
  flex: 1;
  width: 100%;
  min-height: clamp(400px, 70vh, 680px);
  overflow: hidden;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.product-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.prod-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 56px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
  text-align: center;
}
.prod-scene.is-active {
  opacity: 1;
  visibility: visible;
}
.prod-scene-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.prod-scene-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: var(--c);
  backdrop-filter: blur(6px);
}
.prod-scene-icon svg { width: 22px; height: 22px; }
.prod-scene-cat {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 800;
  color: rgba(255,255,255,0.85);
}

/* ── Nexus Command UI ── */
.nexus-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  z-index: 4;
}
.nexus-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  border-radius: 14px;
  color: var(--c);
  box-shadow: 0 0 24px color-mix(in srgb, var(--c) 20%, transparent);
  backdrop-filter: blur(8px);
}
.nexus-icon svg { width: 24px; height: 24px; }
.nexus-meta { text-align: left; }
.nexus-tag {
  display: block;
  font-family: var(--font-en);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--c) 80%, white);
  opacity: 0.85;
  margin-bottom: 2px;
}
.nexus-cat {
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}
.nexus-stage {
  position: relative;
  width: min(520px, 94vw);
  height: min(380px, 62vw);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nexus-beams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.nexus-beam-ring {
  fill: none;
  stroke: color-mix(in srgb, var(--c) 15%, transparent);
  stroke-width: 0.3;
  stroke-dasharray: 2 3;
}
.nexus-beam {
  stroke: color-mix(in srgb, var(--c) 20%, transparent);
  stroke-width: 0.35;
  stroke-linecap: round;
  transition: stroke 0.5s ease, stroke-width 0.5s ease;
}
.nexus-beam.is-on {
  stroke: var(--c);
  stroke-width: 0.7;
  filter: drop-shadow(0 0 4px var(--c));
  animation: beamPulse 1.8s ease-in-out infinite;
}
@keyframes beamPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.nexus-core {
  position: relative;
  z-index: 3;
  width: min(200px, 46vw);
  height: min(200px, 46vw);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nexus-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--c) 10%, transparent);
}
.nexus-orbit-1 {
  inset: -6%;
  animation: orbitSpin1 22s linear infinite;
}
.nexus-orbit-2 {
  inset: -18%;
  border-style: dashed;
  opacity: 0.6;
  animation: orbitSpin2 35s linear infinite reverse;
}
.nexus-orbit-3 {
  inset: -32%;
  opacity: 0.35;
  animation: orbitSpin3 50s linear infinite;
}
@keyframes orbitSpin1 {
  to { transform: rotateX(62deg) rotateZ(360deg); }
}
@keyframes orbitSpin2 {
  to { transform: rotateX(72deg) rotateY(45deg) rotateZ(-360deg); }
}
@keyframes orbitSpin3 {
  to { transform: rotateX(55deg) rotateZ(360deg); }
}
.nexus-pulse {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 35%, transparent) 0%, transparent 70%);
  animation: corePulse 3.5s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.nexus-core.is-pulse .nexus-pulse {
  animation: coreBurst 0.6s ease-out;
}
@keyframes coreBurst {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}
.nexus-label {
  position: relative;
  z-index: 2;
  max-width: 88%;
  font-size: clamp(1.15rem, 3.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  color: #fff;
  text-shadow:
    0 0 30px color-mix(in srgb, var(--c) 50%, transparent),
    0 0 60px color-mix(in srgb, var(--c) 25%, transparent);
  transition: opacity 0.38s ease, transform 0.38s ease, filter 0.38s ease;
  padding: 0 10px;
}
.nexus-label.is-switch {
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  filter: blur(4px);
}
.nexus-hex-ring {
  position: absolute;
  inset: 0;
  z-index: 2;
  animation: hexDrift 100s linear infinite;
}
@keyframes hexDrift {
  to { transform: rotate(360deg); }
}
.nexus-hex {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 80px;
  transform:
    translate(-50%, -50%)
    rotate(calc(360deg / var(--total) * var(--i)))
    translateY(calc(-1 * min(165px, 26vw)))
    rotate(calc(-360deg / var(--total) * var(--i)));
  opacity: 0.45;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.nexus-hex.is-on {
  opacity: 1;
  z-index: 4;
  transform:
    translate(-50%, -50%)
    rotate(calc(360deg / var(--total) * var(--i)))
    translateY(calc(-1 * min(165px, 26vw)))
    rotate(calc(-360deg / var(--total) * var(--i)))
    scale(1.08);
}
.nexus-hex-shape {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 40px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(0, 0, 0, 0.45);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.4s ease, background 0.4s ease;
}
.nexus-hex.is-on .nexus-hex-shape {
  background: color-mix(in srgb, var(--c) 30%, rgba(0, 0, 0, 0.5));
  box-shadow:
    inset 0 0 0 1px var(--c),
    0 0 20px color-mix(in srgb, var(--c) 45%, transparent);
}
.nexus-hex-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: 0.4s ease;
}
.nexus-hex.is-on .nexus-hex-dot {
  width: 10px;
  height: 10px;
  background: #fff;
  box-shadow: 0 0 12px var(--c);
}
.nexus-hex-name {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.2;
  max-width: 76px;
  transition: color 0.4s ease;
}
.nexus-hex.is-on .nexus-hex-name {
  color: #fff;
}
.showcase-ui {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.showcase-ui > * { pointer-events: auto; }
.showcase-hud {
  position: absolute;
  top: 20px;
  right: clamp(16px, 4vw, 48px);
  left: clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.hud-rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
}
.hud-rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  animation: recBlink 1.2s ease-in-out infinite;
}
@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hud-brand { display: none; }
.hud-time {
  padding: 4px 10px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(4px);
  margin-left: auto;
}
.showcase-toggle {
  position: absolute;
  bottom: 28px;
  left: clamp(16px, 4vw, 48px);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: 0.2s;
}
.showcase-toggle svg { width: 16px; height: 16px; }
.showcase-toggle:hover {
  background: rgba(113,75,103,0.55);
  border-color: rgba(255,255,255,0.35);
}
.showcase-tabs {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  backdrop-filter: blur(8px);
}
.showcase-tab {
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: 0.25s ease;
}
.showcase-tab svg { width: 18px; height: 18px; }
.showcase-tab:hover {
  background: color-mix(in srgb, var(--c) 15%, transparent);
  color: #fff;
}
.showcase-tab.is-active {
  background: color-mix(in srgb, var(--c) 30%, transparent);
  border-color: var(--c);
  color: #fff;
  box-shadow: 0 0 16px color-mix(in srgb, var(--c) 40%, transparent);
}
.showcase-progress-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}
.showcase-progress-wrap .cap-progress {
  display: block;
  height: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.showcase-progress-wrap .cap-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--purple));
}

/* ===== Hero compact intro ===== */
.hero-compact {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #f9f7fb 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-compact-inner { max-width: 640px; }
.hero-compact h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
}
.hero-compact h1 span {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-compact .hero-lead {
  margin-inline: auto;
  margin-bottom: 24px;
}
.hero-cta {
  display: inline-flex;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(113,75,103,0.3);
  transition: 0.25s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(113,75,103,0.4);
}

/* ===== Category Nav ===== */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 40px;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  position: sticky;
  top: 68px;
  z-index: 50;
  box-shadow: var(--shadow);
}
.cat-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid transparent;
  transition: 0.25s ease;
}
.cat-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  opacity: 0.5;
  transition: 0.25s;
}
.cat-nav-item:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--c) 8%, white);
  border-color: color-mix(in srgb, var(--c) 20%, transparent);
}
.cat-nav-item.active {
  color: var(--text);
  background: color-mix(in srgb, var(--c) 12%, white);
  border-color: var(--c);
}
.cat-nav-item.active .cat-nav-dot { opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }

/* ===== Service Categories — Replit-style feature grid ===== */
.service-category {
  margin-bottom: 56px;
  scroll-margin-top: 120px;
}
.service-category:last-child { margin-bottom: 0; }
.cat-block-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.cat-block-icon {
  width: 44px;
  height: 44px;
  background: color-mix(in srgb, var(--c) 10%, white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cat-block-icon svg { width: 22px; height: 22px; color: var(--c); }
.cat-block-head h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}
.cat-block-head p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.feat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feat-card:hover {
  border-color: color-mix(in srgb, var(--c) 35%, transparent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--c) 10%, transparent);
  transform: translateY(-1px);
}
.feat-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--c) 10%, white);
  border-radius: 8px;
  color: var(--c);
}
.feat-icon svg { width: 16px; height: 16px; }
.feat-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.cat-more {
  text-align: center;
  margin-top: 8px;
}
.cat-more a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--purple);
  transition: 0.2s;
}
.cat-more a:hover { color: var(--teal-dark); }
.erp-subgroups { margin-top: 8px; }
.sub-group { margin-bottom: 40px; }
.sub-group:last-child { margin-bottom: 0; }
.sub-group-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--teal);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--purple);
  background: rgba(113,75,103,0.08);
  border: 1px solid rgba(113,75,103,0.15);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.local-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.local-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
}
.local-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: var(--border);
  transition: 0.25s;
}
.local-card.featured::before {
  background: linear-gradient(90deg, var(--purple), var(--teal));
}
.local-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(113,75,103,0.2);
}
.local-num {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--purple);
  opacity: 0.2;
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}
.local-card h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.local-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== Section Head ===== */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 10px;
}
.section-head p {
  font-size: 1rem;
  color: var(--muted);
}
.section-head.light h2,
.section-head.light p { color: #fff; }
.section-head.light p { opacity: 0.85; }

/* ===== Solutions ===== */
.solutions {
  padding: 80px 0;
  background: var(--bg);
  position: relative;
}
.solutions::before { display: none; }
.solution-group {
  margin-bottom: 56px;
}
.solution-group:last-child { margin-bottom: 0; }

.group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.group-icon {
  width: 48px;
  height: 48px;
  background: color-mix(in srgb, var(--c) 12%, white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.group-icon svg {
  width: 24px;
  height: 24px;
  color: var(--c);
}
.group-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 2px;
}
.group-header p {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-en);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.sol-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: 0.25s ease;
}
.sol-card:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}.sol-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.sol-card > p {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.sol-card ul li {
  font-size: 0.8rem;
  color: var(--text);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sol-card ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ===== AI Section ===== */
.ai-section {
  background: linear-gradient(160deg, var(--purple-dark) 0%, var(--purple) 50%, #4a3055 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,160,157,0.15) 0%, transparent 70%);
  pointer-events: none;
}.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.ai-block {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: 0.25s;
  backdrop-filter: blur(4px);
}.ai-block:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
}
.ai-block h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.ai-block p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ===== Platform — Replit-style blocks ===== */
.platform {
  padding: 80px 0;
  background: var(--bg);
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.plat-card {
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.plat-card:hover {
  border-color: color-mix(in srgb, var(--c, var(--purple)) 35%, transparent);
  box-shadow: 0 6px 24px color-mix(in srgb, var(--c, var(--purple)) 10%, transparent);
  transform: translateY(-2px);
}
.plat-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--c, var(--purple)) 10%, white);
  border-radius: 10px;
  color: var(--c, var(--purple));
  margin-bottom: 14px;
}
.plat-icon svg { width: 18px; height: 18px; }
.plat-card h4 {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.plat-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== Footer ===== */
.profile-foot {
  position: relative;
  background: linear-gradient(135deg, #1a1520 0%, var(--purple-dark) 50%, #12101a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.foot-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
}
.foot-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px clamp(16px, 4vw, 32px);
  font-size: 0.78rem;
}
.foot-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.foot-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.7;
}
.foot-copy {
  color: rgba(255, 255, 255, 0.5);
}
.foot-link {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 5px 14px;
  border: 1px solid rgba(0, 160, 157, 0.35);
  border-radius: 50px;
  transition: 0.2s;
}
.foot-link:hover {
  background: rgba(0, 160, 157, 0.15);
  color: #fff;
}

/* ===== Reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cat-nav { top: 62px; gap: 4px; padding: 6px; border-radius: 16px; }
  .cat-nav-item { padding: 6px 12px; font-size: 0.72rem; }
  .cat-block-head { flex-wrap: wrap; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .bento-pillars { grid-template-columns: 1fr; }
  .bento-pillar-desc { display: block; -webkit-line-clamp: unset; }
  .cg-menu { display: none; }
}
@media (max-width: 600px) {
  .solutions, .platform { padding: 56px 0; }
  .platform-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .foot-bar { gap: 10px; padding: 12px 16px; }
  .foot-divider { display: none; }
  .cg-nav-inner { padding: 12px 0; }
  .cg-btn-nav { padding: 9px 16px; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cg-blob {
    animation: none !important;
  }
  .cg-grad {
    animation: none !important;
    background-size: 100% auto;
  }
  .bento-pillar.is-active::before {
    animation: none !important;
    --border-angle: 45deg;
  }
  .cg-binary-digits {
    display: none;
  }
  .cg-binary-tree {
    opacity: 0.3;
  }
  .cg-hero-pattern {
    transform: none !important;
  }
  .cg-binary-digits span {
    animation: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
