/* ═══════════ DESIGN TOKENS ═══════════ */
:root {
  /* Colors */
  --c-bg-dark: #09090b;
  --c-bg-dark-2: #111114;
  --c-bg-light: #fafafa;
  --c-bg-light-2: #f0f0f3;
  --c-surface: rgba(255, 255, 255, 0.04);
  --c-surface-light: #ffffff;
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-light: rgba(0, 0, 0, 0.08);
  --c-text-primary: #fafafa;
  --c-text-secondary: #a1a1aa;
  --c-text-dark: #18181b;
  --c-text-dark-secondary: #52525b;
  --c-accent: #6366f1;
  --c-accent-2: #8b5cf6;
  --c-accent-3: #a855f7;
  --c-gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
  --c-gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
  --c-glow: rgba(99, 102, 241, 0.3);
  /* Typography */
  --f-heading: 'Outfit', sans-serif;
  --f-body: 'Inter', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3.5rem;
  --fs-6xl: 4.5rem;
  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  /* Radius */
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-full: 9999px;
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
  /* Transition */
  --tr: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--f-body);
  background: var(--c-bg-dark);
  color: var(--c-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

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

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

.section-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
  text-align: center;
}

.section-title {
  font-family: var(--f-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  color: var(--c-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--sp-16);
  font-size: var(--fs-lg);
  line-height: 1.8;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-12);
}

/* ═══════════ ANIMATIONS ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes float {

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

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  }

  50% {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
  }
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-weight: 600;
  border-radius: var(--r-full);
  transition: var(--tr);
  cursor: pointer;
  white-space: nowrap;
}

.btn--sm {
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--fs-sm);
}

.btn--lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-base);
}

.btn--primary {
  background: var(--c-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5);
}

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

.btn--ghost:hover {
  border-color: var(--c-accent);
  background: rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}

.btn--instagram {
  border: 1px solid rgba(225, 48, 108, 0.4);
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.15), rgba(225, 48, 108, 0.15), rgba(252, 175, 69, 0.15));
  color: #fff;
}

.btn--instagram:hover {
  border-color: rgba(225, 48, 108, 0.8);
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.3), rgba(225, 48, 108, 0.3), rgba(252, 175, 69, 0.3));
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(225, 48, 108, 0.25);
}

.btn--instagram svg {
  flex-shrink: 0;
}

/* ═══════════ HEADER ═══════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-4) 0;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  transition: var(--tr);
}

.header.scrolled {
  padding: var(--sp-3) 0;
  background: rgba(9, 9, 11, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-family: var(--f-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.header__nav {
  display: flex;
  gap: var(--sp-8);
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text-secondary);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-gradient);
  transition: var(--tr);
}

.nav-link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: var(--c-surface);
  border-radius: var(--r-full);
  padding: 2px;
  border: 1px solid var(--c-border);
}

.lang-btn {
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--r-full);
  color: var(--c-text-secondary);
  transition: var(--tr);
}

.lang-btn.active {
  background: var(--c-gradient);
  color: #fff;
}

.lang-btn:hover:not(.active) {
  color: var(--c-text-primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--c-text-primary);
  border-radius: 2px;
  transition: var(--tr);
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-24) 0 var(--sp-16);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(168, 85, 247, 0.08), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(99, 102, 241, 0.05), transparent);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M60 0H0v60' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='0.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-8);
}

.hero__content {
  text-align: left;
}

.hero__badge {
  display: inline-block;
  padding: var(--sp-2) var(--sp-5);
  background: var(--c-gradient-subtle);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-accent);
  margin-bottom: var(--sp-8);
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero__title {
  font-family: var(--f-heading);
  font-size: var(--fs-6xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--sp-6);
  background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--c-text-secondary);
  max-width: 540px;
  margin-bottom: var(--sp-10);
  line-height: 1.8;
}

.hero__ctas {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: var(--sp-12);
  padding-top: var(--sp-10);
  margin-top: var(--sp-12);
  border-top: 1px solid var(--c-border);
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--f-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  background: var(--c-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
}

/* ═══════════ 3D ORB VISUAL ═══════════ */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.1s ease-out;
}

.orb {
  position: relative;
  width: 460px;
  height: 460px;
  perspective: 1200px;
}

/* ── Shared sphere shell styles ── */
.orb__sphere {
  position: absolute;
  transform-style: preserve-3d;
}

