:root {
  --primary: #3498db;
  --secondary: #e74c3c;
  --accent: #f1c40f;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --text: #34495e;
  --gradient: linear-gradient(45deg, var(--primary), var(--secondary));
  --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: 'Rubik', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--light);
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn:hover {
  background: var(--secondary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: white;
}

/* Header */
header {
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--box-shadow);
  padding: 15px 0;
}

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

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

.logo-icon {
  height: 40px;
  width: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-desktop {
  display: flex;
}

.nav-desktop li {
  list-style: none;
  margin-left: 30px;
}

.nav-desktop a {
  color: var(--dark);
  font-weight: 600;
  position: relative;
}

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

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

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  color: white;
}

.hero-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: white;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-image {
  text-align: center;
}

.hero-image svg {
  max-width: 100%;
  height: auto;
}

/* Features */
.features {
  padding: 80px 0;
  background: white;
}

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

.section-title {
  display: inline-block;
  font-size: 2.3rem;
  margin-bottom: 15px;
  position: relative;
}

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

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text);
  opacity: 0.8;
}

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

.feature-card {
  background: var(--light);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
}

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

.feature-icon {
  width: 100%;
  height: 160px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 80px;
  height: 80px;
  fill: white;
}

.feature-content {
  padding: 30px;
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.feature-desc {
  color: var(--text);
  opacity: 0.8;
}

/* How It Works */
.how-works {
  padding: 80px 0;
  background: var(--light);
}

.steps {
  margin-top: 60px;
}

.step {
  display: flex;
  margin-bottom: 50px;
  background: white;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-image {
  flex: 0 0 40%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.step-image svg {
  width: 100%;
  max-width: 200px;
  height: auto;
  fill: white;
}

.step-content {
  flex: 0 0 60%;
  padding: 40px;
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  color: white;
  font-weight: 700;
  text-align: center;
  line-height: 40px;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.step-desc {
  color: var(--text);
  opacity: 0.8;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: white;
}

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

.testimonial {
  background: var(--light);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 15px;
}

.author-name {
  font-weight: 700;
  color: var(--dark);
}

.author-title {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.8;
}

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

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

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

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

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

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

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

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

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

.footer-about h3 {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: white;
}

.footer-logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.footer-about p {
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-links h3, .footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-icon {
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  background: white;
  z-index: 1001;
  padding: 80px 30px 30px;
  transition: all 0.3s ease;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  left: 0;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

.mobile-nav {
  list-style: none;
}

.mobile-nav li {
  margin-bottom: 15px;
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-split {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    grid-row: 1;
  }
  
  .step, .step:nth-child(even) {
    flex-direction: column;
  }
  
  .step-image {
    padding: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .feature-card {
    margin-bottom: 30px;
  }
  
  .step-content {
    padding: 30px;
  }
}
