/* ============================================
   MARKETACE — Main Stylesheet
   Cyan Blue / Black / White Design System
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --cyan: #00e5ff;
  --cyan-mid: #00b4d8;
  --cyan-dark: #0077b6;
  --cyan-glow: rgba(0, 229, 255, 0.15);
  --cyan-glow-strong: rgba(0, 229, 255, 0.35);
  --black: #000000;
  --black-surface: #0a0a0a;
  --black-card: #111111;
  --black-border: #1e1e1e;
  --white: #ffffff;
  --white-muted: #999999;
  --white-dim: rgba(255, 255, 255, 0.06);

  --font-primary: 'Space Grotesk', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);

  --transition: 0.4s var(--ease-out-expo);
  --transition-fast: 0.2s var(--ease-out-quart);

  --nav-height: 72px;
  --section-pad: clamp(80px, 12vw, 160px);
  --container: 1400px;
  --gutter: clamp(20px, 4vw, 60px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: auto; }
body {
  font-family: var(--font-secondary);
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Selection ---- */
::selection { background: var(--cyan); color: var(--black); }

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.preloader-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}
.preloader-logo .logo-text {
  font-family: var(--font-primary);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.02em;
  line-height: 1;
}
.preloader-line {
  width: 2px;
  height: 60px;
  background: var(--white-dim);
  overflow: hidden;
  position: relative;
}
.preloader-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  animation: preloader-line-anim 1.5s var(--ease-out-expo) infinite;
}
@keyframes preloader-line-anim {
  0% { top: -100%; }
  100% { top: 100%; }
}
.preloader-counter {
  font-family: var(--font-primary);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 300;
  color: var(--white-muted);
  letter-spacing: 0.1em;
}
.preloader-progress {
  width: clamp(200px, 40vw, 400px);
  height: 1px;
  background: var(--black-border);
  overflow: hidden;
}
.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan-dark), var(--cyan));
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--cyan);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: exclusion;
  transform: translate(-50%, -50%);
}
.cursor-inner {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.1s;
}
.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 229, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
body.cursor-hover .cursor-follower {
  width: 70px;
  height: 70px;
  border-color: var(--cyan);
}
body.cursor-hover .cursor-inner {
  transform: scale(3);
}
@media (max-width: 1024px) {
  .cursor, .cursor-follower { display: none; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 0 var(--gutter);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: var(--cyan);
  color: var(--black);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.nav-logo .logo-full {
  position: relative;
}
.nav-logo .logo-full::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-logo:hover .logo-full::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-cta {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-muted);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-cta::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-cta:hover { color: var(--cyan); }
.nav-cta:hover::after { width: 100%; }

.nav-menu-btn {
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--white-dim);
  border-radius: 50%;
  border: 1px solid var(--black-border);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.nav-menu-btn span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s, width 0.3s, background 0.3s;
}
.nav-menu-btn span:last-child { width: 12px; }
.nav-menu-btn:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
}
.nav-menu-btn:hover span { background: var(--cyan); }
.nav-menu-btn:hover span:last-child { width: 18px; }

