

:root {
  --neon: #22c55e;
  --neon-glow: rgba(34, 197, 94, 0.4);
  --muted: #c5cad1;  
  --muted-light: #e5e7eb; 
  --muted-dark: #9ca3af;  
  --bg-card: rgba(17, 24, 39, 0.95); 
  --bg-card-hover: rgba(17, 24, 39, 0.98);
}

body.home::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.55) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.2;
}

h1, h2, h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  letter-spacing: -0.02em;
}

.code-accent {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
  color: var(--neon);
}

.hero-badge {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.06));
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 0.65rem 1.6rem;
  border-radius: 0;
  font-weight: 500;
  font-size: 0.9rem;
  gap: 0.6rem;
  color: var(--neon);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  box-shadow: 0 6px 25px rgba(34, 197, 94, 0.2);
  border-color: var(--neon);
}

.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, #051428 0%, #0a1a3d 50%, #0f1f44 100%);
  background-size: 400% 400%;
  animation: none;
}

.page-loaded .animated-bg {
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.page-loaded .grid-bg {
  opacity: 1;
}

.orb {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
}

@media (min-width: 1190px) {
  .orb {
    opacity: 1;
  }

  .orb-1, .orb-2, .orb-3 {
    animation-play-state: running;
  }
}

@media (max-width: 1189px) {
  .orb {
    opacity: 0;
  }
}

.page-loaded .orb {
  opacity: 0;
  transition: opacity 0.8s ease-in;
}

.orb-1 {
  width: 350px;
  height: 350px;
  top: 10%;
  left: -10%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15), transparent 70%);
}

.orb-2 {
  width: 300px;
  height: 300px;
  top: 50%;
  right: -10%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12), transparent 70%);
}

.orb-3 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 30%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1), transparent 70%);
}

.scanline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  
  display: none;
}

.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.5s ease-in;
}

@media (min-width: 1190px) {
  .grid-bg {
    opacity: 1;
  }
}

@media (max-width: 1189px) {
  .grid-bg {
    opacity: 0;
  }
}

.page-loaded .grid-bg {
  opacity: 1;
}

.content-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 10;
}

