/* Sprectex AI — WIAM-inspired Red & Black Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0A0A0F;
  --bg-2: #0F0F14;
  --bg-3: #15151C;
  --surface: #1A1A22;
  --surface-2: #22222C;

  --red: #E11D2E;
  --red-bright: #FF2D3D;
  --red-soft: #FF4D5A;
  --red-dim: rgba(225, 29, 46, 0.14);
  --red-glow: rgba(225, 29, 46, 0.35);

  --ink: #FFFFFF;
  --ink-2: #E8E8ED;
  --muted: rgba(255, 255, 255, 0.58);
  --muted-2: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --grad-red: linear-gradient(135deg, #E11D2E 0%, #FF4D5A 55%, #FF7847 100%);
  --grad-hero: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(225, 29, 46, 0.22), transparent 55%),
               radial-gradient(ellipse 50% 40% at 10% 80%, rgba(225, 29, 46, 0.08), transparent 50%),
               var(--bg);

  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  --nav-h: 72px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-red: 0 8px 28px rgba(225, 29, 46, 0.35);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy aliases used across pages */
  --primary: var(--red);
  --primary-dark: #B91422;
  --primary-light: var(--red-bright);
  --bg-alt: var(--bg-2);
  --bg-card: var(--surface);
  --text: var(--ink);
  --text-muted: var(--muted);
  --border: var(--line);
  --white: #fff;
  --red-50: var(--red-dim);
  --red-500: var(--red-bright);
  --red-600: var(--red);
  --red-700: var(--primary-dark);
  --radius: var(--r-md);
  --radius-lg: var(--r-lg);
  --nav-height: var(--nav-h);
}

[data-theme='light'] {
  --bg: #FAFAFC;
  --bg-2: #F3F3F6;
  --bg-3: #EBEBF0;
  --surface: #FFFFFF;
  --surface-2: #F5F5F8;
  --ink: #0A0A0F;
  --ink-2: #1A1A22;
  --muted: rgba(10, 10, 15, 0.62);
  --muted-2: rgba(10, 10, 15, 0.42);
  --line: rgba(10, 10, 15, 0.08);
  --line-2: rgba(10, 10, 15, 0.14);
  --red-dim: rgba(225, 29, 46, 0.08);
  --red-glow: rgba(225, 29, 46, 0.2);
  --grad-hero: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(225, 29, 46, 0.1), transparent 55%),
               radial-gradient(ellipse 50% 40% at 10% 80%, rgba(225, 29, 46, 0.05), transparent 50%),
               var(--bg);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-red: 0 8px 28px rgba(225, 29, 46, 0.2);
  --text: var(--ink);
  --text-muted: var(--muted);
  --border: var(--line);
  --bg-alt: var(--bg-2);
  --bg-card: var(--surface);
}