.orb__sphere--outer {
  inset: 20px;
  animation: orbSpin 25s linear infinite;
}

.orb__sphere--mid {
  inset: 60px;
  animation: orbSpinReverse 18s linear infinite;
}

.orb__sphere--inner {
  inset: 100px;
  animation: orbSpin 12s linear infinite;
}

/* Ultra-outer shell - largest, slowest, most ethereal */
.orb__sphere--ultra {
  inset: -10px;
  animation: orbSpinUltra 45s linear infinite;
}

.orb__ring--u1 {
  transform: rotateX(25deg) rotateY(15deg);
  border-width: 0.8px;
  border-top-color: rgba(99, 102, 241, 0.2);
  border-bottom-color: rgba(168, 85, 247, 0.08);
}

.orb__ring--u2 {
  transform: rotateX(75deg) rotateY(65deg);
  border-width: 0.8px;
  border-top-color: rgba(139, 92, 246, 0.18);
  border-bottom-color: rgba(99, 102, 241, 0.06);
}

.orb__ring--u3 {
  transform: rotateX(130deg) rotateY(110deg);
  border-width: 0.8px;
  border-top-color: rgba(168, 85, 247, 0.15);
  border-bottom-color: rgba(139, 92, 246, 0.05);
}

@keyframes orbSpinUltra {
  0% {
    transform: rotateX(-10deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(-10deg) rotateY(360deg) rotateZ(5deg);
  }
}

/* ── Wireframe rings ── */
.orb__ring {
  position: absolute;
  inset: 0;
  border: 1.2px solid transparent;
  border-radius: 50%;
  border-top-color: rgba(99, 102, 241, 0.5);
  border-bottom-color: rgba(168, 85, 247, 0.25);
}

/* Outer shell rings (5) */
.orb__ring--1 {
  transform: rotateX(0deg) rotateY(0deg);
}

.orb__ring--2 {
  transform: rotateX(72deg) rotateY(36deg);
}

.orb__ring--3 {
  transform: rotateX(144deg) rotateY(72deg);
  border-top-color: rgba(168, 85, 247, 0.45);
}

.orb__ring--4 {
  transform: rotateX(36deg) rotateY(108deg);
  border-top-color: rgba(139, 92, 246, 0.5);
  border-bottom-color: rgba(99, 102, 241, 0.2);
}

.orb__ring--5 {
  transform: rotateX(108deg) rotateY(144deg);
  border-top-color: rgba(168, 85, 247, 0.35);
}

/* Mid shell rings (4) - thicker, more visible */
.orb__ring--6 {
  transform: rotateX(20deg) rotateY(50deg);
  border-width: 1.5px;
  border-top-color: rgba(99, 102, 241, 0.65);
  border-bottom-color: rgba(168, 85, 247, 0.35);
}

.orb__ring--7 {
  transform: rotateX(80deg) rotateY(20deg);
  border-width: 1.5px;
  border-top-color: rgba(139, 92, 246, 0.6);
}

.orb__ring--8 {
  transform: rotateX(140deg) rotateY(80deg);
  border-width: 1.5px;
  border-top-color: rgba(168, 85, 247, 0.55);
  border-bottom-color: rgba(99, 102, 241, 0.3);
}

.orb__ring--9 {
  transform: rotateX(50deg) rotateY(130deg);
  border-width: 1.5px;
  border-top-color: rgba(99, 102, 241, 0.5);
}

/* Inner shell rings (3) - brightest */
.orb__ring--10 {
  transform: rotateX(45deg) rotateY(0deg);
  border-width: 1.8px;
  border-top-color: rgba(99, 102, 241, 0.75);
  border-bottom-color: rgba(168, 85, 247, 0.4);
}

.orb__ring--11 {
  transform: rotateX(90deg) rotateY(60deg);
  border-width: 1.8px;
  border-top-color: rgba(139, 92, 246, 0.7);
  border-bottom-color: rgba(99, 102, 241, 0.35);
}

.orb__ring--12 {
  transform: rotateX(135deg) rotateY(120deg);
  border-width: 1.8px;
  border-top-color: rgba(168, 85, 247, 0.65);
}

@keyframes orbSpin {
  0% {
    transform: rotateX(-20deg) rotateY(0deg);
  }

  100% {
    transform: rotateX(-20deg) rotateY(360deg);
  }
}

@keyframes orbSpinReverse {
  0% {
    transform: rotateX(15deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(15deg) rotateY(-360deg) rotateZ(10deg);
  }
}

/* ── Dashed orbital paths ── */
.orb__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(99, 102, 241, 0.15);
}

.orb__orbit--1 {
  inset: 5px;
  transform: rotateX(70deg) rotateY(20deg);
  animation: orbitSpin1 35s linear infinite;
}

.orb__orbit--2 {
  inset: -10px;
  border-color: rgba(139, 92, 246, 0.12);
  transform: rotateX(45deg) rotateY(70deg);
  animation: orbitSpin2 40s linear infinite;
}

.orb__orbit--3 {
  inset: 30px;
  border-color: rgba(168, 85, 247, 0.1);
  border-style: dotted;
  transform: rotateX(85deg) rotateY(130deg);
  animation: orbitSpin1 28s linear infinite reverse;
}

.orb__orbit--4 {
  inset: -20px;
  border-color: rgba(99, 102, 241, 0.08);
  border-style: dashed;
  border-width: 0.8px;
  transform: rotateX(30deg) rotateY(90deg);
  animation: orbitSpin2 50s linear infinite;
}

.orb__orbit--5 {
  inset: 45px;
  border-color: rgba(168, 85, 247, 0.06);
  border-style: dotted;
  border-width: 0.6px;
  transform: rotateX(60deg) rotateY(160deg);
  animation: orbitSpin1 38s linear infinite;
}

@keyframes orbitSpin1 {
  0% {
    transform: rotateX(70deg) rotateY(20deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(70deg) rotateY(20deg) rotateZ(360deg);
  }
}

@keyframes orbitSpin2 {
  0% {
    transform: rotateX(45deg) rotateY(70deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(45deg) rotateY(70deg) rotateZ(-360deg);
  }
}

/* ── Orbiting satellite nodes ── */
.orb__satellite {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform-style: preserve-3d;
}

.orb__satellite--1 {
  animation: satelliteOrbit1 10s linear infinite;
}

.orb__satellite--2 {
  animation: satelliteOrbit2 14s linear infinite;
}

.orb__satellite--3 {
  animation: satelliteOrbit3 18s linear infinite;
}

.sat-node {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.9), 0 0 30px rgba(99, 102, 241, 0.4);
}

.orb__satellite--2 .sat-node {
  background: #8b5cf6;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.9), 0 0 30px rgba(139, 92, 246, 0.4);
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
}

.orb__satellite--3 .sat-node {
  background: #a855f7;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.8), 0 0 25px rgba(168, 85, 247, 0.3);
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  margin-top: -2.5px;
}

.sat-trail {
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  margin-top: -1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
  border-radius: 2px;
  filter: blur(1px);
}

@keyframes satelliteOrbit1 {
  0% {
    transform: rotateX(70deg) rotateY(0deg);
  }

  100% {
    transform: rotateX(70deg) rotateY(360deg);
  }
}

@keyframes satelliteOrbit2 {
  0% {
    transform: rotateX(40deg) rotateY(90deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(40deg) rotateY(90deg) rotateZ(-360deg);
  }
}

@keyframes satelliteOrbit3 {
  0% {
    transform: rotateX(85deg) rotateY(45deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(85deg) rotateY(45deg) rotateZ(360deg);
  }
}

/* ── Inner glowing core (triple layer) ── */
.orb__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45) 0%, rgba(168, 85, 247, 0.15) 40%, transparent 70%);
  animation: corePulse 3s ease-in-out infinite;
}

.orb__core--secondary {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, rgba(99, 102, 241, 0.2) 50%, transparent 75%);
  animation: corePulse 2s ease-in-out infinite 0.5s;
}