.scroll-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.hero-content {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-content .container-narrow {
  width: 100%;
  max-width: 850px; 
}

.hero-content .mb-3:first-child {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem !important;
}

.hero-content .mb-3:first-child .badge {
  min-height: 44px;
  white-space: nowrap;
}

.hero-content .mb-3:nth-child(2) {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem !important;
}

.hero-content .mb-3:nth-child(2) h1 {
  font-size: 3.5rem !important; 
  line-height: 1.15 !important;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 1rem !important;
}

.hero-content .mb-3:nth-child(2) p {
  font-size: 1.25rem !important; 
  line-height: 1.5 !important;
  min-height: 32px;
  margin: 0;
}

.hero-content .mb-4 {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem !important;
}

.hero-content .mb-4 p {
  font-size: 1.15rem !important; 
  line-height: 1.8 !important;
  min-height: 140px;
  max-width: 780px;
}

.hero-content .mb-5 {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 3rem !important;
}

.page-overlay {
  display: none;
}

.fade-in-up,
.fade-in-down,
[class*="fade-in"],
[data-animate] {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  will-change: auto !important;
}

body.home .fade-in-up,
body.home .fade-in-down,
body.home [class*="fade-in"],
body.home [data-animate],
body.home .benefit-card,
body.home .service-card,
body.home .stat-box {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  will-change: auto !important;
  width: 100%;
}

body.home .page-overlay { 
  display: none !important;
}

.nav-bar {
  overflow-x: clip; 
  width: 100%;
  max-width: 100vw; 
}

.nav-bar::after {
  
  max-width: 100vw;
  left: 0;
  right: 0;
}

.nav-menu {
  overflow: visible; 
  flex-wrap: nowrap; 
}

@media (max-width: 1189px) {
  .statistics-section .container {
    width: 90%;
  }

  .statistics-section .stat-box {
    grid-template-columns: 1fr;
  }

  .nav-bar {
    overflow-x: clip !important; 
    overflow-y: visible !important; 
    max-width: 100vw;
  }

  
  .nav-menu {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }
}

@media (max-width: 1189px) {
  .orb-1 { width: 250px; height: 250px; }
  .orb-2 { width: 200px; height: 200px; }
  .orb-3 { width: 200px; height: 200px; }
  .grid-bg { background-size: 30px 30px; }
  .content-wrapper { padding: 1.5rem 1rem; }
  .scroll-section { min-height: auto; padding: 2rem 0; }
  .services-grid { grid-template-columns: 1fr !important; }
  .benefit-card, .service-card { padding: 1.5rem; }

  .hero-content {
    min-height: 700px;
  }
  
  .hero-content .container-narrow {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .hero-content .mb-3:first-child {
    min-height: 45px;
    margin-bottom: 1rem !important;
  }

  .hero-content .mb-3:nth-child(2) {
    min-height: 200px;
    margin-bottom: 1.5rem !important;
  }
  
  .hero-content .mb-3:nth-child(2) h1 {
    font-size: 2rem !important; 
    min-height: 120px !important;
    line-height: 1.2 !important;
  }
  
  .hero-content .mb-3:nth-child(2) p {
    font-size: 1rem !important; 
    min-height: 28px;
  }

  .hero-content .mb-4 {
    min-height: 180px;
    margin-bottom: 1.5rem !important;
  }
  
  .hero-content .mb-4 p {
    font-size: 1rem !important; 
    line-height: 1.7 !important;
    min-height: 150px;
  }
  
  .hero-content .mb-5 {
    min-height: 160px;
    margin-bottom: 2rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up { animation-duration: 120ms !important; }
  .page-overlay { animation: none !important; backdrop-filter: none !important; opacity: 0 !important; }
}

html, body {
  overflow-x: hidden !important;
  max-width: 100%;
}

section:not(.hero-viewport), .container, .container-narrow {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

body.home main, body.home .content-wrapper, body.home .container, body.home .container-narrow {
  position: relative;
  z-index: 2;
}

.stat-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

img[loading="lazy"] {
  min-height: 1px;
  min-width: 1px;
}

[data-lazy] {
  
  min-height: inherit;
}

[data-lazy].loaded {
  
  transition: opacity 0.3s ease-in;
}

section[data-lazy-section] {
  
  opacity: 1;
}

section[data-lazy-section].loaded {
  opacity: 1;
}

@media (max-width: 1189px) {
  
  section:nth-of-type(n+3) {
    content-visibility: auto;
    contain-intrinsic-size: 600px;
  }
  
  section[data-lazy-section] {
    content-visibility: auto;
    contain-intrinsic-size: 700px;
  }
}

@media (min-width: 1190px) {
  section[data-lazy-section] {
    
    content-visibility: visible;
  }

  section:nth-of-type(n+3) {
    content-visibility: visible;
  }
}

section:not(.kmu-why-section):not(.fragment-branch-compliance):not(.benefits-section) {
  margin: 0;
  box-sizing: border-box;
}

.fade-in-up,
.fade-in-down,
[class*="fade-in"],
[data-animate] {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  will-change: auto !important;
}

section[data-lazy-section] {
  opacity: 1;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

@media (min-width: 1190px) {
  section[data-lazy-section] {
    content-visibility: visible;
  }
}

section#hero {
  background: linear-gradient(180deg, rgba(34,197,94,0.03), rgba(2,6,23,0.0));
  padding-top: 4rem;
  padding-bottom: 4rem;
}
section#hero .container-narrow { max-width: 980px; text-align: center; }
section#hero h1 { color: #ffffff; font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; margin: 0 0 1rem; }
section#hero p { color: var(--muted); font-size: 1.1rem; margin: 0 0 1.25rem; }
section#hero .btn { min-width: 160px; }

section#benefits { 
  background: transparent;
}
section#benefits .container { max-width: var(--site-max-width, 1100px); }
.benefit-card { background: var(--bg-card); padding: 1.25rem; border-radius: 0; color: var(--muted-light); }
.benefit-card h3 { color: var(--neon); margin-bottom: 0.5rem; }

section#industries { 
  background: transparent;
}
section#industries .benefit-card { background: rgba(17,24,39,0.85); border-radius: 0; }

section#branch_compliance { 
  background: transparent;
}
section#branch_compliance .container { max-width: 1100px; }
section#branch_compliance h2 { color: var(--neon); }

section[data-lazy-url*="services"] { 
  background: transparent;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1200px; width: 100%; }
.service-card { background: var(--bg-card); padding: 2rem; border-radius: 0; color: var(--muted-light); }

@media (max-width: 1189px) {
  .services-grid { grid-template-columns: 1fr; }
}

section[data-lazy-url$="stats"] { 
  background: #ffffff;
}
.stat-box { background: rgba(17,24,39,0.9); padding: 1.5rem; border-radius: 0; color: var(--muted-light); }

section[data-lazy-url$="why_us"], .fragment-why-us { 
  background: transparent;
}
.fragment-why-us h2 { color: var(--neon); }

.btn-primary { background: linear-gradient(90deg, #22c55e, #16a34a); border: none; color: #071124; padding: 0.9rem 1.25rem; border-radius: 0; font-weight: 700; }
.btn-secondary { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); color: var(--muted-light); padding: 0.75rem 1rem; border-radius: 0; }

main > section + section { border-top: none; }

.btn:focus { outline: 3px solid rgba(34,197,94,0.18); outline-offset: 3px; }

