/* ============================================
   LEIA Enterprise Solutions — Global Styles
   ============================================ */

/* --- CSS Variables (from leia.gr design spec) --- */
:root {
  --color-brand-red: rgb(255, 0, 18);
  --color-brand-red-muted: rgba(255, 0, 18, 0.3);
  --color-brand-red-glass: rgba(255, 0, 18, 0.1);
  --color-brand-pink: rgb(216, 48, 158);
  --color-brand-pink-muted: rgba(216, 48, 158, 0.3);
  --color-brand-pink-glass: rgba(216, 48, 158, 0.15);
  --color-brand-blue: #4579d9;
  --color-brand-blue-muted: rgba(69, 155, 217, 0.25);
  --color-brand-purple: #a142f4;
  --color-brand-purple-muted: rgba(161, 66, 244, 0.25);

  --color-neutral-0: #ffffff;
  --color-neutral-100: #f5f5f5;
  --color-neutral-200: #e5e7eb;
  --color-neutral-300: #e0e0e0;
  --color-neutral-400: #9ca3af;
  --color-neutral-500: #b0b0b0;
  --color-neutral-600: #4b5563;
  --color-neutral-700: #374151;
  --color-neutral-800: #1f2937;
  --color-neutral-900: #111827;

  --color-surface-dark: #121212;
  --color-surface-main: #000000;
  --color-text-primary: #f3f4f6;
  --color-text-muted: #d1d5db;
  --color-text-subtle: #7d7d7d;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nav-height: 95px;
  --nav-radius: 20px;
  --nav-blur: blur(15px) saturate(0.5);
  --nav-shadow: rgba(0, 0, 0, 0.3) 0px 4px 20px 0px;
  --transition-smooth: 0.4s ease-in-out;
  --transition-fast: 0.25s ease-in-out;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lenis overrides native scroll-behavior */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-surface-main);
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* ============================================
   NAVIGATION
   ============================================ */

