/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Variables ── */
:root {
  --navy:         #0F172A;
  --navy-mid:     #1E293B;
  --navy-light:   #334155;
  --purple:       #6D28D9;
  --purple-mid:   #7C3AED;
  --purple-light: #8B5CF6;
  --purple-pale:  #EDE9FE;
  --purple-faint: #F5F3FF;
  --white:        #FFFFFF;
  --gray-50:      #F9FAFB;
  --gray-100:     #F3F4F6;
  --gray-200:     #E5E7EB;
  --gray-400:     #9CA3AF;
  --gray-500:     #6B7280;
  --gray-700:     #374151;
  --green:        #22C55E;
  --red:          #DC2626;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 1.5rem; }

/* ── Typography ── */
h1, h2, h3 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); color: var(--navy); }
h3 { font-size: 1.2rem; }
p { color: var(--gray-500); }

.section-label {
  display: inline-block;
  color: var(--purple-mid);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.nav-brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.9; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  font-family: 'Inter', sans-serif;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(109,40,217,0.35);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(109,40,217,0.45); }
.btn-white {
  background: #fff;
  color: var(--purple);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-white:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.88rem; }

/* ── Page Header (interior pages) ── */
.page-header {
  background: linear-gradient(145deg, #0F172A 0%, #1a1040 40%, #2D1B6E 100%);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(109,40,217,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .section-label { color: #C4B5FD; }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 0.75rem;
}
.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.75rem;
  text-decoration: none;
}
.footer-brand-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  margin: 0;
}
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-banner .btn-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  section { padding: 3.5rem 1rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15,23,42,0.98);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
