/* ===========================
   ROOT VARIABLES
=========================== */
:root {
  --accent: #a8ff3e;
  --accent-dark: #85d926;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --header-bg: rgba(10, 10, 10, 0.45);
  --header-border: rgba(255, 255, 255, 0.1);
  --header-blur: blur(18px);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: #0a0a0a;
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
.accent { color: var(--accent); }

/* ===========================
   HEADER
=========================== */
.header {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  border-radius: 999px;
  background: var(--header-bg);
  border: 1px solid var(--header-border);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(10,10,10,0.75);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 24px;
  gap: 16px;
  height: 64px;
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 67px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 999px;
  position: relative;
  letter-spacing: 0.01em;
  transition: color var(--transition), background var(--transition);
}

.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity var(--transition), transform var(--transition);
}

.nav__link:hover { color: var(--text-light); }
.nav__link:hover::before { opacity: 1; transform: scale(1); }
.nav__link.active { color: var(--text-light); }
.nav__link.active::before { opacity: 1; transform: scale(1); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header__btn {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--accent);
  padding: 9px 22px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.header__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.header__btn:hover::before { left: 140%; }
.header__btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(168,255,62,0.35);
}
.header__btn:active { transform: translateY(0px); }

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-light);
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}

.header__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav — fully invisible when closed */
.header__mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;                         /* ← ALL padding zeroed, not just vertical */
  border-top: 1px solid transparent;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;                 /* ← prevents it painting any box at all */
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity 0.35s ease,
              padding 0.35s ease,
              visibility 0s linear 0.4s,   /* ← delays hide until after collapse */
              border-color 0.35s ease;
}

.header__mobile-nav.open {
  max-height: 400px;
  opacity: 1;
  visibility: visible;                /* ← instantly visible when opening */
  padding: 12px 20px 20px;
  border-top-color: var(--header-border);
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity 0.35s ease,
              padding 0.35s ease,
              visibility 0s linear 0s,     /* ← no delay when opening */
              border-color 0.35s ease;
}
/* ── 768px breakpoint ── */
@media (max-width: 768px) {
  .header {
    top: 12px;
    width: calc(100% - 24px);
    border-radius: 20px;      /* pill → rounded rect on mobile */
  }

  /* When menu is closed, collapse to pill shape */
  .header:not(.menu-open) {
    border-radius: 999px;     /* stays pill while closed */
  }

  .header__inner {
    height: 52px;             /* ← tighter row height on mobile */
    padding: 0 14px;          /* ← less side padding */
  }

  .header__logo img {
    height: 48px;             /* ← scale logo down so it fits 52px row */
  }

  .header__nav { display: none; }
  .header__btn:not(.mobile-btn) { display: none; }
  .header__hamburger { display: flex; }

  .header.menu-open {
    border-radius: 20px;
  }
}

/* ── 480px breakpoint ── */
@media (max-width: 480px) {
  .header__inner {
    padding: 0 12px;
    height: 48px;             /* even tighter on small phones */
  }

  .header__logo img {
    height: 42px;
  }
}
/* ===========================
   PAGE HERO
=========================== */
.page-hero {
  width: 100%;
  padding: 180px 24px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.page-hero__inner {
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-light);
}

.page-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-hero { padding: 140px 24px 70px; }
}

/* ===========================
   DUAL SLIDER SECTION
=========================== */
.dual-slider-section {
  width: 100%;
  background: #0a0a0a;
  padding: 80px 48px 48px;
}

.dual-slider-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  min-height: 560px;
}

/* ===========================
   IMAGE SLIDER (left)
=========================== */
.img-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
}

.img-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.img-slide.active {
  opacity: 1;
  z-index: 1;
}

.img-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: filter 0.55s ease, transform 0.55s ease;
}

/* Hover blur on image */
.img-slider:hover .img-slide.active img {
  filter: blur(5px) brightness(0.4);
  transform: scale(1.04);
}

/* ===========================
   TEXT SLIDER (right)
=========================== */
.txt-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
}

.txt-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  display: flex;
  align-items: center;
}

.txt-slide.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}

.txt-slide__inner {
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.txt-slide__tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}

.txt-slide__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1.15;
}

.txt-slide__body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.85;
}

/* Dots */
.dual-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 28px 0 0;
}

.srv-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.srv-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.35);
}

/* Responsive dual slider */
@media (max-width: 900px) {
  .dual-slider-section { padding: 60px 24px 40px; }
  .dual-slider-wrap {
    grid-template-columns: 1fr;
    min-height: unset;
    gap: 20px;
  }
  .img-slider { min-height: 320px; }
  .txt-slider { min-height: 280px; }
}

