@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* 
 * LOVABLE.DEV DESIGN SYSTEM - COMPLETE REPLICATION
 * All colors, gradients, spacing and animations from your Lovable project
 */

:root {
  /* Colors - Exact match from Lovable */
  --background: 222 47% 11%;
  --foreground: 210 40% 98%;
  --card: 224 71% 4%;
  --card-foreground: 210 40% 98%;
  --popover: 224 71% 4%;
  --popover-foreground: 210 40% 98%;
  --primary: 263 70% 50%;
  --primary-foreground: 210 40% 98%;
  --secondary: 217 33% 17%;
  --secondary-foreground: 210 40% 98%;
  --muted: 217 33% 17%;
  --muted-foreground: 215 20% 65%;
  --accent: 189 94% 43%;
  --accent-foreground: 222 47% 11%;
  --destructive: 0 63% 31%;
  --destructive-foreground: 210 40% 98%;
  --border: 217 33% 17%;
  --input: 217 33% 17%;
  --ring: 263 70% 50%;
  --radius: 0.75rem;
  
  /* Lovable Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(263 70% 50%), hsl(234 89% 64%));
  --gradient-accent: linear-gradient(135deg, hsl(189 94% 43%), hsl(234 89% 64%));
  --glow-primary: 0 0 40px hsl(263 70% 50% / 0.3);
  --glow-accent: 0 0 30px hsl(189 94% 43% / 0.2);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid hsl(var(--border));
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero Section - Full Lovable Style */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsl(189 94% 43% / 0.2) 0%, transparent 70%);
  filter: blur(60px);
  animation: float 6s ease-in-out infinite;
}

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

.hero-content {
  max-width: 1200px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-description {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  margin-bottom: 2.5rem;
  opacity: 0.95;
  color: white;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Button Styles - Lovable Design */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: white;
  color: hsl(var(--primary));
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
}

.btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border: 1px solid hsl(var(--border));
}

.btn-secondary:hover {
  background: hsl(var(--muted));
  transform: translateY(-2px);
}

/* Feature Cards - Lovable Style */
.feature-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-primary);
  border-color: hsl(var(--primary));
}

.feature-card img {
  border-radius: calc(var(--radius) - 4px);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feature-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.feature-card h2 a {
  color: hsl(var(--primary));
  text-decoration: none;
  transition: opacity 0.2s;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card h2 a:hover {
  opacity: 0.8;
}

.feature-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  flex-grow: 1;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

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

/* Section Spacing */
.section {
  padding: 6rem 1rem;
}

@media (min-width: 768px) {
  .section { padding: 8rem 1rem; }
}

/* Typography */
.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; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Spacing Utilities */
.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; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* Layout */
.text-center { text-align: center; }
.flex { display: flex; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.col-span-full { grid-column: 1 / -1; }

/* Footer */
footer {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  margin-top: 4rem;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.w-full { width: 100%; }
.rounded { border-radius: var(--radius); }

/* Article Content */
article h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2rem;
  font-weight: 800;
  line-height: 1.2;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

article h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

article p {
  margin-bottom: 1.25rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}

article a {
  color: hsl(var(--accent));
  text-decoration: underline;
  transition: opacity 0.2s;
}

article a:hover {
  opacity: 0.8;
}

/* Prose */
.prose {
  max-width: 75ch;
  color: hsl(var(--muted-foreground));
}

.prose p {
  margin-bottom: 1.5em;
}

.prose h2 {
  margin-top: 2.5em;
  margin-bottom: 1em;
}

.prose ul, .prose ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.max-w-none {
  max-width: none;
}

/* WordPress Specific */
.wp-block-image img {
  border-radius: var(--radius);
}

.aligncenter {
  text-align: center;
  margin: 2rem auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes glow-pulse {
  0%, 100% { opacity: 1; filter: blur(20px); }
  50% { opacity: 0.6; filter: blur(25px); }
}

.animate-glow {
  animation: glow-pulse 3s ease-in-out infinite;
}
