*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #04060a;
  --deep: #070c14;
  --mid: #0c1420;
  --surface: rgba(10, 18, 30, 0.75);
  --neon: #00b4ff;
  --neon-dim: rgba(0,180,255,0.16);
  --neon-glow: rgba(0,180,255,0.4);
  --neon-bright: #38caff;
  --glass: rgba(255,255,255,0.03);
  --glass-border: rgba(0,180,255,0.11);
  --glass-border-h: rgba(0,180,255,0.32);
  --text: #ddeeff;
  --text-muted: #6e8ba0;
  --text-dim: #324050;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

nav,
.hero,
section,
footer {
  padding-left: max(5%, calc((100vw - 1600px) / 2 + 2.5rem));
  padding-right: max(5%, calc((100vw - 1600px) / 2 + 2.5rem));
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--neon-glow); border-radius: 2px; }

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 999; opacity: 0.35;
}


nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(4,6,10,0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
}

nav.scrolled {
  background: rgba(4,6,10,0.88);
  backdrop-filter: blur(28px) saturate(180%);
  border-bottom-color: var(--glass-border);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img {
  height: 36px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.3s;
}
.nav-logo-img:hover { opacity: 1; }

.nav-links {
  display: flex; gap: 2.4rem; list-style: none;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--neon); box-shadow: 0 0 6px var(--neon);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--neon); text-decoration: none;
  border: 1px solid rgba(0,180,255,0.35); padding: 9px 22px;
  border-radius: 4px; transition: all 0.3s;
  background: rgba(0,180,255,0.04);
}
.nav-cta:hover {
  background: rgba(0,180,255,0.1); border-color: var(--neon);
  box-shadow: 0 0 20px rgba(0,180,255,0.18);
}

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); border-radius: 2px;
  transition: all 0.3s;
}


.hero {
  min-height: min(100vh, 900px);
  padding: 140px clamp(1.5rem, 6vw, 5rem) 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3.5rem;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-picture,
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
}

.hero-bg-img {
  object-fit: cover;
  object-position: 83% center;
  filter: saturate(0.95) brightness(0.85);
}

@media (max-width: 1024px) {
  .hero-bg-img { object-position: 72% center; }
}

@media (max-width: 600px) {
  .hero-bg-img { object-position: 75% center; }
}


.hero-content {
  position: relative; z-index: 2;
  max-width: 80%;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--neon);
  margin-bottom: 1.6rem;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.7s 0.3s ease forwards;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon), 0 0 16px var(--neon);
  animation: pulse 2s ease infinite;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 5.5rem);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -0.025em; color: #fff;
  margin-bottom: 1.8rem;
  position: relative;
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero-heading-sizer {
  display: block;
  visibility: hidden;
  pointer-events: none;
}
.hero-heading-typewriter {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.typewriter-cursor {
  display: inline-block; width: 3px; height: 0.9em;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon), 0 0 18px rgba(0,180,255,0.6);
  margin-left: 3px; vertical-align: middle; border-radius: 1px;
  animation: cursorBlink 1.1s ease infinite;
}

.typewriter-char {
  display: inline-block; opacity: 0; transform: translateY(8px);
  animation: charReveal 0.04s forwards;
}

@keyframes charReveal { to { opacity: 1; transform: translateY(0); } }
@keyframes cursorBlink { 0%, 45% { opacity: 1; } 55%, 100% { opacity: 0; } }

.hero-sub {
  font-size: 1rem; font-weight: 300; line-height: 1.8;
  color: rgba(180,210,230,0.85); max-width: 80%; margin-bottom: 2.8rem;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.7s 2.2s ease forwards;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.7s 2.5s ease forwards;
}

.hero-badges {
  display: flex; gap: 0.8rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.7s 2.8s ease forwards;
}

