:root {
  --primary-color: #b71c1c;
  --secondary-color: #ff5252;
  --accent-color: #ffcdd2;
  --dark-color: #1f1f1f;
  --text-color: #333;
  --light-color: #f9f9f9;
  --gradient: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Header Styles */
header {
  background-color: var(--dark-color);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo img {
  width: 40px;
  height: auto;
}

.logo h1 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
}

.logo span {
  color: var(--secondary-color);
}

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

.main-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  padding-top: 80px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--light-color);
  clip-path: polygon(0 60%, 100% 100%, 100% 100%, 0% 100%);
}

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

.hero h2 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  background-color: #fff;
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
  padding: 6rem 0;
  background-color: #fff;
}

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

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: #777;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--light-color);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
}

.feature-card:hover {
  transform: translateY(-10px);
}

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

.feature-icon svg {
  width: 35px;
  height: 35px;
  color: #fff;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-card p {
  color: #777;
}

/* How It Works */
.how-works {
  padding: 6rem 0;
  background-color: #f5f5f5;
  position: relative;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.step-box {
  background-color: #fff;
  border-radius: 15px;
  padding: 2rem;
  width: 300px;
  position: relative;
  box-shadow: var(--box-shadow);
}

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.step-box h3 {
  text-align: center;
  margin: 1.5rem 0 1rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.step-box p {
  text-align: center;
  color: #777;
}

/* Reviews Section */
.reviews {
  padding: 6rem 0;
  background-color: var(--dark-color);
  color: #fff;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.review-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.author-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.author-info p {
  opacity: 0.7;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--gradient);
  color: #fff;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #f5f5f5;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0% 100%);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-btn.white {
  background-color: #fff;
  color: var(--primary-color);
}

.cta-btn.white:hover {
  background-color: #f5f5f5;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 4rem 0 1.5rem;
}

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

.footer-info img {
  width: 40px;
  height: auto;
  margin-bottom: 1.5rem;
}

.footer-info h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-info h3 span {
  color: var(--secondary-color);
}

.footer-info p {
  color: #aaa;
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

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

.footer-links ul li a {
  color: #aaa;
  transition: color 0.3s ease;
}

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

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #777;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 2.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-info {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--dark-color);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    text-align: center;
  }
  
  .main-nav a {
    font-size: 1.2rem;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .cta-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
