/* ==========================================================================
   SugarDatingGlobal.com — Main Design System & Tokens
   Bright Luxury Aesthetic: Plus Jakarta Sans + Outfit Display Typography,
   Warm Cream Surfaces, Coral/Pink/Violet Gradients, WCAG 2.1 AA Contrast.
   ========================================================================== */

@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;0,800;1,400&display=swap');

:root {
  /* Color Palette — Bright, Modern, Premium Luxury */
  --bg-primary: #FAF8F5;          /* Warm cream backdrop */
  --bg-surface: #FFFFFF;          /* Pure crisp white card surfaces */
  --bg-secondary: #F3EFEA;        /* Subtle warm champagne sand */
  --bg-accent-subtle: #FFF0F4;    /* Delicate tinted rose */
  --bg-accent-light: #F3E8FF;     /* Delicate tinted lilac */
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* Vibrant Accent Gradients */
  --gradient-primary: linear-gradient(135deg, #FF5E62 0%, #E03E6C 50%, #7B2CBF 100%);
  --gradient-hover: linear-gradient(135deg, #FF4552 0%, #D02B59 50%, #6A1FB0 100%);
  --gradient-glow: linear-gradient(135deg, rgba(255, 94, 98, 0.35) 0%, rgba(224, 62, 108, 0.35) 50%, rgba(123, 44, 191, 0.35) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 94, 98, 0.08) 0%, rgba(224, 62, 108, 0.06) 50%, rgba(123, 44, 191, 0.08) 100%);
  --gradient-card-hero: linear-gradient(180deg, #FFFFFF 0%, #FDFBF8 100%);
  --gradient-text: linear-gradient(135deg, #FF5E62 0%, #E03E6C 50%, #7B2CBF 100%);

  /* Solid Colors */
  --color-coral: #FF5E62;
  --color-pink: #E03E6C;
  --color-purple: #7B2CBF;
  --color-purple-dark: #581C87;
  
  /* Text & Contrast (Strict WCAG 2.1 AA compliant > 4.5:1) */
  --color-text-main: #141422;     /* Deep charcoal black - ultra high contrast */
  --color-text-body: #2C2D3E;     /* Crisp charcoal body text */
  --color-text-muted: #5C5E73;    /* Accessible slate secondary */
  --color-text-inverse: #FFFFFF;  /* Pure white on dark / gradients */

  /* Structural Borders & Lines */
  --color-border: #E8E2DA;
  --color-border-subtle: #F0EBE3;
  --color-border-focus: #E03E6C;

  /* Indicators */
  --color-success: #059669;
  --color-success-bg: #ECFDF5;
  --color-warning: #D97706;
  --color-warning-bg: #FFFBEB;
  --color-gold: #B45309;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 4px rgba(20, 20, 34, 0.04);
  --shadow-sm: 0 4px 14px rgba(20, 20, 34, 0.06);
  --shadow-md: 0 12px 32px rgba(20, 20, 34, 0.08);
  --shadow-lg: 0 24px 56px rgba(20, 20, 34, 0.12);
  --shadow-glow: 0 12px 36px rgba(224, 62, 108, 0.32);
  --shadow-glow-sm: 0 6px 20px rgba(224, 62, 108, 0.2);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout Max Widths */
  --container-max: 1240px;
  --container-narrow: 880px;
  --container-text: 760px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--color-text-body);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-body);
}

p.lead {
  font-size: clamp(1.125rem, 1.8vw, 1.28rem);
  color: var(--color-text-muted);
  line-height: 1.65;
  font-weight: 400;
}

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

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

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-text {
  width: 100%;
  max-width: var(--container-text);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: clamp(4.5rem, 7.5vw, 6.5rem);
  padding-bottom: clamp(4.5rem, 7.5vw, 6.5rem);
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.section-cream {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: var(--bg-accent-subtle);
  color: var(--color-pink);
  border: 1px solid rgba(224, 62, 108, 0.22);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(224, 62, 108, 0.08);
}

:focus-visible {
  outline: 3px solid var(--color-pink);
  outline-offset: 3px;
  border-radius: 6px;
}
