/* ==========================================================================
   BLESSING TUITION & TUTORIAL CENTRE - MASTER DESIGN SYSTEM
   Theme: Clean Academic Light — Navy, Cyan & Gold
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-main: #f3f6fb;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #eef3f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-bg-scrolled: rgba(255, 255, 255, 0.98);
  --panel-muted: #f1f5f9;
  --image-frame: #e2e8f0;

  /* Primary Accents */
  --accent-cyan: #0891b2;
  --accent-cyan-light: #0e7490;
  --accent-blue: #2563eb;
  --accent-blue-deep: #1d4ed8;
  --accent-gold: #d97706;
  --accent-gold-light: #b45309;
  --accent-emerald: #059669;
  --accent-rose: #e11d48;

  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  /* Borders & Dividers */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-cyan: rgba(8, 145, 178, 0.35);
  --border-gold: rgba(217, 119, 6, 0.35);

  /* Gradients */
  --grad-cyan-blue: linear-gradient(135deg, #0891b2 0%, #2563eb 100%);
  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --grad-surface: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  --grad-card-glow: radial-gradient(circle at 50% 0%, rgba(8, 145, 178, 0.08) 0%, transparent 70%);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);
  --shadow-cyan-glow: 0 0 24px rgba(8, 145, 178, 0.18);
  --shadow-gold-glow: 0 0 24px rgba(217, 119, 6, 0.16);

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere Gradients */
.bg-grid-glow {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(8, 145, 178, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(217, 119, 6, 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: -2;
}

.bg-pattern {
  position: fixed;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  pointer-events: none;
  z-index: -1;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  min-width: 0;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  max-width: 100%;
  white-space: normal;
  text-align: left;
}

.badge-cyan {
  color: var(--accent-cyan-light);
  border-color: var(--border-cyan);
  background: rgba(6, 182, 212, 0.1);
}

.badge-gold {
  color: var(--accent-gold-light);
  border-color: var(--border-gold);
  background: rgba(245, 158, 11, 0.1);
}

.badge-emerald {
  color: #047857;
  border-color: rgba(5, 150, 105, 0.35);
  background: rgba(16, 185, 129, 0.12);
}

/* Live Pulsing Beacon Radar */
.radar-beacon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  position: relative;
  display: inline-block;
}

.radar-beacon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  opacity: 0.7;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.9; }
  80%, 100% { transform: scale(2.4); opacity: 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-cyan-blue);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
  filter: brightness(1.08);
}

.btn-gold {
  background: var(--grad-gold);
  color: #0b1120;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  color: var(--accent-cyan-light);
}

.btn-outline-gold {
  background: transparent;
  color: var(--accent-gold-light);
  border: 1px solid var(--accent-gold);
}

.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.15);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Glass Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 28px;
  position: relative;
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Section Header Structure */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px auto;
}

.section-header .subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan-light);
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}
