/* ==========================================================================
   PT CIPTA BANGUN AMANAH - CORE DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

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

:root {
  /* Brand Colors */
  --cba-navy-950: #080c1d;
  --cba-navy-900: #0e1430;
  --cba-navy-800: #14193f;
  --cba-navy-700: #1c2356;
  --cba-navy-600: #2a347c;
  
  --cba-red-600: #be123c;
  --cba-red-500: #d92656;
  --cba-red-400: #f43f5e;
  --cba-red-300: #fda4af;
  
  --cba-gold-500: #f59e0b;
  --cba-gold-400: #fbbf24;
  --cba-gold-600: #d97706;

  --cba-cyan-500: #0ea5e9;
  --cba-emerald-500: #10b981;

  /* Neutral Dark/Light Tokens */
  --bg-dark: #090e24;
  --bg-dark-surface: #0f1638;
  --bg-dark-card: #141d47;
  --bg-dark-card-hover: #1b265c;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-highlight: rgba(217, 38, 86, 0.3);

  --bg-light: #ffffff;
  --bg-light-surface: #f8fafc;
  --bg-light-card: #ffffff;
  --border-light: #e2e8f0;

  --text-dark-primary: #0f172a;
  --text-dark-secondary: #475569;
  --text-dark-muted: #64748b;

  --text-light-primary: #f8fafc;
  --text-light-secondary: #cbd5e1;
  --text-light-muted: #94a3b8;

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.2);
  --shadow-glow-red: 0 0 25px rgba(217, 38, 86, 0.4);
  --shadow-glow-gold: 0 0 25px rgba(245, 158, 11, 0.35);

  --glass-bg: rgba(14, 20, 48, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-backdrop: blur(16px);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max-width: 1280px;
  --nav-height: 84px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark-primary);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Typography Presets */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cba-navy-950);
}

.text-gradient-red {
  background: linear-gradient(135deg, #f43f5e 0%, #d92656 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container & Grid Helpers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--text-light-primary);
}

.section-light-alt {
  background-color: var(--bg-light-surface);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-badge.badge-red {
  background: rgba(217, 38, 86, 0.12);
  color: var(--cba-red-500);
  border: 1px solid rgba(217, 38, 86, 0.25);
}

.section-badge.badge-gold {
  background: rgba(245, 158, 11, 0.12);
  color: var(--cba-gold-600);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--text-light-secondary);
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  .section-title {
    font-size: 2rem;
  }
}
