:root {
  --primary-color: #10b981;
  --secondary-color: #3b82f6;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --text-color: #334155;
  --light-text: #f8fafc;
  --background: #ffffff;
  --section-bg: #f1f5f9;
  --spacing-sm: 1rem;
  --spacing-md: 2.5rem;
  --spacing-lg: 5rem;
  --border-radius: 10px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.4s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--background);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--text-color);
}

h1 {
  font-size: 5rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.8rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 3.2rem;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
}

.primary-btn {
  background: var(--primary-color);
  color: var(--light-text);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.primary-btn:hover {
  background: #0ea271;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
}

.secondary-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  transform: translateY(-3px);
  color: var(--primary-color);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--accent-color);
  transition: var(--transition);
  z-index: -1;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 100;
  padding: 1.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.main-nav a:hover:after {
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.logo img {
  width: 4rem;
  height: 4rem;
  filter: drop-shadow(0 4px 6px rgba(16, 185, 129, 0.2));
}

.logo-text {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-color);
  position: relative;
}

.logo-text:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 50%;
  height: 3px;
  background: var(--primary-color);
  border-radius: 5px;
}

.hero {
  padding: 15rem 0 10rem;
  background: linear-gradient(165deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.08));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0) 70%);
  z-index: 0;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6rem;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  margin-bottom: 2.5rem;
  font-size: 5rem;
  line-height: 1.2;
  color: var(--dark-color);
  position: relative;
}

.hero-text p {
  font-size: 1.8rem;
  margin-bottom: 4rem;
  color: var(--text-color);
  max-width: 90%;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

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

.features {
  padding: var(--spacing-lg) 0;
  background-color: var(--section-bg);
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.subtitle {
  display: inline-block;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}

.section-title h2 {
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff4d4d' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
  z-index: 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
  gap: var(--spacing-md);
  margin-top: 5rem;
}

.feature-item {
  background-color: var(--background);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(16, 185, 129, 0.05), transparent);
  transition: var(--transition);
  z-index: -1;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.feature-item:hover::before {
  height: 100%;
}

.feature-icon {
  width: 6rem;
  height: 6rem;
  margin-bottom: var(--spacing-sm);
}

.feature-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* How It Works */
.how-it-works {
  padding: var(--spacing-lg) 0;
  background-color: var(--background);
  position: relative;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 80rem;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  background-color: var(--light-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.1);
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6rem;
  height: 6rem;
  background: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  font-size: 2.4rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
  position: relative;
}

.step-number:after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px dashed var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  color: var(--light-text);
}

/* CTA Section */
.cta {
  padding: var(--spacing-lg) 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.cta-text {
  text-align: left;
  flex: 2;
}

.cta-action {
  flex: 1;
  text-align: right;
}

.cta h2 {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  font-size: 3.6rem;
}

.cta p {
  margin-bottom: 3rem;
  font-size: 1.8rem;
  opacity: 0.9;
}

.cta-btn {
  background-color: var(--secondary-color);
  color: var(--text-color);
  font-weight: 800;
  padding: 1.8rem 4rem;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(249, 203, 40, 0.4);
}

.cta-btn:hover {
  background-color: var(--light-text);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(249, 203, 40, 0.5);
}

/* Footer */
.footer {
  padding: var(--spacing-lg) 0 var(--spacing-md);
  background-color: var(--dark-color);
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-brand p {
  margin-top: 1.5rem;
  opacity: 0.8;
}

.footer h4 {
  color: var(--light-color);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
}

.footer-links ul li,
.footer-legal ul li {
  margin-bottom: 1rem;
}

.footer-links ul li a,
.footer-legal ul li a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  font-size: 1.4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-logo img {
  width: 4rem;
  height: 4rem;
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer-logo span {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--light-color);
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
}

.footer-nav a {
  color: #ccc;
  font-size: 1.5rem;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
}

.footer-tagline {
  color: var(--primary-color);
  font-weight: 600;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 992px) {
  html {
    font-size: 58%;
  }

  .header-container {
    padding: 0 2rem;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
  
  .hero-text p {
    max-width: 100%;
  }

  .hero-image {
    order: -1;
  }
  
  .cta-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-action {
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 55%;
  }

  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .main-nav {
    order: 3;
    width: 100%;
  }
  
  .main-nav ul {
    justify-content: center;
    padding-top: 1rem;
  }
  
  .cta-header {
    margin-left: auto;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .step-number:after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .footer-links ul,
  .footer-legal ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .footer-links ul li,
  .footer-legal ul li {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  .header-container {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
