/* ============================================================
   AquaWave — Base Design System
   ============================================================ */

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

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

button {
  cursor: pointer;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Colors */
  --white: #FFFFFF;
  --royal-blue: #1A3A8F;
  --royal-blue-light: #2B4FAF;
  --royal-blue-dark: #0F2563;
  --prism-teal: #00B4D8;
  --prism-teal-light: #48CAE4;
  --prism-teal-dark: #0096B7;
  --deep-navy: #0A1628;
  --ice-blue: #CAF0F8;
  --ice-blue-light: #E8F9FD;

  /* Neutral Palette */
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Gold Accent (from label) */
  --gold: #C5A55A;
  --gold-light: #D4BC7C;
  --gold-dark: #A88B3D;

  /* Text Colors */
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-on-dark: #F1F5F9;
  --text-on-brand: #FFFFFF;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.10);
  --glass-bg-light: rgba(255, 255, 255, 0.18);
  --glass-bg-medium: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-border-strong: rgba(255, 255, 255, 0.35);
  --glass-shadow: rgba(0, 0, 0, 0.08);
  --glass-blur: 16px;
  --glass-blur-strong: 24px;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--royal-blue) 0%, var(--prism-teal) 100%);
  --gradient-brand-dark: linear-gradient(135deg, var(--deep-navy) 0%, var(--royal-blue) 100%);
  --gradient-water: linear-gradient(180deg, rgba(0, 180, 216, 0.08) 0%, rgba(26, 58, 143, 0.06) 100%);
  --gradient-hero: linear-gradient(180deg, var(--deep-navy) 0%, var(--royal-blue-dark) 50%, var(--prism-teal-dark) 100%);
  --gradient-gold: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50px;
  --radius-circle: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.16);
  --shadow-glow-blue: 0 0 30px rgba(0, 180, 216, 0.25);
  --shadow-glow-gold: 0 0 20px rgba(197, 165, 90, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Container */
  --container-max: 1200px;
  --container-narrow: 960px;
  --container-wide: 1400px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

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

.text-accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section--dark {
  background: var(--deep-navy);
  color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: var(--text-on-dark);
  opacity: 0.85;
}

.section--tinted {
  background: var(--ice-blue-light);
}

.section--gradient {
  background: var(--gradient-hero);
  color: var(--text-on-dark);
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-header .subtitle {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--prism-teal);
  margin-bottom: var(--space-md);
  position: relative;
  padding: var(--space-xs) var(--space-lg);
  background: rgba(0, 180, 216, 0.08);
  border-radius: var(--radius-full);
}

.section--dark .section-header .subtitle {
  background: rgba(0, 180, 216, 0.15);
  color: var(--prism-teal-light);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header .description {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ---------- Wave Divider ---------- */
.wave-divider {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ---------- Selection ---------- */
::selection {
  background: var(--prism-teal);
  color: var(--white);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--royal-blue);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--prism-teal);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }
}
