/* ============================================================
   Integrity Network — Design Tokens & Styles
   ui-ux-pro-max: semantic tokens, focus states, reduced-motion,
   font-display:swap, 4/8px spacing, accessible contrast
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Brand */
  --green: #8DC63F;
  --green-bright: #a8e650;
  --green-dim: #6ba02a;

  /* Neutrals */
  --gray: #A6A6A6;
  --white: #FFFFFF;
  --bg: #05070a;
  --bg-2: #0a0e14;
  --bg-3: #11161f;

  /* Semantic borders */
  --line: rgba(141, 198, 63, 0.15);
  --line-soft: rgba(255, 255, 255, 0.06);

  /* Text */
  --text-dim: #6a7280;

  /* Effects */
  --glow: 0 0 40px rgba(141, 198, 63, 0.35);
  --glow-xl: 0 0 80px rgba(141, 198, 63, 0.5);

  /* Spacing scale (4px base) */
  --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;

  /* Typography scale */
  --fs-xs: 0.72rem;
  --fs-sm: 0.82rem;
  --fs-base: 0.95rem;
  --fs-md: 1rem;
  --fs-lg: 1.15rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.6rem;
  --fs-4xl: 3.8rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Z-index scale */
  --z-base: 0;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-overlay: 40;
  --z-modal: 100;
  --z-cursor: 9999;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  font-size: 16px;
}

a, button, input, select, textarea { cursor: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, .display {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
}

/* --- Focus states (a11y critical) --- */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* --- Skip link (a11y) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  padding: var(--sp-3) var(--sp-6);
  background: var(--green);
  color: var(--bg);
  font-weight: 700;
  z-index: calc(var(--z-cursor) + 1);
  text-decoration: none;
  transition: top var(--duration-fast);
}

.skip-link:focus {
  top: var(--sp-4);
}

/* --- Custom cursor --- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width var(--duration-normal), height var(--duration-normal), background var(--duration-normal);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid var(--green);
  transition: transform var(--duration-fast) ease-out, width var(--duration-normal), height var(--duration-normal), border-color var(--duration-normal), background var(--duration-normal);
}

.cursor-ring.hover {
  width: 70px;
  height: 70px;
  background: rgba(141, 198, 63, 0.1);
  border-color: var(--green-bright);
}

/* --- Ambient background --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(141, 198, 63, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(141, 198, 63, 0.06), transparent 60%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(141, 198, 63, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 198, 63, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 40%, transparent 100%);
}

/* --- Floating particles --- */
.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  opacity: 0;
  animation: float 15s linear infinite;
}

@keyframes float {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-10vh) translateX(40px); opacity: 0; }
}

/* --- Scroll reveal --- */
.reveal       { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal-left  { opacity: 0; transform: translateX(-50px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity: 1; transform: translate(0); }
.reveal-scale.in { opacity: 1; transform: scale(1); }

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* --- Top bar --- */
.topbar {
  background: var(--bg-3);
  border-bottom: 1px solid var(--line-soft);
  padding: 0.6rem 0;
  font-size: 0.78rem;
  color: var(--gray);
}

.topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--sp-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.topbar-left span,
.topbar-left .topbar-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--gray);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.topbar-left .topbar-link:hover { color: var(--green); }

.topbar-left svg {
  width: 13px;
  height: 13px;
  stroke: var(--green);
}

.topbar-right a {
  color: var(--gray);
  text-decoration: none;
  margin-left: var(--sp-4);
  transition: color var(--duration-fast);
}

.topbar-right a:hover { color: var(--green); }

/* --- Navigation --- */
nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: padding 0.3s;
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.2rem var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--white);
  text-decoration: none;
}

.logo-img {
  height: 90px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Boost the gray wordmark to read clearly on dark bg while keeping green vibrant */
  filter: brightness(1.6) contrast(1.15);
}

footer .logo-img {
  height: 100px;
  margin-bottom: var(--sp-4);
  margin-left: -10px;
}

/* Tighten nav vertical padding since logo is taller */
.nav-inner { padding-top: 0.5rem; padding-bottom: 0.5rem; }