.orb__core--tertiary {
  width: 25px;
  height: 25px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(99, 102, 241, 0.4) 40%, transparent 70%);
  animation: corePulse 1.5s ease-in-out infinite 1s;
}

@keyframes corePulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.35);
  }
}

/* ── Orbiting particles (12) ── */
.orb__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.8), 0 0 20px rgba(99, 102, 241, 0.3);
}

.orb__particle--1 {
  top: 12%;
  left: 22%;
  animation: particleFloat1 6s ease-in-out infinite;
  background: #8b5cf6;
  width: 5px;
  height: 5px;
}

.orb__particle--2 {
  top: 22%;
  right: 15%;
  animation: particleFloat2 7s ease-in-out infinite 0.4s;
  width: 4px;
  height: 4px;
}

.orb__particle--3 {
  bottom: 28%;
  left: 12%;
  animation: particleFloat3 8s ease-in-out infinite 0.9s;
  background: #a855f7;
  width: 3px;
  height: 3px;
}

.orb__particle--4 {
  bottom: 15%;
  right: 22%;
  animation: particleFloat1 5.5s ease-in-out infinite 1.3s;
  width: 6px;
  height: 6px;
}

.orb__particle--5 {
  top: 48%;
  left: 5%;
  animation: particleFloat2 9s ease-in-out infinite 1.8s;
  background: #a855f7;
  width: 3px;
  height: 3px;
}

