/* ============================================================
   AdLabs India — style.css
   Dark theme · Purple accent · Production-grade
   ============================================================ */

/* Font variables live in assets/css/fonts.css — loaded via <link> in seo.php / header.php */

/* ── CSS Variables ── */
:root {
  /* Colors */
  --color-bg:          #0a0a0a;
  --color-bg-alt:      #111111;
  --color-bg-card:     #161616;
  --color-bg-card-hover: #1e1e1e;
  --color-surface:     #1a1a1a;
  --color-border:      rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(124, 77, 204, 0.4);

  --color-purple:       #7C4DCC;
  --color-purple-light: #9B6FE0;
  --color-purple-dark:  #5C35A8;
  --color-purple-glow:  rgba(124, 77, 204, 0.25);
  --color-purple-subtle: rgba(124, 77, 204, 0.08);

  --color-text:        #f0f0f0;
  --color-text-muted:  #888888;
  --color-text-dim:    #555555;
  --color-white:       #ffffff;

  --color-whatsapp:    #25d366;
  --color-whatsapp-dark: #1da851;

  /* Typography — font stacks defined in assets/css/fonts.css */

  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-md:    1.125rem;
  --text-lg:    1.25rem;
  --text-xl:    1.5rem;
  --text-2xl:   2rem;
  --text-3xl:   2.5rem;
  --text-4xl:   3.25rem;
  --text-5xl:   4.5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1.25rem;
  --radius-xl:   2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.6);
  --shadow-purple: 0 4px 32px rgba(162, 3, 215, 0.3);
  --shadow-purple-lg: 0 8px 48px rgba(162, 3, 215, 0.4);

  /* Transitions */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:    cubic-bezier(0.55, 0, 1, 0.45);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-base: 280ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);

  /* Layout */
  --container-max:  1200px;
  --container-wide: 1400px;
  --navbar-h:       96px;
  --section-py:     var(--space-24);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { line-height: 1.15; font-weight: 700; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--wide {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* ── Typography ── */
.display-xl { font-size: clamp(2.5rem, 6vw, var(--text-5xl)); font-weight: 800; letter-spacing: -0.03em; }
.display-lg { font-size: clamp(2rem, 4.5vw, var(--text-4xl)); font-weight: 700; letter-spacing: -0.025em; }
.display-md { font-size: clamp(1.5rem, 3vw, var(--text-3xl)); font-weight: 700; letter-spacing: -0.02em; }
.heading-lg  { font-size: clamp(1.25rem, 2.5vw, var(--text-2xl)); font-weight: 700; }
.heading-md  { font-size: var(--text-xl); font-weight: 600; }
.heading-sm  { font-size: var(--text-lg); font-weight: 600; }

.text-purple { color: var(--color-purple-light); }
.text-muted  { color: var(--color-text-muted); }
.text-white  { color: var(--color-white); }

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--color-purple-light) 60%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75em 1.75em;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-purple);
  color: var(--color-white);
  box-shadow: 0 0 0 0 var(--color-purple-glow);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.12) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.btn--primary:hover {
  background: var(--color-purple-light);
  box-shadow: var(--shadow-purple-lg);
  transform: translateY(-2px);
}
.btn--primary:hover::after { opacity: 1; }
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-purple);
  color: var(--color-purple-light);
  background: var(--color-purple-subtle);
}

.btn--ghost {
  background: transparent;
  color: var(--color-purple-light);
  padding-inline: 0;
}
.btn--ghost:hover { color: var(--color-white); }

.btn--sm { padding: 0.55em 1.25em; font-size: var(--text-xs); }
.btn--lg { padding: 0.9em 2.25em; font-size: var(--text-base); }

/* ── Sections ── */
.section {
  padding-block: var(--section-py);
}
.section--alt {
  background: var(--color-bg-alt);
}
.section--surface {
  background: var(--color-surface);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-purple-light);
  margin-bottom: var(--space-4);
}
.section__label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-purple);
  border-radius: 2px;
}

.section__header {
  max-width: 640px;
  margin-bottom: var(--space-16);
}
.section__header--center {
  text-align: center;
  margin-inline: auto;
}
.section__subtitle {
  margin-top: var(--space-4);
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Grid ── */
.grid {
  display: grid;
  gap: var(--space-6);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ── Cards ── */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
}
.card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-purple-subtle);
  border: 1px solid rgba(162, 3, 215, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 1.5rem;
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.card__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25em 0.85em;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge--purple {
  background: var(--color-purple-subtle);
  color: var(--color-purple-light);
  border: 1px solid rgba(162, 3, 215, 0.2);
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-8);
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--color-border), 0 8px 32px rgba(0,0,0,0.4);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
  gap: var(--space-8);
}

/* Logo */
.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.navbar__logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