@media (max-width: 640px) {
  .logo-img { height: 64px; }
  footer .logo-img { height: 72px; }
}

.shield-logo {
  width: 60%;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(141, 198, 63, 0.6));
}

/* --- Particle Orb around shield core --- */
.orb-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  perspective: 1000px;
  animation: orb-rotate 14s infinite linear;
  z-index: 2;
  pointer-events: none;
}

@keyframes orb-rotate {
  100% { transform: rotateY(360deg) rotateX(360deg); }
}

.orb-wrap .c {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  opacity: 0;
  animation: orb-flow 14s infinite;
  animation-delay: var(--delay, 0s);
  background-color: var(--color, hsl(90, 100%, 55%));
  box-shadow: 0 0 4px currentColor;
}

/* Single keyframe using per-particle CSS custom properties for rotation angles */
@keyframes orb-flow {
  0% {
    transform: rotateZ(calc(-1 * var(--z))) rotateY(var(--y)) translateX(0) rotateZ(var(--z));
    opacity: 0;
  }
  20% { opacity: 1; }
  30% {
    transform: rotateZ(calc(-1 * var(--z))) rotateY(var(--y)) translateX(150px) rotateZ(var(--z));
  }
  80% {
    transform: rotateZ(calc(-1 * var(--z))) rotateY(var(--y)) translateX(150px) rotateZ(var(--z));
    opacity: 1;
  }
  100% {
    transform: rotateZ(calc(-1 * var(--z))) rotateY(var(--y)) translateX(450px) rotateZ(var(--z));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb-wrap { display: none; }
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-dim));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: var(--glow);
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow { 50% { box-shadow: var(--glow-xl); } }

.logo-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--bg);
  stroke-width: 2.5;
  fill: none;
}

.logo span { color: var(--green); }

/* Desktop nav links */
nav ul {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

nav ul a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--duration-fast);
  position: relative;
  padding: var(--sp-1) 0;
}

nav ul a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s;
}

nav ul a:hover { color: var(--green); }
nav ul a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.9rem 1.8rem;
  background: var(--green);
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  transition: all var(--duration-normal);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.6), transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.nav-cta:hover::before { transform: translateX(100%); }
.nav-cta:hover { box-shadow: var(--glow); }

/* Mobile hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: var(--sp-2);
  color: var(--white);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

/* --- HERO --- */
.hero {
  position: relative;
  padding: 6rem var(--sp-8) 7rem;
  overflow: hidden;
  max-width: 1320px;
  margin: 0 auto;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-16);
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(141, 198, 63, 0.05);
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.8rem;
  backdrop-filter: blur(10px);
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse { 50% { opacity: 0.3; transform: scale(0.8); } }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  margin-bottom: 1.8rem;
}

.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-30deg);
  animation: wordIn 1s var(--ease-out) forwards;
}

.hero h1 .word:nth-child(1) { animation-delay: 0.1s; }
.hero h1 .word:nth-child(2) { animation-delay: 0.2s; }
.hero h1 .word:nth-child(3) { animation-delay: 0.3s; }
.hero h1 .word:nth-child(4) { animation-delay: 0.4s; }
.hero h1 .word:nth-child(5) { animation-delay: 0.5s; }
.hero h1 .word:nth-child(6) { animation-delay: 0.6s; }
.hero h1 .word:nth-child(7) { animation-delay: 0.7s; }
.hero h1 .word:nth-child(8) { animation-delay: 0.8s; }

@keyframes wordIn { to { opacity: 1; transform: translateY(0) rotateX(0); } }

.hero h1 .accent {
  color: var(--green);
  position: relative;
  display: inline-block;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.18em;
  background: var(--green);
  opacity: 0.25;
  z-index: -1;
}

.hero-sub {
  font-size: var(--fs-lg);
  color: var(--gray);
  max-width: 52ch;
  margin-bottom: var(--sp-10);
  line-height: 1.7;
  opacity: 0;
  animation: fadeIn 1s 0.9s forwards;
}

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

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-12);
  opacity: 0;
  animation: fadeIn 1s 1.1s forwards;
}

