/* ================================
   COMPONENTS CSS — AI Conexus
   Shared component styles extracted
   from inline <style> blocks
================================ */

/* ================================
   NAVIGATION
================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 90px;
  width: auto;
  object-fit: cover;
  object-position: top;
  clip-path: inset(0 0 45% 0);
  margin-bottom: -40px;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: cover;
  object-position: top;
  clip-path: inset(0 0 45% 0);
  margin-bottom: -36px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-300);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--white);
}

.nav-cta {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  background: var(--blue);
  border: none;
  padding: 8px 18px;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--blue-hover);
}

/* ================================
   MOBILE MENU
================================ */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 24px;
  font-weight: 500;
  color: var(--gray-300);
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--blue);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  padding: 8px;
}

/* ================================
   PAGE HERO (Subpages)
================================ */
.page-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0, 168, 255, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.page-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 16px;
}

.page-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 400;
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ================================
   LAYOUT — Section & Container
================================ */
section {
  padding: 100px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================
   CONTENT SECTIONS (Subpages)
================================ */
.content-section {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.content-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  position: sticky;
  top: 80px;
}

.content-text h3 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--white);
}

.content-text p {
  font-size: 17px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ================================
   FOOTER
================================ */
footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 24px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--gray-500);
  padding: 8px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-copyright {
  font-size: 13px;
  color: var(--gray-600);
}

.footer-powered {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-powered a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-powered a:hover {
  color: #93c5fd;
}

/* ================================
   RESPONSIVE — Shared Breakpoints
================================ */

/* Tablet */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-label {
    position: static;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  section {
    padding: 80px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }
}
