/* Базовые стили */
:root {
  --background: hsl(42, 35%, 96%);
  --foreground: hsl(215, 30%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(215, 30%, 15%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(215, 30%, 15%);
  --primary: hsl(215, 50%, 18%);
  --primary-foreground: hsl(42, 90%, 95%);
  --secondary: hsl(42, 80%, 55%);
  --secondary-foreground: hsl(215, 50%, 18%);
  --muted: hsl(42, 20%, 90%);
  --muted-foreground: hsl(215, 15%, 45%);
  --accent: hsl(42, 80%, 55%);
  --accent-foreground: hsl(215, 50%, 18%);
  --destructive: hsl(0, 84.2%, 60.2%);
  --destructive-foreground: hsl(42, 90%, 95%);
  --border: hsl(42, 20%, 88%);
  --input: hsl(42, 20%, 88%);
  --ring: hsl(42, 80%, 55%);
  --radius: 0.75rem;
  --navy-dark: hsl(215, 50%, 18%);
  --navy-medium: hsl(215, 40%, 35%);
  --navy-light: hsl(215, 30%, 50%);
  --gold: hsl(42, 80%, 55%);
  --gold-light: hsl(42, 75%, 65%);
  --cream: hsl(42, 35%, 96%);
  --gradient-primary: linear-gradient(135deg, hsl(215, 50%, 18%) 0%, hsl(215, 40%, 28%) 100%);
  --gradient-gold: linear-gradient(135deg, hsl(42, 80%, 55%) 0%, hsl(42, 75%, 65%) 100%);
  --shadow-elegant: 0 20px 60px -15px hsla(215, 50%, 18%, 0.3);
  --shadow-glow: 0 0 40px hsla(42, 80%, 55%, 0.15);
}

/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

/* Утилиты */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.pt-20 {
  padding-top: 5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-20 {
  margin-top: 5rem;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.flex {
  display: flex;
}

.hidden {
  display: none;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-border {
  border-color: var(--border);
}

.border-primary-foreground\/20 {
  border-color: hsla(42, 90%, 95%, 0.2);
}

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

.bg-card {
  background-color: var(--card);
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-gold {
  background: var(--gradient-gold);
}

.bg-primary-foreground\/5 {
  background-color: hsla(42, 90%, 95%, 0.05);
}

.bg-primary-foreground\/10 {
  background-color: hsla(42, 90%, 95%, 0.1);
}

.bg-accent\/10 {
  background-color: hsla(42, 80%, 55%, 0.1);
}

.bg-muted\/30 {
  background-color: hsla(42, 20%, 90%, 0.3);
}

.text-foreground {
  color: var(--foreground);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-primary-foreground {
  color: var(--primary-foreground);
}

.text-primary-foreground\/70 {
  color: hsla(42, 90%, 95%, 0.7);
}

.text-primary-foreground\/80 {
  color: hsla(42, 90%, 95%, 0.8);
}

.text-accent {
  color: var(--accent);
}

.text-accent-foreground {
  color: var(--accent-foreground);
}

.hover\:text-accent:hover {
  color: var(--accent);
}

.hover\:bg-accent:hover {
  background-color: var(--accent);
}

.hover\:text-accent-foreground:hover {
  color: var(--accent-foreground);
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

.hover\:shadow-elegant:hover {
  box-shadow: var(--shadow-elegant);
}

.hover\:shadow-glow:hover {
  box-shadow: var(--shadow-glow);
}

.hover\:border-accent:hover {
  border-color: var(--accent);
}

.hover\:bg-primary-foreground\/10:hover {
  background-color: hsla(42, 90%, 95%, 0.1);
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: 0.2s;
}

.transition-opacity {
  transition-property: opacity;
  transition-duration: 0.2s;
}

.transition-all {
  transition-property: all;
  transition-duration: 0.3s;
}

.duration-200 {
  transition-duration: 0.2s;
}

.duration-300 {
  transition-duration: 0.3s;
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

.transition-transform {
  transition-property: transform;
  transition-duration: 0.2s;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.625;
}

.min-h-screen {
  min-height: 100vh;
}

.w-10 {
  width: 2.5rem;
}

.h-10 {
  height: 2.5rem;
}

.w-14 {
  width: 3.5rem;
}

.h-14 {
  height: 3.5rem;
}

.w-6 {
  width: 1.5rem;
}

.h-6 {
  height: 1.5rem;
}

.w-4 {
  width: 1rem;
}

.h-4 {
  height: 1rem;
}

.w-7 {
  width: 1.75rem;
}

.h-7 {
  height: 1.75rem;
}

.w-12 {
  width: 3rem;
}

.h-12 {
  height: 3rem;
}

.w-full {
  width: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.-top-4 {
  top: -1rem;
}

.-left-4 {
  left: -1rem;
}

.z-50 {
  z-index: 50;
}

.overflow-hidden {
  overflow: hidden;
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-background {
  --tw-gradient-from: var(--background);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, hsla(42, 35%, 96%, 0));
}

.via-cream {
  --tw-gradient-stops: var(--tw-gradient-from), var(--cream), var(--tw-gradient-to, hsla(42, 35%, 96%, 0));
}

.to-background {
  --tw-gradient-to: var(--background);
}

.from-primary {
  --tw-gradient-from: var(--primary);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, hsla(215, 50%, 18%, 0));
}

.via-navy-medium {
  --tw-gradient-stops: var(--tw-gradient-from), var(--navy-medium), var(--tw-gradient-to, hsla(215, 40%, 35%, 0));
}

.to-primary {
  --tw-gradient-to: var(--primary);
}

.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.text-transparent {
  color: transparent;
}

.inline-block {
  display: inline-block;
}

.inline-flex {
  display: inline-flex;
}

.block {
  display: block;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

/* Анимации */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out;
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out;
}

.animation-delay-200 {
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.animation-delay-400 {
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.animation-delay-600 {
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

/* Медиа запросы */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:text-7xl {
    font-size: 4.5rem;
  }
  
  .md\:text-5xl {
    font-size: 3rem;
  }
  
  .md\:mb-0 {
    margin-bottom: 0;
  }
}

@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
}
