/* CSS Variables */
:root {
  --background: 0 0% 100%;
  --foreground: 120 10% 10%;
  --card: 0 0% 100%;
  --card-foreground: 120 10% 10%;
  --primary: 82 85% 45%;
  --primary-foreground: 0 0% 100%;
  --secondary: 80 30% 92%;
  --secondary-foreground: 82 60% 25%;
  --muted: 80 20% 96%;
  --muted-foreground: 80 10% 45%;
  --accent: 82 85% 45%;
  --accent-foreground: 0 0% 100%;
  --border: 80 20% 88%;
  --ring: 82 85% 45%;
  
  --brand-lime: 82 85% 55%;
  --brand-green: 120 60% 35%;
  --brand-dark: 120 30% 15%;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, hsl(82, 85%, 45%), hsl(120, 60%, 35%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: linear-gradient(135deg, hsl(82, 85%, 45%), hsl(120, 60%, 35%));
  color: white;
  box-shadow: 0 4px 20px hsla(82, 85%, 45%, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsla(82, 85%, 45%, 0.4);
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
}

.btn-ghost:hover {
  background: hsl(var(--muted));
}

.btn-hero {
  padding: 1rem 2rem;
  font-size: 1rem;
  background: linear-gradient(135deg, hsl(82, 85%, 45%), hsl(120, 60%, 35%));
  color: white;
  box-shadow: 0 4px 20px hsla(82, 85%, 45%, 0.3);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsla(82, 85%, 45%, 0.4);
}

.btn-hero-outline {
  padding: 1rem 2rem;
  font-size: 1rem;
  background: transparent;
  color: hsl(var(--foreground));
  border: 2px solid hsl(var(--border));
}

.btn-hero-outline:hover {
  border-color: hsl(82, 85%, 45%);
  color: hsl(82, 85%, 40%);
  background: hsla(82, 85%, 45%, 0.05);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid hsla(var(--border), 0.5);
  background: hsla(var(--background), 0.8);
  backdrop-filter: blur(12px);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 2.5rem;
  width: auto;
}

.navbar-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: hsl(82, 85%, 40%);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, hsla(82, 85%, 45%, 0.08), transparent 60%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: pulse 8s ease-in-out infinite;
}

.hero-glow-1 {
  top: 10%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: hsla(82, 85%, 55%, 0.15);
}

.hero-glow-2 {
  bottom: 10%;
  left: 10%;
  width: 350px;
  height: 350px;
  background: hsla(120, 60%, 35%, 0.1);
  animation-delay: 4s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsla(82, 85%, 45%, 0.1);
  border: 1px solid hsla(82, 85%, 45%, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(82, 85%, 35%);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: hsl(82, 85%, 45%);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

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

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

.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

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

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

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

.hero-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: hsla(var(--card), 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .hero-stats {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    padding: 1.5rem 3rem;
  }
}

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

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: hsl(82, 85%, 40%);
}

.stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.stat-divider {
  display: none;
  width: 1px;
  height: 3rem;
  background: hsl(var(--border));
}

@media (min-width: 768px) {
  .stat-divider {
    display: block;
  }
}

/* Features Section */
.features {
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .features {
    padding: 8rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: hsla(82, 85%, 45%, 0.1);
  border: 1px solid hsla(82, 85%, 45%, 0.2);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(82, 85%, 35%);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

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

.section-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.feature-card:hover {
  border-color: hsla(82, 85%, 45%, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px hsla(82, 85%, 45%, 0.08);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsla(82, 85%, 45%, 0.15), hsla(120, 60%, 35%, 0.1));
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
  color: hsl(82, 85%, 40%);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  position: relative;
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .how-it-works {
    padding: 8rem 0;
  }
}

.how-it-works-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, hsla(82, 85%, 45%, 0.03), transparent, hsla(82, 85%, 45%, 0.03));
}

.steps-grid {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  position: relative;
  padding: 2rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s;
}

.step-card:hover {
  border-color: hsla(82, 85%, 45%, 0.3);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: hsla(82, 85%, 45%, 0.1);
}

.step-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsla(82, 85%, 45%, 0.15), hsla(120, 60%, 35%, 0.1));
  border-radius: 1rem;
  margin: 0 auto 1.5rem;
  color: hsl(82, 85%, 40%);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* CTA Section */
.cta-section {
  position: relative;
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .cta-section {
    padding: 8rem 0;
  }
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, hsla(82, 85%, 45%, 0.06), transparent 60%);
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1.5rem;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .cta-card {
    padding: 4rem;
  }
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, hsla(82, 85%, 55%, 0.05), transparent, hsla(120, 60%, 35%, 0.05));
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-glow-1 {
  top: -5rem;
  right: -5rem;
  width: 15rem;
  height: 15rem;
  background: hsla(82, 85%, 55%, 0.1);
}

.cta-glow-2 {
  bottom: -5rem;
  left: -5rem;
  width: 15rem;
  height: 15rem;
  background: hsla(120, 60%, 35%, 0.1);
}

.cta-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

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

.cta-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

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

.cta-features {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Footer */
.footer {
  background: hsl(var(--muted));
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

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

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s;
}

.social-link:hover {
  border-color: hsl(82, 85%, 45%);
  color: hsl(82, 85%, 40%);
}

.footer-links-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: hsl(82, 85%, 40%);
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-contact svg {
  color: hsl(82, 85%, 45%);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: hsl(82, 85%, 40%);
}