/* --- Buttons --- */
.btn-primary {
  padding: 1.2rem 2.4rem;
  background: var(--green);
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.5), transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s;
}

.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  background: var(--green-bright);
  box-shadow: var(--glow-xl);
  transform: translateY(-3px);
}

.btn-ghost {
  padding: 1.2rem 2.4rem;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: all 0.3s;
  min-height: 48px;
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(141, 198, 63, 0.05);
  transform: translateY(-3px);
}

/* --- Hero trust badges --- */
.hero-trust {
  display: flex;
  gap: var(--sp-10);
  flex-wrap: wrap;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--line-soft);
  opacity: 0;
  animation: fadeIn 1s 1.3s forwards;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-trust-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(141, 198, 63, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(141, 198, 63, 0.2);
}

.hero-trust-check svg {
  width: 16px;
  height: 16px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2.5;
}

.hero-trust-item p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.3;
}

.hero-trust-item p strong {
  color: var(--white);
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
}

/* --- Hero visual — orbiting shield --- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  opacity: 0;
  animation: fadeIn 1.2s 0.6s forwards;
}

.shield-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.shield-ring::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--green);
  transform: translateX(-50%);
}

.shield-ring-2 {
  position: absolute;
  inset: 30px;
  border: 1px dashed rgba(141, 198, 63, 0.25);
  border-radius: 50%;
  animation: spin 20s linear infinite reverse;
}

.shield-ring-2::before {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 20%;
  width: 8px;
  height: 8px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
}

.shield-ring-3 {
  position: absolute;
  inset: 60px;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

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

.shield-core {
  position: relative;
  width: 58%;
  aspect-ratio: 1;
  background: linear-gradient(160deg, rgba(141, 198, 63, 0.22), rgba(141, 198, 63, 0.02));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-xl);
  border: 1px solid rgba(141, 198, 63, 0.5);
  animation: coreBreathe 4s ease-in-out infinite;
}

@keyframes coreBreathe {
  50% { transform: scale(1.03); box-shadow: 0 0 100px rgba(141, 198, 63, 0.6); }
}

.shield-core svg {
  width: 45%;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 12px var(--green));
}

.shield-badge {
  position: absolute;
  padding: 0.55rem 1rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: badgeFloat 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.shield-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
}

.shield-badge.b1 { top: 6%; right: 0; animation-delay: 0s; }
.shield-badge.b2 { bottom: 16%; left: 0; animation-delay: 1.3s; }
.shield-badge.b3 { top: 48%; right: 0; animation-delay: 2.6s; }

@keyframes badgeFloat { 50% { transform: translateY(-8px); } }

/* --- Scroll hint --- */
.scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fadeIn 1s 1.8s forwards;
}

.scroll-hint .mono { font-size: 0.68rem; }

.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-hint-line::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--green));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine { to { top: 40px; } }

/* --- Marquee --- */
.marquee {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--sp-8) 0;
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }

.marquee-track {
  display: flex;
  gap: var(--sp-16);
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: fit-content;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.marquee-item .star {
  color: var(--green);
  font-size: var(--fs-xl);
  animation: starSpin 8s linear infinite;
  display: inline-block;
}

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

/* --- Stats --- */
.stats-bar {
  background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem var(--sp-8);
  position: relative;
}

.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(141, 198, 63, 0.03), transparent);
  pointer-events: none;
}

.stats-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  position: relative;
}

.stat {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0 var(--sp-6);
  border-right: 1px solid var(--line-soft);
  transition: transform 0.3s;
}

.stat:hover { transform: translateY(-5px); }
.stat:last-child { border-right: none; }

.stat-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: rgba(141, 198, 63, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  transition: all 0.3s;
}

.stat:hover .stat-icon {
  background: var(--green);
  box-shadow: var(--glow);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  transition: stroke 0.3s;
}

.stat:hover .stat-icon svg { stroke: var(--bg); }

.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-num span { color: var(--green); }

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

