/* Modern CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #6a1b9a;
  --primary-light: #9c4dcc;
  --primary-dark: #38006b;
  --secondary: #ff6d00;
  --secondary-light: #ff9e40;
  --secondary-dark: #c43c00;
  --accent: #ff9100;
  --background: #ffffff;
  --text: #212121;
  --text-light: #757575;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
}

h1, h2, h3, h4, h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: rgba(41, 98, 255, 0.1);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

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

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

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

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

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

.nav-list li {
  margin-left: 2rem;
}

.nav-list a {
  color: var(--dark);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

.nav-list a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient);
  transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-btn {
  background: var(--gradient);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-left: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(41, 98, 255, 0.03) 0%, rgba(255, 109, 0, 0.03) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 100%;
  background-image: radial-gradient(circle at 80% 50%, rgba(41, 98, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

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

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: relative;
  flex: 0 0 45%;
}

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

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

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

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

.feature-desc {
  color: var(--gray);
}

/* How It Works */
.how-it-works {
  padding: 6rem 0;
  background-color: var(--light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -30px;
  width: 60px;
  height: 2px;
  background: var(--gradient);
  display: none;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step-desc {
  color: var(--gray);
}

/* Testimonials */
.testimonials {
  padding: 6rem 0;
  background-color: white;
}

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

.testimonial-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

.author-info {
  margin-left: 1rem;
}

.author-name {
  font-weight: 700;
}

.author-title {
  font-size: 0.875rem;
  color: var(--gray);
}

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

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

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  opacity: 0.9;
}

.cta-btn {
  background-color: white;
  color: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: inline-block;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-info {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 30px;
  width: auto;
  margin-right: 10px;
}

.footer-logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
}

.footer-desc {
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: white;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .menu-toggle {
    display: block;
  }
  
  .nav-list {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: white;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    display: none;
  }
  
  .nav-list.active {
    display: flex;
  }
  
  .nav-list li {
    margin: 0.5rem 0;
    text-align: center;
  }
  
  .nav-btn {
    margin: 1rem auto 0;
    display: inline-block;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .step-card:not(:last-child)::after {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .step-card:not(:last-child)::after {
    display: block;
    transform: rotate(90deg);
    top: auto;
    right: 50%;
    bottom: -45px;
  }
}
