:root {
  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  --color-obsidian: #0a0a0b;
  --color-charcoal: #131316;
  --color-graphite: #1c1c20;
  --color-ash: #2a2a2e;
  --color-stark: #f5f5f7;
  --color-fog: #a0a0a8;

  --color-lime: #c6ff3a;
  --color-lime-dark: #a4e600;
  --color-lime-glow: rgba(198, 255, 58, 0.4);

  --color-cyan: #00e5ff;
  --color-orange: #ff4d1a;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/plusjakartasans/v8/LDIbaomQNQcsA88c7O9yZ4KMCoOg4Ko20yQ.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

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

body {
  background-color: var(--color-obsidian);
  color: var(--color-stark);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

::selection {
  background: var(--color-lime);
  color: var(--color-obsidian);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-obsidian);
}
::-webkit-scrollbar-thumb {
  background: var(--color-ash);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-fog);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

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

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px var(--color-lime-glow);
  }
  50% {
    box-shadow: 0 0 40px var(--color-lime-glow), 0 0 60px var(--color-lime-glow);
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.glass {
  background: rgba(19, 19, 22, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-light {
  background: rgba(245, 245, 247, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.text-gradient {
  background: linear-gradient(135deg, #f5f5f7 0%, #a0a0a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-lime-gradient {
  background: linear-gradient(135deg, #c6ff3a 0%, #a4e600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hover-glow {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-glow:hover {
  border-color: var(--color-lime);
  box-shadow: 0 0 30px rgba(198, 255, 58, 0.15), inset 0 0 20px rgba(198, 255, 58, 0.05);
  transform: translateY(-4px);
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.shimmer-text {
  background: linear-gradient(90deg, #a0a0a8 25%, #f5f5f7 50%, #a0a0a8 75%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-item {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item.hidden-filter {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.gallery-item.visible-filter {
  opacity: 1;
  transform: scale(1);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-lime);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-link:hover {
  color: var(--color-stark);
}

.btn-quote {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(198, 255, 58, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-quote:hover::before {
  left: 100%;
}

.product-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-image {
  transform: scale(1.08);
}

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

.product-card-image {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-overlay {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-line {
  overflow: hidden;
}

.hero-line span {
  display: inline-block;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-lime);
  font-weight: 600;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-lime);
}

.filter-tab {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-tab.active {
  background: var(--color-lime);
  color: var(--color-obsidian);
}

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mega-menu {
  z-index: 60;
}

.mega-menu-panel {
  background: #131316;
  border: 1px solid rgba(198, 255, 58, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(198, 255, 58, 0.05);
}

.nav-group:hover .mega-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-group > a svg {
  transition: transform 0.3s ease;
}

.nav-group:hover > a svg {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Services page */
.services-page {
  padding-top: 80px;
}

.services-banner {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
}

.services-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0.25) 0%, rgba(10,10,11,0.55) 60%, rgba(10,10,11,0.95) 100%);
}

.services-intro {
  background-color: var(--color-obsidian);
  padding: 80px 24px 40px;
  display: flex;
  justify-content: center;
}

.services-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.services-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-stark);
  margin: 0 0 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.services-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-fog);
  margin: 0;
}

.services-grid-section {
  background-color: var(--color-obsidian);
  padding: 40px 24px 120px;
  display: flex;
  justify-content: center;
}

.services-grid {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: rgba(19, 19, 22, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--color-lime);
  box-shadow: 0 0 30px rgba(198, 255, 58, 0.15), inset 0 0 20px rgba(198, 255, 58, 0.05);
  transform: translateY(-4px);
}

.service-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-image img {
  transform: scale(1.06);
}

.service-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-stark);
  margin: 24px 24px 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-fog);
  margin: 0 24px 28px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-banner {
    height: 45vh;
    min-height: 320px;
  }
  .services-intro {
    padding: 60px 20px 30px;
  }
  .services-grid-section {
    padding: 30px 20px 80px;
  }
}
