/* ============================================
   FAB SOLUTIONS - HYBRID THEME
   Dark Hero with Pink/Purple accents
   White body sections
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Hero Dark */
  --hero-bg: #0a0a0f;
  --hero-bg-secondary: #111118;

  /* Light body backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fb;
  --bg-tertiary: #f1f3f5;

  /* Text */
  --text-dark: #0f1119;
  --text-body: #4a4d5c;
  --text-muted: #8b8f9e;
  --text-light: rgba(255, 255, 255, 0.7);

  /* Blue / Purple accent */
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --purple: #7c3aed;
  --gradient-accent: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #7c3aed 100%);
  --accent-glow: rgba(37, 99, 235, 0.12);

  /* Borders */
  --border-light: #e5e7ec;
  --border-dark: rgba(255, 255, 255, 0.1);

  /* White */
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-accent: 0 8px 30px rgba(37, 99, 235, 0.25);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAVBAR (Dark, matches hero) ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.navbar--scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__logo-img {
  height: 40px;
  width: auto;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar__link:hover,
.navbar__link--active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.navbar__link--cta {
  background: var(--gradient-accent);
  color: #ffffff !important;
  margin-left: 8px;
  font-weight: 600;
  border: none;
}

.navbar__link--cta.navbar__link--active {
  opacity: 0.9;
}

.navbar__link--cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
  opacity: 0.95;
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}
.navbar__link--dropdown {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.5rem;
  z-index: 100;
}
.navbar__dropdown-menu-inner {
  background: #1a1f2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 320px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.navbar__dropdown:hover .navbar__dropdown-menu {
  display: block;
}
.navbar__dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: #e2e8f0;
  transition: background 0.2s;
}
.navbar__dropdown-item:hover {
  background: rgba(255,255,255,0.05);
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO (Dark section) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--hero-bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(37, 99, 235, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 70% 30%, rgba(124, 58, 237, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--hero-bg-secondary) 0%, var(--hero-bg) 40%, var(--hero-bg) 100%);
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__title-highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.hero__stat-suffix {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Video Visual */
.hero__video-wrap {
  border-radius: var(--radius-lg);
  box-shadow: none;
  overflow: visible;
  border: none;
  background: transparent;
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              filter 0.4s ease;
  will-change: transform, opacity, filter;
  position: relative;
}

.hero__video-wrap:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, black 45%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, black 45%, transparent 70%);
}

/* Scroll explosion effect states */
.hero__video-wrap.exploding {
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.5s ease;
}

.hero__video-wrap.exploding.phase-1 {
  transform: perspective(800px) rotateY(5deg) rotateX(-3deg) scale(1.02);
  box-shadow: 0 20px 80px rgba(37, 99, 235, 0.2), 0 0 40px rgba(124, 58, 237, 0.1);
}

.hero__video-wrap.exploding.phase-2 {
  transform: perspective(600px) rotateY(-8deg) rotateX(5deg) scale(1.08) translateY(-10px);
  box-shadow: 0 30px 100px rgba(37, 99, 235, 0.3), 0 0 60px rgba(124, 58, 237, 0.15);
  filter: brightness(1.15) contrast(1.05);
}

.hero__video-wrap.exploding.phase-3 {
  transform: perspective(400px) rotateY(15deg) rotateX(-10deg) scale(1.2) translateY(-30px);
  box-shadow: 0 40px 120px rgba(37, 99, 235, 0.4), 0 0 100px rgba(124, 58, 237, 0.25);
  filter: brightness(1.4) contrast(1.1) saturate(1.3);
}

.hero__video-wrap.exploding.phase-4 {
  transform: perspective(300px) scale(1.5) translateY(-60px) rotate3d(1, 1, 0, 20deg);
  opacity: 0;
  filter: brightness(2) blur(8px) saturate(2);
  box-shadow: 0 0 200px rgba(37, 99, 235, 0.5);
}