.hero-services {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
}
.hero-services .services-header {
  margin-bottom: 2.5rem;
}
.hero-services .section-heading {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}
.hero-services .services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-badge {
  background: rgba(4,8,16,0.45);
  border: 1px solid rgba(0,180,255,0.32);
  backdrop-filter: blur(26px); border-radius: 10px;
  padding: 9px 14px; display: flex; align-items: center; gap: 9px;
  box-shadow:
    0 4px 22px rgba(0,0,0,0.55),
    0 0 18px rgba(0,180,255,0.30),
    0 0 40px rgba(0,180,255,0.22);
  white-space: nowrap;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hero-badge:hover {
  border-color: rgba(0,180,255,0.7);
  box-shadow:
    0 6px 26px rgba(0,0,0,0.65),
    0 0 26px rgba(0,180,255,0.55),
    0 0 60px rgba(0,180,255,0.35);
}
.badge-icon {
  width: 26px; height: 26px; background: rgba(0,180,255,0.1);
  border-radius: 6px; display: flex; align-items: center;
  justify-content: center; color: var(--neon); flex-shrink: 0;
}
.badge-label { font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.badge-value { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--text); line-height: 1.2; }

.btn-outline-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--text);
  background: radial-gradient(circle at 0% 0%, rgba(0,180,255,0.32), transparent 55%),
              rgba(8,16,30,0.75);
  padding: 13px 28px; border-radius: 5px;
  border: 1px solid rgba(0,180,255,0.55);
  cursor: pointer; text-decoration: none;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(0,180,255,0.18),
    0 10px 30px rgba(0,0,0,0.55),
    0 0 26px rgba(0,180,255,0.40);
}
.btn-outline-primary:hover {
  background: radial-gradient(circle at 0% 0%, rgba(0,180,255,0.45), transparent 60%),
              rgba(8,16,30,0.9);
  border-color: var(--neon); color: #fff;
  box-shadow:
    0 0 0 1px rgba(0,180,255,0.4),
    0 14px 40px rgba(0,0,0,0.65),
    0 0 40px rgba(0,180,255,0.65);
  transform: translateY(-2px);
}

.btn-outline-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 400;
  letter-spacing: 0.04em; color: rgba(180,210,230,0.75);
  background: rgba(4,10,20,0.6);
  padding: 13px 28px; border-radius: 5px;
  border: 1px solid rgba(0,180,255,0.28);
  cursor: pointer; text-decoration: none;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  backdrop-filter: blur(16px);
  box-shadow:
    0 8px 26px rgba(0,0,0,0.55),
    0 0 20px rgba(0,180,255,0.18);
}
.btn-outline-ghost:hover {
  background: rgba(8,18,32,0.9);
  border-color: rgba(0,180,255,0.55);
  color: var(--text); transform: translateY(-2px);
  box-shadow:
    0 10px 32px rgba(0,0,0,0.65),
    0 0 30px rgba(0,180,255,0.35);
}


section { padding-top: 110px; padding-bottom: 110px; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--neon); margin-bottom: 1.2rem;
}
.section-label-line {
  width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--neon), transparent);
  box-shadow: 0 0 6px var(--neon);
}
.section-heading {
  font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem; font-weight: 300; line-height: 1.75;
  color: var(--text-muted); max-width: 520px;
}


.services {
  background: var(--deep); position: relative; overflow: hidden;
}
.services::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-glow), transparent);
}
.services-header { margin-bottom: 4rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.service-card {
  background:
    radial-gradient(ellipse 120% 120% at 0% 0%, rgba(0,180,255,0.24), transparent 55%),
    linear-gradient(135deg, rgba(6,10,18,0.90) 0%, rgba(2,6,14,0.98) 100%);
  border: 1px solid rgba(0,180,255,0.24);
  border-radius: 14px; padding: 1.5rem 1.5rem 1.35rem;
  position: relative; overflow: hidden; cursor: default;
  display: flex; flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s, border-color 0.4s;
  backdrop-filter: blur(22px);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,180,255,0.7), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 55% at 25% 35%, rgba(0,180,255,0.07) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.service-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(0,180,255,0.55);
  box-shadow:
    0 0 0 1px rgba(0,180,255,0.30),
    0 24px 60px rgba(0,0,0,0.70),
    0 0 55px rgba(0,180,255,0.35);
}
.service-card:hover::before, .service-card:hover::after { opacity: 1; }

.service-card-header {
  display: flex; align-items: center; gap: 0.9rem;
  margin-bottom: 0.9rem; position: relative; z-index: 1;
}
.service-icon {
  width: 52px; height: 52px; min-width: 52px;
  background: linear-gradient(135deg, rgba(0,180,255,0.14) 0%, rgba(0,100,200,0.09) 100%);
  border: 1px solid rgba(0,180,255,0.2); border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--neon); flex-shrink: 0;
  transition: background 0.35s, box-shadow 0.35s, transform 0.35s;
}
.service-icon svg { width: 22px; height: 22px; filter: drop-shadow(0 0 5px rgba(0,180,255,0.5)); transition: filter 0.3s; }
.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(0,180,255,0.24) 0%, rgba(0,120,220,0.16) 100%);
  box-shadow: 0 0 20px rgba(0,180,255,0.22); transform: scale(1.07);
}
.service-card:hover .service-icon svg { filter: drop-shadow(0 0 9px rgba(0,180,255,0.85)); }

