:root {
  --primary-color: #ff4e50;
  --secondary-color: #f9d423;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --accent-color: #e74c3c;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --box-shadow: 0 5px 20px rgba(255, 78, 80, 0.3);
}

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

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #fff;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 10px;
}

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

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient);
  transition: width 0.3s ease-out;
}

.main-nav a:hover {
  color: var(--primary-color);
}

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

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 100px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: var(--light-color);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: -1;
}

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

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: #666;
  margin-bottom: 35px;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 78, 80, 0.5);
}

/* Features */
.features {
  padding: 100px 0;
  background-color: white;
}

.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background: var(--gradient);
  left: 20%;
  bottom: -10px;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-box {
  background: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-color);
  border-radius: 50%;
}

.feature-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* How It Works */
.how-it-works {
  padding: 100px 0;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  width: 30%;
  height: 100%;
  background: var(--primary-color);
  opacity: 0.05;
  top: -50%;
  right: -10%;
  border-radius: 50%;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.step-box {
  background: white;
  border-radius: 15px;
  padding: 30px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
}

.step-title {
  font-size: 20px;
  margin-bottom: 15px;
  margin-top: 10px;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-content {
  font-size: 20px;
  font-style: italic;
  margin-bottom: 25px;
  color: #666;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-color);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: var(--gradient);
  text-align: center;
  color: white;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-text {
  margin-bottom: 30px;
  font-size: 18px;
  opacity: 0.9;
}

.btn-light {
  background: white;
  color: var(--primary-color);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
  background: var(--dark-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-left: 10px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 0;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
  .hero h1 {
    font-size: 38px;
  }
  
  .section-heading h2 {
    font-size: 30px;
  }
}

@media screen and (max-width: 767px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .main-nav {
    margin-top: 20px;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  .main-nav li {
    margin: 10px 0;
  }
  
  .hero {
    padding-top: 180px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero::before {
    width: 100%;
    clip-path: none;
    opacity: 0.1;
  }
  
  .cta-title {
    font-size: 28px;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .section-heading h2 {
    font-size: 26px;
  }
  
  .feature-box {
    padding: 30px 20px;
  }
  
  .btn {
    padding: 12px 28px;
    font-size: 14px;
  }
}