/* Nav links */
.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}

.navbar__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}
.navbar__link:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
}
.navbar__link.active { color: var(--color-white); }

/* Dropdown */
.navbar__item { position: relative; }

.navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 240px;
  background: #161616;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  /* 12px top padding acts as invisible bridge over the gap */
  padding: 12px var(--space-2) var(--space-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(162,3,215,0.08);
  backdrop-filter: blur(12px);
}
/* Arrow indicator */
.navbar__dropdown::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #161616;
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  transform: translateX(-50%) rotate(45deg);
}

.navbar__item:hover .navbar__dropdown,
.navbar__item:focus-within .navbar__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  /* Small delay before hiding — gives mouse time to travel into dropdown */
  transition: opacity 0.2s ease 0s, transform 0.2s ease 0s;
}
.navbar__dropdown:not(:hover) {
  transition-delay: 0.15s;
}

.navbar__dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.navbar__dropdown a:hover {
  color: var(--color-white);
  background: var(--color-purple-subtle);
}
.navbar__dropdown a .dropdown-icon {
  font-size: 1rem;
  color: var(--color-purple-light);
}

/* Dropdown chevron */
.navbar__link .chevron {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
  opacity: 0.5;
}
.navbar__item:hover .navbar__link .chevron { transform: rotate(180deg); }

/* CTA */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* dCard icon-link */
.navbar__dcard-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  border: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
}
.navbar__dcard-link:hover {
  color: var(--purple);
  border-color: var(--color-border);
  background: rgba(162,3,215,0.08);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  gap: 5px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: background var(--transition-fast);
}
.navbar__hamburger:hover { background: rgba(162,3,215,0.12); border-color: var(--color-border-hover); }
.navbar__hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: var(--space-6);
  overflow-y: auto;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 999;
  border-top: 1px solid var(--color-border);
}
.navbar__mobile.open { display: flex; }

.navbar__mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast);
}
.navbar__mobile-link:hover { color: var(--color-purple-light); }

.navbar__mobile-sub {
  padding-left: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.navbar__mobile-sub a {
  display: block;
  padding: var(--space-3) var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.navbar__mobile-sub a:hover { color: var(--color-purple-light); }

.navbar__mobile-cta {
  margin-top: var(--space-4);
}
.navbar__mobile-cta .btn { width: 100%; justify-content: center; padding-block: 1em; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-20);
  padding-bottom: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
}

.footer__brand-logo {
  height: 52px;
  width: auto;
  margin-bottom: var(--space-5);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 260px;
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
  font-size: 1rem;
}
.footer__social-link:hover {
  background: var(--color-purple-subtle);
  border-color: var(--color-border-hover);
  color: var(--color-purple-light);
  transform: translateY(-2px);
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.footer__links a:hover { color: var(--color-purple-light); }
.footer__links a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition-fast);
  font-size: 0.75rem;
  color: var(--color-purple-light);
}
.footer__links a:hover::before { opacity: 1; transform: translateX(0); }

.footer__contact-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-4);
}
.footer__contact-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-purple-subtle);
  border: 1px solid rgba(162,3,215,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-purple-light);
  margin-top: 2px;
}
.footer__contact-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.footer__contact-text a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.footer__contact-text a:hover { color: var(--color-purple-light); }

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-text-dim);
}
.footer__copyright span { color: var(--color-purple-light); }

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
}
.footer__bottom-links a {
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  transition: color var(--transition-fast);
}
.footer__bottom-links a:hover { color: var(--color-text-muted); }

/* ════════════════════════════════════════
   WHATSAPP FLOAT BUTTON
════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 900;
  display: flex; /* hidden by default; shown only on mobile (see below) */
  align-items: center;
  gap: var(--space-3);
}

