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

:root {
  --color-heading:  #1E1559;
  --color-text:     #374151;
  --color-muted:    #6B7280;
  --color-bg:       #FFFFFF;
  --color-bg-soft:  #F8F7FF;
  --color-accent:   #7C3AED;
  --color-cyan:     #06B6D4;
  --color-magenta:  #C026D3;
  --gradient-brand: linear-gradient(135deg, #2D1B69 0%, #7C3AED 55%, #C026D3 100%);
  --gradient-cta:   linear-gradient(135deg, #1E1559 0%, #2D1B69 45%, #7C3AED 100%);
  --color-border:   rgba(45,27,105,0.08);
  --font-family:    'Poppins', sans-serif;
  --radius-full:    9999px;
  --transition:     300ms ease;
  --container-max:  1200px;
  --shadow-card:    0 1px 3px rgba(45,27,105,0.06), 0 4px 24px rgba(45,27,105,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
}

/* ── Scroll to top ── */
#scroll-top {
  position: fixed; bottom: 6rem; right: 1.75rem; z-index: 990;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(45,27,105,0.12);
  backdrop-filter: blur(8px);
  color: rgba(45,27,105,0.45);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 2px 12px rgba(45,27,105,0.08);
}
#scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#scroll-top:hover   { background: #fff; color: #1E1559; border-color: rgba(45,27,105,0.22); }

/* ── WhatsApp button ── */
#wa-btn {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 990;
  width: 48px; height: 48px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.45); }

/* ── Grain ── */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 997; opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  animation: grain 0.5s steps(3) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  25%      { transform: translate(-4%, 6%); }
  50%      { transform: translate(6%, -4%); }
  75%      { transform: translate(-6%, -4%); }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 2.5rem;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(45,27,105,0.08);
  box-shadow: 0 1px 20px rgba(45,27,105,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1200px;
  margin: 0 auto; padding: 0 2.5rem; gap: 2rem;
}
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; }
.nav-logo-img { height: 28px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-link {
  font-size: 0.9rem; font-weight: 600; color: #4B5563;
  text-decoration: none; transition: color 0.25s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #7C3AED, #C026D3);
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: #1E1559; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Dropdown */
.nav-item { position: relative; z-index: 110; }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  padding-top: 12px;
  background: transparent;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  list-style: none; margin: 0;
}
.nav-dropdown::before {
  content: '';
  display: block;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(45,27,105,0.08);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(45,27,105,0.12);
  position: absolute; inset: 12px 0 0 0;
  z-index: -1;
}
.nav-dropdown li { position: relative; z-index: 111; }
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li:first-child a { margin-top: 0.4rem; }
.nav-dropdown li:last-child a  { margin-bottom: 0.4rem; }
.nav-dropdown li a {
  display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 1.25rem;
  font-size: 0.88rem; font-weight: 500; color: #4B5563;
  text-decoration: none; white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  border-radius: 8px; margin: 0 0.4rem;
}
.nav-dropdown li a:hover { color: #7C3AED; background: rgba(124,58,237,0.06); }
.nav-dropdown li a img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.nav-link-arrow { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-link-arrow svg { width: 10px; height: 10px; opacity: 0.5; transition: transform 0.2s; }
.nav-item:hover .nav-link-arrow svg { transform: rotate(180deg); }

/* Mobile dropdown */
.nm-sub { list-style: none; margin: 0.5rem 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.nm-sub a { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; font-weight: 500; color: #6B7280; text-decoration: none; transition: color 0.2s; }
.nm-sub a:hover { color: #7C3AED; }
.nm-sub a img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }

.nav-cta {
  font-size: 0.88rem; font-weight: 700; color: #fff;
  text-decoration: none; padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, #2D1B69, #7C3AED, #C026D3);
  border-radius: 9999px;
  transition: opacity 0.25s, transform 0.25s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.nav-burger {
  display: none; flex-direction: column; gap: 6px;
  padding: 0.5rem; background: none; border: none;
}
.nav-burger span { display: block; width: 22px; height: 1.5px; background: #1E1559; transition: all 0.3s; }
.nav-mobile {
  display: none; background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px); border-top: 1px solid rgba(45,27,105,0.07);
  padding: 1.5rem 2.5rem;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.nm-link { font-size: 1.05rem; font-weight: 600; color: #4B5563; text-decoration: none; transition: color 0.2s; }
.nm-link:hover { color: #1E1559; }
.nm-cta { display: inline-flex; }
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ── Footer ── */
.footer {
  background: #F8F7FF;
  border-top: 1px solid rgba(45,27,105,0.08);
  padding-top: 4rem;
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 4rem; padding-bottom: 3rem; }
.footer-logo { display: inline-flex; margin-bottom: 1rem; text-decoration: none; }
.footer-logo-img { height: 44px; width: auto; display: block; }
.footer-tagline { font-size: 0.95rem; color: #6B7280; line-height: 1.6; max-width: 280px; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.footer-col-title {
  color: #1E1559; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: 0.9rem; color: #6B7280; transition: color 0.2s; }
.footer-col a:hover { color: #7C3AED; }
.footer-bottom { border-top: 1px solid rgba(45,27,105,0.08); padding: 1.5rem 0; }
.footer-bottom p { font-size: 0.85rem; color: #9CA3AF; text-align: center; }
@media (max-width: 768px) {
  .footer { padding-top: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-tagline { max-width: 100%; font-size: 0.88rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom p { font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-col:last-child { grid-column: auto; }
}