.orb__particle--6 {
  top: 8%;
  left: 52%;
  animation: particleFloat3 7s ease-in-out infinite 0.6s;
  width: 4px;
  height: 4px;
}

.orb__particle--7 {
  bottom: 8%;
  left: 48%;
  animation: particleFloat1 6.5s ease-in-out infinite 2.2s;
  background: #8b5cf6;
  width: 3px;
  height: 3px;
}

.orb__particle--8 {
  top: 38%;
  right: 5%;
  animation: particleFloat2 8s ease-in-out infinite 1.1s;
  width: 5px;
  height: 5px;
  background: #a855f7;
}

.orb__particle--9 {
  top: 5%;
  left: 38%;
  animation: particleFloat3 6s ease-in-out infinite 0.3s;
  background: #6366f1;
  width: 3px;
  height: 3px;
}

.orb__particle--10 {
  bottom: 5%;
  right: 38%;
  animation: particleFloat1 7.5s ease-in-out infinite 1.7s;
  background: #8b5cf6;
  width: 4px;
  height: 4px;
}

.orb__particle--11 {
  top: 60%;
  left: 18%;
  animation: particleFloat2 8.5s ease-in-out infinite 2.5s;
  width: 3px;
  height: 3px;
}

.orb__particle--12 {
  top: 30%;
  right: 10%;
  animation: particleFloat3 5s ease-in-out infinite 0.7s;
  background: #a855f7;
  width: 5px;
  height: 5px;
}

@keyframes particleFloat1 {

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

  25% {
    transform: translate(12px, -18px) scale(1.3);
    opacity: 1;
  }

  50% {
    transform: translate(-6px, -28px) scale(0.8);
    opacity: 0.4;
  }

  75% {
    transform: translate(-18px, -10px) scale(1.15);
    opacity: 0.9;
  }
}

@keyframes particleFloat2 {

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

  33% {
    transform: translate(-14px, 20px) scale(1.4);
    opacity: 1;
  }

  66% {
    transform: translate(10px, -14px) scale(0.7);
    opacity: 0.35;
  }
}

@keyframes particleFloat3 {

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

  50% {
    transform: translate(18px, 22px) scale(1.5);
    opacity: 0.45;
  }
}

/* ── Geodesic mesh SVG ── */
.orb__mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: meshRotate 40s linear infinite;
}

.orb__mesh polygon,
.orb__mesh line {
  animation: meshPulse 5s ease-in-out infinite;
}

.orb__mesh polygon:nth-child(2n) {
  animation-delay: 1.5s;
}

.orb__mesh polygon:nth-child(3n) {
  animation-delay: 3s;
}

.orb__mesh line:nth-child(2n) {
  animation-delay: 0.8s;
}

.orb__mesh line:nth-child(3n) {
  animation-delay: 1.6s;
}

.orb__mesh line:nth-child(5n) {
  animation-delay: 2.4s;
}

.orb__mesh circle {
  animation: vertexPulse 3s ease-in-out infinite;
}

.orb__mesh circle:nth-child(2n) {
  animation-delay: 0.5s;
}

.orb__mesh circle:nth-child(3n) {
  animation-delay: 1s;
}

.orb__mesh circle:nth-child(5n) {
  animation-delay: 1.5s;
}

@keyframes meshRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

