@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --bg: #001f3f;                   /* page background */
  --header-bg: #00264d;            /* darker-than-accent */
  --accent: #005f9f;               /* nexus dark blue */
  --neon: #00dfff;                 /* glow */
  --text: #e0e0e0;
  --muted: #aaa;
  --font: 'Poppins', sans-serif;
}

/* FULL-HEIGHT LAYOUT */
html, body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  position: relative;
}

/* FAINT LOGO PATTERN */
body::before {
  content: "";
  position: absolute; inset: 0;
  background:
    url('icon48.png') 15% 25% no-repeat,
    url('icon48.png') 80% 10% no-repeat,
    url('icon48.png') 60% 75% no-repeat,
    url('icon48.png') 25% 80% no-repeat;
  opacity: 0.03; pointer-events: none; z-index: 0;
}

/* MAIN CONTENT FILL */
main.container {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* FULL-WIDTH HEADER */
header.navbar {
  width: 100%;
  background: var(--header-bg);
  position: sticky; top: 0; z-index: 10;
}
.nav-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex; align-items: center;
  padding: 12px 20px;
  position: relative;
}

/* BRAND (centered) */
.brand {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  display: flex; align-items: center;
  color: var(--text);
  font-size: 1.5rem; font-weight: 600;
  pointer-events: none;
}
.brand .logo { width: 40px; margin-right: 10px; }

/* NAV LINKS (to left of buttons) */
.nav-links {
  list-style: none;
  display: flex;
  margin-right: 20px;
}
.nav-links li + li { margin-left: 20px; }
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
}
.nav-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 6px var(--accent);
}

/* BTN GROUP (right) */
.btn-group {
  margin-left: auto;
  display: flex; gap: 10px;
}
.btn-login {
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-login:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px var(--neon);
}

/* HERO */
.hero {
  min-height: 70vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background:
    linear-gradient(135deg,
      rgba(0,95,159,0.6),
      rgba(0,31,63,0.9)
    ),
    url('hero-bg.jpg') center/cover no-repeat;
}
.hero h1 {
  font-size: 3rem; margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
}
.hero p {
  font-size: 1.25rem; margin-bottom: 30px;
  animation: fadeInUp 1.2s ease forwards;
}

/* FEATURES 2×2 GRID */
.features {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 40px; padding: 60px 20px;
}
@media (max-width:600px){ .features{ grid-template-columns:1fr } }
.features .feature {
  background: rgba(0,95,159,0.8);
  padding: 30px 20px; border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.features .feature:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0,223,255,0.3);
  border-left: 4px solid var(--neon);
}

/* PRICING FLEX LAYOUT (3 + 2) */
.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; padding: 40px 20px;
}
.pricing-cards .pricing-card {
  flex: 0 1 300px;
  background: rgba(0,95,159,0.8);
  border-radius: 8px; padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-cards .pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,223,255,0.3);
}
.pricing-cards .pricing-card h3 { margin-bottom: 10px; }
.pricing-cards .pricing-card .price {
  font-size: 1.75rem; color: var(--neon); margin-bottom: 10px;
}

/* SIGNUP FORM */
iframe { width:100%; max-width:1000px; min-width:650px; height:800px; border:none; }

/* ANIMATION */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(20px) }
  to   { opacity:1; transform:translateY(0) }
}

/* FOOTER */
footer.footer {
  background: var(--header-bg);
  color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px;
}
footer.footer .footer-brand {
  display: flex; align-items: center;
}
footer.footer .footer-brand .logo {
  width: 24px; margin-right: 8px;
}
footer.footer p { margin: 0; }

/* Make mailto: links pop on any page */
main.container a[href^="mailto:"] {
  color: var(--neon);
  text-decoration: underline;
}
main.container a[href^="mailto:"]:hover {
  color: var(--accent);
}

