/* =====================================================
   Vision Studio LLC — Design System & Styles (2026)
   ===================================================== */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand */
  --violet: #8B5CF6;
  --violet-light: #A78BFA;
  --violet-dark: #6D28D9;
  --blue: #3B82F6;
  --cyan: #22D3EE;
  --cyan-dark: #0891B2;

  /* Surfaces */
  --bg: #05060F;
  --bg-2: #0A0C18;
  --bg-3: #0E1122;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-glow: rgba(139, 92, 246, 0.45);

  /* Text */
  --text: #F4F6FB;
  --text-muted: #9AA3B8;
  --text-dim: #5A6478;

  /* Shape & motion */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.22, 1, 0.36, 1);

  /* Gradient accent */
  --grad: linear-gradient(120deg, var(--violet-light) 0%, var(--cyan) 100%);
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.16), 0 0 120px rgba(34, 211, 238, 0.08);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Film-grain overlay for depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(139, 92, 246, 0.45);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--violet-light);
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
}

.gradient-text {
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.22);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--spring), box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  padding: 13px 26px;
}

.btn:active {
  transform: scale(0.97);
}

.btn .btn-arrow {
  width: 17px;
  height: 17px;
  transition: transform 0.25s var(--spring);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-dark) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 28px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 40px rgba(139, 92, 246, 0.5);
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--violet) 100%);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: #1E1145;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 17px 34px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* =====================================================
   NAVBAR — floating pill
   ===================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
}

.nav-container {
  width: min(1200px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 12px 10px 22px;
  display: flex;
  align-items: center;
  gap: 32px;
  border: 1px solid transparent;
  border-radius: 100px;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.navbar.scrolled .nav-container {
  background: rgba(10, 12, 24, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--border);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--border-strong);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-logo-sub {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 100px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--surface);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 22px;
  font-size: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 90px;
}

.hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.45;
  animation: orbFloat 10s ease-in-out infinite;
  will-change: transform;
}

.orb-1 {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.55) 0%, transparent 70%);
  top: -220px;
  left: -160px;
}

.orb-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.42) 0%, transparent 70%);
  bottom: -120px;
  right: -120px;
  animation-delay: 3s;
}

.orb-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.38) 0%, transparent 70%);
  top: 38%;
  right: 24%;
  animation-delay: 5s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(24px, -32px) scale(1.06);
  }

  66% {
    transform: translate(-16px, 22px) scale(0.96);
  }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, black 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, black 0%, transparent 100%);
}

/* Top aurora light */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(139, 92, 246, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--violet-light);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.28);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 30px;
  animation: fadeInDown 0.6s ease both;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--violet-light);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.6);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.55);
    opacity: 1;
  }

  50% {
    box-shadow: 0 0 0 7px rgba(167, 139, 250, 0);
    opacity: 0.7;
  }
}

.hero-title {
  font-size: clamp(46px, 7.6vw, 92px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
  animation: fadeInDown 0.7s 0.08s ease both;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 42px;
  animation: fadeInDown 0.7s 0.18s ease both;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 72px;
  animation: fadeInDown 0.7s 0.28s ease both;
}

/* Glass stat strip */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 22px 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 48px rgba(0, 0, 0, 0.35);
  animation: fadeInDown 0.7s 0.38s ease both;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 20%, var(--text-muted) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 1s 1.1s ease both;
  opacity: 0.7;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--violet-light);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateY(10px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* =====================================================
   TICKER
   ===================================================== */
.ticker-section {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-2);
}

.ticker-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.ticker-track {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.ticker-inner {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker-section:hover .ticker-inner {
  animation-play-state: paused;
}

.ticker-inner span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.ticker-inner span:hover {
  color: var(--text-muted);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =====================================================
   PRODUCTS
   ===================================================== */
.products-section {
  background: var(--bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.35s var(--spring), border-color 0.3s ease, background 0.3s ease,
    box-shadow 0.35s ease;
  overflow: hidden;
}

/* Cursor spotlight */
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%),
      rgba(139, 92, 246, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  border-color: var(--border-glow);
  background: var(--surface-hover);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(139, 92, 246, 0.12);
}

.product-card.featured {
  border-color: rgba(139, 92, 246, 0.32);
  background:
    linear-gradient(160deg, rgba(139, 92, 246, 0.1) 0%, rgba(34, 211, 238, 0.05) 60%, var(--surface) 100%);
}

.product-card.featured:hover {
  border-color: rgba(167, 139, 250, 0.5);
}

.product-card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.product-icon-wrap {
  margin-bottom: 22px;
}

.product-icon {
  width: 54px;
  height: 54px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.35s var(--spring);
}

.product-card:hover .product-icon {
  transform: scale(1.06) translateY(-2px);
}

.product-icon svg {
  width: 100%;
  height: 100%;
}

.product-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.product-name {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.product-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}

.product-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--violet-light);
  text-decoration: none;
  transition: gap 0.25s var(--spring), color 0.25s ease;
}

.product-link:hover {
  color: var(--text);
  gap: 11px;
}

.product-link svg {
  width: 15px;
  height: 15px;
}

/* =====================================================
   ABOUT
   ===================================================== */
.about-section {
  background: var(--bg-2);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

/* Glass panel visual */
.about-card-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 72px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

/* Gradient hairline on top of panel */
.about-card-stack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.7), rgba(34, 211, 238, 0.7), transparent);
}

