/* ============================================================
   BRIGHTFLOWER STUDIOS — Design System Core
   Base reset, custom properties, typography, utility classes
   ============================================================ */

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

:root {
  /* === BASE PALETTE === */
  --deep-blue:        #2A557F;
  --aquatone:         #4A90D9;
  --crystalline:      #F8FAFF;
  --pure-white:       #FFFFFF;

  /* === HELIOCHROIC === */
  --helo-violet:      #E8D5F5;
  --helo-rose:        #F5D5E8;
  --helo-ice:         #D5E8F5;
  --helo-pearl:       #F0EDE8;
  --helo-lavender:    #D5D5F5;
  --helo-mint:        #D5F5E8;

  /* === TEXT === */
  --text-dark:        #1A1A2E;
  --text-body:        #374151;
  --text-muted:       #6B7280;
  --text-on-dark:     #E8ECF2;

  /* === FUNCTIONAL === */
  --border:           #E5E7EB;
  --surface:          #FFFFFF;
  --overlay:          rgba(26, 58, 92, 0.55);

  /* === FONTS === */
  --font-heading:     'Outfit', sans-serif;
  --font-body:        'DM Sans', sans-serif;
  --font-accent:      'Cormorant Garamond', serif;

  /* === NAV === */
  --nav-height:       80px;
  --nav-compressed:   60px;

  /* === MENU SHELL (mega menu) === */
  --menu-shell-bg:    rgba(255,255,255,.58);
  --menu-shell-border:rgba(255,255,255,.55);

  /* === SHADOWS === */
  --shadow-soft:      0 12px 36px rgba(26,58,92,.08);
  --shadow-glow:      0 12px 44px rgba(232,213,245,.3),0 8px 28px rgba(213,232,245,.36);

  /* === LAYOUT === */
  --site-gutter:      clamp(18px,2vw,40px);
  --site-max-width:   1920px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--crystalline);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--aquatone);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--deep-blue); }

img { max-width: 100%; display: block; }


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.section-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aquatone);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}


/* ============================================================
   LAYOUT
   ============================================================ */

.section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  background: var(--deep-blue);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--aquatone); color: white; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  background: transparent;
  color: var(--aquatone);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--aquatone);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--aquatone); color: white; }


/* ============================================================
   BADGES
   ============================================================ */

.badge {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-weight: 500;
}
.badge-audio { background: rgba(74, 144, 217, 0.12); color: var(--aquatone); }
.badge-pdf   { background: rgba(139, 92, 246, 0.12); color: #8B5CF6; }


/* ============================================================
   SCROLL REVEAL
   ============================================================ */

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


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
