/* ═══════════════════════════════════════════════════════════════════════
   BRAININESS ACADEMY — Design System v2.0
   Brand: #2D116D (Deep Purple) | #63D0D6 (Teal) | #7B5CF5 (Violet)
   Style: Premium SaaS-Edu, Glassmorphism, Large Radii, Micro-animations
═══════════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Custom Properties ───────────────────────────────────────────── */
:root {
  /* Brand palette */
  --brand-deep:    #2D116D;
  --brand-deep-hsl: 262 72% 25%;
  --brand-violet:  #7B5CF5;
  --brand-teal:    #63D0D6;
  --brand-teal-dk: #3BBCC3;
  --brand-light:   #F0FAFE;
  --brand-lightest:#F8FBFF;

  /* Gradients */
  --grad-hero:    linear-gradient(135deg, #1a0a42 0%, #2D116D 45%, #3d1a8a 100%);
  --grad-brand:   linear-gradient(135deg, #2D116D 0%, #7B5CF5 50%, #63D0D6 100%);
  --grad-purple:  linear-gradient(135deg, #2D116D 0%, #7B5CF5 100%);
  --grad-teal:    linear-gradient(135deg, #63D0D6 0%, #3BBCC3 100%);
  --grad-card:    linear-gradient(135deg, rgba(123,92,245,0.08) 0%, rgba(99,208,214,0.08) 100%);
  --grad-cta:     linear-gradient(135deg, #2D116D 0%, #4a1fa8 50%, #2D116D 100%);

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(45,17,109,0.08);
  --shadow-md:    0 4px 24px rgba(45,17,109,0.12);
  --shadow-lg:    0 8px 40px rgba(45,17,109,0.18);
  --shadow-xl:    0 16px 64px rgba(45,17,109,0.24);
  --shadow-teal:  0 8px 32px rgba(99,208,214,0.35);
  --shadow-violet:0 8px 32px rgba(123,92,245,0.35);

  /* Border radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-2xl: 48px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --section-y: 6rem;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #ffffff;
  color: #1a0a3d;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

/* ── Typography Utilities ────────────────────────────────────────────── */
.font-heading { font-family: 'Plus Jakarta Sans', sans-serif; }

.gradient-text {
  background: linear-gradient(135deg, #7B5CF5 0%, #63D0D6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-white {
  background: linear-gradient(135deg, #ffffff 0%, #63D0D6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-deep {
  background: linear-gradient(135deg, #2D116D 0%, #7B5CF5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #5a4a7a;
  line-height: 1.7;
  max-width: 600px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(123,92,245,0.1), rgba(99,208,214,0.1));
  border: 1px solid rgba(123,92,245,0.2);
  border-radius: var(--radius-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #7B5CF5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Section Layout ──────────────────────────────────────────────────── */
.section-padding { padding: var(--section-y) 0; }
.section-light { background: var(--brand-light); }
.section-white { background: #ffffff; }
.section-dark {
  background: var(--grad-cta);
  position: relative;
  overflow: hidden;
}
.section-dark::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='%23fff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── Button System ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease-smooth);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.btn:hover::before { background: rgba(255,255,255,0.1); }
.btn:active { transform: translateY(1px); }

/* Primary: Purple → Teal gradient */
.btn-primary {
  background: var(--grad-purple);
  color: white;
  box-shadow: 0 4px 20px rgba(123,92,245,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(123,92,245,0.5);
}

/* Secondary: Teal solid */
.btn-teal {
  background: var(--grad-teal);
  color: #1a0a3d;
  box-shadow: var(--shadow-teal);
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(99,208,214,0.5);
}

/* Ghost: outlined */
.btn-ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

/* Ghost dark */
.btn-ghost-dark {
  background: transparent;
  color: var(--brand-deep);
  border: 2px solid rgba(45,17,109,0.25);
}
.btn-ghost-dark:hover {
  background: rgba(45,17,109,0.06);
  border-color: var(--brand-deep);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.0625rem; }
.btn-xl { padding: 22px 44px; font-size: 1.125rem; }

/* ── Announcement Bar ────────────────────────────────────────────────── */
.announcement-bar {
  background: linear-gradient(90deg, #2D116D 0%, #7B5CF5 50%, #3BBCC3 100%);
  padding: 10px 0;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  position: relative;
  z-index: 100;
}

.announcement-bar a {
  color: #63D0D6;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.announcement-bar a:hover { color: white; }

/* ── Navbar ──────────────────────────────────────────────────────────── */
#main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: all 0.3s var(--ease-smooth);
  padding: 16px 0;
  background-color: white;
  color: #2D116D;
}


.nav-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  background: var(--grad-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #4a3a6a;
  padding: 8px 4px;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-teal);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-smooth);
}

.nav-link:hover { color: var(--brand-deep); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link-white {
  color: rgba(255,255,255,0.85);
}
.nav-link-white:hover { color: #63D0D6; }
.nav-link-white::after { background: var(--grad-teal); }
#hamburger-lines span{
    display:block;
    height:2px;
    background:#2D116D !important;
    border-radius:999px;
}

#hamburger-lines span:not(:last-child){
    margin-bottom:6px;
}
/* Mobile nav */
#mobile-menu {
  display: none;
  background: white;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(45,17,109,0.08);
}
#mobile-menu.open { display: flex; }

.mobile-nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  color: #2D116D;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}
.mobile-nav-link:hover { background: var(--brand-light); }

/* ── Hero Section ────────────────────────────────────────────────────── */
.hero-section {
  background: var(--grad-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Animated background orbs */
.hero-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,92,245,0.3) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  filter: blur(60px);
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,208,214,0.25) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  filter: blur(50px);
  animation: orbFloat 10s ease-in-out infinite reverse;
}

/* ── Card System ─────────────────────────────────────────────────────── */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45,17,109,0.06);
  transition: all 0.3s var(--ease-smooth);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(123,92,245,0.15);
}

/* Glass card */
.glass-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* Teal-accent card */
.card-teal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(99,208,214,0.2);
  box-shadow: 0 4px 24px rgba(99,208,214,0.12);
  transition: all 0.3s var(--ease-smooth);
}

.card-teal:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99,208,214,0.25);
  border-color: rgba(99,208,214,0.4);
}

/* Feature icon box */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-bounce);
}

.icon-box-brand {
  background: var(--grad-purple);
  color: white;
  box-shadow: 0 4px 16px rgba(123,92,245,0.35);
}

.icon-box-teal {
  background: var(--grad-teal);
  color: #1a0a3d;
  box-shadow: var(--shadow-teal);
}

.card:hover .icon-box { transform: scale(1.1) rotate(-3deg); }

/* ── Course Cards ────────────────────────────────────────────────────── */
.course-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45,17,109,0.06);
  transition: all 0.35s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(45,17,109,0.18);
}