.about-card {
  position: static;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.about-card:hover {
  transform: translateX(4px);
  border-color: var(--border-glow);
  background: var(--surface-hover);
}

.ac-icon {
  font-size: 24px;
  width: 50px;
  height: 50px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ac-text {
  min-width: 0;
}

.ac-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 3px;
}

.ac-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-logo-center {
  align-self: center;
  margin-bottom: 8px;
  width: 92px;
  height: 92px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 56px rgba(139, 92, 246, 0.25);
}

.about-logo-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 14px;
}

.about-content .section-tag {
  display: inline-flex;
}

.about-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--text);
  font-weight: 600;
}

.fact-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fact {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.fact:hover {
  border-color: var(--border-glow);
  background: var(--surface-hover);
}

.fact-wide {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.12) 0%, rgba(34, 211, 238, 0.06) 100%);
  border-color: rgba(139, 92, 246, 0.3);
}

.fact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.fact-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.fact-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  color: var(--violet-light);
  transition: transform 0.25s var(--spring);
}

.fact-wide:hover .fact-arrow {
  transform: translate(3px, -3px);
}

/* =====================================================
   SERVICES
   ===================================================== */
.services-section {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-item {
  padding: 38px 32px;
  background: var(--bg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Cursor spotlight */
.service-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
      rgba(139, 92, 246, 0.12), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--spring);
}

.service-item:hover::before {
  opacity: 1;
}

.service-item:hover::after {
  transform: scaleX(1);
}

.service-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--violet-light);
  margin-bottom: 16px;
  opacity: 0.8;
}

.service-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  position: relative;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
}

/* =====================================================
   CTA BAND — inset gradient card
   ===================================================== */
.cta-band {
  padding: 30px 0 110px;
  background: var(--bg-2);
}

.cta-band-content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 84px 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: linear-gradient(150deg, #241255 0%, #171038 45%, #0C1533 100%);
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
}

.cta-band-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 50% -20%, rgba(139, 92, 246, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 35% 55% at 82% 115%, rgba(34, 211, 238, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band-title {
  position: relative;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.cta-band-sub {
  position: relative;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
  max-width: 480px;
}

.cta-band .btn-white {
  position: relative;
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact-section {
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-detail-item:hover {
  border-color: var(--border-glow);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--violet-light);
}

.contact-detail-arrow {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--violet-light);
  flex-shrink: 0;
  transition: transform 0.25s var(--spring);
}

.contact-detail-item:hover .contact-detail-arrow {
  transform: translate(3px, -3px);
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail-label {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

/* Contact Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 72px rgba(0, 0, 0, 0.35);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input:focus {
  border-color: var(--violet-light);
  background: rgba(139, 92, 246, 0.06);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  text-align: center;
  padding: 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  color: #6EE7B7;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 72px;
  padding-bottom: 56px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--border-strong);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition);
  width: fit-content;
}

.footer-link:hover {
  color: var(--text);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-bottom-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom-link:hover {
  color: var(--violet-light);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--spring), transform 0.7s var(--spring);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .nav-container {
    width: calc(100% - 24px);
    margin-top: 10px;
    padding-left: 16px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.open {
    position: relative;
    z-index: 1001;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: 0;
    top: 0;
    padding: 90px 28px 32px;
    background: rgba(5, 6, 15, 0.96);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    gap: 6px;
    z-index: 1000;
  }

  .nav-links.open .nav-link {
    font-size: 18px;
    padding: 14px 18px;
  }

  .nav-links.open .nav-cta {
    display: flex;
    margin-top: 16px;
    justify-content: center;
  }

  .hero {
    padding: 130px 0 80px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 18px;
    padding: 26px 40px;
    width: 100%;
  }

  .stat-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-band-content {
    padding: 56px 24px;
    border-radius: var(--radius-lg);
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .contact-form {
    padding: 24px;
  }

  .about-card-stack {
    padding: 22px;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}