@keyframes meshPulse {

  0%,
  100% {
    opacity: 0.15;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes vertexPulse {

  0%,
  100% {
    opacity: 0.4;
    r: 2;
  }

  50% {
    opacity: 0.9;
    r: 3.5;
  }
}

/* ── Secondary mesh (counter-rotating) ── */
.orb__mesh--secondary {
  animation: meshRotateReverse 55s linear infinite;
}

@keyframes meshRotateReverse {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ── Data stream arc paths ── */
.orb__datastream {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: datastreamRotate 30s linear infinite;
}

.orb__datastream path {
  animation: datastreamFlow 3s linear infinite;
}

.orb__datastream path:nth-child(2) {
  animation-delay: 0.8s;
}

.orb__datastream path:nth-child(3) {
  animation-delay: 1.6s;
}

.orb__datastream path:nth-child(4) {
  animation-delay: 2.4s;
}

@keyframes datastreamRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

@keyframes datastreamFlow {
  0% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -20;
  }
}

/* ── Constellation outer lines ── */
.orb__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: linesRotate 35s linear infinite;
}

.orb__lines line {
  animation: linePulse 4s ease-in-out infinite;
}

.orb__lines line:nth-child(2n) {
  animation-delay: 1.2s;
}

.orb__lines line:nth-child(3n) {
  animation-delay: 2.4s;
}

@keyframes linesRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes linePulse {

  0%,
  100% {
    opacity: 0.1;
  }

  50% {
    opacity: 0.3;
  }
}

/* ── Ambient glow (dual layer) ── */
.orb__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(99, 102, 241, 0.18) 0%,
      rgba(139, 92, 246, 0.1) 35%,
      rgba(168, 85, 247, 0.04) 55%,
      transparent 75%);
  filter: blur(40px);
  animation: glowPulse 4s ease-in-out infinite;
}

.orb__glow--secondary {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle,
      rgba(139, 92, 246, 0.06) 0%,
      rgba(99, 102, 241, 0.03) 40%,
      transparent 65%);
  filter: blur(60px);
  animation: glowPulse 6s ease-in-out infinite 1s;
}

.orb__glow--tertiary {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle,
      rgba(168, 85, 247, 0.03) 0%,
      rgba(99, 102, 241, 0.015) 50%,
      transparent 70%);
  filter: blur(80px);
  animation: glowPulse 8s ease-in-out infinite 2s;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* ═══════════ ENTITY ═══════════ */