.course-card-header {
  padding: 28px 28px 36px;
  position: relative;
  overflow: hidden;
}

.course-card-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 36px;
  background: white;
  border-radius: 40px 40px 0 0;
}

.course-card-body {
  padding: 8px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Stat Cards ──────────────────────────────────────────────────────── */
.stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s var(--ease-smooth);
}

.stat-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #63D0D6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Page Hero (inner pages) ─────────────────────────────────────────── */
.page-hero {
  background: var(--grad-hero);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,208,214,0.2) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  filter: blur(60px);
}

.page-hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,92,245,0.25) 0%, transparent 70%);
  bottom: -80px;
  left: 10%;
  filter: blur(50px);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
}

.breadcrumb a { color: #63D0D6; transition: color 0.2s; }
.breadcrumb a:hover { color: white; }

/* ── Accordion (FAQ) ─────────────────────────────────────────────────── */
.accordion-item {
  border: 1px solid rgba(45,17,109,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.accordion-item.open {
  border-color: rgba(123,92,245,0.3);
  box-shadow: 0 4px 20px rgba(123,92,245,0.08);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #2D116D;
  user-select: none;
  transition: background 0.2s;
  gap: 16px;
}

.accordion-header:hover { background: var(--brand-light); }

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7B5CF5, #63D0D6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-smooth);
}

.accordion-item.open .accordion-icon { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth);
}

.accordion-body-inner {
  padding: 0 24px 20px;
  color: #5a4a7a;
  line-height: 1.75;
  font-size: 0.9375rem;
}

/* ── Form Styles ─────────────────────────────────────────────────────── */
.form-label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: #2D116D;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(45,17,109,0.12);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #1a0a3d;
  background: white;
  transition: all 0.2s var(--ease-smooth);
  outline: none;
}

.form-input:focus {
  border-color: #7B5CF5;
  box-shadow: 0 0 0 4px rgba(123,92,245,0.12);
}

.form-input::placeholder { color: #a89ac0; }

.form-input-icon {
  position: relative;
}

.form-input-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #7B5CF5;
  font-size: 0.875rem;
}

.form-input-icon .form-input { padding-left: 44px; }

textarea.form-input { resize: vertical; min-height: 120px; }

/* ── Lightbox ────────────────────────────────────────────────────────── */
#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,5,30,0.92);
  backdrop-filter: blur(12px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px;
}

#lightbox-overlay.active { display: flex; }

#lightbox-img {
  max-width: 90vw;
  max-height: 75vh;
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  object-fit: contain;
}

#lightbox-caption {
  color: rgba(255,255,255,0.8);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  margin-top: 16px;
  text-align: center;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(255,255,255,0.7);
  font-size: 1.75rem;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
}
#lightbox-close:hover { color: #63D0D6; }