/* --- Section base --- */
section {
  padding: 7rem var(--sp-8);
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: var(--sp-16);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-head .mono {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: var(--sp-4);
}

.section-head .mono::before,
.section-head .mono::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--green);
}

.section-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  margin-bottom: var(--sp-4);
}

.section-head h2 span {
  color: var(--green);
  position: relative;
  display: inline-block;
}

.section-head h2 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.12em;
  background: var(--green);
  opacity: 0.25;
  z-index: -1;
}

.section-head p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* --- About --- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-16);
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
}

.about-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(141, 198, 63, 0.18), rgba(141, 198, 63, 0.02)), var(--bg-3);
  border: 1px solid var(--line);
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
  overflow: hidden;
  transition: transform var(--duration-slow);
}

.about-visual:hover .about-img { transform: scale(1.02); }

.about-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 198, 63, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 198, 63, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.about-img::after {
  content: "";
  position: absolute;
  inset: 20% 20%;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.5), transparent 70%);
  filter: blur(30px);
  animation: aboutGlow 4s ease-in-out infinite;
}

@keyframes aboutGlow { 50% { filter: blur(45px); opacity: 0.7; } }

.about-img-inner {
  position: absolute;
  inset: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-inner svg {
  width: 65%;
  stroke: var(--green);
  fill: none;
  stroke-width: 1;
  filter: drop-shadow(0 0 20px var(--green));
  animation: spin 60s linear infinite;
}

.about-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  padding: 1.8rem 2rem;
  background: var(--bg-3);
  border: 1px solid var(--green);
  box-shadow: var(--glow);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  transition: transform 0.3s;
}

.about-badge:hover { transform: translateY(-5px) rotate(-2deg); }

.about-badge-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.about-badge-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

.about-content .mono {
  margin-bottom: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.about-content .mono::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--green);
}

.about-content h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1.3rem;
}

.about-content h2 span { color: var(--green); }
.about-content > p { color: var(--gray); margin-bottom: 1.8rem; font-size: var(--fs-md); }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.about-feat {
  display: flex;
  gap: 0.8rem;
  padding: 1.1rem;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--green);
  transition: all 0.3s;
}

.about-feat:hover {
  border-left-width: 5px;
  background: var(--bg-3);
  transform: translateX(4px);
}

.about-feat-icon {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feat h4 {
  font-size: var(--fs-md);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.about-feat p {
  font-size: var(--fs-sm);
  color: var(--gray);
  line-height: 1.4;
}

/* --- Services --- */
#services {
  background: var(--bg-2);
  max-width: none;
  margin: 0;
}

.services-wrap {
  max-width: 1320px;
  margin: 0 auto;
}

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

.service-card {
  padding: 2.5rem 2rem;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-out);
  transform-style: preserve-3d;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at top right, rgba(141, 198, 63, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-slow);
}

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

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-num {
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(141, 198, 63, 0.1);
  line-height: 1;
  transition: color 0.3s, transform 0.3s;
}

.service-card:hover .service-num {
  color: rgba(141, 198, 63, 0.25);
  transform: scale(1.1) rotate(-5deg);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(141, 198, 63, 0.1);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  transition: all var(--duration-slow);
}

.service-card:hover .service-icon {
  background: var(--green);
  border-color: var(--green);
  transform: rotate(-5deg) scale(1.05);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  transition: stroke var(--duration-slow);
}

.service-card:hover .service-icon svg { stroke: var(--bg); }

.service-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: 0.8rem;
  font-family: 'Rajdhani', sans-serif;
  transition: color 0.3s;
}

.service-card:hover h3 { color: var(--green); }

.service-card p {
  color: var(--gray);
  font-size: 0.92rem;
  margin-bottom: 1.3rem;
  line-height: 1.65;
}

.service-link {
  color: var(--green);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--duration-fast);
}

.service-link:hover { gap: 0.9rem; }

