/*
Theme Name: Pinoy Freelancer Course Landing
Description: Modern landing page theme for online course about AI portfolio building for Filipino freelancers
Author: Your Name
Version: 1.0
*/

/* Tailwind CSS Integration - Include all Tailwind utilities */
@import url('https://unpkg.com/tailwindcss@latest/dist/tailwind.min.css');

/* Modern design system for course landing page */
:root {
  --background: 240 10% 3.9%;
  --foreground: 0 0% 98%;
  --card: 240 10% 3.9%;
  --card-foreground: 0 0% 98%;
  --primary: 263 70% 50.4%;
  --primary-foreground: 210 20% 98%;
  --secondary: 240 3.7% 15.9%;
  --secondary-foreground: 0 0% 98%;
  --muted: 240 3.7% 15.9%;
  --muted-foreground: 240 5% 64.9%;
  --border: 240 3.7% 15.9%;
  --ring: 263 70% 50.4%;

  /* Custom course theme colors */
  --purple: 263 70% 50.4%;
  --purple-light: 263 85% 70%;
  --blue: 217 91% 60%;
  --blue-light: 217 91% 75%;
  --success: 142 71% 45%;
  --warning: 38 92% 50%;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(var(--purple)), hsl(var(--blue)));
  --gradient-hero: linear-gradient(135deg, hsl(var(--purple)) 0%, hsl(var(--blue)) 50%, hsl(var(--purple-light)) 100%);
  --gradient-card: linear-gradient(145deg, hsl(var(--card)) 0%, hsl(240 10% 6%) 100%);

  /* Shadows */
  --shadow-glow: 0 0 40px hsl(var(--purple) / 0.3);
  --shadow-card: 0 10px 30px -10px hsl(0 0% 0% / 0.3);
  --shadow-button: 0 4px 15px hsl(var(--purple) / 0.4);

  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
}

/* Hero gradient background with floating circles */
.hero-gradient {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 80%, hsl(var(--purple) / 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, hsl(var(--blue) / 0.3) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, hsl(var(--purple-light) / 0.2) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

/* Button styles */
.btn-hero {
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-button);
  transition: var(--transition-bounce);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-hero:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.btn-pulse {
  animation: pulse-glow 2s infinite;
}

/* Card styles */
.feature-card {
  background: var(--gradient-card);
  box-shadow: var(--shadow-card);
  border: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

/* Text animations */
.text-cycle {
  position: relative;
  display: inline-block;
}

.text-cycle .word {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  animation: text-cycle 6s infinite;
}

.text-cycle .word:nth-child(1) { animation-delay: 0s; color: #8B5CF6; }
.text-cycle .word:nth-child(2) { animation-delay: 2s; color: #3B82F6; }
.text-cycle .word:nth-child(3) { animation-delay: 4s; color: #10B981; }

/* Scroll animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive grid */
.grid-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .grid-hero {
    grid-template-columns: 1fr 1fr;
  }
}

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

.section-padding {
  padding: 5rem 0;
}

/* Typography */
.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

/* Keyframes */
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--shadow-button); }
  50% { box-shadow: var(--shadow-glow); }
}

@keyframes text-cycle {
  0%, 20% { opacity: 1; transform: translateY(0); }
  25%, 95% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 0; transform: translateY(20px); }
}

/* Footer styles */
.footer {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0 2rem;
}

.footer-form {
  background: var(--gradient-card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
}

.footer-input {
  background: hsl(var(--input));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  padding: 0.75rem;
  border-radius: 0.5rem;
  width: 100%;
  margin-bottom: 1rem;
}

.footer-input:focus {
  outline: none;
  ring: 2px solid hsl(var(--ring));
}

/* Utility classes */
.text-center { text-align: center; }
.text-white { color: white; }
.text-purple { color: hsl(var(--purple)); }
.text-blue { color: hsl(var(--blue)); }
.text-green { color: hsl(var(--success)); }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.p-4 { padding: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.rounded { border-radius: 0.5rem; }
.rounded-lg { border-radius: 0.75rem; }
.shadow { box-shadow: var(--shadow-card); }