.header-navigation {
  position: fixed;
  top: 16px;
  left: 40px;
  right: 40px;
  height: var(--nav-height);
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hidden state on scroll down */
.header-navigation.nav-hidden {
  transform: translateY(calc(-100% - 20px));
  opacity: 0;
  pointer-events: none;
}

.nav-container {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: var(--nav-blur);
  -webkit-backdrop-filter: var(--nav-blur);
  border-radius: var(--nav-radius);
  box-shadow: var(--nav-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

/* Scrolled state */
.header-navigation.scrolled .nav-container {
  background: rgba(0, 0, 0, 0.85);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 8px 30px 0px;
}

/* --- Logo --- */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

/* --- Nav Links --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  color: var(--color-text-primary);
  padding: 12px 16px;
  border-radius: 10px;
  transition: var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

/* Underline animation on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 16px;
  right: 16px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.5);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-links a.active {
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active::after {
  transform: scaleX(1);
  background: rgba(255, 255, 255, 0.4);
}

/* --- Nav Right (language toggle + CTA) --- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lang-toggle button {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
  border-radius: 0;
}

.lang-toggle button:hover {
  color: #fff;
}

.lang-toggle button.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Nav CTA */
.nav-cta {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  background: #fff;
  border-radius: 10px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* --- Mobile Menu Toggle --- */
.nav-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: var(--transition-fast);
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-hamburger .icon-close {
  display: none;
}

.nav-hamburger.open .icon-menu {
  display: none;
}

.nav-hamburger.open .icon-close {
  display: block;
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: 28px;
  font-weight: 500;
  color: var(--color-text-primary);
  padding: 16px 40px;
  border-radius: 14px;
  transition: var(--transition-fast);
  transform: translateY(20px);
  opacity: 0;
}

.mobile-nav.open a {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger animation for mobile nav links */
.mobile-nav.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.3s; }
.mobile-nav.open a:nth-child(7) { transition-delay: 0.35s; }
.mobile-nav.open a:nth-child(8) { transition-delay: 0.4s; }
.mobile-nav.open a:nth-child(9) { transition-delay: 0.45s; }

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mobile-nav .mobile-lang-toggle {
  display: flex;
  gap: 0;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  transition-delay: 0.5s;
}

.mobile-nav.open .mobile-lang-toggle {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav .mobile-lang-toggle button {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.mobile-nav .mobile-lang-toggle button.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ============================================
   RESPONSIVE — Mobile Navigation
   ============================================ */

@media (max-width: 1024px) {
  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 10px 12px;
  }
}

@media (max-width: 768px) {
  .header-navigation {
    left: 16px;
    right: 16px;
    top: 12px;
    height: 70px;
  }

  .nav-container {
    padding: 0 20px;
    border-radius: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-right .lang-toggle,
  .nav-right .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }
}

/* ============================================
   HERO / CAROUSEL
   ============================================ */

.carousel-section {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
  background: #000;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* --- Slide --- */
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: all;
}

/* Background image layer */
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark gradient overlay matching reference */
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(354deg, rgb(10, 10, 10) 34%, rgba(0, 0, 0, 0));
}

/* Content wrapper — vertical layout: top row (heading+subtitle) + full-width image */
.slide-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  padding-bottom: 0;
}

/* Top row: heading left, subtitle right */
.slide-top-row {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  padding-bottom: 30px;
}

/* Left column: heading + CTA */
.slide-text {
  flex: 1;
  max-width: 648px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.slide-heading {
  font-size: 86.4px;
  font-weight: 600;
  line-height: 95.04px;
  letter-spacing: -1.728px;
  color: var(--color-text-primary);
  margin: 0 0 26px;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide.active .slide-heading {
  opacity: 1;
  transform: translateX(0);
}

/* Hero line reveal animation support */
.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line-inner {
  display: block;
  will-change: transform, opacity;
}

.slide-subtitle {
  font-size: 26px;
  font-weight: 400;
  line-height: 32.5px;
  color: var(--color-text-primary);
  max-width: 535px;
  margin: 0 0 26px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.carousel-slide.active .slide-subtitle {
  opacity: 1;
  transform: translateY(0);
}

/* Gradient text for highlighted words */
.custom-text {
  background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CTA circle button */
.slide-cta {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
  box-shadow: rgb(255, 255, 255) 0px 0px 2px 0px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s,
              border-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

.carousel-slide.active .slide-cta {
  opacity: 1;
  transform: translateY(0);
}

.slide-cta:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transform: scale(1.05) translateY(0);
}

.slide-cta svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Right column: subtitle text */
.slide-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 600px;
  padding-bottom: 10px;
}

/* Full-width hero image at bottom */
.slide-image-full {
  width: calc(100% + 80px);
  margin-left: -40px;
  margin-right: -40px;
  height: 320px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.slide-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.carousel-slide.active .slide-image-full img {
  opacity: 1;
  transform: scale(1);
}

/* --- Carousel Controls --- */
.carousel-controls {
  position: absolute;
  bottom: 40px;
  left: 56px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 18px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Carousel Indicators --- */
.carousel-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  width: 32px;
  background: var(--color-text-primary);
  border-radius: 4px;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1); }
  50%      { box-shadow: 0 0 20px 4px rgba(255, 255, 255, 0.05); }
}

/* Logo subtle pulse on idle */
.nav-logo img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.08);
  filter: brightness(1.15);
}

/* Nav CTA glow pulse */
.nav-cta {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Hamburger animated bars (CSS-only transition for open state) */
.nav-hamburger {
  position: relative;
}

.nav-hamburger img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open .icon-close {
  animation: scaleIn 0.3s ease forwards;
}

/* ============================================
   RESPONSIVE — Carousel
   ============================================ */

@media (max-width: 1024px) {
  .slide-heading {
    font-size: 56px;
    line-height: 64px;
    letter-spacing: -1px;
    margin: 48px 0 20px;
  }

  .slide-subtitle {
    font-size: 20px;
    line-height: 28px;
  }

  .carousel-section {
    height: 700px;
  }

  .slide-image-full {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .carousel-section {
    height: auto;
    min-height: 100vh;
    padding-bottom: 80px;
  }

  .slide-content {
    padding: 0 20px;
    padding-top: 100px;
  }

  .slide-top-row {
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
  }

  .slide-text {
    max-width: 100%;
  }

  .slide-right {
    padding-bottom: 0;
  }

  .slide-heading {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.8px;
    margin: 24px 0 16px;
  }

  .slide-subtitle {
    font-size: 18px;
    line-height: 26px;
    max-width: 100%;
  }

  .slide-image-full {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    height: 220px;
    border-radius: 16px 16px 0 0;
  }

  .carousel-controls {
    bottom: 20px;
    left: 20px;
  }

  .carousel-indicators {
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .slide-heading {
    font-size: 32px;
    line-height: 40px;
  }

  .slide-subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .slide-image-full {
    height: 180px;
  }
}

/* ============================================
   GLASSMORPHISM UTILITIES
   ============================================ */

.glass {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ============================================
   ANIMATION UTILITIES (for future sections)
   ============================================ */

.anim-fade-up,
.anim-scale-in,
.anim-slide-left,
.anim-slide-right {
  will-change: transform, opacity;
}

/* Lenis smooth scroll body style */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ============================================
   INNOVATION TEXT SECTION
   ============================================ */

.innovation-section {
  padding: 57.6px 0 100px;
  background: var(--color-surface-main);
  position: relative;
  overflow: hidden;
}

.section-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.innovation-heading {
  font-size: 86.4px;
  font-weight: 600;
  line-height: 95.04px;
  letter-spacing: -1.728px;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.innovation-gradient {
  background: linear-gradient(135deg, rgb(17, 158, 238), rgb(29, 211, 186), rgb(17, 158, 238));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.innovation-subtitle {
  font-size: 17px;
  font-weight: 300;
  line-height: 23px;
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .innovation-heading {
    font-size: 56px;
    line-height: 64px;
    letter-spacing: -1px;
  }
}

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

  .section-inner {
    padding: 0 20px;
  }

  .innovation-heading {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -0.5px;
  }
}

/* ============================================
   CLIENT SHOWCASE — Logo Marquee + Case Cards
   ============================================ */

.clients-section {
  padding: 48px 0 80px;
  background: var(--color-surface-main);
  overflow: hidden;
}

.clients-container {
  max-width: 1360px;
  margin: 0 auto;
}

/* --- Logo Marquee --- */
.clients-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  min-width: 160px;
  opacity: 0.5;
  filter: grayscale(100%) brightness(2);
  transition: opacity 0.4s ease, filter 0.4s ease;
}

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

.marquee-item img {
  max-height: 50px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

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

/* --- Case Description Cards --- */
.clients-cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 40px 0;
}

.case-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.06) 0%,
    rgba(118, 75, 162, 0.03) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 20px;
}

.case-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

.case-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(102, 126, 234, 0.1);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.case-icon svg {
  width: 22px;
  height: 22px;
  color: rgb(102, 126, 234);
}

.case-client {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-primary);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.case-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgb(102, 126, 234);
  background: rgba(102, 126, 234, 0.08);
  padding: 5px 12px;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

/* --- Client Section Responsive --- */
@media (max-width: 1024px) {
  .clients-cases {
    grid-template-columns: repeat(2, 1fr);
    padding: 32px 40px 0;
  }
}

@media (max-width: 768px) {
  .clients-section {
    padding: 32px 0 60px;
  }

  .clients-cases {
    grid-template-columns: 1fr;
    padding: 24px 20px 0;
    gap: 16px;
  }

  .marquee-item {
    min-width: 120px;
    height: 36px;
  }

  .marquee-item img {
    max-height: 36px;
    max-width: 140px;
  }

  .marquee-track {
    gap: 50px;
  }
}

@media (max-width: 480px) {
  .case-card {
    padding: 24px 20px;
  }
}

/* ============================================
   SERVICES SECTION — 3×3 Grid
   ============================================ */

.services-section {
  padding: 0;
  background: var(--color-surface-main);
}

.services-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 64px 40px 100px;
  background: #0a0a0a;
  border-radius: 30px;
}

/* Section Header */
.section-header {
  margin-bottom: 48px;
}

.section-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 16px;
}

.section-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 51.2px;
  color: var(--color-text-primary);
}

.section-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
  white-space: nowrap;
}

.section-link:hover {
  color: var(--color-text-primary);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
}

/* Service Card */
.service-card {
  position: relative;
  display: flex;
  overflow: hidden;
  background: #0a0a0a;
  min-height: 300px;
  transition: background 0.4s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Card background image (abstract) */
.service-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.service-card:hover .service-card-bg {
  opacity: 0.3;
}

.service-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card content */
.service-card-content {
  position: relative;
  z-index: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

/* Icon */
.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.service-icon img {
  width: 24px;
  height: 24px;
}

/* Title */
.service-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

/* Description */
.service-description {
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  color: var(--color-text-muted);
  flex: 1;
}

/* ============================================
   SERVICES GRID — Responsive
   ============================================ */

@media (max-width: 1024px) {
  .services-container {
    padding: 48px 32px 80px;
    margin: 0 20px;
  }

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

  .section-title {
    font-size: 26px;
    line-height: 36px;
  }

  .service-card {
    min-height: 260px;
  }
}

@media (max-width: 768px) {
  .services-container {
    padding: 40px 20px 60px;
    margin: 0 16px;
    border-radius: 20px;
  }

  .section-header-row {
    flex-direction: column;
    gap: 8px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card-content {
    padding: 24px 20px;
  }

  .service-title {
    font-size: 17px;
  }
}

/* ============================================
   WHERE CODE MEETS CONSCIOUSNESS — Positioning
   ============================================ */

.positioning-section {
  padding: 120px 0;
  background: var(--color-surface-main);
  position: relative;
  overflow: hidden;
}

.positioning-bg-wrapper {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.positioning-bg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.positioning-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.positioning-left {
  position: sticky;
  top: 140px;
}

.positioning-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 24px;
}

.positioning-heading {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--color-text-primary);
}

.positioning-gradient {
  background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.positioning-right {
  padding-top: 12px;
}

.positioning-lead {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.positioning-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.positioning-cta-row {
  display: flex;
  align-items: center;
}

.positioning-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.positioning-cta:hover {
  border-color: rgba(102, 126, 234, 0.4);
  background: rgba(102, 126, 234, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.12);
}

.positioning-cta svg {
  transition: transform 0.3s ease;
}

.positioning-cta:hover svg {
  transform: translate(3px, -3px);
}

/* Decorative line between columns */
.positioning-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(102, 126, 234, 0.2) 30%,
    rgba(118, 75, 162, 0.2) 70%,
    transparent 100%
  );
  transform: translateX(-50%);
}

/* --- Positioning Responsive --- */
@media (max-width: 1024px) {
  .positioning-section {
    padding: 80px 0;
  }

  .positioning-heading {
    font-size: 48px;
  }

  .positioning-container {
    gap: 48px;
  }

  .positioning-left {
    position: static;
  }
}

@media (max-width: 768px) {
  .positioning-section {
    padding: 60px 0;
  }

  .positioning-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }

  .positioning-container::before {
    display: none;
  }

  .positioning-heading {
    font-size: 36px;
    letter-spacing: -0.8px;
  }

  .positioning-lead {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .positioning-heading {
    font-size: 30px;
  }

  .positioning-lead {
    font-size: 16px;
  }

  .positioning-body {
    font-size: 15px;
  }
}

/* ============================================
   OUR COMMITMENTS — 4 Pillars
   ============================================ */

.commitments-section {
  padding: 100px 0 120px;
  background: #0a0a0a;
  position: relative;
}

.commitments-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

.commitments-header {
  text-align: center;
  margin-bottom: 64px;
}

.commitments-title {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--color-text-primary);
}

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

.commitment-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.commitment-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.08) 0%,
    rgba(161, 66, 244, 0.04) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 20px;
}

