/* Base styles and variables */
:root {
  --primary: #6A11CB;
  --secondary: #2575FC;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --dark: #333333;
  --light: #F8F9FA;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --shadow: 0 5px 15px rgba(106, 17, 203, 0.15);
  --border-radius: 10px;
  --transition: all 0.3s ease;
}

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

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

.wrapper {
  overflow: hidden;
  position: relative;
}

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

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

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

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

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

section {
  padding: 6rem 0;
  position: relative;
}

/* Section titles */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  font-size: 2.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient);
  border-radius: 5px;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(106, 17, 203, 0.2);
  color: white;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 0.9rem 1.9rem;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: var(--transition);
  margin-left: 1rem;
}

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

.btn-cta {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
  color: var(--primary);
}

/* Header */
header {
  padding: 1.2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

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

.logo span {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 100;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--gradient);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
  top: 0px;
}

.menu-toggle span:nth-child(2) {
  top: 9px;
}

.menu-toggle span:nth-child(3) {
  top: 18px;
}

.menu-toggle.active span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
}

nav ul li:not(:last-child) {
  margin-right: 2rem;
}

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

nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li .nav-btn {
  color: white;
  background: var(--gradient);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
}

nav ul li .nav-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

nav ul li .nav-btn::after {
  display: none;
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  z-index: 1;
}

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: auto;
}

/* Features Section */
.features {
  background-color: var(--light);
  padding-top: 5rem;
  padding-bottom: 6rem;
  position: relative;
}

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

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(106, 17, 203, 0.03), transparent);
  transform: rotate(45deg);
  z-index: -1;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(106, 17, 203, 0.1);
}

.feature-card:hover::before {
  animation: shine 1.5s;
}

@keyframes shine {
  0% {
    top: -50%;
    left: -50%;
  }
  100% {
    top: 150%;
    left: 150%;
  }
}

.feature-icon {
  margin-bottom: 1.5rem;
}

/* How It Works Section */
.how-it-works {
  padding-top: 6rem;
  padding-bottom: 7rem;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  position: relative;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 25px rgba(106, 17, 203, 0.1);
  background: white;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(106, 17, 203, 0.15);
}

.step-circle {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  position: relative;
  box-shadow: 0 10px 20px rgba(106, 17, 203, 0.2);
}

.cta-center {
  text-align: center;
  margin-top: 4rem;
}

/* Testimonials Section */
.testimonials {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: var(--light);
  position: relative;
}

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

.testimonial {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(106, 17, 203, 0.1);
}

.quote {
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--dark);
}

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

.user-info {
  flex: 1;
}

.user-info h4 {
  margin-bottom: 0.2rem;
  color: var(--primary);
}

.user-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--gray);
}

/* FAQ Section */
.faq {
  padding-top: 6rem;
  padding-bottom: 7rem;
}

.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: 0 10px 25px rgba(106, 17, 203, 0.1);
}

.faq-question {
  padding: 1.5rem 2rem;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  width: 25px;
  height: 25px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 0;
  padding-bottom: 3px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: white;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* CTA Section */
.cta {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background: var(--gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  z-index: 0;
  animation: backgroundMove 30s linear infinite;
}

@keyframes backgroundMove {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: white;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

/* Footer */
footer {
  padding-top: 5rem;
  padding-bottom: 2rem;
  background-color: var(--dark);
  color: white;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo p {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: white;
  font-weight: 600;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient);
}

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

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

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

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

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1100px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .testimonials-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 99;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  
  nav ul li {
    margin: 1.5rem 0 !important;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 4rem 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}