/* Particles container for explosion */
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.hero__particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  will-change: transform, opacity;
}

.hero__particle--active {
  animation: particleBurst 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes particleBurst {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--px), var(--py)) scale(0);
  }
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.3);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn__icon {
  width: 18px;
  height: 18px;
}

/* Primary button in hero = gradient pink/purple */
.hero .btn--primary {
  background: var(--gradient-accent);
  color: #ffffff;
  border-color: transparent;
}

.hero .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
  opacity: 0.9;
}

.hero .btn--outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero .btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Primary button in body = gradient pink/purple */
.btn--primary {
  background: var(--gradient-accent);
  color: #ffffff;
  border-color: transparent;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
  opacity: 0.9;
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--white);
}

.btn--white:hover {
  background: #f0f0f5;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
}

/* ---------- SECTION HEADER ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header__tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-header__desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.service-card__icon {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.service-card__icon-wrap--muted {
  background: var(--bg-tertiary);
}

.service-card__icon-wrap--muted .service-card__icon {
  color: var(--text-muted);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-card__list {
  margin-bottom: 20px;
}

.service-card__list li {
  font-size: 14px;
  color: var(--text-body);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.service-card__link i {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.service-card__link:hover i {
  transform: translateX(4px);
}

/* AI Featured Card — dark accent card */
.service-card--featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0f1019 0%, #0f1628 100%);
  color: var(--white);
  border-color: rgba(37, 99, 235, 0.2);
  position: relative;
  overflow: hidden;
}

.service-card--featured::before {
  display: none;
}

.service-card--featured::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.service-card--featured:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
}

.service-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 14px;
  background: var(--gradient-accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 1;
}

.service-card__icon-wrap--ai {
  background: rgba(37, 99, 235, 0.15);
}

.service-card--featured .service-card__title {
  color: var(--white);
  font-size: 24px;
}

.service-card--featured .service-card__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  max-width: 700px;
}

.service-card__products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
  position: relative;
  z-index: 1;
}

.service-card__product {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.service-card__product:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.service-card__product-icon {
  width: 24px;
  height: 24px;
  color: #93c5fd;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card__product strong {
  display: block;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 6px;
}

.service-card__product p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}

.service-card--featured .service-card__link {
  color: #93c5fd;
  position: relative;
  z-index: 1;
}

.service-card--coming-soon {
  border-style: dashed;
  border-color: var(--border-light);
}

.service-card--coming-soon::before {
  display: none;
}

.service-card--coming-soon .service-card__title {
  color: var(--text-muted);
}

/* ---------- TECHNOLOGIES ---------- */
.technologies {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.tech__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.tech-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tech-card__icon {
  margin-bottom: 16px;
}

.tech-card__icon img {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  object-fit: contain;
}

.tech-card__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.tech-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- PROCESS ---------- */
.process {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.process__timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-accent);
}

.process__step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}

.process__step:last-child {
  margin-bottom: 0;
}

.process__step-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: var(--shadow-accent);
  position: relative;
  z-index: 1;
}

.process__step-content {
  padding-top: 16px;
}

.process__step-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.process__step-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ---------- SOLUTIONS ---------- */
.solutions {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.solution-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.solution-card__preview {
  background: linear-gradient(135deg, #0f1628 0%, #1a2744 100%);
  padding: 24px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-card__mock {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Mock chart elements */
.mock-chart {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.mock-chart--bar {
  height: 60px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.2) 0px,
    rgba(255,255,255,0.2) 20px,
    transparent 20px,
    transparent 26px
  );
  position: relative;
}

.mock-chart--bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.mock-chart--line {
  height: 40px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.25) 0%, transparent 100%);
  border-top: 2px solid rgba(37, 99, 235, 0.5);
  border-radius: 0;
}

.mock-chart--donut {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 12px solid rgba(255,255,255,0.15);
  border-top-color: rgba(124, 58, 237, 0.7);
  border-right-color: rgba(37, 99, 235, 0.5);
  margin: 0 auto;
}

.mock-chart--area {
  height: 50px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.2) 0%, rgba(124, 58, 237, 0.05) 100%);
  clip-path: polygon(0% 80%, 15% 50%, 30% 65%, 45% 30%, 60% 45%, 75% 20%, 90% 35%, 100% 10%, 100% 100%, 0% 100%);
}