/* ============================================
   FULLSCREEN MENU
   ============================================ */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  background: var(--black-surface);
  z-index: 950;
  display: flex;
  align-items: center;
  padding: var(--gutter);
  clip-path: circle(0% at calc(100% - 54px) 36px);
  transition: clip-path 0.8s var(--ease-out-expo);
  border-left: 1px solid var(--black-border);
}
.fullscreen-menu.open {
  clip-path: circle(150% at calc(100% - 54px) 36px);
}
.menu-bg-text {
  position: absolute;
  bottom: -0.1em;
  right: -0.05em;
  font-family: var(--font-primary);
  font-size: clamp(80px, 18vw, 220px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.menu-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 80px 0 40px;
}
.menu-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.menu-item {
  overflow: hidden;
}
.menu-link {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  font-family: var(--font-primary);
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--black-border);
  transition: color 0.3s, padding-left 0.4s var(--ease-out-expo);
  transform: translateY(100%);
  opacity: 0;
}
.fullscreen-menu.open .menu-link {
  transform: translateY(0%);
  opacity: 1;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.4s, color 0.3s, padding-left 0.4s;
}
.fullscreen-menu.open .menu-item:nth-child(1) .menu-link { transition-delay: 0.1s; }
.fullscreen-menu.open .menu-item:nth-child(2) .menu-link { transition-delay: 0.15s; }
.fullscreen-menu.open .menu-item:nth-child(3) .menu-link { transition-delay: 0.2s; }
.fullscreen-menu.open .menu-item:nth-child(4) .menu-link { transition-delay: 0.25s; }
.fullscreen-menu.open .menu-item:nth-child(5) .menu-link { transition-delay: 0.3s; }
.menu-link:hover { color: var(--cyan); padding-left: 12px; }
.menu-link-num {
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 400;
  color: var(--cyan);
  letter-spacing: 0.1em;
}
.menu-link-arrow {
  margin-left: auto;
  font-size: clamp(20px, 3vw, 40px);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s, transform 0.3s;
}
.menu-link:hover .menu-link-arrow { opacity: 1; transform: translateX(0); }
.menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.menu-footer-socials {
  display: flex;
  gap: 24px;
}
.social-link {
  font-size: 14px;
  color: var(--white-muted);
  letter-spacing: 0.05em;
  transition: color 0.3s;
  position: relative;
}
.social-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s;
}
.social-link:hover { color: var(--cyan); }
.social-link:hover::after { width: 100%; }
.menu-footer-contact {
  font-size: 14px;
  color: var(--white-muted);
}
.menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-dim);
  border-radius: 50%;
  border: 1px solid var(--black-border);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out-expo);
}
.menu-close svg { width: 20px; height: 20px; }
.menu-close:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
  transform: rotate(90deg);
}

/* ============================================
   SCROLL CONTAINER (LOCOMOTIVE)
   ============================================ */
html.has-scroll-smooth { overflow: hidden; }
html.has-scroll-dragging { user-select: none; }
[data-scroll-container] { min-height: 100vh; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--cyan-dark); border-radius: 4px; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--black);
}