@media (max-width: 480px) {
  .dual-slider-section { padding: 48px 16px 32px; }
  .img-slider { min-height: 260px; }
  .txt-slider { min-height: 240px; }
  .txt-slide__inner { padding: 24px 20px; }
}

/* ===========================
   MARQUEE STRIP
=========================== */
.marquee-strip {
  width: 100%;
  overflow: hidden;
  background: #0d0d0d;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 26px 0;
  margin: 24px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  flex-shrink: 0;
}

.marquee-text {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.marquee-accent { color: var(--accent); }

.marquee-sep {
  color: var(--accent);
  font-size: 1rem;
  opacity: 0.45;
}

@media (max-width: 480px) {
  .marquee-strip { padding: 18px 0; margin: 16px 0; }
  .marquee-text { font-size: 1.4rem; }
}

/* ===========================
   HOW WE WORK SECTION
=========================== */
.hww-section {
  width: 100%;
  background: #0d0d0d;
  padding: 120px 48px 130px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hww-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.hww-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text-light);
  text-align: center;
  line-height: 1.1;
}

/* 4-column grid */
.hww-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Card */
.hww-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0 36px 0 0;
}

/* Connector line between cards */
.hww-card__line {
  position: absolute;
  top: 36px;
  right: -1px;
  width: 1px;
  height: 72px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.4;
}

/* Icon circle */
.hww-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(168,255,62,0.3);
  background: rgba(168,255,62,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.hww-card__icon i {
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform 0.35s ease;
}

.hww-card:hover .hww-card__icon {
  background: rgba(168,255,62,0.14);
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(168,255,62,0.2);
}

.hww-card:hover .hww-card__icon i {
  transform: scale(1.15) rotate(-5deg);
}

.hww-card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hww-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.3;
}

.hww-card__body {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.1vw, 0.98rem);
  color: var(--text-muted);
  line-height: 1.8;
}

/* Horizontal connector dots between cards */
.hww-grid::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 72px;
  right: 72px;
  height: 1.5px;
  background: linear-gradient(to right,
    transparent,
    rgba(168,255,62,0.25) 15%,
    rgba(168,255,62,0.25) 85%,
    transparent
  );
  z-index: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hww-grid { grid-template-columns: repeat(2, 1fr); gap: 56px 40px; }
  .hww-card { padding-right: 0; }
  .hww-card__line { display: none; }
  .hww-grid::before { display: none; }
}

@media (max-width: 600px) {
  .hww-section { padding: 80px 20px 90px; }
  .hww-inner { gap: 52px; }
  .hww-grid { grid-template-columns: 1fr; gap: 48px; }
  .hww-card__icon { width: 60px; height: 60px; }
  .hww-card__icon i { font-size: 1.35rem; }
}
/* ===========================
   FOOTER SECTION
=========================== */
.footer {
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
}

.footer__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 60px 60px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Brand / Logo Column */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__logo {
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
}

.footer__logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition);
}

.footer__logo:hover img {
  opacity: 0.85;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 360px;
}

/* Link Columns */
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 14px;
}

.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Footer links — same hover animation as nav links */
.footer__link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 999px;
  position: relative;
  letter-spacing: 0.01em;
  display: inline-block;
  margin-left: -16px;
  transition: color var(--transition), background var(--transition);
}

/* Pill background on hover (mirrors nav__link::before) */
.footer__link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity var(--transition), transform var(--transition);
}

.footer__link:hover {
  color: var(--text-light);
}

.footer__link:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* Accent underline dot (mirrors nav__link::after) */
.footer__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform var(--transition);
}

.footer__link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Bottom Bar */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 60px;
  max-width: 100%;
}

.footer__copy {
  max-width: 1300px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}

/* ===========================
   FOOTER — Responsive
=========================== */
@media (max-width: 1024px) {
  .footer__inner {
    padding: 70px 40px 50px;
    gap: 48px;
  }

  .footer__bottom {
    padding: 22px 40px;
  }
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    padding: 60px 24px 48px;
    gap: 48px 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__logo img {
    height: 90px;
  }

  .footer__tagline {
    font-size: 1rem;
    max-width: 100%;
  }

  .footer__bottom {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    gap: 40px;
  }

  .footer__logo img {
    height: 67px;
  }

  .footer__col-title {
    font-size: 1.05rem;
  }

  .footer__link {
    font-size: 0.95rem;
  }

  .footer__tagline {
    font-size: 0.95rem;
  }

  .footer__bottom {
    padding: 18px 20px;
  }

  .footer__copy {
    font-size: 0.82rem;
  }
}