/* Base styles - extracted from globals.css */

:root {
  /* Base colors */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(240, 10%, 3.9%);

  /* Brand colors */
  --primary: hsl(240, 5.9%, 10%);
  --primary-foreground: hsl(0, 0%, 98%);
  --primary-hover: hsl(240, 5.9%, 5%);

  /* Accent system */
  --accent-gold: hsl(43, 96%, 56%);
  --accent-gold-muted: hsl(43, 85%, 65%);
  --accent-blue: hsl(217, 91%, 60%);
  --accent-blue-muted: hsl(217, 91%, 70%);
  --accent-green: hsl(142, 71%, 45%);
  --accent-green-muted: hsl(142, 60%, 55%);

  /* Grays */
  --gray-50: hsl(240, 20%, 98%);
  --gray-100: hsl(240, 15%, 96%);
  --gray-200: hsl(240, 10%, 92%);
  --gray-300: hsl(240, 6%, 85%);
  --gray-400: hsl(240, 5%, 65%);
  --gray-500: hsl(240, 4%, 46%);
  --gray-600: hsl(240, 5%, 34%);
  --gray-700: hsl(240, 5%, 26%);
  --gray-800: hsl(240, 6%, 18%);
  --gray-900: hsl(240, 7%, 10%);

  /* Semantic colors */
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(240, 10%, 3.9%);
  --secondary: var(--gray-100);
  --secondary-foreground: var(--gray-900);
  --muted: var(--gray-100);
  --muted-foreground: var(--gray-500);
  --accent: var(--gray-100);
  --accent-foreground: var(--gray-900);
  --border: var(--gray-200);
  --input: var(--gray-300);

  /* Elevation system */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.text-display {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

@media (min-width: 768px) {
  h1 { font-size: 3.75rem; }
  h2 { font-size: 2.5rem; }
  .text-display { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 4rem; }
  .text-display { font-size: 5rem; }
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: var(--primary-foreground);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.15),
    0 12px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: linear-gradient(145deg, var(--gray-100) 0%, var(--gray-50) 100%);
  color: var(--gray-900);
  border: 1px solid var(--gray-300);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  transform: translateY(-1px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 6px 12px rgba(0, 0, 0, 0.05);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.875rem;
}

.btn svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary:hover svg {
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

/* Cards */
.card {
  background: linear-gradient(to bottom right, hsl(0, 0%, 100%) 0%, hsl(240, 20%, 99.5%) 100%);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.6s;
}

.card:hover::before {
  transform: translateX(0) translateY(0) rotate(45deg);
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.07),
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  border-color: var(--gray-300);
}

/* Utility classes */
.text-center { text-align: center; }
.text-muted { color: var(--muted-foreground); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.py-8 { padding-top: 4rem; padding-bottom: 4rem; }
.py-12 { padding-top: 6rem; padding-bottom: 6rem; }

/* Background utilities */
.bg-muted {
  background-color: var(--muted);
}

/* Links */
a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-blue);
}