.whatsapp-float__btn {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: var(--color-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  color: white;
  font-size: 1.6rem;
  position: relative;
}
.whatsapp-float__btn:hover {
  background: var(--color-whatsapp-dark);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

/* Pulse ring */
.whatsapp-float__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: var(--color-whatsapp);
  opacity: 0.4;
  animation: wa-pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.whatsapp-float__btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: var(--color-whatsapp);
  opacity: 0.2;
  animation: wa-pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite 0.5s;
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.4; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-float__tooltip {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.65s var(--ease-out);
}
.fade-in.visible { opacity: 1; }

.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ════════════════════════════════════════
   FAQ ACCORDION
════════════════════════════════════════ */
.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding-block: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  gap: var(--space-4);
  transition: color var(--transition-fast);
}
.faq__question:hover { color: var(--color-purple-light); }
.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-purple-light);
  transition: all var(--transition-base);
}
.faq__item.open .faq__icon {
  background: var(--color-purple-subtle);
  border-color: var(--color-border-hover);
  transform: rotate(45deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out), padding 0.3s var(--ease-out);
}
.faq__item.open .faq__answer { max-height: 400px; }
.faq__answer p {
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ════════════════════════════════════════
   UTILITY CLASSES
════════════════════════════════════════ */
.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.items-center   { align-items: center; }
.justify-center { justify-content: center; }
.justify-between{ justify-content: space-between; }
.gap-2          { gap: var(--space-2); }
.gap-4          { gap: var(--space-4); }
.gap-6          { gap: var(--space-6); }
.gap-8          { gap: var(--space-8); }
.flex-wrap      { flex-wrap: wrap; }

.text-center  { text-align: center; }
.text-left    { text-align: left; }

.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.pt-navbar { padding-top: var(--navbar-h); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Purple glow overlay for hero sections */
.glow-bg {
  position: relative;
  isolation: isolate;
}
.glow-bg::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(162, 3, 215, 0.15) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

/* Noise texture overlay */
.noise::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-py: var(--space-16);
    --navbar-h: 80px;
  }

  .navbar__menu { display: none; }
  .navbar__actions .btn:not(.btn--primary) { display: none; }
  .navbar__hamburger { display: flex; }

  .navbar__logo img {
    height: 72px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .footer__tagline { max-width: 100%; }

  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }

  .whatsapp-float {
    bottom: var(--space-5);
    right: var(--space-5);
  }
  .whatsapp-float { display: flex; }
  .whatsapp-float__btn { width: 52px; height: 52px; font-size: 1.4rem; }
  .whatsapp-float__tooltip { display: none; }
  .grecaptcha-badge { bottom: 90px !important; }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--space-4); }
  .section__header { margin-bottom: var(--space-10); }
  .navbar__logo img { height: 72px; }
}

/* ════════════════════════════════════════
   SESSION 4 — SERVICE PAGES
   Appended below existing styles.
   All values use CSS variables from :root
════════════════════════════════════════ */

/* ── Service Hero ── */
.svc-hero {
  padding-block: var(--space-20) var(--space-24);
}

.svc-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

/* ── Lead Form Card ── */
.svc-lead-card {
  position: sticky;
  top: calc(var(--navbar-h) + var(--space-6));
}

.svc-form__group {
  margin-bottom: var(--space-3);
}

.svc-form input,
.svc-form select {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
  appearance: none;
}

.svc-form input::placeholder { color: var(--color-text-dim); }

.svc-form input:focus,
.svc-form select:focus {
  outline: none;
  border-color: var(--color-purple);
}

.svc-form select option {
  background: var(--color-bg-card);
  color: var(--color-text);
}

/* ── Benefits Grid ── */
.svc-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-10);
  max-width: 880px;
  margin-inline: auto;
  margin-top: var(--space-2);
}

.svc-benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.svc-benefit__check {
  color: var(--color-purple-light);
  font-size: var(--text-base);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Pricing Grid ── */
.svc-pricing-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.svc-pricing-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin-inline: auto;
}

.svc-pricing-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Pricing Card ── */
.svc-pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.svc-pricing-card--featured {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card-hover);
  box-shadow: var(--shadow-purple);
}

.svc-pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-purple);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.svc-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-block: var(--space-4) var(--space-6);
}

.svc-price-amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-purple-light);
}

.svc-price-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.svc-pricing-card__features {
  flex: 1;
  margin-bottom: var(--space-6);
}

.svc-pricing-card__features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-border);
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.5;
}

.svc-pricing-card__features li::before {
  content: '✓';
  color: var(--color-purple-light);
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: var(--text-xs);
  top: calc(var(--space-2) + 2px);
}

.svc-pricing-card__features li.svc-feature-note {
  color: var(--color-purple-light);
  font-size: var(--text-xs);
  font-style: italic;
  border-bottom: none;
  padding-left: 0;
}

.svc-pricing-card__features li.svc-feature-note::before {
  display: none;
}

/* ── Stars ── */
.svc-stars {
  color: #f5a623;
  font-size: var(--text-base);
  letter-spacing: 2px;
}

/* ── Testimonial Author ── */
.svc-testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.svc-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── FAQ wrapper (max-width container) ── */
.svc-faq {
  max-width: 760px;
  margin-inline: auto;
}

