﻿/* =========================================================
   SVELA AI Software Labs - Design System
   Modern dark theme with neon cyan + violet accents
   ========================================================= */

:root {
  /* Surfaces */
  --bg: #050810;
  --bg-2: #0a0f1c;
  --surface: #0e1525;
  --surface-2: #131b2e;
  --surface-3: #1a2338;
  --line: rgba(148, 163, 184, 0.12);
  --line-strong: rgba(148, 163, 184, 0.22);

  /* Text */
  --text: #e6edf7;
  --text-strong: #f8fafc;
  --muted: #94a3b8;
  --dim: #64748b;

  /* Accents */
  --cyan: #22d3ee;
  --cyan-2: #0ea5b7;
  --violet: #8b5cf6;
  --violet-2: #6d28d9;
  --pink: #ec4899;
  --amber: #fbbf24;
  --green: #34d399;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 60%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.18));
  --grad-glow: radial-gradient(900px circle at 50% 0%, rgba(139, 92, 246, 0.18), transparent 60%);

  /* Effects */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.55);
  --shadow-glow-cyan: 0 0 32px rgba(34, 211, 238, 0.35);
  --shadow-glow-violet: 0 0 32px rgba(139, 92, 246, 0.35);

  /* Layout */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1240px;
  --pad-x: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
*::selection { background: rgba(34, 211, 238, 0.35); color: var(--text-strong); }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* overflow-x: clip prevents horizontal overflow without turning <body> into
     a scroll container. Using "hidden" here makes computed overflow "hidden auto",
     creating a second scrolling element that breaks native hash-link scrolling. */
  overflow-x: clip;
}

/* Background ambience */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(1000px 600px at 95% 10%, rgba(139, 92, 246, 0.14), transparent 60%),
    radial-gradient(900px 500px at 50% 110%, rgba(236, 72, 153, 0.08), transparent 60%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px var(--pad-x);
  color: var(--text);
  background: rgba(5, 8, 16, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 8, 16, 0.82);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--text-strong);
}

.brand small {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav > a {
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease;
}

.site-nav > a:hover { color: var(--text-strong); background: rgba(255, 255, 255, 0.04); }

.nav-cta {
  margin-left: 8px;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  color: #0a0f1c !important;
  background: var(--grad-primary);
  font-weight: 700;
  box-shadow: var(--shadow-glow-cyan);
}

.nav-cta:hover { background: var(--grad-primary) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease, border-color 200ms ease;
  white-space: nowrap;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.button.primary {
  color: #08101f;
  background: var(--grad-primary);
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.button.primary:hover { box-shadow: 0 16px 38px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.button.secondary {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
}
.button.secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(148, 163, 184, 0.4); }

.button.ghost {
  color: var(--cyan);
  background: transparent;
  border-color: rgba(34, 211, 238, 0.35);
}
.button.ghost:hover { background: rgba(34, 211, 238, 0.08); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 108px var(--pad-x) 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1100px 600px at 18% 25%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(900px 600px at 85% 30%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(700px 500px at 60% 90%, rgba(236, 72, 153, 0.14), transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
}

.hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: var(--muted);
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-badge strong { color: var(--text-strong); font-weight: 700; }

.hero h1 {
  font-size: clamp(2.35rem, 3.8vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0 0 24px;
  max-width: 16ch;
}

.hero h1 .grad {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-copy {
  max-width: 620px;
  margin: 0;
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 34px;
  color: var(--dim);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.hero-visual {
  position: relative;
  min-height: min(62vh, 600px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 16, 0.18), transparent 45%),
    linear-gradient(0deg, rgba(5, 8, 16, 0.7), transparent 44%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 58% 50%;
}

.hero-visual-panel {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  width: min(260px, calc(100% - 44px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 8, 16, 0.76);
  backdrop-filter: blur(16px);
}

.hero-visual-panel span,
.hero-visual-panel small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual-panel strong {
  display: block;
  margin: 4px 0;
  font-size: 3rem;
  line-height: 1;
  color: var(--text-strong);
}

.hero-visual-panel small {
  color: var(--text);
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.hero-visual-strip {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 22px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-visual-strip span {
  padding: 7px 10px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
  background: rgba(5, 8, 16, 0.62);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}

/* =========================================================
   SECTION SCAFFOLDING
   ========================================================= */
.section {
  position: relative;
  padding: clamp(72px, 10vw, 130px) var(--pad-x);
  scroll-margin-top: 90px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.06);
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading.left { text-align: left; margin-left: 0; margin-right: 0; }

.section-heading h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading h2 .grad {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats {
  padding: 60px var(--pad-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 21, 37, 0.6), rgba(10, 15, 28, 0.6));
}

.stats-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  text-align: center;
}

.stat-item .num {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-item .label {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* =========================================================
   PLATFORM
   ========================================================= */
.platform {
  background:
    linear-gradient(180deg, rgba(14, 21, 37, 0.48), transparent 74%);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.platform-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  transition: transform 240ms ease, border-color 220ms ease, background 220ms ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(255, 255, 255, 0.045);
}

.platform-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
}

.platform-card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.platform-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

.platform-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}

.platform-flow div {
  min-height: 150px;
  padding: 24px;
  background: rgba(10, 15, 28, 0.92);
}

.platform-flow strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-strong);
  font-size: 1.05rem;
}

.platform-flow span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-copy h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 22px; }
.about-copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 18px; }

.about-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.value-pill {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 200ms ease, transform 200ms ease;
}
.value-pill:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-2px); }

.value-pill h4 {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.98rem;
  margin-bottom: 6px;
}
.value-pill h4::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--grad-primary);
}
.value-pill p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

.about-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.4), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.4), transparent 50%);
  filter: blur(20px);
}

