/* =============================================
   SWT - Smart Win Technology | Shared Styles
   Design: White header + deep purple accents
   Font: Syne (display) + DM Sans (body)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --purple-deep:   #2d0a6e;
  --purple-mid:    #3b0f8c;
  --purple-light:  #5b21b6;
  --purple-vivid:  #7c3aed;
  --purple-soft:   #a78bfa;
  --purple-dim:    rgba(124,58,237,0.10);
  --amber:         #f59e0b;
  --white:         #ffffff;
  --off-white:     #f7f5ff;
  --gray-50:       #fafafa;
  --gray-100:      #ede9f8;
  --gray-300:      #c4b8e8;
  --gray-400:      #9b8abf;
  --text-main:     #1a0a3d;
  --text-muted:    #6b5b8e;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(45,10,110,0.08);
  --shadow-lg:     0 20px 60px rgba(45,10,110,0.18);
  --transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
  /* Aliases so page-specific styles keep working */
  --navy:          #2d0a6e;
  --navy-mid:      #3b0f8c;
  --navy-light:    #5b21b6;
  --teal:          #7c3aed;
  --teal-light:    #a78bfa;
  --teal-dim:      rgba(124,58,237,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- NAV — white bg, tall ---- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--gray-100);
  box-shadow: 0 2px 20px rgba(45,10,110,0.07);
  transition: var(--transition);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
  height: 96px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--purple-deep);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.nav-logo span { color: var(--purple-vivid); }

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

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--purple-vivid);
  background: var(--purple-dim);
}

.nav-links .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  min-width: 230px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  list-style: none;
  box-shadow: 0 16px 48px rgba(45,10,110,0.14);
}

.nav-links > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .dropdown li a {
  display: block;
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links .dropdown li a:hover {
  background: var(--purple-dim);
  color: var(--purple-vivid);
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--gray-300);
  color: var(--text-main);
}
.btn-ghost:hover {
  border-color: var(--purple-vivid);
  color: var(--purple-vivid);
  background: var(--purple-dim);
}

.btn-primary {
  background: var(--purple-vivid);
  color: var(--white);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--purple-mid);
  box-shadow: 0 0 24px rgba(124,58,237,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--purple-vivid);
  color: var(--purple-vivid);
}
.btn-outline:hover {
  background: var(--purple-vivid);
  color: var(--white);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
  border-radius: 10px;
}

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-deep);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-light) 100%);
  padding: 160px 32px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(167,139,250,0.2) 0%, transparent 70%);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167,139,250,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,139,250,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--purple-soft);
  margin-bottom: 20px;
  font-weight: 500;
}
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ---- SECTIONS ---- */
.section { padding: 96px 32px; }
.section-sm { padding: 64px 32px; }
.container { max-width: 1280px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-vivid);
  background: var(--purple-dim);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-title em {
  font-style: normal;
  color: var(--purple-vivid);
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.card:hover {
  border-color: rgba(124,58,237,0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--purple-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 32px 0;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-logo-txt {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
}
.footer-logo-txt span { color: var(--purple-soft); }

.footer-social { display: flex; gap: 10px; margin-top: 24px; }

.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 14px;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--purple-vivid);
  color: var(--white);
}

.footer-col h6 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--purple-soft); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: var(--purple-soft); }

/* ---- FORMS ---- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group label .req { color: var(--purple-vivid); }

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-main);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--purple-vivid);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.10);
}

.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ---- GRID UTILITIES ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ---- BADGES ---- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-teal  { background: var(--purple-dim); color: var(--purple-vivid); }
.badge-amber { background: rgba(245,158,11,0.12); color: var(--amber); }

/* ---- STATS ---- */
.stats-row { display: flex; gap: 48px; align-items: center; }
.stat-item { text-align: center; }
.stat-item .num {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--purple-vivid);
  line-height: 1;
}
.stat-item .lbl { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.divider { width: 48px; height: 3px; background: var(--purple-vivid); border-radius: 2px; margin: 20px 0; }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-inner { padding: 0 28px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 96px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 24px 20px;
    overflow-y: auto;
    gap: 2px;
    border-top: 1px solid var(--gray-100);
    box-shadow: 0 8px 40px rgba(45,10,110,0.12);
  }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    color: var(--text-main);
  }
  .nav-links .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--off-white);
    margin-top: 4px;
    box-shadow: none;
    border: 1px solid var(--gray-100);
  }
  .nav-ctas { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 20px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-row { flex-wrap: wrap; gap: 24px; justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ---- ACCENT LINE ---- */
.teal-line { display: inline-block; position: relative; }
.teal-line::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: var(--purple-vivid);
  border-radius: 2px;
}

/* ========================================
   GLOBAL CTA BANNER — used across pages
   ======================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--purple-vivid) 0%, var(--purple-mid) 100%);
  padding: 80px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

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

.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
}

.cta-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA button variants */
.btn-navy {
  background: var(--purple-deep);
  color: var(--white);
  font-weight: 700;
}
.btn-navy:hover {
  background: var(--purple-mid);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--purple-vivid);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