/* --- Process --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0, var(--green) 10px, transparent 10px, transparent 20px);
  opacity: 0.3;
}

.process-step {
  position: relative;
  text-align: center;
  padding: var(--sp-4);
  transition: transform 0.3s;
}

.process-step:hover { transform: translateY(-8px); }

.process-num {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: 'Rajdhani', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--green);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: all var(--duration-slow);
}

.process-step:hover .process-num {
  background: var(--green);
  color: var(--bg);
  box-shadow: var(--glow-xl);
  transform: rotate(10deg);
}

.process-num::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(141, 198, 63, 0.3);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: spin 10s linear infinite;
}

.process-step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
  transition: color 0.3s;
}

.process-step:hover h3 { color: var(--green); }
.process-step p { font-size: 0.9rem; color: var(--gray); }

/* --- Why Choose Us --- */
#why {
  background: var(--bg-2);
  max-width: none;
  margin: 0;
}

.why-wrap {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.why-visual {
  aspect-ratio: 1 / 1;
  position: relative;
  background: radial-gradient(circle at center, rgba(141, 198, 63, 0.2), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-visual-box {
  width: 80%;
  aspect-ratio: 1;
  background: var(--bg-3);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  animation: whyFloat 6s ease-in-out infinite;
}

@keyframes whyFloat { 50% { transform: translateY(-15px); } }

.why-visual-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 198, 63, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 198, 63, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.why-visual-box svg {
  width: 55%;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.2;
  filter: drop-shadow(0 0 30px var(--green));
  z-index: 1;
}

.why-content .mono {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: var(--sp-4);
}

.why-content .mono::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--green);
}

.why-content h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1.3rem;
}

.why-content h2 span { color: var(--green); }
.why-content > p { color: var(--gray); margin-bottom: var(--sp-8); }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.why-item {
  display: flex;
  gap: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-soft);
  transition: transform 0.3s;
}

.why-item:hover { transform: translateX(8px); }
.why-item:last-child { border-bottom: none; }

.why-item-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: rgba(141, 198, 63, 0.1);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  transition: all 0.3s;
}

.why-item:hover .why-item-icon {
  background: var(--green);
  box-shadow: var(--glow);
}

.why-item:hover .why-item-icon svg { stroke: var(--bg); }

.why-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  transition: stroke 0.3s;
}

.why-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-family: 'Rajdhani', sans-serif;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

/* --- Testimonials --- */
#testimonials { padding-top: 7rem; padding-bottom: 7rem; }

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

.testimonial {
  padding: 2.2rem;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  position: relative;
  transition: all var(--duration-slow);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 0.8rem;
  right: 1.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 6rem;
  color: var(--green);
  opacity: 0.15;
  line-height: 1;
}

.testimonial:hover {
  border-color: var(--green);
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1.2rem;
  color: var(--green);
  font-size: var(--fs-md);
}

.testimonial p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
}

.author-avatar {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--green), var(--green-dim));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bg);
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: var(--fs-md);
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* --- CTA Banner --- */
.cta-section { padding: 0 var(--sp-8); }

.cta-banner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4.5rem 3rem;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-8);
  align-items: center;
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.2), transparent 60%);
  animation: ctaGlow 5s ease-in-out infinite;
}

@keyframes ctaGlow { 50% { transform: scale(1.1); opacity: 0.7; } }

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 198, 63, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 198, 63, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at right, #000, transparent 70%);
}

.cta-banner-content { position: relative; }

.cta-banner h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: 0.7rem;
}

.cta-banner h2 span { color: var(--green); }
.cta-banner p { color: var(--gray); font-size: 1.05rem; }
.cta-banner .btn-primary { position: relative; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-16);
}

.contact-info-col .mono {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: var(--sp-4);
}

.contact-info-col .mono::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--green);
}

.contact-info-col h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1.3rem;
}

.contact-info-col h2 span { color: var(--green); }
.contact-info-col > p { color: var(--gray); margin-bottom: var(--sp-10); }

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.3rem;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--green);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  border-left-width: 5px;
  transform: translateX(5px);
  background: var(--bg-3);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(141, 198, 63, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  transition: all 0.3s;
}

.contact-item:hover .contact-item-icon {
  background: var(--green);
  box-shadow: var(--glow);
}

