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

:root {
  /* Colors */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(240, 10%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(240, 10%, 15%);
  --primary: hsl(45, 94%, 44%);
  --primary-variant: hsl(45, 90%, 50%);
  --primary-foreground: hsl(0, 0%, 0%);
  --secondary: #a47b00;
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(240, 5%, 96%);
  --muted-foreground: hsl(240, 4%, 46%);
  --accent: #a47b00;
  --accent-variant: hsl(240, 70%, 65%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(240, 6%, 90%);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(45, 94%, 44%), hsl(45, 90%, 50%));
  --gradient-accent: linear-gradient(135deg, #a47b00, #a47b00);
  --gradient-hero: linear-gradient(180deg, hsl(45, 100%, 95%), hsl(45, 95%, 90%));
  
  /* Shadows */
  --shadow-glow: 0 0 40px hsla(45, 94%, 44%, 0.3);
  --shadow-card: 0 10px 30px -10px hsla(240, 10%, 15%, 0.1);
  
  /* Spacing */
  --container-padding: 1rem;
  --section-padding: 6rem 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section Styles */
section {
  padding: var(--section-padding);
}

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

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gradient-text-accent {
  background: var(--gradient-accent);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

.btn-hero {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}

.btn-hero:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--background);
  color: var(--foreground);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  background: var(--secondary);
}

.btn-white {
  background: var(--primary-foreground);
  color: var(--primary);
  border: none;
}

.btn-white:hover {
  opacity: 0.9;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
}

.hero-content {
  text-align: center;
  animation: fadeIn 0.8s ease-out;
}

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

.hero-title {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 700;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 40rem;
  margin: 0 auto 2rem;
}

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

.hero-image {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.2;
  filter: blur(60px);
  border-radius: 50%;
}

.phone-mockup img {
  position: relative;
  max-width: 24rem;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Pricing Section */
.pricing-section {
  background: var(--background);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pricing-card-popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.pricing-card-popular:hover {
  transform: scale(1.08) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  background: var(--gradient-accent);
  color: var(--accent-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
}

.card-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.card-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.price {
  margin-top: 1rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
}

.price-period {
  color: var(--muted-foreground);
}

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

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  padding: 0.25rem;
  background: hsla(45, 94%, 44%, 0.1);
  border-radius: 50%;
  color: var(--primary);
}

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 2rem;
}

/* How It Works Section */
.how-it-works {
  background: var(--gradient-hero);
}

.steps {
  max-width: 64rem;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.step-number {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 1rem;
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s ease;
}

.step:hover .step-number {
  transform: scale(1.1);
}

.step-card {
  flex: 1;
  display: flex;
  gap: 1rem;
  background: var(--card);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.step:hover .step-card {
  box-shadow: var(--shadow-glow);
}

.step-icon-wrapper {
  flex-shrink: 0;
  padding: 0.75rem;
  background: hsla(45, 94%, 44%, 0.1);
  border-radius: 0.75rem;
}

.step-icon {
  color: var(--primary);
}

.step-content {
  flex: 1;
}

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

.step-description {
  color: var(--muted-foreground);
}

/* Benefits Section */
.benefits-section {
  background: var(--background);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.benefit {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.benefit:hover {
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.benefit-icon {
  display: inline-flex;
  padding: 1rem;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  border-radius: 1rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease;
}

.benefit:hover .benefit-icon {
  box-shadow: var(--shadow-glow);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.benefit-description {
  color: var(--muted-foreground);
}

/* Download Section */
.download-section {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  position: relative;
  overflow: hidden;
}

.download-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsla(0, 0%, 100%, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.download-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.download-description {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
}

.qr-code-wrapper {
  display: inline-block;
}

.qr-code {
  padding: 2rem;
  background: var(--primary-foreground);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.qr-code p {
  width: 12rem;
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted);
  color: var(--muted-foreground);
  border-radius: 0.5rem;
}

.qr-label {
  font-size: 0.875rem;
  margin-top: 1rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--muted-foreground);
}

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-heart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.heart-icon {
  color: var(--accent);
}

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

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

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

/* Responsive Design */
@media (min-width: 640px) {
  :root {
    --container-padding: 2rem;
  }
  
  .hero-buttons,
  .download-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-buttons {
    justify-content: flex-start;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 480px) {
    .step-number {
        margin: 0 auto 16px;
    }
    .step {
        display: block;
        text-align: center;
    }
    .step-card {
        display: block;
    }
    .step-content {
        margin-top: 16px;
    }
}