[data-theme='light'] .navbar.scrolled {
  background: rgba(250, 250, 252, 0.92);
}
[data-theme='light'] .mobile-nav {
  background: rgba(250, 250, 252, 0.98);
}
[data-theme='light'] .btn-primary {
  background: var(--red);
  color: #fff;
}
[data-theme='light'] .btn-primary:hover {
  background: var(--red-bright);
  color: #fff;
}
[data-theme='light'] .footer {
  background: #F0F0F4;
}
[data-theme='light'] .floating-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(225, 29, 46, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
[data-theme='light'] .dashboard-frame {
  background: linear-gradient(180deg, #ffffff, #f8f8fb);
  border-color: rgba(10, 10, 15, 0.1);
}
[data-theme='light'] .globe-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(243,243,246,0.95));
  border-color: rgba(10, 10, 15, 0.1);
}
[data-theme='light'] .hero-globe ellipse,
[data-theme='light'] .hero-globe line {
  stroke: rgba(10, 10, 15, 0.12);
}
[data-theme='light'] .hero-globe circle[stroke] {
  stroke: rgba(10, 10, 15, 0.14);
}
[data-theme='light'] .dash-metric {
  background: rgba(225, 29, 46, 0.04);
  border-color: rgba(10, 10, 15, 0.08);
}
[data-theme='light'] .dash-chart {
  background: rgba(225, 29, 46, 0.03);
  border-color: rgba(10, 10, 15, 0.08);
}
[data-theme='light'] .chart-grid-line {
  stroke: rgba(10, 10, 15, 0.08);
}
[data-theme='light'] .region-pill {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(225, 29, 46, 0.25);
  color: var(--ink);
}
[data-theme='light'] .globe-label {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-color: rgba(225, 29, 46, 0.3);
}
[data-theme='light'] .card {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
[data-theme='light'] .section-alt {
  background: var(--bg-2);
}
[data-theme='light'] .btn-outline,
[data-theme='light'] .btn-ghost {
  border-color: rgba(10, 10, 15, 0.15);
  color: var(--ink);
}
[data-theme='light'] .ticker {
  background: var(--bg-2);
}
[data-theme='light'] .stats-strip {
  background: rgba(225, 29, 46, 0.04);
}
[data-theme='light'] .hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(225, 29, 46, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(225, 29, 46, 0.04), transparent 50%),
    var(--grad-hero);
}
[data-theme='light'] .globe-glow {
  background: radial-gradient(circle, rgba(225, 29, 46, 0.12), transparent 70%);
}
[data-theme='light'] .hero-globe .marker-halo {
  fill: rgba(225, 29, 46, 0.12);
}
[data-theme='light'] .region-link {
  stroke: rgba(225, 29, 46, 0.35);
}
[data-theme='light'] .chart-line,
[data-theme='light'] .chart-dot {
  stroke: var(--red);
}
[data-theme='light'] .chart-dot {
  fill: var(--red);
}
[data-theme='light'] .dash-chart::before {
  background: linear-gradient(105deg, transparent 40%, rgba(225, 29, 46, 0.05) 50%, transparent 60%);
}
[data-theme='light'] .floating-card::after {
  background: linear-gradient(90deg, transparent, rgba(225, 29, 46, 0.06), transparent);
}
[data-theme='light'] .hero-badge {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(225, 29, 46, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
}
[data-theme='light'] .portfolio-img,
[data-theme='light'] .blog-thumb {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }

.container { width: min(1180px, 92vw); margin-inline: auto; }
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-2); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.25rem; }
.section-label, .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 1rem;
}
.section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-glow);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-desc { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  transition: all var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: #0A0A0F;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.btn-primary:hover {
  background: var(--red-bright);
  color: #fff;
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}
.btn-outline, .btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover, .btn-ghost:hover {
  border-color: var(--red);
  background: var(--red-dim);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: #0A0A0F;
}
.btn-white:hover { background: var(--red-bright); color: #fff; }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 10, 15, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1rem; }
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.logo-img { border-radius: 10px; object-fit: cover; }
.logo-text { color: var(--ink); }
.logo-ai { color: var(--red-bright); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 0.45rem 0.7rem;
  border-radius: var(--r-pill);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.04); }
.nav-actions { display: flex; align-items: center; gap: 0.55rem; }
.lang-select, .theme-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: var(--r-pill);
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
}
.theme-toggle { width: 36px; height: 36px; display: grid; place-items: center; }
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(10, 10, 15, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.75rem 0.5rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover { color: var(--ink); }

/* Hero — WIAM style */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 4rem) 0 3rem;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge, .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.35rem;
}
.hero-badge .pulse, .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 0 rgba(255, 45, 61, 0.55);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(255, 45, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 45, 61, 0); }
}
.hero h1, .hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 1.25rem;
  max-width: 11ch;
}
.hero .highlight, .highlight {
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 1.25rem;
}
.hero-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}
.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(225, 29, 46, 0.12);
  border: 1px solid rgba(255, 45, 61, 0.35);
  color: var(--ink-2);
  animation: fadeSlideUp 0.7s ease both;
}
.region-pill:nth-child(1) { animation-delay: 0.1s; }
.region-pill:nth-child(2) { animation-delay: 0.25s; }
.region-pill:nth-child(3) { animation-delay: 0.4s; }
.region-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-glow);
  animation: pulse 2s infinite;
}
.region-usa { border-color: rgba(255, 45, 61, 0.5); }
.region-europe { border-color: rgba(255, 120, 71, 0.45); }
.region-asia { border-color: rgba(255, 77, 90, 0.45); }