.entity {
  padding: var(--sp-24) 0;
  background: var(--c-bg-dark-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.entity__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

.entity__card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: var(--tr);
}

.entity__card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.entity__icon {
  margin-bottom: var(--sp-4);
  color: var(--c-accent);
}

.entity__card h3 {
  font-family: var(--f-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.entity__card p {
  color: var(--c-text-secondary);
  line-height: 1.8;
}

/* ═══════════ SERVICES ═══════════ */
.services {
  padding: var(--sp-24) 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: var(--tr);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.service-card__icon {
  margin-bottom: var(--sp-4);
  color: var(--c-accent);
}

.service-card__title {
  font-family: var(--f-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.service-card__desc {
  color: var(--c-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
  flex-grow: 1;
}

.service-card__benefits {
  margin-bottom: var(--sp-4);
}

.service-card__benefits li {
  padding: var(--sp-2) 0;
  color: var(--c-text-secondary);
  font-size: var(--fs-sm);
  position: relative;
  padding-left: var(--sp-6);
}

.service-card__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}

.service-card__link {
  color: var(--c-accent);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.service-card__link:hover {
  color: var(--c-accent-3);
}

/* ═══════════ AUTOMATION SYSTEMS ═══════════ */
.automation {
  padding: var(--sp-24) 0;
}

.automation__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

.automation__card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: var(--tr);
  position: relative;
}

.automation__card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.automation__number {
  font-family: var(--f-heading);
  font-size: var(--fs-4xl);
  font-weight: 800;
  background: var(--c-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-6);
  line-height: 1;
}

.automation__card h3 {
  font-family: var(--f-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.automation__card p {
  color: var(--c-text-secondary);
  line-height: 1.8;
}

.automation__entity {
  color: var(--c-text-secondary);
  line-height: 1.8;
  font-size: var(--fs-base);
  max-width: 900px;
  margin: 0 auto var(--sp-12);
  text-align: center;
  padding: var(--sp-8);
  background: var(--c-gradient-subtle);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--r-xl);
}

/* ── Logo Carousel ── */
.carousel {
  overflow: hidden;
  position: relative;
  padding: var(--sp-8) 0 var(--sp-4);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel__track {
  display: flex;
  gap: var(--sp-8);
  animation: carouselScroll 40s linear infinite;
  width: max-content;
}

.carousel__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-6);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: var(--tr);
  filter: grayscale(100%);
  opacity: 0.5;
}

.carousel__logo img {
  height: 24px;
  width: 24px;
  object-fit: contain;
}

.carousel__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.carousel__logo span {
  font-family: var(--f-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: var(--c-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes carouselScroll {
  0% {
    transform: translateX(0);
  }

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

/* ═══════════ FAQ ═══════════ */
.faq {
  padding: var(--sp-24) 0;
  background: var(--c-bg-dark-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.faq__list {
  max-width: 800px;
  margin: var(--sp-12) auto 0;
}

.faq__item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-4);
  overflow: hidden;
  transition: var(--tr);
}

.faq__item:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.faq__question {
  width: 100%;
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  font-size: var(--fs-base);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--c-surface);
}

.faq__question::after {
  content: '+';
  font-size: var(--fs-xl);
  color: var(--c-accent);
  transition: var(--tr);
  flex-shrink: 0;
  margin-left: var(--sp-4);
}

.faq__item.open .faq__question::after {
  content: '−';
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.open .faq__answer {
  max-height: 600px;
  padding: 0 var(--sp-6) var(--sp-6);
}

.faq__answer p {
  color: var(--c-text-secondary);
  line-height: 1.8;
}

/* ═══════════ FOUNDER ═══════════ */
.founder {
  padding: var(--sp-24) 0;
}

.founder__content {
  display: flex;
  gap: var(--sp-12);
  align-items: center;
  max-width: 900px;
  margin: var(--sp-12) auto 0;
}

.founder__content+.founder__content {
  margin-top: var(--sp-24);
  padding-top: var(--sp-16);
  border-top: 1px solid var(--c-border);
}

@media (min-width: 769px) {
  .founder__content+.founder__content {
    flex-direction: row-reverse;
  }
}

.founder__name {
  font-family: var(--f-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
}

.founder__avatar {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  border-radius: 50%;
}

.founder__avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--c-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.founder__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.2);
  border: 4px solid rgba(99, 102, 241, 0.1);
}

.founder__role {
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-lg);
}

.founder__bio p {
  color: var(--c-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}

.founder__expertise {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.expertise-tag {
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-gradient-subtle);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-accent);
}

/* ═══════════ CONTACT ═══════════ */
.contact {
  padding: var(--sp-24) 0;
  background: var(--c-bg-dark-2);
  border-top: 1px solid var(--c-border);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-8);
  align-items: start;
}

.contact__info-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__info-icon {
  margin-bottom: var(--sp-4);
  color: var(--c-accent);
}

.contact__info-card h3 {
  font-family: var(--f-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.contact__info-card p {
  color: var(--c-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-6);
}

.contact__info-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.contact__btn-full {
  width: 100%;
  text-align: center;
}

/* Form */
.contact__form-wrapper {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
}

.contact__form-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--c-gradient);
  z-index: 0;
  border-radius: var(--r-xl);
  opacity: 0.06;
}

.contact__form {
  position: relative;
  z-index: 1;
}

.contact__form-title {
  font-family: var(--f-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.contact__form-subtitle {
  color: var(--c-text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-group {
  margin-bottom: var(--sp-4);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--c-text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text-primary);
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  transition: var(--tr);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(161, 161, 170, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23a1a1aa'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--sp-10);
}

.form-group select option {
  background: var(--c-bg-dark-2);
  color: var(--c-text-primary);
}

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

/* Checkbox Group */
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}

@media (min-width: 640px) {
  .checkbox-group {
    grid-template-columns: 1fr 1fr;
  }
}

.checkbox-item {
  display: flex !important;
  align-items: center;
  gap: var(--sp-3);
  cursor: pointer;
  margin-bottom: 0 !important;
  color: var(--c-text-primary) !important;
  font-weight: 400 !important;
  font-size: var(--fs-sm);
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--tr);
}

.checkbox-item input[type="checkbox"]:checked+.custom-checkbox {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.checkbox-item input[type="checkbox"]:checked+.custom-checkbox::after {
  content: '';
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

/* Spinner */
.form-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.contact__form.loading .form-spinner {
  display: inline-block;
}

.contact__form.loading #formSubmitBtn span:first-child {
  opacity: 0.6;
}

/* Success */
.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-8) 0;
}

.form-success__icon {
  margin-bottom: var(--sp-4);
  color: var(--c-accent);
  display: flex;
  justify-content: center;
}

.form-success p {
  color: var(--c-text-secondary);
  font-size: var(--fs-base);
  line-height: 1.8;
}

.contact__form.success .form-success {
  display: block;
}

.contact__form.success .form-row,
.contact__form.success .form-group,
.contact__form.success #formSubmitBtn,
.contact__form.success .contact__form-title,
.contact__form.success .contact__form-subtitle {
  display: none;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  padding: var(--sp-16) 0 var(--sp-8);
  border-top: 1px solid var(--c-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.footer__tagline {
  color: var(--c-text-secondary);
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  line-height: 1.8;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border);
  color: var(--c-text-secondary);
  transition: var(--tr);
}

.footer__social-link:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.footer__col h4 {
  font-family: var(--f-heading);
  font-weight: 700;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
}

.footer__col a {
  display: block;
  color: var(--c-text-secondary);
  font-size: var(--fs-sm);
  padding: var(--sp-1) 0;
}

.footer__col a:hover {
  color: var(--c-accent);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  text-align: center;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--c-border);
  color: var(--c-text-secondary);
  font-size: var(--fs-sm);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer__legal-link {
  background: none;
  border: none;
  color: var(--c-text-secondary);
  font-size: var(--fs-xs);
  cursor: pointer;
  padding: 0;
  transition: var(--tr);
}

.footer__legal-link:hover {
  color: var(--c-accent);
  text-decoration: underline;
}

.footer__legal-sep {
  color: var(--c-border);
  font-size: var(--fs-xs);
}

/* ═══════════ MODAL ═══════════ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal__container {
  position: relative;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal.is-open .modal__container {
  transform: translateY(0) scale(1);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) var(--sp-8);
  border-bottom: 1px solid var(--c-border);
  background: rgba(15, 15, 15, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal__title {
  font-family: var(--f-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
}

.modal__close {
  background: transparent;
  border: none;
  color: var(--c-text-secondary);
  cursor: pointer;
  padding: var(--sp-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  transition: var(--tr);
}

.modal__close:hover {
  background: var(--c-bg-hover);
  color: var(--c-text);
}

.modal__content {
  padding: var(--sp-8);
  overflow-y: auto;
  color: var(--c-text-secondary);
  font-size: var(--fs-base);
  line-height: 1.7;
}

.legal-content h4 {
  color: var(--c-text);
  font-size: var(--fs-lg);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-2);
  font-family: var(--f-heading);
}

.legal-content h4:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content ul {
  margin-bottom: var(--sp-4);
}

.legal-content ul {
  padding-left: var(--sp-5);
}

.legal-content li {
  margin-bottom: var(--sp-2);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}


/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    text-align: center;
    order: 2;
  }

  .hero__visual {
    order: 1;
    margin-bottom: var(--sp-4);
  }

  .orb {
    width: 320px;
    height: 320px;
  }

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

  .hero__ctas {
    justify-content: center;
  }

  .hero__title {
    font-size: var(--fs-5xl);
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: var(--fs-4xl);
  }

  .orb {
    width: 260px;
    height: 260px;
  }

  .orb__core {
    width: 50px;
    height: 50px;
  }

  .orb__glow {
    width: 200px;
    height: 200px;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--sp-6);
  }

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

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

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

  .founder__content {
    flex-direction: column;
    text-align: center;
  }

  .founder__expertise {
    justify-content: center;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .header__nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.98);
    padding: var(--sp-6);
    gap: var(--sp-4);
    border-bottom: 1px solid var(--c-border);
  }

  .section-title {
    font-size: var(--fs-3xl);
  }

  .btn--lg {
    padding: var(--sp-3) var(--sp-6);
    font-size: var(--fs-sm);
  }

  .header .container {
    padding: 0 var(--sp-3);
  }

  .logo-text {
    font-size: var(--fs-base);
  }

  .header__actions {
    gap: var(--sp-2);
  }

  .lang-btn {
    padding: var(--sp-1) var(--sp-2);
    font-size: 0.65rem;
  }

  .header__actions .btn {
    padding: var(--sp-2) var(--sp-3);
    font-size: var(--fs-xs);
    white-space: nowrap;
    text-align: center;
  }

  .hamburger {
    padding: var(--sp-1);
  }
}