.mock-chart--scatter {
  height: 60px;
  position: relative;
  background: transparent;
}

.mock-chart--scatter::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 4px at 20% 30%, rgba(124, 58, 237, 0.6) 0%, transparent 100%),
    radial-gradient(circle 4px at 40% 60%, rgba(37, 99, 235, 0.5) 0%, transparent 100%),
    radial-gradient(circle 4px at 60% 25%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(circle 4px at 80% 45%, rgba(124, 58, 237, 0.5) 0%, transparent 100%),
    radial-gradient(circle 4px at 35% 75%, rgba(37, 99, 235, 0.4) 0%, transparent 100%),
    radial-gradient(circle 4px at 70% 70%, rgba(255,255,255,0.5) 0%, transparent 100%);
}

.mock-kpi-row {
  display: flex;
  gap: 8px;
}

.mock-kpi {
  flex: 1;
  height: 28px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}

.solution-card__info {
  padding: 20px 24px;
}

.solution-card__info h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.solution-card__info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- CLIENTS ---------- */
.clients {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.clients__marquee {
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients__track {
  display: flex;
  gap: 48px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.clients__logo-item {
  flex-shrink: 0;
  padding: 16px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 80px;
  transition: var(--transition);
}

.clients__logo-item img {
  max-height: 50px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: var(--transition);
}

.clients__logo-item:hover {
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.04);
}

.clients__logo-item:hover img {
  filter: grayscale(0%) opacity(1);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.star-filled {
  width: 18px;
  height: 18px;
  color: #f59e0b;
  fill: #f59e0b;
}

.testimonial-card__text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.testimonial-card__client-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}

.testimonial-card__name {
  font-size: 15px;
  color: var(--text-dark);
  display: block;
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: 80px 0;
  background: var(--bg-primary);
}

.cta-banner__inner {
  background: linear-gradient(135deg, #0f1019 0%, #0f1628 50%, #1a2744 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-banner__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

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

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

.contact__info .section-header__tag {
  text-align: left;
}

.contact__info .section-header__title {
  text-align: left;
  margin-bottom: 16px;
}

.contact__info > p {
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact__detail-icon {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

.contact__detail strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contact__detail a,
.contact__detail span {
  font-size: 14px;
  color: var(--text-body);
}

.contact__detail a:hover {
  color: var(--blue);
}

/* Contact Form */
.contact__form-wrap {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--bg-secondary);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

/* ---------- FOOTER (Dark) ---------- */
.footer {
  background: #0a0a0f;
  padding: 64px 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 14px;
  color: #93c5fd;
  margin-bottom: 12px;
  font-weight: 500;
}

.footer__desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer__links h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  padding: 4px 0;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  color: rgba(255,255,255,0.4);
}

.footer__bottom-links a:hover {
  color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero__dashboard {
    transform: none;
  }

  .tech__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact__info .section-header__tag,
  .contact__info .section-header__title {
    text-align: center;
  }

  .contact__info > p {
    text-align: center;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  .navbar__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #0a0a0f;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    z-index: 1000;
  }

  .navbar__nav.active {
    right: 0;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__link--cta {
    margin-left: 0;
    margin-top: 16px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero__stat-divider {
    display: none;
  }

  .hero__stats {
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
  }

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

  .process__timeline::before {
    left: 28px;
  }

  .process__step-number {
    width: 56px;
    height: 56px;
    font-size: 18px;
  }

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

  .cta-banner__inner {
    padding: 40px 24px;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

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

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }
}