.about-visual svg {
  position: relative;
  width: 70%;
  height: 70%;
}

/* =========================================================
   BUSINESS
   ========================================================= */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.biz-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 280ms ease, border-color 220ms ease, box-shadow 280ms ease;
}

.biz-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 280ms ease;
}

.biz-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--shadow-md);
}
.biz-card:hover::before { opacity: 0.4; }

.biz-card > * { position: relative; }

.biz-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.biz-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.biz-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.biz-card p { color: var(--muted); line-height: 1.7; font-size: 0.96rem; }

/* =========================================================
   SOLUTIONS GRID
   ========================================================= */
.solutions {
  background:
    linear-gradient(180deg, transparent, rgba(14, 21, 37, 0.4) 40%, transparent 100%);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: transform 240ms ease, border-color 220ms ease, background 220ms ease;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(255, 255, 255, 0.04);
}
.solution-card:hover::before { opacity: 0.35; }

.solution-card > * { position: relative; }

.solution-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--grad-soft);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.22);
}

.solution-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  letter-spacing: 0;
}

.solution-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.product-section {
  padding-top: clamp(56px, 7vw, 88px);
}

.product-section .section-heading {
  margin-bottom: 36px;
}

.product-section .section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.launch-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 980px;
  margin: -8px auto 28px;
  padding: 18px 20px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(34, 211, 238, 0.07));
  color: var(--muted);
}

.launch-note strong {
  flex: 0 0 auto;
  color: var(--amber);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.launch-note span {
  line-height: 1.65;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 220ms ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--grad-primary);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card:hover::after { opacity: 1; }
.product-card.featured::after { opacity: 0.6; }
.product-card.featured { box-shadow: 0 20px 60px rgba(139, 92, 246, 0.18); }

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.product-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--grad-soft);
  color: var(--text-strong);
  border: 1px solid var(--line-strong);
}

.product-icon svg {
  width: 32px; height: 32px;
  fill: none;
  stroke: url(#productGrad);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.product-card > p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.product-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.product-card li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 8px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

.product-link {
  margin-top: auto;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 200ms ease, color 200ms ease;
}
.product-link:hover { gap: 12px; color: var(--text-strong); }

/* =========================================================
   CAPABILITIES
   ========================================================= */
.capabilities { background: linear-gradient(180deg, transparent, rgba(14, 21, 37, 0.6) 30%, transparent 100%); }

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.capability-list > div {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 250ms ease, border-color 200ms ease;
}

.capability-list > div:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.3);
}

.capability-list span {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.capability-list h3 {
  margin: 14px 0 12px;
  font-size: 1.3rem;
}

.capability-list p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 12px; left: 22px;
  font-size: 5rem;
  line-height: 1;
  color: var(--violet);
  opacity: 0.25;
  font-family: Georgia, serif;
}

.testimonial blockquote {
  margin: 24px 0 24px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
  font-weight: 500;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  color: #0a0f1c;
  background: var(--grad-primary);
}