/* Hero grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: calc(100vh - var(--nav-height));
}
.hero-left { display: flex; flex-direction: column; gap: 28px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0;
  transform: translateY(20px);
}
.hero-tag::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--cyan);
}
.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: var(--white);
}
.hero-title-line {
  display: block;
  overflow: hidden;
}
.word-wrap {
  display: inline-block;
  transform: translateY(110%);
}
.hero-title-accent { color: var(--cyan); }
.hero-desc {
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--white-muted);
  line-height: 1.65;
  max-width: 460px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--cyan);
  padding: 16px 32px;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(20px);
  transition: background 0.3s, transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
  align-self: flex-start;
}
.hero-cta-btn svg { width: 18px; height: 18px; transition: transform 0.3s; }
.hero-cta-btn:hover { background: var(--white); box-shadow: 0 0 40px var(--cyan-glow-strong); }
.hero-cta-btn:hover svg { transform: translateX(4px); }

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 600px;
}
.hero-3d-container {
  width: 100%;
  height: 100%;
  position: absolute;
}
.hero-floating-cta {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}
.circular-text {
  position: absolute;
  width: 120px;
  height: 120px;
  animation: rotate-text 10s linear infinite;
}
.circular-text text {
  font-size: 9px;
  font-family: var(--font-primary);
  fill: var(--white-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hero-floating-cta-arrow {
  width: 48px;
  height: 48px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out-expo), background 0.3s;
}
.hero-floating-cta-arrow svg { width: 20px; height: 20px; stroke: var(--black); }
.hero-floating-cta:hover .hero-floating-cta-arrow {
  transform: scale(1.2);
  background: var(--white);
}
@keyframes rotate-text {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  opacity: 0;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--black-border);
  overflow: hidden;
  position: relative;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  animation: scroll-line-anim 1.8s var(--ease-out-expo) infinite;
}
@keyframes scroll-line-anim {
  0% { top: -100%; }
  100% { top: 100%; }
}
.hero-scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-muted);
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
  background: var(--cyan);
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
  width: max-content;
}
.marquee-inner span {
  font-family: var(--font-primary);
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}
.marquee-dot {
  font-size: 8px !important;
  opacity: 0.5;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--section-pad) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.services-header {
  margin-bottom: 80px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}
.section-tag span {
  position: relative;
  padding-left: 20px;
}
.section-tag span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 1px;
  background: var(--cyan);
}
.section-title {
  font-family: var(--font-primary);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: var(--white);
}
.title-line {
  display: block;
  overflow: hidden;
}
.title-line span { display: inline-block; }
.services-subtitle {
  font-size: clamp(14px, 1.3vw, 18px);
  color: var(--white-muted);
  margin-top: 24px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
}
.service-card {
  background: var(--black);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card-inner {
  position: relative;
  height: 100%;
  min-height: 380px;
}
.service-card-front {
  position: absolute;
  inset: 0;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}
.service-card-hover {
  position: absolute;
  inset: 0;
  padding: 40px 36px;
  background: var(--black-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}
.service-hover-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 60%);
  pointer-events: none;
}
.service-card:hover .service-card-front {
  opacity: 0;
  transform: translateY(-10px);
}
.service-card:hover .service-card-hover {
  opacity: 1;
  transform: translateY(0);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-dark), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
  z-index: 2;
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--cyan);
}
.service-icon {
  width: 52px;
  height: 52px;
  color: var(--white-muted);
  transition: color 0.3s;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card:hover .service-icon { color: var(--cyan); }
.service-title {
  font-family: var(--font-primary);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.service-desc {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--white-muted);
  line-height: 1.6;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: gap 0.3s;
}
.service-link svg { width: 16px; transition: transform 0.3s; }
.service-card:hover .service-link { gap: 12px; }
.service-card:hover .service-link svg { transform: translateX(4px); }
.service-card-hover h3 {
  font-family: var(--font-primary);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cyan);
  margin-bottom: 20px;
}
.service-card-hover ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.service-card-hover ul li {
  font-size: clamp(12px, 1.1vw, 14px);
  color: var(--white-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}
.service-card-hover ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 11px;
  top: 2px;
}
.service-hover-cta {
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--cyan);
  padding: 10px 20px;
  border-radius: 100px;
  transition: background 0.3s, transform 0.3s;
  align-self: flex-start;
}
.service-hover-cta:hover { background: var(--white); color: var(--black); transform: translateX(4px); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-pad) var(--gutter);
  background: var(--black-surface);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about-text {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--white-muted);
  line-height: 1.75;
}
.about-right {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-3d {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.about-3d canvas {
  width: 100% !important;
  height: 100% !important;
}
.about-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--cyan);
  color: var(--black);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 40px var(--cyan-glow-strong);
  z-index: 2;
}
.badge-num {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.badge-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ============================================
   BUTTON
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--cyan);
  padding: 16px 36px;
  border-radius: 100px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out-expo);
  border: none;
  cursor: pointer;
  align-self: flex-start;
}
.btn-primary:hover { background: var(--white); box-shadow: 0 0 50px var(--cyan-glow-strong); }
.btn-primary svg { width: 16px; height: 16px; }

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  padding: var(--section-pad) var(--gutter);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  pointer-events: none;
}
.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  margin-top: 64px;
}
.stat-item {
  background: var(--black);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.stat-item:hover { background: var(--black-card); }
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan);
  transition: width 0.5s var(--ease-out-expo);
}
.stat-item:hover::after { width: 100%; }
.stat-num {
  font-family: var(--font-primary);
  font-size: clamp(48px, 5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  display: inline-block;
}
.stat-suffix {
  font-family: var(--font-primary);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 800;
  color: var(--cyan);
  display: inline-block;
  margin-left: 4px;
  line-height: 1.2;
}
.stat-label {
  font-size: clamp(12px, 1vw, 14px);
  color: var(--white-muted);
  letter-spacing: 0.05em;
  margin-top: 8px;
}

/* ============================================
   CAPABILITIES SECTION
   ============================================ */
