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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #131313;
  --bg-card: #1c1b1b;
  --bg-card-hover: #201f1f;
  --green-card: #0d2a1c;
  --green-card-light: #1a3627;
  --green-border: #424843;
  --lime: #c3f400;
  --lime-dark: #abd600;
  --lime-glow: rgba(195, 244, 0, 0.15);
  --text-primary: #e5e2e1;
  --text-secondary: #c2c8c2;
  --text-muted: #8c928c;
  --border: #424843;
  --border-light: #353534;
  --radius: 4px;
  --radius-sm: 2px;
  --radius-lg: 8px;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Hanken Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  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);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: var(--scroll-progress, 0);
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity;
}

.slide-left {
  opacity: var(--scroll-progress, 0);
  transform: translateX(calc(-100px * (1 - var(--scroll-progress, 0))));
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.slide-right {
  opacity: var(--scroll-progress, 0);
  transform: translateX(calc(100px * (1 - var(--scroll-progress, 0))));
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding: 12px 0;
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-image {
  height: 38px;
  width: auto;
  display: block;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--lime);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-links a.active {
  color: var(--lime);
}

.nav-links a.nav-cta {
  background: var(--lime);
  color: #06371e;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-links a.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--lime-glow);
  color: #06371e;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg-primary);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) grayscale(0.3) contrast(1.1);
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-container {
  position: relative;
  width: 100%;
  transform: translateY(12vh);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184, 240, 38, 0.1);
  border: 1px solid rgba(184, 240, 38, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  color: var(--lime);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(184, 240, 38, 0.4);
  }

  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(184, 240, 38, 0);
  }
}

.hero-main-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero-main-title .word-always,
.hero-main-title .word-on {
  display: inline-block;
  color: #ffffff;
}

.hero-main-title .word-always {
  margin-right: 16px;
}

.hero-main-title .line-powering {
  display: block;
  color: var(--lime);
}

.hero-main-title .hero-subtitle-white {
  display: block;
  color: #ffffff;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 500;
  margin-top: 24px;
  line-height: 1.4;
  letter-spacing: normal;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  text-transform: none;
}

/* Dramatic Sequential Entrance Animations */
@keyframes fadeInDramatic {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-up-dramatic {
  opacity: 0;
  animation: fadeInDramatic 3.2s ease-in-out forwards;
}

.fade-up-dramatic-rest {
  opacity: 0;
  animation: fadeInDramatic 3.2s ease-in-out forwards;
}

.word-always {
  animation-delay: 0.2s;
}

.word-on {
  animation-delay: 0.7s;
}

.line-powering {
  animation-delay: 1.2s;
}

.fade-up-dramatic-rest {
  animation-delay: 1.7s;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  background: var(--lime);
  color: #000;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--lime-glow);
}

.btn-outline {
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
  display: flex;
  gap: 0;
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  overflow: hidden;
  position: absolute;
  bottom: 60px;
  right: 24px;
  z-index: 10;
}

@media (min-width: 1248px) {
  .hero-stats {
    right: calc((100% - 1200px) / 2 + 24px);
  }
}

.hero-stat {
  padding: 24px 32px;
}

.hero-stat+.hero-stat {
  border-left: 1px solid var(--green-border);
}

.hero-stat h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.hero-stat p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ===== SPECIALIZATION ===== */
.specialization {
  padding: 120px 0;
  position: relative;
  background: var(--bg-primary);
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 16px;
}

.spec-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.spec-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.spec-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius);
  transition: background 0.3s ease;
}

.spec-feature:hover {
  background: var(--bg-card);
}

.spec-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(184, 240, 38, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--lime);
}

.spec-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.spec-feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.spec-visual {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--border);
}

.spec-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05) brightness(0.95);
  transition: transform 6s ease, filter 0.4s ease;
}

.spec-visual:hover img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.1) brightness(1);
}

/* ===== PILLARS ===== */
.pillars {
  padding: 120px 0;
  background: var(--bg-secondary);
}

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

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

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

.pillar-card {
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.pillar-icon {
  width: 56px;
  height: 56px;
  background: rgba(184, 240, 38, 0.08);
  border: 1px solid rgba(184, 240, 38, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: background 0.3s ease;
}

.pillar-card:hover .pillar-icon {
  background: rgba(184, 240, 38, 0.15);
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
  color: var(--lime);
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== SUPPLY CHAIN ===== */
.supply-chain {
  padding: 120px 0;
  background: var(--bg-primary);
}

.supply-chain .supply-grid {
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

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

.supply-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.supply-content p {
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.supply-metrics {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.supply-metric {
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  flex: 1;
  transition: border-color 0.3s ease;
}

.supply-metric:hover {
  border-color: rgba(184, 240, 38, 0.3);
}

.supply-metric h4 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.supply-metric p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.btn-text {
  color: var(--lime);
  font-weight: 600;
  font-size: 0.9rem;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.btn-text:hover {
  gap: 14px;
}

.supply-image {
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}

.supply-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05) brightness(0.95);
  transition: transform 6s ease, filter 0.4s ease;
}

.supply-image:hover img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.1) brightness(1);
}

/* ===== DEMAND DENSITY (CTA) ===== */
.demand {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.demand-card {
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.demand-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.demand-label {
  font-size: 0.75rem;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 16px;
}

.demand-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.demand-content p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.demand-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
}

.demand-stat {
  background: var(--green-card-light);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  flex: 1;
}

.demand-stat h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lime);
}

.demand-stat p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.demand-image {
  position: relative;
}

.demand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  filter: grayscale(0.4) contrast(1.05) brightness(0.95);
  transition: filter 0.4s ease;
}

.demand-image:hover img {
  filter: grayscale(0) contrast(1.1) brightness(1);
}

.btn-primary-sm {
  background: var(--lime);
  color: #000;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--lime-glow);
}

/* ===== FOOTER ===== */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-address p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
}

/* ===== NUMBER COUNTER ANIMATION ===== */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

  .spec-grid,
  .supply-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .demand-card {
    grid-template-columns: 1fr;
  }

  .demand-image img {
    min-height: 300px;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .hero-container {
    padding-bottom: 0;
    transform: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    position: static;
    flex-direction: column;
    gap: 0;
    margin: 40px 20px 0 20px;
    border-radius: var(--radius);
  }

  .hero-stat+.hero-stat {
    border-left: none;
    border-top: 1px solid var(--green-border);
  }

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

  .supply-metrics,
  .demand-stats {
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .spec-visual {
    aspect-ratio: 16/9;
  }

  .demand-content {
    padding: 32px;
  }
}