/* ========================================
   ABGTECH - GLOBAL STYLES & CSS
   ======================================== */

:root {
  --ink: #07152f;
  --navy: #0d2b67;
  --royal: #1f55c7;
  --blue: #3d86e8;
  --cyan: #59d7f1;
  --hover-cyan: #47c7dc;
  --deep-teal: #17384c;
  --aqua: #3ee6c2;
  --green: #20c997;
  --soft: #eef5ff;
  --muted: #6d7d99;
  --line: rgba(31, 85, 199, .13);
  --shadow: 0 24px 70px rgba(6, 22, 58, .16);
  --radius: 22px;
  --glass: rgba(255,255,255,.74);
  --glass-strong: rgba(248,251,255,.84);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 12% 8%, rgba(89,215,241,.18), transparent 24rem),
              linear-gradient(135deg, #eef6ff 0%, #f7fbff 45%, #e8f4f8 100%);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* Navigation */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 1rem 0;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .25s ease, padding .25s ease;
}
.site-nav.is-scrolled {
  padding: .65rem 0;
  background: rgba(23, 56, 76, .96);
  backdrop-filter: blur(18px);
}

/* Header Logo */
.logo-img {
  border-radius: 15px;
  object-fit: contain;
  max-width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-weight: bold;
}
.nav-link {
  color: rgba(255,255,255,.84);
  font-weight: 600;
  font-size: .85rem;
}
.nav-link:hover { color: var(--hover-cyan); }
.btn-premium {
  border: 0;
  border-radius: 18px;
  padding: .75rem 1.2rem;
  color: #fff;
  font-weight: bold;
  background: linear-gradient(135deg, var(--royal), #123b94);
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 18px;
  padding: .75rem 1.2rem;
  color: #fff;
  background: rgba(255,255,255,.1);
}
.section { padding: 5rem 0; }
.section-dark {
  color: #fff;
  background: linear-gradient(135deg, #07152f, #0d2b67);
}
.section-kicker {
  color: var(--royal);
  text-transform: uppercase;
  font-weight: bold;
  font-size: .8rem;
  margin-bottom: .5rem;
}
.section-dark .section-kicker { color: var(--cyan); }
.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 1rem;
}
.lead-copy, .section-copy {
  color: var(--muted);
  line-height: 1.6;
}
.premium-card, .product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(14px);
  transition: transform .2s ease;
}
.premium-card:hover, .product-card:hover {
  transform: translateY(-5px);
}
.icon-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--royal), var(--cyan));
  color: #fff;
  font-size: 1.5rem;
}
.btn { border-radius: 18px; }
.btn-premium:hover { transform: translateY(-2px); }

/* Footer */
.footer {
  background: var(--deep-teal);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem;
}
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: var(--hover-cyan); }

.footer-logo {
  width: 250px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(89,215,241,.28);
  background: rgba(255,255,255,.04);
  padding: 3px;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  visibility: hidden;
  opacity: 0;
  transition: .2s;
  z-index: 1040;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--deep-teal);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1050;
}
body.drawer-open .drawer-backdrop {
  visibility: visible;
  opacity: 1;
}
body.drawer-open .mobile-drawer {
  transform: translateX(0);
}
.drawer-link {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff;
}

/* Mobile Menu Button */
.mobile-menu-button {
  display: none;
  background: linear-gradient(135deg, var(--royal), var(--cyan));
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .desktop-nav {
    display: none !important;
  }
  .mobile-menu-button {
    display: block !important;
  }
  .site-nav {
    background: rgba(23, 56, 76, .95);
  }
  .navbar-brand {
    max-width: 70%;
  }
  .logo-img {
    max-width: 100%;
    height: auto;
  }
  .logo-text {
    display: none;
  }
}

/* Fix navigation spacing */
.desktop-nav {
  gap: 2rem !important;
}
.desktop-nav .nav-link {
  margin: 0 0.5rem !important;
  white-space: nowrap !important;
}

/* Fix footer link spacing */
.footer a {
  display: block !important;
  margin-bottom: 0.75rem !important;
}
.footer h3 {
  margin-bottom: 1.25rem !important;
}
.social-row a {
  margin-right: 0.75rem !important;
  display: inline-block !important;
}