/* === CSS Variables === */
:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-green: 0 10px 40px rgba(34, 197, 94, 0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--gray-800);
  overflow-x: hidden;
  line-height: 1.6;
}

/* === Floating Dollars Background === */
.floating-dollars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-dollar {
  position: absolute;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(34, 197, 94, 0.07);
  animation: floatUp linear infinite;
  user-select: none;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.5rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  box-shadow: var(--shadow-green);
}

.logo-text {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--green-600);
}

.nav-btn {
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow-green);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.4);
}

/* === Hero Section === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-700);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
}

.badge-dollar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.4);
}

.btn-dollar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 0.8rem;
}

.btn-secondary {
  background: var(--white);
  color: var(--green-600);
  border: 2px solid var(--green-200);
}

.btn-secondary:hover {
  background: var(--green-50);
  border-color: var(--green-400);
  transform: translateY(-3px);
}

.btn-premium {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: var(--white);
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.3);
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.45);
}

.btn-dollar.gold {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.hero-sub-buttons {
  margin-top: 1rem;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.cta-premium-btn {
  margin-top: 1rem;
  display: inline-flex;
}

/* Hero Visual Cards */
.hero-visual {
  flex: 1;
  position: relative;
  height: 450px;
  animation: fadeInRight 0.8s ease-out 0.4s both;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--green-100);
  transition: transform 0.3s;
}

.hero-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.card-1 {
  top: 0;
  left: 0;
  width: 280px;
  animation: cardFloat 6s ease-in-out infinite;
}

.card-2 {
  top: 120px;
  right: 0;
  width: 260px;
  animation: cardFloat 6s ease-in-out 2s infinite;
}

.card-3 {
  bottom: 40px;
  left: 40px;
  width: 270px;
  animation: cardFloat 6s ease-in-out 4s infinite;
}

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

.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--green-100), var(--green-200));
  color: var(--green-600);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
}

.card-icon.green {
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: var(--white);
}

.card-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.card-change {
  font-size: 0.85rem;
  font-weight: 600;
}

.card-change.positive {
  color: var(--green-600);
}

/* === Features Section === */
.features {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--white) 0%, var(--green-50) 100%);
  position: relative;
  z-index: 1;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-green);
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--green-100);
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-300);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  color: var(--green-600);
  border-radius: var(--radius);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.feature-icon.green {
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Stats Section === */
.stats {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  position: relative;
  z-index: 1;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='10' y='40' font-size='30' fill='rgba(255,255,255,0.03)' font-weight='bold'%24$%3C/text%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.stat-icon.green {
  background: rgba(255, 255, 255, 0.25);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 500;
}

/* === CTA Section === */
.cta {
  padding: 6rem 2rem;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 4rem;
  background: linear-gradient(135deg, var(--green-50), var(--white));
  border-radius: 24px;
  border: 1px solid var(--green-200);
  overflow: hidden;
}

.cta-bg-dollars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.cta-bg-dollars span {
  position: absolute;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(34, 197, 94, 0.04);
}

.cta-bg-dollars span:nth-child(1) { top: -20px; left: -20px; transform: rotate(-15deg); }
.cta-bg-dollars span:nth-child(2) { top: 10px; right: -10px; transform: rotate(20deg); }
.cta-bg-dollars span:nth-child(3) { bottom: -30px; left: 30%; transform: rotate(10deg); }
.cta-bg-dollars span:nth-child(4) { bottom: 20px; right: 20%; transform: rotate(-25deg); }
.cta-bg-dollars span:nth-child(5) { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(15deg); font-size: 12rem; }

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-content > p {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}

.cta-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid var(--green-200);
  border-radius: var(--radius);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
}

.cta-input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.cta-btn {
  white-space: nowrap;
  padding: 1rem 1.75rem;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  position: relative;
  z-index: 1;
}

/* === Footer === */
.footer {
  background: var(--gray-900);
  color: var(--white);
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

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

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-icon {
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
}

.footer-brand .logo-text {
  background: linear-gradient(135deg, var(--green-300), var(--green-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--green-400);
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--green-400);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-dollar {
  color: var(--green-400);
  font-weight: 700;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 7rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 500px;
    height: 400px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-visual {
    display: none;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-form {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }
}