/* Hero visual — globe + dashboard */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.globe-panel {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(26,26,34,0.95), rgba(16,16,24,0.98));
  padding: 1.5rem 1rem 1rem;
  overflow: hidden;
  min-height: 280px;
  animation: fadeSlideUp 0.9s ease both;
}
.globe-glow {
  position: absolute;
  inset: 10% 20% 30%;
  background: radial-gradient(circle, rgba(255,45,61,0.2), transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}
.hero-globe {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: block;
  animation: globeRotate 28s linear infinite;
  transform-origin: center center;
}
.globe-marker {
  fill: #FF2D3D;
  filter: drop-shadow(0 0 8px rgba(255,45,61,0.95));
  animation: markerGlow 2.2s ease-in-out infinite;
}
.marker-halo {
  fill: rgba(255, 45, 61, 0.18);
  animation: haloPulse 3s ease-in-out infinite;
}
.mh-europe { animation-delay: 0s; }
.mh-usa { animation-delay: 0.7s; }
.mh-asia { animation-delay: 1.4s; }
.region-link {
  fill: none;
  stroke: rgba(255, 45, 61, 0.4);
  stroke-width: 1.5;
  stroke-dasharray: 8 6;
  animation: linkFlow 4s linear infinite;
}
.rl-1 { animation-delay: 0s; }
.rl-2 { animation-delay: 1.2s; }
.rl-3 { animation-delay: 2.4s; }
.region-marker { transform-box: fill-box; transform-origin: center; }
.globe-pulse {
  fill: none;
  stroke: rgba(255, 45, 61, 0.65);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: globePulseRing 2.4s ease-out infinite;
}
.gp-usa { animation-delay: 0s; }
.gp-europe { animation-delay: 0.8s; }
.gp-asia { animation-delay: 1.6s; }
.globe-label {
  position: absolute;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid rgba(255, 45, 61, 0.4);
  color: #fff;
  animation: labelFloat 3s ease-in-out infinite;
}
.gl-europe { top: 16%; left: 50%; border-color: rgba(255, 120, 71, 0.55); box-shadow: 0 0 16px rgba(255, 120, 71, 0.25); }
.gl-usa { top: 36%; left: 6%; animation-delay: 0.5s; border-color: rgba(255, 45, 61, 0.55); box-shadow: 0 0 16px rgba(255, 45, 61, 0.25); }
.gl-asia { top: 40%; right: 4%; animation-delay: 1s; border-color: rgba(255, 77, 90, 0.55); box-shadow: 0 0 16px rgba(255, 77, 90, 0.25); }

.dashboard-mockup { position: relative; animation: fadeSlideUp 1s ease 0.15s both; }
.dashboard-frame {
  background: linear-gradient(180deg, #16161F, #101018);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 80px rgba(225, 29, 46, 0.12);
}
.dash-title {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.dashboard-body-compact { grid-template-columns: 1fr; min-height: auto; }
.dash-main-full { width: 100%; }
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.chart-header strong, .chart-live-val {
  color: var(--red-soft);
  font-family: var(--font-display);
  font-size: 0.85rem;
  animation: countPulse 2s ease-in-out infinite;
}
.dash-chart {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem 0.65rem;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}
.dash-chart::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 45, 61, 0.07) 50%, transparent 60%);
  animation: chartScan 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.hero-line-chart {
  width: 100%;
  height: 110px;
  display: block;
  position: relative;
  z-index: 2;
}
.chart-grid-line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
  fill: none;
}
.chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 2.2s ease forwards 0.4s;
}
.chart-area {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 1s;
}
.chart-dot-end {
  opacity: 0;
  animation: dotPop 0.5s ease forwards 2.4s;
}
.chart-dot-live {
  animation: liveDotRing 2s ease-out infinite 2.6s;
}
.floating-card {
  position: absolute;
  background: rgba(18, 18, 26, 0.92);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  box-shadow: var(--shadow), 0 0 24px rgba(255, 45, 61, 0.15);
  animation: floatY 4.5s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 5;
  overflow: hidden;
}
.floating-card::after {
  content: "";
  position: absolute;
  inset: -50% auto -50% -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: skewX(-18deg);
  animation: cardShine 5s ease-in-out infinite;
}
.fc-live { border-color: rgba(255, 45, 61, 0.45); }
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28C840;
  box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.55);
  animation: livePulse 1.8s infinite;
  flex-shrink: 0;
}
.fc-value em {
  font-style: normal;
  color: var(--red-bright);
  font-weight: 700;
}
.floating-card .fc-icon { font-size: 1.25rem; }
.floating-card strong { display: block; font-size: 0.78rem; }
.floating-card span { display: block; font-size: 0.72rem; color: var(--red-soft); margin-top: 0.1rem; }
.fc-1 { top: -12px; left: -4%; animation-delay: 0s; }
.fc-2 { bottom: -12px; right: -2%; animation-delay: 1.2s; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes globeRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes globePulseRing {
  0% { transform: scale(0.55); opacity: 0.85; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes markerGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255,45,61,0.7)); }
  50% { filter: drop-shadow(0 0 14px rgba(255,45,61,1)); }
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.95; }
}
@keyframes linkFlow {
  to { stroke-dashoffset: -28; }
}
@keyframes chartScan {
  0%, 100% { transform: translateX(-120%); opacity: 0; }
  45%, 55% { opacity: 1; }
  100% { transform: translateX(120%); }
}
@keyframes cardShine {
  0%, 100% { left: -60%; opacity: 0; }
  50% { left: 120%; opacity: 1; }
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(40, 200, 64, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes labelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes dotPop {
  0% { opacity: 0; transform: scale(0); }
  70% { transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes liveDotRing {
  0% { opacity: 0.8; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(2.2); }
}
@keyframes countPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-ctas, .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hero-stat span {
  font-size: 0.78rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Dashboard dots (shared) */
.dot, .dot-r, .dot-y, .dot-g {
  width: 9px; height: 9px; border-radius: 50%;
}
.dot-r { background: #FF5F57; }
.dot-y { background: #FEBC2E; }
.dot-g { background: #28C840; }
.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.dash-main { padding: 1.1rem; }
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.dash-metric {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.85rem;
  transition: transform var(--transition), border-color var(--transition);
}
.dash-metric:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 29, 46, 0.35);
}
.dash-metric-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.dash-metric-label { font-size: 0.7rem; color: var(--muted-2); margin-top: 0.2rem; }

/* Stats strip */
.stats-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  padding: 1.75rem 0;
}
.stats-strip-grid, .stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.stat-item, .strip-stat { text-align: center; }
.stat-num, .strip-stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label, .strip-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Marquee ticker */
.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 1rem 0;
}
.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  display: inline-block;
}
.ticker-item:nth-child(3n) { color: var(--red-soft); }
.ticker-item:nth-child(3n+1) { color: #fff; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Brands */
.brands { padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.brands-label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.25rem;
}
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}
.brand-item {
  color: var(--muted-2);
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
}
.cards-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.45rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(225, 29, 46, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(225,29,46,0.12);
}
.card-icon {
  transition: transform var(--transition);
}
.card:hover .card-icon {
  transform: scale(1.08) rotate(-3deg);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}
.card p { color: var(--muted); font-size: 0.92rem; }

/* Feature pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.feature-pill {
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02);
  color: var(--ink-2);
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
}
.feature-pill:hover {
  border-color: var(--red);
  background: var(--red-dim);
}

/* Dashboard preview */
.dashboard-preview {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}
.preview-features { display: flex; flex-direction: column; gap: 1.1rem; }
.preview-feature {
  display: flex;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.preview-feature .icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--red-dim);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.preview-feature h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.preview-feature p { color: var(--muted); font-size: 0.9rem; }

/* Admin dashboard preview panel */
.admin-dashboard-mockup { position: relative; }
.admin-dash-chart { min-height: 200px; }
.admin-line-chart {
  width: 100%;
  height: 140px;
  display: block;
}
.admin-bar {
  fill: url(#adminBarGrad);
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: adminBarGrow 1.5s ease both;
}
.admin-bar:nth-child(1) { animation-delay: 0.05s; }
.admin-bar:nth-child(2) { animation-delay: 0.1s; }
.admin-bar:nth-child(3) { animation-delay: 0.15s; }
.admin-bar:nth-child(4) { animation-delay: 0.2s; }
.admin-bar:nth-child(5) { animation-delay: 0.25s; }
.admin-bar:nth-child(6) { animation-delay: 0.3s; }
.admin-bar:nth-child(7) { animation-delay: 0.35s; }
.admin-bar:nth-child(8) { animation-delay: 0.4s; }
.admin-trend-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 2s ease forwards 0.6s;
}
.admin-area {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 1.2s;
}
.admin-chart-dot {
  opacity: 0;
  animation: dotPop 0.5s ease forwards 2.2s;
}
.admin-chart-live {
  color: #28C840;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  animation: countPulse 2s ease-in-out infinite;
}
.admin-floating-stat {
  position: absolute;
  bottom: -14px;
  right: 4%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: rgba(18, 18, 26, 0.94);
  border: 1px solid rgba(255, 45, 61, 0.35);
  border-radius: var(--r-lg);
  font-size: 0.78rem;
  box-shadow: var(--shadow);
  animation: floatY 4s ease-in-out infinite;
  z-index: 4;
}
.admin-floating-stat strong {
  color: var(--red-soft);
  font-family: var(--font-display);
}
.admin-floating-stat span:last-child { color: var(--muted-2); }
[data-theme='light'] .admin-floating-stat {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(225, 29, 46, 0.25);
}

@keyframes adminBarGrow {
  from { transform: scaleY(0); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 1; }
}

/* Fashion spotlight card */
.card-spotlight {
  border-color: rgba(255, 45, 61, 0.45);
  background: linear-gradient(145deg, rgba(225, 29, 46, 0.08), var(--surface));
  position: relative;
  overflow: hidden;
}
.card-spotlight::before {
  content: "New";
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
}
[data-theme='light'] .card-spotlight {
  background: linear-gradient(145deg, rgba(225, 29, 46, 0.06), #fff);
}

/* Global team banner */
.team-banner {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.team-banner-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 2rem 0;
}
.team-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.team-banner-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.team-banner-content p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 52ch;
}
.team-banner-stats {
  display: flex;
  gap: 1.25rem;
}
.team-banner-stats div {
  text-align: center;
  min-width: 4.5rem;
}
.team-banner-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.team-banner-stats span {
  font-size: 0.68rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
[data-theme='light'] .team-banner {
  background: rgba(225, 29, 46, 0.03);
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}
.industry-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  transition: var(--transition);
}
.industry-card:hover { border-color: rgba(225,29,46,0.4); transform: translateY(-3px); }
.industry-header {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(225, 29, 46, 0.06);
}
.industry-header h3 { font-family: var(--font-display); font-weight: 600; }
.industry-body { padding: 1.15rem 1.25rem; }
.industry-body li {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.35rem 0;
  padding-left: 0.9rem;
  position: relative;
}
.industry-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.75rem;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* Integrations */
.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.integration-item {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.75rem 1.2rem;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  color: var(--ink-2);
}

/* Enterprise banner */
.enterprise-banner {
  background: var(--grad-red);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 2rem;
}
.enterprise-banner h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.enterprise-banner p {
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 2rem 1.5rem;
  position: relative;
}
.pricing-card.featured {
  border-color: rgba(225, 29, 46, 0.55);
  background: linear-gradient(180deg, rgba(225,29,46,0.12), var(--surface));
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  margin: 1rem 0;
  letter-spacing: -0.04em;
}
.pricing-price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.pricing-features { display: flex; flex-direction: column; gap: 0.55rem; }
.pricing-features li {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 1.1rem;
  position: relative;
}
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red-soft);
  font-weight: 700;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.15rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.75rem;
}
.stars { color: #f59e0b; margin-bottom: 0.85rem; }
.testimonial-text {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.35rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-red);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.author-info strong { display: block; font-size: 0.9rem; }
.author-info span { font-size: 0.78rem; color: var(--muted-2); }

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
}
.portfolio-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: var(--transition);
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.portfolio-img {
  height: 160px;
  background: linear-gradient(135deg, #1a0a0c, #2a1014);
  display: grid; place-items: center;
  font-size: 2.6rem;
}
.portfolio-body { padding: 1.35rem; }
.portfolio-body h3 { font-family: var(--font-display); font-weight: 600; margin-bottom: 0.4rem; }
.portfolio-body p { color: var(--muted); font-size: 0.92rem; }
.portfolio-roi {
  display: inline-block;
  margin-top: 0.75rem;
  background: var(--red-dim);
  color: var(--red-soft);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

/* Tools */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.tool-card:hover { border-color: var(--red); background: var(--red-dim); }
.tool-card .icon { font-size: 1.5rem; margin-bottom: 0.6rem; }
.tool-card h4 { font-size: 0.9rem; font-weight: 600; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.15rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 46, 0.45);
  box-shadow: var(--shadow);
}
.team-card.featured {
  border-color: rgba(225, 29, 46, 0.4);
  background: linear-gradient(180deg, rgba(225,29,46,0.1), var(--surface));
}
.team-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.15rem;
  border: 2px solid rgba(225, 29, 46, 0.45);
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.12);
  background: var(--bg-3);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.team-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red-soft);
  margin-bottom: 0.65rem;
}
.team-bio {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
.contact-item .icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--red-dim);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; margin-bottom: 0.15rem; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 0.92rem; }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.form-group { margin-bottom: 0.95rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 0.8rem 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-dim);
}
.form-feedback {
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}
.form-feedback.success { color: #3DFFB0; }
.form-feedback.error { color: var(--red-soft); }

/* AI search */
.ai-search-form, .ai-search-bar {
  display: flex;
  gap: 0.65rem;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: 0.45rem;
  max-width: 720px;
  margin: 0 auto;
}
.ai-search-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.7rem 1rem;
  color: var(--ink);
}
.ai-search-form button {
  background: var(--red);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 0.7rem 1.25rem;
  font-weight: 600;
}