.service-title-wrap { flex: 1; min-width: 0; }
.service-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.01em; line-height: 1.25;
  transition: color 0.3s;
}
.service-card:hover .service-title { color: #fff; }
.service-tag {
  display: inline-block; font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(0,180,255,0.65); margin-top: 0.2rem;
}

.service-desc {
  font-size: 0.83rem; font-weight: 300; line-height: 1.72;
  color: var(--text-muted); position: relative; z-index: 1; flex: 1;
}

.service-card-footer {
  display: flex; justify-content: flex-end;
  margin-top: 1.1rem; position: relative; z-index: 1;
}


.why {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center; position: relative;
}
.why::before {
  content: ''; position: absolute; right: 40%; top: 10%; bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}
.why-list { display: flex; flex-direction: column; gap: 2rem; margin-top: 2.5rem; }
.why-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.3rem; border-radius: 10px; border: 1px solid transparent;
  transition: all 0.3s; cursor: default;
}
.why-item:hover { background: var(--glass); border-color: var(--glass-border); transform: translateX(4px); }
.why-number { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; color: var(--neon); letter-spacing: 0.1em; opacity: 0.7; flex-shrink: 0; margin-top: 2px; }
.why-item-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.why-item-desc { font-size: 0.86rem; font-weight: 300; line-height: 1.65; color: var(--text-muted); }

.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.stat-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 2.2rem 1.8rem;
  position: relative; overflow: hidden; transition: all 0.3s;
  min-width: 0;
  display: flex; align-items: center; justify-content: center;
}
.stat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--glass-border-h); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.stat-card:hover::after { opacity: 0.7; }
.feature-title { font-family: var(--font-display); font-size: clamp(1rem, 2.2vw, 1.2rem); font-weight: 700; color: var(--text); line-height: 1.35; letter-spacing: -0.01em; text-align: center; }


.cta-section {
  background: var(--deep); position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(0,180,255,0.07) 0%, transparent 70%);
}
.cta-section::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-glow), transparent);
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 680px; margin: 0 auto; }
.cta-heading { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; color: var(--text); margin-bottom: 1.2rem; }
.cta-heading span { color: var(--neon); text-shadow: 0 0 40px rgba(0,180,255,0.35); }
.cta-sub { font-size: 1rem; font-weight: 300; line-height: 1.75; color: var(--text-muted); margin-bottom: 2.8rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }


footer {
  background: var(--black); border-top: 1px solid var(--glass-border);
  padding-top: 60px; padding-bottom: 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-logo-link { display: inline-block; margin-bottom: 1rem; }
.footer-logo-img { height: 30px; width: auto; opacity: 0.8; }
.footer-brand p { font-size: 0.86rem; font-weight: 300; line-height: 1.7; color: var(--text-muted); max-width: 260px; margin-top: 0.8rem; }
.footer-col-title { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text); margin-bottom: 1.2rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 0.84rem; font-weight: 300; color: var(--text-muted); text-decoration: none; transition: color 0.25s; }
.footer-links a:hover { color: var(--neon); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.78rem; color: var(--text-dim); }
.footer-socials { display: flex; gap: 0.8rem; }
.footer-social-link { width: 34px; height: 34px; border-radius: 6px; border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; transition: all 0.3s; background: var(--glass); }
.footer-social-link:hover { color: var(--neon); border-color: rgba(0,180,255,0.3); box-shadow: 0 0 12px rgba(0,180,255,0.15); }


@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 6px var(--neon), 0 0 12px var(--neon); opacity: 1; }
  50%      { box-shadow: 0 0 10px var(--neon), 0 0 24px var(--neon); opacity: 0.7; }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


@media (max-width: 1440px) {
  nav,
  .hero,
  section,
  footer {
    padding-left: clamp(1.5rem, 4vw, 3.5rem);
    padding-right: clamp(1.5rem, 4vw, 3.5rem);
  }
  .hero-content,
  .hero-sub {
    max-width: 68%;
  }
}
@media (min-width: 1440px) {
  .hero-heading { font-size: clamp(3.5rem, 4vw, 5.5rem); }
  .hero-content { max-width: 80%; }
}
@media (min-width: 2000px) {
  :root { font-size: 19px; }
  nav { height: 90px; }
  .nav-logo-img { height: 44px; }
  .hero-heading { font-size: clamp(4rem, 4vw, 7rem); }
  .hero-content { max-width: 78%; }
  .hero-services .services-grid { gap: 1.6rem; }
}
@media (min-width: 3200px) {
  :root { font-size: 24px; }
  nav { height: 108px; }
  .nav-logo-img { height: 56px; }
  .hero-heading { font-size: clamp(5rem, 4vw, 9rem); }
  .hero-content { max-width: 75%; }
  .hero-services .services-grid { gap: 2rem; }
  .service-icon { width: 68px; height: 68px; border-radius: 14px; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-services .services-grid { grid-template-columns: 1fr; }
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .hero-content,
  .hero-sub {
    max-width: 100%;
  }

  .hero-bg-fade-left {
    position: absolute; inset: 0;
    background: linear-gradient(90deg,
    rgba(4,6,10,0.97) 0%,
    rgba(4,6,10,0.88) 25%,
    rgba(4,6,10,0.55) 50%,
    rgba(4,6,10,0.1)  72%,
    transparent       100%);
  }

  .hero-bg-fade-top {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
    rgba(4,6,10,0.75) 0%,
    transparent 30%);
  }

  .hero-bg-fade-bottom {
    position: absolute; inset: 0;
    background: linear-gradient(0deg,
    rgba(4,6,10,1) 0%,
    rgba(4,6,10,0.7) 15%,
    transparent 40%);
  }
}