/* ── CTA Banner ── */
.svc-cta-banner {
  padding-block: var(--space-20);
  background: linear-gradient(135deg, #160020 0%, #2a0060 50%, #160020 100%);
  border-top: 1px solid var(--color-border-hover);
  border-bottom: 1px solid var(--color-border-hover);
}

.svc-cta-banner__inner {
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .svc-pricing-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-pricing-grid--3 .svc-pricing-card--featured {
    grid-column: span 2;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .svc-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .svc-lead-card {
    position: static;
  }

  .svc-benefits {
    grid-template-columns: 1fr;
  }

  .svc-pricing-grid--2,
  .svc-pricing-grid--3 {
    grid-template-columns: 1fr;
  }

  .svc-pricing-grid--3 .svc-pricing-card--featured {
    grid-column: span 1;
    max-width: 100%;
  }
}


/* ════════════════════════════════════════
   SESSION 7 — SEO, ANIMATIONS & POLISH
   Appended below existing styles.
════════════════════════════════════════ */

/* ─── 1. NEW ANIMATION CLASSES ───────────────────────────── */
/* (complements existing .fade-up / .fade-in / .fade-left / .fade-right) */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in-up.animated,
.scale-in.animated {
    opacity: 1;
    transform: none;
}

/* Stagger delays for .anim-grid-parent children */
.anim-grid-parent > *:nth-child(1)  { transition-delay: 0ms; }
.anim-grid-parent > *:nth-child(2)  { transition-delay: 50ms; }
.anim-grid-parent > *:nth-child(3)  { transition-delay: 100ms; }
.anim-grid-parent > *:nth-child(4)  { transition-delay: 150ms; }
.anim-grid-parent > *:nth-child(5)  { transition-delay: 200ms; }
.anim-grid-parent > *:nth-child(6)  { transition-delay: 250ms; }
.anim-grid-parent > *:nth-child(7)  { transition-delay: 300ms; }
.anim-grid-parent > *:nth-child(8)  { transition-delay: 350ms; }

/* ─── 3. HERO CANVAS ─────────────────────────────────────── */

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

/* Lift hero content above canvas */
#hero-canvas ~ * {
    position: relative;
    z-index: 1;
}

/* ─── 4. SMART STICKY HEADER ─────────────────────────────── */

/* navbar.scrolled already defined above — this adds hide behaviour */
.navbar {
    will-change: transform;
    transition: background var(--transition-base),
                box-shadow var(--transition-base),
                backdrop-filter var(--transition-base),
                transform 0.35s var(--ease-out);
}

.navbar.hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

/* ─── 5. ANIMATED COUNTER ────────────────────────────────── */

.counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* ─── 6. SCROLL-TO-TOP BUTTON ───────────────────────────── */

#scroll-to-top {
    position: fixed;
    bottom: 100px;       /* sits above WhatsApp button */
    right: var(--space-8);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--color-purple);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 890;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s var(--ease-out),
                transform 0.3s var(--ease-out),
                background var(--transition-fast);
    box-shadow: var(--shadow-purple);
}

#scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#scroll-to-top:hover {
    background: var(--color-purple-light);
    box-shadow: var(--shadow-purple-lg);
}

@media (max-width: 768px) {
    #scroll-to-top {
        bottom: 90px;
        right: var(--space-5);
        width: 40px;
        height: 40px;
    }
}

/* ═══════════════════════════════════════════════════════════
   SHARED PAGE HERO  (used by contact, about, blog, faq, etc.)
   The navbar is position:fixed so every inner page hero must
   push its content down by exactly --navbar-h.
═══════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: calc(var(--navbar-h) + 2px) 0 3px;
  overflow: hidden;
  background: var(--bg-dark);
}
.page-hero .hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(162,3,215,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162,3,215,.07) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(transparent, var(--bg-dark));
}
.page-hero-inner { text-align: center; position: relative; z-index: 1; }
.page-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple);
  border: 1px solid rgba(162,3,215,.35);
  background: rgba(162,3,215,.08);
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 20px;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700; line-height: 1.1;
  color: #fff; margin-bottom: 18px;
}
.accent-underline {
  position: relative; display: inline-block;
}
.accent-underline::after {
  content: '';
  position: absolute; left: 0; bottom: -6px; right: 0; height: 4px;
  background: var(--purple);
  border-radius: 2px;
  animation: underline-in .6s .4s both;
}
@keyframes underline-in {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}
.page-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted); max-width: 520px; margin: 0 auto;
}

/* Blog hero — matches page-hero spacing exactly */
.blog-hero {
  padding: calc(var(--navbar-h) + 24px) 24px 56px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* Shared section helpers */
.section-pad { padding: 120px 0; }
.section-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.15;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 540px; line-height: 1.7;
  margin-bottom: 56px;
}

@media (max-width: 480px) {
  .page-hero  { padding: calc(var(--navbar-h) + 6px) 0 40px; }
  .blog-hero  { padding: calc(var(--navbar-h) + 10px) 24px 40px; }
  .section-pad { padding: 60px 0; }
}

/* Push reCAPTCHA badge above WhatsApp button */
.grecaptcha-badge {
    bottom: 90px !important;
}