/* ── Gallery ─────────────────────────────────────────────────────────── */
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,17,109,0.85), transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── Testimonial Slider ──────────────────────────────────────────────── */
.testimonial-slider {
  overflow: hidden;
  position: relative;
}

#testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s var(--ease-smooth);
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid rgba(45,17,109,0.08);
  box-shadow: var(--shadow-md);
  min-width: 340px;
  flex-shrink: 0;
}

/* ── Progress Bars ───────────────────────────────────────────────────── */
.progress-track {
  background: rgba(45,17,109,0.08);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--grad-purple);
  width: 0;
  transition: width 1.2s var(--ease-smooth);
}

/* ── Animations ──────────────────────────────────────────────────────── */
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatYReverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-float { animation: floatY 4s ease-in-out infinite; }
.animate-float-reverse { animation: floatYReverse 5s ease-in-out infinite; }
.animate-float-slow { animation: floatY 7s ease-in-out infinite; }
.animate-fade-in { animation: fadeInUp 0.6s var(--ease-smooth) both; }
.animate-spin-slow { animation: spin-slow 20s linear infinite; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-left.revealed, .reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.reveal-scale.revealed { opacity: 1; transform: scale(1); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── Step Process ────────────────────────────────────────────────────── */
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-purple);
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(123,92,245,0.4);
  position: relative;
  z-index: 1;
}

.step-connector {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(123,92,245,0.5), rgba(99,208,214,0.5));
  margin: 0 auto;
}

/* ── Cookie Notice ───────────────────────────────────────────────────── */
#cookie-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(45,17,109,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99,208,214,0.2);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  z-index: 9998;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  display: none;
}

/* ── WhatsApp Float ──────────────────────────────────────────────────── */
#whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 998;
  transition: all 0.3s var(--ease-bounce);
  text-decoration: none;
}

#whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

/* Pulse ring */
#whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.5;
  animation: pulse-ring 2s ease-out infinite;
}

/* ── Back to Top ─────────────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-deep);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  z-index: 997;
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
  border: none;
  opacity: 0;
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover { background: #7B5CF5; transform: translateY(-3px); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: #1a0a3d;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,92,245,0.1) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  filter: blur(60px);
}

.site-footer::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,208,214,0.08) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
  filter: blur(50px);
}

.footer-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-link {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 2.2;
}
.footer-link:hover { color: #63D0D6; }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 48px 0 32px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: all 0.25s var(--ease-smooth);
}

.social-link:hover {
  background: var(--grad-teal);
  border-color: transparent;
  color: #1a0a3d;
  transform: translateY(-3px);
}

/* ── Trust Badge Strip ───────────────────────────────────────────────── */
.trust-strip {
  background: linear-gradient(90deg, #2D116D 0%, #3d1a8a 100%);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}

.trust-strip-track {
  display: flex;
  gap: 48px;
  animation: scrollTrust 20s linear infinite;
  width: max-content;
}

@keyframes scrollTrust {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: rgba(255,255,255,0.8);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-y: 4rem; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .btn-xl { padding: 16px 32px; }
  .testimonial-card { min-width: 290px; }
  #cookie-notice { left: 12px; right: 12px; bottom: 12px; }
}

@media (max-width: 480px) {
  .stat-number { font-size: 2rem; }
  .glass-card { padding: 20px; }
  .card { padding: 20px; }
}

/* ── Utility Overrides ───────────────────────────────────────────────── */
.rounded-brand { border-radius: var(--radius-xl); }
.shadow-brand { box-shadow: var(--shadow-md); }

.bg-brand-deep { background: var(--brand-deep); }
.bg-brand-teal { background: var(--brand-teal); }
.bg-brand-gradient { background: var(--grad-brand); }
.bg-hero { background: var(--grad-hero); }

.text-brand { color: var(--brand-deep); }
.text-teal  { color: var(--brand-teal); }
.text-violet{ color: var(--brand-violet); }

.border-brand { border-color: rgba(45,17,109,0.15); }
.border-teal  { border-color: rgba(99,208,214,0.3); }

/* ── Dark Mode ───────────────────────────────────────────────────────── */
body.dark-mode {
  background: #0d0520;
  color: rgba(255,255,255,0.85);
}
body.dark-mode .card { background: #1a0a3d; border-color: rgba(123,92,245,0.15); }
body.dark-mode .accordion-item { background: #1a0a3d; }
body.dark-mode .form-input { background: #1a0a3d; color: rgba(255,255,255,0.85); border-color: rgba(123,92,245,0.2); }
body.dark-mode #main-navbar.scrolled { background: rgba(26,10,61,0.97); }
body.dark-mode .section-light { background: #120637; }