.contact-item:hover .contact-item-icon svg { stroke: var(--bg); }

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  transition: stroke 0.3s;
}

.contact-item-label {
  font-size: var(--fs-xs);
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
  font-family: 'JetBrains Mono', monospace;
}

.contact-item-value {
  color: var(--white);
  font-size: var(--fs-md);
  font-weight: 500;
}

/* --- Contact form --- */
.contact-form {
  padding: 2.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

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

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

.form-group label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  padding: var(--sp-4);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s;
  min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(141, 198, 63, 0.15), var(--glow);
}

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

.form-group select option { background: var(--bg-2); }

/* Form validation states */
.form-group input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

.form-group .error-msg {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.3rem;
  display: none;
}

.form-group input:invalid:not(:placeholder-shown) ~ .error-msg {
  display: block;
}

.submit-btn {
  padding: 1.2rem 2.5rem;
  background: var(--green);
  color: var(--bg);
  border: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: var(--fs-md);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 700;
  margin-top: 0.5rem;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.5), transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s;
}

.submit-btn:hover::before { transform: translateX(100%); }

.submit-btn:hover {
  background: var(--green-bright);
  box-shadow: var(--glow-xl);
  transform: translateY(-2px);
}

.submit-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.88rem;
  min-height: 1.2em;
  line-height: 1.5;
}

.form-status.success { color: var(--green); }
.form-status.error { color: #ef4444; }

/* --- Footer --- */
footer {
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  padding: var(--sp-16) var(--sp-8) var(--sp-8);
  margin-top: 5rem;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--line-soft);
}

.footer-col h5 {
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  color: var(--white);
  position: relative;
  padding-bottom: 0.7rem;
}

.footer-col h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--green);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all var(--duration-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--sp-1) 0;
}

.footer-col ul a::before {
  content: "\203A";
  color: var(--green);
  font-size: 1.1rem;
  transition: transform var(--duration-fast);
}

.footer-col ul a:hover { color: var(--green); }
.footer-col ul a:hover::before { transform: translateX(3px); }

.footer-about p {
  color: var(--gray);
  font-size: 0.88rem;
  margin: var(--sp-4) 0 var(--sp-6);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all 0.3s;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}

.footer-social a:hover {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: var(--sp-8);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-bottom p {
  font-size: var(--fs-sm);
  color: var(--text-dim);
}

.footer-bottom p span { color: var(--green); }

.footer-contact-item {
  color: var(--gray);
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: color var(--duration-fast);
}

a.footer-contact-item:hover { color: var(--green); }

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* --- Reduced motion (a11y critical) --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .hero h1 .word {
    opacity: 1;
    transform: none;
  }

  .hero-sub, .hero-actions, .hero-trust, .hero-visual, .scroll-hint {
    opacity: 1;
  }

  html { scroll-behavior: auto; }
}

/* --- Responsive --- */
@media (max-width: 1000px) {
  body { cursor: auto; }
  a, button, input, select, textarea { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  nav ul { display: none; }
  .mobile-toggle { display: flex; }
  .nav-cta { display: none; }

  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: var(--sp-8);
    gap: var(--sp-4);
    z-index: var(--z-dropdown);
  }

  .hero-grid, .about, .why-wrap, .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .hero-visual { min-height: 400px; }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
  }

  .stat { border-right: none; padding: 0; }

  .services-grid, .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .process-grid::before { display: none; }

  .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--sp-12) var(--sp-8);
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-left { display: none; }
  .marquee-item { font-size: 1.4rem; }
}

@media (max-width: 640px) {
  section { padding: 5rem 1.2rem; }
  .hero { padding: 4rem 1.2rem 5rem; min-height: auto; }
  .nav-inner { padding: 1rem 1.2rem; }
  .logo { font-size: 1.2rem; }
  .nav-cta { padding: 0.7rem 1.2rem; font-size: 0.75rem; }

  .stats-inner, .services-grid, .testimonials-grid,
  .process-grid, .footer-grid, .form-row, .about-features {
    grid-template-columns: 1fr;
  }

  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .about-badge { position: static; margin-top: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