.testimonial-author strong { display: block; color: var(--text-strong); font-size: 0.95rem; }
.testimonial-author span { color: var(--muted); font-size: 0.84rem; }

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  margin-top: 60px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.logo-wall span {
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--dim);
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.logo-wall span:hover { color: var(--text-strong); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 22px; }
.contact-info p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 30px; }

.contact-channels {
  display: grid;
  gap: 18px;
}

.channel {
  display: flex;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 200ms ease;
}

.channel:hover { border-color: rgba(34, 211, 238, 0.3); }

.channel-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--grad-soft);
  color: var(--cyan);
  flex-shrink: 0;
}

.channel-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.channel-content strong { display: block; color: var(--text-strong); font-size: 0.95rem; margin-bottom: 2px; }
.channel-content span,
.channel-content a { color: var(--muted); font-size: 0.92rem; }
.channel-content a:hover { color: var(--cyan); }

.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text-strong);
  background: rgba(5, 8, 16, 0.5);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--dim); }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
  background: rgba(5, 8, 16, 0.7);
}

.contact-form .button { width: 100%; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  padding: clamp(48px, 6vw, 80px) var(--pad-x);
}

.cta-card {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 70px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(139, 92, 246, 0.35);
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(236, 72, 153, 0.18), transparent 60%),
    linear-gradient(135deg, var(--surface), var(--bg-2));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  margin-bottom: 16px;
  line-height: 1.1;
}

.cta-card p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 auto 32px;
  max-width: 560px;
  line-height: 1.65;
}

.cta-card .hero-actions { margin-top: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding: 70px var(--pad-x) 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(5, 8, 16, 0.85));
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  color: var(--muted);
  margin: 18px 0;
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--muted);
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}
.footer-socials a:hover { color: var(--text-strong); border-color: var(--cyan); background: rgba(34, 211, 238, 0.08); }
.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-strong);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 180ms ease;
}
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  max-width: var(--container);
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 0.88rem;
}

.footer-bottom a { color: var(--dim); transition: color 180ms ease; }
.footer-bottom a:hover { color: var(--text); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   PAGE HERO (for subpages)
   ========================================================= */
.page-hero {
  position: relative;
  padding: 160px var(--pad-x) 80px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(139, 92, 246, 0.2), transparent 60%),
    radial-gradient(600px 300px at 80% 50%, rgba(34, 211, 238, 0.12), transparent 60%);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 18px auto 16px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.prose {
  max-width: 780px;
  margin: 0 auto;
}

.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 50px 0 16px;
  line-height: 1.2;
}

.prose h3 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
  color: var(--text-strong);
}

.prose p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
  margin-bottom: 18px;
}

.prose ul {
  color: var(--muted);
  line-height: 1.78;
  padding-left: 22px;
  margin-bottom: 22px;
}

.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text-strong); }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(34, 211, 238, 0.4); }
.prose a:hover { color: var(--text-strong); border-color: var(--text-strong); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav-toggle { display: grid; place-content: center; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px var(--pad-x) 24px;
    background: rgba(5, 8, 16, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 13px 14px; }
  .nav-cta { width: fit-content; margin-top: 8px; }

  .business-grid,
  .platform-grid,
  .product-grid,
  .capability-list,
  .testimonials-grid,
  .solutions-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 460px; margin: 0 auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero h1,
  .hero-copy { margin-left: auto; margin-right: auto; }
  .hero-actions,
  .hero-meta { justify-content: center; }
  .hero-visual { min-height: 440px; }
  .platform-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .business-grid,
  .platform-grid,
  .product-grid,
  .capability-list,
  .testimonials-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; padding-top: 104px; }
  .hero-badge { align-items: flex-start; border-radius: var(--radius); text-align: left; }
  .hero h1 { max-width: 11ch; }
  .hero-copy { font-size: 1rem; line-height: 1.58; }
  .hero-actions { margin-top: 24px; }
  .hero-meta { display: none; }
  .hero-visual { min-height: 330px; }
  .hero-visual-strip { display: none; }
  .platform-flow { grid-template-columns: 1fr; }
  .platform-flow div { min-height: auto; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 22px; }
  .launch-note { flex-direction: column; gap: 8px; }
  .launch-note strong { flex-basis: auto; }
  .hero-actions .button,
  .cta-card .hero-actions .button { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer-bottom { justify-content: flex-start; }
  .hero-meta { gap: 16px 24px; }
}
