/* =====================
   AIVECTRA — GLOBAL CSS
   ===================== */

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

:root {
  --navy: #0a0f1e;
  --navy-mid: #111827;
  --navy-light: #1a2744;
  --blue: #378ADD;
  --blue-light: #5BA3E8;
  --teal: #1D9E75;
  --teal-light: #2EC090;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f0f4f8;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --text-primary: #0a0f1e;
  --text-secondary: #475569;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(10,15,30,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(55,138,221,0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo svg { width: 36px; height: 36px; }

.nav-wordmark {
  font-weight: 600;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-wordmark span { color: var(--teal-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 99px;
}

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--teal-light) !important; }
.nav-cta.active::after { display: none !important; }

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  background: var(--navy);
  padding: 140px 5% 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(55,138,221,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55,138,221,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(29,158,117,0.1) 0%, transparent 70%);
  top: -100px; right: 0;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  max-width: 720px;
}

.page-hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--teal-light);
}

.page-hero p {
  font-size: 18px;
  color: var(--gray-400);
  line-height: 1.7;
  font-weight: 300;
  max-width: 580px;
}

/* ===== SECTION COMMONS ===== */
section { padding: 100px 5%; }

.inner { max-width: 1100px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-title.light { color: var(--white); }

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

.section-sub.light { color: var(--gray-400); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gray-400);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
}

.btn-secondary:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--gray-200);
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ===== CTA STRIP ===== */
.cta-strip {
  background: var(--navy);
  padding: 100px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(29,158,117,0.12) 0%, transparent 70%);
}

.cta-strip-content {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-strip p {
  font-size: 17px;
  color: var(--gray-400);
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 300;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 5% 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-wordmark {
  font-weight: 600;
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  display: block;
}

.footer-wordmark span { color: var(--teal-light); }

.footer-tagline {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.65;
  max-width: 260px;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

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

.footer-legal { display: flex; gap: 24px; }

.footer-legal a {
  font-size: 13px;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.fade-up { animation: fadeUp 0.7s ease both; }
.fade-up-2 { animation: fadeUp 0.7s ease 0.1s both; }
.fade-up-3 { animation: fadeUp 0.7s ease 0.2s both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-links li:not(:last-child) { display: none; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