/* Page hero */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 3.5rem;
  background: var(--grad-hero);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0.75rem 0 1rem;
}
.page-hero p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Tabs */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.tab-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--red-dim);
  border-color: var(--red);
  color: #fff;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Footer */
.footer {
  background: #07070B;
  border-top: 1px solid var(--line);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1rem 0;
  max-width: 280px;
}
.footer-addresses {
  font-size: 0.82rem;
  color: var(--muted-2);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.footer-addresses strong {
  display: block;
  color: var(--ink-2);
  margin-top: 0.65rem;
}
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.footer-social a:hover { border-color: var(--red); color: #fff; background: var(--red-dim); }
.footer h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ink);
}
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a {
  color: var(--muted-2);
  font-size: 0.88rem;
}
.footer ul a:hover { color: var(--red-soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.82rem;
}
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  width: min(480px, 100%);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--muted);
}
.modal h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* CTA band */
.cta-band {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(225,29,46,0.25), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}
.cta-band p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (min-width: 1440px) {
  .container { width: min(1280px, 88vw); }
  .hero-grid { gap: 4rem; }
  .hero h1, .hero-content h1 { font-size: clamp(3rem, 4.5vw, 4.8rem); }
}

@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-content { text-align: center; max-width: 720px; margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-regions, .hero-stats { justify-content: center; }
  .hero h1, .hero-content h1 { max-width: none; margin-inline: auto; }
  .dashboard-preview { gap: 2rem; }
  .team-banner-inner { grid-template-columns: 1fr 1fr; }
  .team-banner-badge { grid-column: 1 / -1; justify-content: center; }
  .team-banner-content { text-align: center; }
  .team-banner-content p { margin-inline: auto; }
  .team-banner-stats { justify-content: center; grid-column: 1 / -1; }
  .team-banner-inner > .btn { grid-column: 1 / -1; justify-self: center; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .hero-grid, .dashboard-preview, .contact-grid { grid-template-columns: 1fr; }
  .hero h1, .hero-content h1 { max-width: none; }
  .fc-1, .fc-2 { display: none; }
  .globe-panel { min-height: 220px; }
  .gl-europe, .gl-usa, .gl-asia { font-size: 0.6rem; }
  .cards-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip-grid, .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-floating-stat { right: 2%; bottom: -10px; font-size: 0.72rem; }
  .preview-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; }
  .preview-feature { border-bottom: none; padding: 0.5rem 0; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .hero { padding-top: calc(var(--nav-h) + 2rem); min-height: auto; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .dash-metrics { grid-template-columns: 1fr; }
  .admin-line-chart { height: 110px; }
  .preview-features { grid-template-columns: 1fr; }
  .team-banner-inner { grid-template-columns: 1fr; padding: 1.5rem 0; gap: 1rem; }
  .team-banner-stats { flex-wrap: wrap; }
  .stats-strip-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-pills { justify-content: center; }
  .enterprise-banner { padding: 2rem 1.25rem; }
  .admin-floating-stat { position: relative; bottom: auto; right: auto; margin-top: 0.75rem; justify-content: center; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .cards-grid-6 { grid-template-columns: 1fr; }
  .stats-strip-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .integrations-grid { gap: 0.5rem; }
  .integration-item { font-size: 0.82rem; padding: 0.6rem 0.95rem; }
}

@media (max-width: 480px) {
  .hero-badge { font-size: 0.62rem; letter-spacing: 0.08em; }
  .region-pill { font-size: 0.72rem; }
  .btn-lg { padding: 0.75rem 1.15rem; font-size: 0.88rem; }
  .dash-title { display: none; }
  .globe-label { font-size: 0.55rem; padding: 0.2rem 0.4rem; }
  .stats-strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-stat strong { font-size: 1.25rem; }
  .strip-stat span { font-size: 0.68rem; }
}


/* --- Compatibility aliases --- */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--red-dim); margin-bottom: 1rem; font-size: 1.15rem; }
.stat-number { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.03em; background: var(--grad-red); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-contact-list li { color: var(--muted-2); font-size: 0.88rem; margin-bottom: 0.5rem; }
.footer-contact-list a:hover { color: var(--red-soft); }
.whatsapp-float { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: grid; place-items: center; font-size: 1.45rem; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); z-index: 999; }
.contact-item { display: flex; gap: 0.85rem; margin-bottom: 1.15rem; }
.contact-form-el { width: 100%; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.15rem; }
.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.blog-thumb { height: 160px; background: linear-gradient(135deg, #1a0a0c, #2a1014); display: grid; place-items: center; font-size: 2.5rem; }
.blog-body { padding: 1.35rem; }
.blog-meta { font-size: 0.78rem; color: var(--muted-2); margin-bottom: 0.5rem; }
.legal-content { max-width: 800px; margin: 0 auto; color: var(--muted); line-height: 1.8; }
.legal-content h2 { color: var(--ink); font-family: var(--font-display); margin: 2rem 0 0.75rem; }
.tag, .card-tags span { display: inline-block; font-size: 0.72rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--red-dim); color: var(--red-soft); margin: 0.15rem; }
.admin-wrap { max-width: 1100px; margin: 2rem auto; padding: 0 1rem; }
.admin-login, .admin-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.5rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.admin-empty { text-align: center; color: var(--muted); padding: 2rem; }
.status-badge { display: inline-block; padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.72rem; background: var(--red-dim); color: var(--red-soft); }
