/* ── SHARED KOVAX STYLES ── */

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

:root {
  --dark-background: #000;
  --body-normal: #ffffffc7;
  --body-loud: #fff;
  --body-muted: #ffffff80;
  --gradient-loud-100: linear-gradient(135deg, #ffffff 0%, #8dd4ff 60%, #a8deff 100%);
  --blue-loud: #1e90ff;
  --blue-6: #1e90ff0f;
  --blue-12: #1e90ff1f;
  --accent: #1e72e8;
  --accent-bright: #5bc8ff;
  --accent-dim: #1e72e81a;
  --accent-border: #1e72e840;
}

html, body { overflow-x: hidden; }

body {
  color: #fff;
  background-color: var(--dark-background);
  width: 100vw;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 0; }

/* ── NAV ── */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 7%;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo img {
  height: 54px;
  width: auto;
  display: block;
  mix-blend-mode: lighten;
  filter: brightness(1.3) saturate(1.3) drop-shadow(0 0 10px rgba(30,144,255,0.5));
  transition: filter 0.2s;
  border-radius: 6px;
}

.nav-logo:hover img {
  filter: brightness(1.5) saturate(1.4) drop-shadow(0 0 18px rgba(30,144,255,0.8));
}

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

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--body-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }

/* ── MAGNETIC GLOW BUTTON ── */
.btn-primary, .btn-secondary, .btn-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  overflow: visible;
}

.btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 32px;
  background-color: rgb(13,13,13);
  background-image: radial-gradient(
    circle 150px at var(--sx, -9999px) var(--sy, -9999px),
    rgba(255,255,255,0.18) 0%,
    rgba(0,140,255,0.10) 40%,
    transparent 70%
  );
  border: 1.5px solid rgb(0,140,255);
  box-shadow: 0 15px 35px 0 rgba(5,90,237,0.37);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover .btn-inner,
.btn-secondary:hover .btn-inner,
.btn-nav:hover .btn-inner {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px 0 rgba(5,90,237,0.55);
}

.btn-primary:active .btn-inner,
.btn-secondary:active .btn-inner,
.btn-nav:active .btn-inner { transform: translateY(0); }

.btn-nav .btn-inner { padding: 9px 20px; font-size: 0.82rem; }

/* ── TYPOGRAPHY ── */
h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--body-loud);
  margin-bottom: 16px;
}

.h1-gradient {
  color: #fff;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body-muted);
  margin-bottom: 20px;
  display: block;
}

.section-sub {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--body-muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 80px;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body-muted);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}

.page-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ── PAGE WRAPPER ── */
.page-wrap {
  padding: 140px 7% 100px;
  position: relative;
  overflow: hidden;
}

.page-orb {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(30,114,232,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,92,252,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,252,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 0%, transparent 80%);
  pointer-events: none;
}

.page-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--body-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo img {
  height: 90px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-logo:hover img { opacity: 1; }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(199,211,234,0.35);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-phone, .footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--body-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-phone svg, .footer-email svg {
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.footer-phone:hover svg, .footer-email:hover svg { opacity: 0.9; }
.footer-phone:hover, .footer-email:hover { color: #fff; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 210;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 16px 5%; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 86px;
    left: 0 !important;
    right: 0;
    transform: none !important;
    width: 100%;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 8px 0 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
  }
  .nav-links a.active { color: #fff; }

  .page-wrap { padding: 100px 5% 60px; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
  .footer-right { flex-direction: column; gap: 8px; }
}

/* ── Section divider ── */
.section-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}

/* ── Page header entrance animation ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-header .page-eyebrow {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.15s forwards;
}

.page-header h1 {
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.22,1,0.36,1) 0.35s forwards;
}

.page-header .section-sub {
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.22,1,0.36,1) 0.55s forwards;
}