.commitment-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(99, 102, 241, 0.1);
}

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

.commitment-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.commitment-card:hover .commitment-icon {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.commitment-name {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.commitment-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-muted);
  position: relative;
  z-index: 1;
}

/* --- Commitments Responsive --- */
@media (max-width: 1024px) {
  .commitments-section {
    padding: 80px 0;
  }

  .commitments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .commitments-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .commitments-section {
    padding: 60px 0;
  }

  .commitments-container {
    padding: 0 20px;
  }

  .commitments-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .commitments-title {
    font-size: 28px;
  }

  .commitments-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .commitment-card {
    padding: 28px 22px;
  }
}

/* ============================================
   TRUSTED BY INDUSTRY LEADERS — Animated Counters
   ============================================ */

.trust-section {
  padding: 120px 0;
  background: var(--color-surface-main);
  position: relative;
  overflow: hidden;
}

.trust-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.trust-left {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 48px 40px;
}

.trust-bg-image {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  z-index: 0;
}

.trust-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-metrics {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.trust-metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(161, 66, 244) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}

.metric-label {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.3px;
}

.metric-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.metric-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, rgb(99, 102, 241), rgb(161, 66, 244));
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-right {
  padding: 0 20px;
}

.trust-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 20px;
}

.trust-heading {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.trust-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgb(99, 102, 241);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

/* --- Trust Section Responsive --- */
@media (max-width: 1024px) {
  .trust-section {
    padding: 80px 0;
  }

  .trust-heading {
    font-size: 38px;
  }

  .metric-value {
    font-size: 40px;
  }

  .trust-container {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .trust-section {
    padding: 60px 0;
  }

  .trust-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }

  .trust-left {
    min-height: 300px;
    padding: 36px 28px;
  }

  .trust-right {
    padding: 0;
    text-align: center;
  }

  .trust-heading {
    font-size: 32px;
  }

  .trust-badges {
    justify-content: center;
  }

  .metric-value {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .trust-heading {
    font-size: 28px;
  }

  .metric-value {
    font-size: 32px;
  }

  .trust-left {
    padding: 28px 20px;
  }
}

/* Selection color */
::selection {
  background: rgba(255, 0, 18, 0.3);
  color: var(--color-text-primary);
}