.capabilities {
  padding: var(--section-pad) 0;
  background: var(--black-surface);
  border-top: 1px solid var(--black-border);
  overflow: hidden;
}
.capabilities-header {
  max-width: var(--container);
  margin: 0 auto 60px;
  padding: 0 var(--gutter);
}
.capabilities-scroll {
  display: flex;
  gap: 24px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}
.capabilities-scroll::-webkit-scrollbar { display: none; }
.cap-card {
  min-width: 280px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  transition: border-color 0.3s, transform 0.4s var(--ease-out-expo);
}
.cap-card:hover { border-color: var(--cyan); transform: translateY(-8px); }
.cap-card-icon {
  width: 44px;
  height: 44px;
  color: var(--cyan);
}
.cap-card-icon svg { width: 100%; height: 100%; }
.cap-card h3 {
  font-family: var(--font-primary);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.cap-card p {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--white-muted);
  line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--black-border);
}
.contact-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section-title .accent { color: var(--cyan); }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
}
.detail-value {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--white-muted);
  transition: color 0.3s;
}
.detail-value:hover { color: var(--white); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-group {
  position: relative;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  color: var(--white);
  font-size: 15px;
  padding: 16px 20px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--black-card); }
.form-group textarea { resize: none; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--cyan); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--white-muted); }
.form-group label {
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--black-card);
  padding: 0 6px;
  opacity: 0;
  transition: opacity 0.3s;
}
.form-group input:focus ~ label,
.form-group textarea:focus ~ label { opacity: 1; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black-surface);
  border-top: 1px solid var(--black-border);
  padding: 80px var(--gutter) 40px;
}
.footer-top {
  max-width: var(--container);
  margin: 0 auto 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--black-border);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-logo .logo-mark {
  width: 44px;
  height: 44px;
  background: var(--cyan);
  color: var(--black);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
}
.footer-tagline {
  font-size: clamp(13px, 1.2vw, 16px);
  color: var(--white-muted);
  font-style: italic;
}
.footer-mid {
  max-width: var(--container);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-col h4 {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul li a {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--white-muted);
  transition: color 0.3s;
  position: relative;
}
.footer-col ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li a:hover::after { width: 100%; }
.footer-col-cta { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--black-border);
  font-size: 13px;
  color: var(--white-muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--white-muted); transition: color 0.3s; }
.footer-legal a:hover { color: var(--cyan); }

/* ============================================
   SERVICE MODAL
   ============================================ */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.service-modal.open { pointer-events: all; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  opacity: 0;
  transition: opacity 0.4s;
  backdrop-filter: blur(10px);
}
.service-modal.open .modal-overlay { opacity: 1; }
.modal-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 20px;
  transform: translateY(40px) scale(0.96);
  opacity: 0;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s;
}
.service-modal.open .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--white-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  z-index: 2;
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { background: var(--cyan-glow); transform: rotate(90deg); }
.modal-inner { padding: 48px 40px; }

/* ============================================
   MAGNETIC ELEMENTS
   ============================================ */
.magnetic { cursor: pointer; }

/* ============================================
   ANIMATIONS (Shared)
   ============================================ */
.reveal-text { overflow: hidden; }
.reveal-text span { display: inline-block; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-mid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; min-height: auto; padding-top: 60px; padding-bottom: 100px; }
  .hero-right { height: 400px; width: 100%; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .about-right { height: 350px; }
}
@media (max-width: 680px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-mid { grid-template-columns: 1fr; gap: 32px; }
  .menu-link { font-size: clamp(22px, 8vw, 40px); }
}
