/* Chilloutly Design System - "Electric Violet" Theme
   A vibrant, energetic palette that excites young adults */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Core backgrounds - clean white with subtle warmth */
  --background: 0 0% 100%;
  --foreground: 250 25% 15%;

  /* Card surfaces - soft white */
  --card: 0 0% 100%;
  --card-foreground: 250 25% 15%;

  /* Primary - Electric Violet */
  --primary: 270 80% 60%;
  --primary-foreground: 0 0% 100%;

  /* Secondary - Soft Lavender */
  --secondary: 270 60% 95%;
  --secondary-foreground: 270 80% 40%;

  /* Accent - Vibrant Magenta */
  --accent: 320 85% 55%;
  --accent-foreground: 0 0% 100%;

  /* Muted - Light gray with purple hint */
  --muted: 270 20% 96%;
  --muted-foreground: 250 15% 45%;

  /* Destructive */
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  /* Borders and inputs */
  --border: 270 20% 90%;
  --input: 270 20% 90%;
  --ring: 270 80% 60%;

  --radius: 1rem;

  /* Extended palette */
  --violet: 270 80% 60%;
  --violet-light: 270 75% 75%;
  --violet-dark: 270 85% 45%;
  --magenta: 320 85% 55%;
  --magenta-light: 320 80% 70%;
  --cyan: 185 75% 50%;
  --cyan-light: 185 70% 65%;
  --gold: 45 95% 55%;
  --gold-light: 45 90% 70%;
  --lavender: 270 60% 95%;
  --slate: 250 25% 15%;
  --slate-light: 250 20% 35%;

  /* Shadows */
  --shadow-sm: 0 2px 8px hsl(270 60% 20% / 0.05);
  --shadow-md: 0 4px 20px hsl(270 60% 20% / 0.08);
  --shadow-lg: 0 8px 40px hsl(270 60% 20% / 0.12);
  --shadow-glow: 0 0 60px hsl(270 80% 60% / 0.3);
  --shadow-violet: 0 8px 30px hsl(270 80% 60% / 0.3);
  --shadow-magenta: 0 8px 30px hsl(320 85% 55% / 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

/* Mobile container optimization for header */
@media (max-width: 767px) {
  .header .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 374px) {
  .header .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Gradient text utilities */
.text-gradient-electric {
  background: linear-gradient(135deg, hsl(270 80% 60%) 0%, hsl(320 85% 55%) 50%, hsl(350 80% 60%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-aurora {
  background: linear-gradient(135deg, hsl(270 80% 60%) 0%, hsl(320 85% 55%) 35%, hsl(185 75% 50%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-violet {
  background: linear-gradient(135deg, hsl(270 80% 60%) 0%, hsl(270 75% 75%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Background utilities */
.bg-gradient-hero {
  background: linear-gradient(180deg, hsl(270 60% 98%) 0%, hsl(0 0% 100%) 50%, hsl(320 50% 98%) 100%);
}

.bg-gradient-electric {
  background: linear-gradient(135deg, hsl(270 80% 60%) 0%, hsl(320 85% 55%) 50%, hsl(350 80% 60%) 100%);
}

.bg-gradient-aurora {
  background: linear-gradient(135deg, hsl(270 80% 60%) 0%, hsl(320 85% 55%) 35%, hsl(185 75% 50%) 100%);
}

.bg-gradient-soft {
  background: linear-gradient(180deg, hsl(270 60% 98%) 0%, hsl(320 50% 98%) 100%);
}

.bg-gradient-cta {
  background: linear-gradient(135deg, hsl(270 80% 55%) 0%, hsl(320 85% 50%) 100%);
}

.bg-gradient-glass {
  background: linear-gradient(135deg, hsl(0 0% 100% / 0.8) 0%, hsl(270 60% 98% / 0.6) 100%);
}

/* Mesh gradient */
.mesh-gradient {
  background: 
    radial-gradient(at 40% 20%, hsl(270 80% 70% / 0.3) 0px, transparent 50%),
    radial-gradient(at 80% 0%, hsl(320 85% 65% / 0.3) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsl(185 75% 60% / 0.2) 0px, transparent 50%),
    radial-gradient(at 80% 50%, hsl(270 80% 60% / 0.2) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsl(320 85% 55% / 0.2) 0px, transparent 50%),
    hsl(0 0% 100%);
}

/* Glass effects */
.glass {
  background: hsl(0 0% 100% / 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid hsl(270 60% 90% / 0.5);
}

/* Utility classes */
.text-balance {
  text-wrap: balance;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
