/* shadcn/ui Design System for Static HTML */

/* CSS Variables - shadcn Design Tokens */
:root {
  /* Colors */
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 221.2 83.2% 53.3%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96%;
  --secondary-foreground: 222.2 84% 4.9%;
  --muted: 210 40% 96%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96%;
  --accent-foreground: 222.2 84% 4.9%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 221.2 83.2% 53.3%;
  --radius: 0.5rem;

  /* Custom Whistl Colors */
  --whistl-primary: 221.2 83.2% 53.3%;
  --whistl-primary-foreground: 210 40% 98%;
  --whistl-secondary: 210 40% 96%;
  --whistl-accent: 221.2 83.2% 53.3%;
  --whistl-muted: 210 40% 96%;
  --whistl-border: 214.3 31.8% 91.4%;
  --whistl-background: 0 0% 100%;
  --whistl-foreground: 222.2 84% 4.9%;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;
    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;
    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;
    --primary: 217.2 91.2% 59.8%;
    --primary-foreground: 222.2 84% 4.9%;
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 224.3 76.3% 94.1%;

    /* Custom Whistl Dark Colors */
    --whistl-primary: 217.2 91.2% 59.8%;
    --whistl-primary-foreground: 222.2 84% 4.9%;
    --whistl-secondary: 217.2 32.6% 17.5%;
    --whistl-accent: 217.2 91.2% 59.8%;
    --whistl-muted: 217.2 32.6% 17.5%;
    --whistl-border: 217.2 32.6% 17.5%;
    --whistl-background: 222.2 84% 4.9%;
    --whistl-foreground: 210 40% 98%;
  }
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--whistl-background));
  color: hsl(var(--whistl-foreground));
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* Button Variants */
.btn-primary {
  background: linear-gradient(135deg, hsl(var(--whistl-primary)), hsl(var(--whistl-primary) / 0.9));
  color: hsl(var(--whistl-primary-foreground));
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px hsl(var(--whistl-primary) / 0.35);
}

.btn-secondary {
  background-color: hsl(var(--whistl-secondary));
  color: hsl(var(--whistl-foreground));
  padding: 0.5rem 1rem;
}

.btn-secondary:hover {
  background-color: hsl(var(--whistl-secondary) / 0.8);
}

.btn-outline {
  border: 1px solid hsl(var(--whistl-border));
  background-color: transparent;
  color: hsl(var(--whistl-foreground));
  padding: 0.5rem 1rem;
}

.btn-outline:hover {
  background-color: hsl(var(--whistl-accent) / 0.1);
  border-color: hsl(var(--whistl-accent));
}

.btn-ghost {
  background-color: transparent;
  color: hsl(var(--whistl-foreground));
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  background-color: hsl(var(--whistl-accent) / 0.1);
}

.btn-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Card Component */
.card {
  background-color: hsl(var(--whistl-card));
  border: 1px solid hsl(var(--whistl-border));
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.card-header {
  padding: 1.5rem 1.5rem 0;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-description {
  color: hsl(var(--whistl-muted-foreground));
  font-size: 0.875rem;
}

.card-content {
  padding: 1.5rem;
}

.card-footer {
  padding: 0 1.5rem 1.5rem;
}

/* Badge Component */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.badge-default {
  background-color: hsl(var(--whistl-secondary));
  color: hsl(var(--whistl-foreground));
}

.badge-primary {
  background-color: hsl(var(--whistl-primary) / 0.1);
  color: hsl(var(--whistl-primary));
  border: 1px solid hsl(var(--whistl-primary) / 0.2);
}

.badge-secondary {
  background-color: hsl(var(--whistl-muted));
  color: hsl(var(--whistl-muted-foreground));
}

/* Input Component */
.input {
  display: flex;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--whistl-border));
  background-color: hsl(var(--whistl-background));
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: hsl(var(--whistl-primary));
  box-shadow: 0 0 0 2px hsl(var(--whistl-primary) / 0.2);
}

.input::placeholder {
  color: hsl(var(--whistl-muted-foreground));
}

/* Label Component */
.label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: hsl(var(--whistl-foreground));
}

/* Form Group */
.form-group {
  margin-bottom: 1rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

/* Header Styles */
.header {
  padding: 1.5rem 0;
  background-color: hsl(var(--whistl-background) / 0.85);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid hsl(var(--whistl-border));
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, hsl(var(--whistl-primary)), hsl(var(--whistl-primary) / 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: hsl(var(--whistl-muted-foreground));
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: hsl(var(--whistl-primary));
}

/* Hero Section */
.hero {
  padding: 7.5rem 0 5rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 50rem;
  margin: 0 auto;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: hsl(var(--whistl-foreground));
}

.hero-subtitle {
  font-size: 1.5rem;
  color: hsl(var(--whistl-muted-foreground));
  margin-bottom: 3rem;
  font-weight: 400;
  max-width: 37.5rem;
  margin-left: auto;
  margin-right: auto;
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin: 4rem 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, hsl(var(--whistl-primary)), hsl(var(--whistl-primary) / 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  color: hsl(var(--whistl-muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background-color: hsl(var(--whistl-card));
  border: 1px solid hsl(var(--whistl-border));
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background-color: hsl(var(--whistl-primary) / 0.04);
  border-color: hsl(var(--whistl-primary) / 0.25);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, hsl(var(--whistl-primary)), hsl(var(--whistl-primary) / 0.8));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-description {
  color: hsl(var(--whistl-muted-foreground));
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  text-align: center;
  border-top: 1px solid hsl(var(--whistl-border));
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, hsl(var(--whistl-primary)), hsl(var(--whistl-primary) / 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-description {
  color: hsl(var(--whistl-muted-foreground));
  max-width: 25rem;
  margin: 0 auto;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--whistl-border));
  color: hsl(var(--whistl-muted-foreground));
  font-size: 0.875rem;
}

/* Background Effects */
.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, hsl(var(--whistl-primary) / 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, hsl(var(--whistl-primary) / 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .container {
    padding: 0 1rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: calc(var(--radius) + 2px); }
.rounded-xl { border-radius: calc(var(--radius) + 4px); }

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