@media (max-width: 900px) {
  .hero { padding-top: 110px; padding-bottom: 70px; }
  .why { grid-template-columns: 1fr; gap: 3rem; }
  .why::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .hero-heading { font-size: clamp(2.2rem, 8vw, 3rem); font-weight: 700; }
  .hero-content,
  .hero-sub {
    max-width: 100%;
  }
  .section-heading {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }
  .service-desc,
  .why-item-desc,
  .cta-sub {
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .services-grid { grid-template-columns: 1fr; }
  .why-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat-card {
    padding: 1.6rem 1.25rem;
  }
  .feature-title {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
  }
  .footer {
    padding-top: 48px;
    padding-bottom: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-brand p {
    max-width: 100%;
    text-align: center;
  }
  .footer-col-title {
    margin-top: 0.5rem;
  }
  .footer-links {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 1.5rem;
    gap: 1.25rem;
  }
  .footer-copy {
    font-size: 0.8rem;
    text-align: center;
  }
  .hero-actions { flex-direction: column; }
  .btn-outline-primary, .btn-outline-ghost { width: 100%; justify-content: center; }
  .hero-badges { gap: 0.6rem; }
}

@media (max-width: 400px) {
  .hero-heading {
    font-size: clamp(1.7rem, 8vw, 3rem);
  }
}

@media (max-width: 320px) {
  .hero-heading {
    font-size: clamp(1.7rem, 8vw, 3rem);
    font-weight: 600;
  }
}


.legal-section { padding-top: 140px; background: var(--black); }

.legal-inner { max-width: 760px; }

.legal-date {
  font-size: 0.82rem; font-weight: 300;
  color: var(--text-dim); letter-spacing: 0.05em;
  margin-top: 0.6rem; margin-bottom: 0;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.legal-block { margin-top: 2.5rem; }

.legal-block-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.01em; margin-bottom: 0.9rem;
}

.legal-block-subtitle {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  color: var(--neon); letter-spacing: 0.14em; text-transform: uppercase;
  margin-top: 1.4rem; margin-bottom: 0.5rem; opacity: 0.85;
}

.legal-block p {
  font-size: 0.9rem; font-weight: 300; line-height: 1.75;
  color: var(--text-muted); margin-bottom: 0.7rem;
}
.legal-block p:last-child { margin-bottom: 0; }

.legal-block ul {
  list-style: none; margin: 0.5rem 0 0.7rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.legal-block ul li {
  font-size: 0.9rem; font-weight: 300; line-height: 1.65;
  color: var(--text-muted); padding-left: 1.4rem; position: relative;
}
.legal-block ul li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--neon); font-size: 0.72rem; top: 0.12em; opacity: 0.7;
}

.legal-block a {
  color: var(--neon); text-decoration: none;
  border-bottom: 1px solid rgba(0,180,255,0.25);
  transition: border-color 0.2s;
}
.legal-block a:hover { border-bottom-color: var(--neon); }


#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(4,6,10,0.97);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(28px) saturate(160%);
  padding: 1.25rem max(5%, calc((100vw - 1600px) / 2 + 2.5rem));
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
#cookie-banner.visible { transform: translateY(0); }

.cookie-banner-text {
  font-size: 0.86rem; font-weight: 300; line-height: 1.65;
  color: var(--text-muted); flex: 1; min-width: 220px;
}

.cookie-banner-actions {
  display: flex; gap: 0.75rem; flex-shrink: 0;
  align-items: center; flex-wrap: wrap;
}

@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn-outline-primary,
  .cookie-banner-actions .btn-outline-ghost { flex: 1; justify-content: center; }
}
