/* Base Styles */
:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --accent-color: #00b09b;
  --dark-accent: #7F00FF;
  --background-color: #f9f9f9;
  --card-bg: #ffffff;
  --text-color: #333333;
  --text-light: #666666;
  --border-radius: 12px;
  --box-shadow: 0 8px 20px rgba(106, 17, 203, 0.15);
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.75em;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.8rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

h4 {
  color: var(--secondary-color);
  margin-bottom: 1.2rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

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

/* Header */
header {
  background-color: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

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

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

.logo-svg {
  width: 200px;
  height: 30px;
}

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

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  font-weight: 600;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.9) 0%, rgba(37, 117, 252, 0.9) 100%);
  color: white;
  padding: 6rem 0 4rem;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
  margin-bottom: 3rem;
}

.hero h1 {
  color: white;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero .description {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  color: white;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 176, 155, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 176, 155, 0.6);
  color: white;
}

/* Features Section */
.features {
  padding: 5rem 0 7rem;
  position: relative;
}

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

.feature-card {
  background-color: var(--card-bg);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--background-color) 0%, rgba(249, 249, 249, 0.7) 100%);
}

.process-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4rem 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 1.5rem;
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.step-arrow {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-arrow svg {
  width: 100%;
  height: 100%;
}

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

/* Demo Section */
.demo {
  padding: 5rem 0;
  background-color: var(--card-bg);
}

.demo-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.demo-visual {
  max-width: 800px;
  margin: 0 auto;
}

.demo-svg {
  width: 100%;
  height: auto;
  max-height: 400px;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: var(--background-color);
}

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

.faq-item {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

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

.faq-question h3 {
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--secondary-color);
  font-weight: bold;
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 2rem 1.5rem;
  max-height: 500px;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
}

.cta-section h2 {
  color: white;
}

.cta-section h2::after {
  background: white;
}

.cta-section .cta-button {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  margin-top: 2rem;
}

.cta-section .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
  background-color: #1a1a2e;
  color: white;
  padding: 4rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
  margin-bottom: 2rem;
}

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

.footer-links, .footer-legal {
  flex: 1;
  min-width: 200px;
  margin-bottom: 2rem;
}

footer ul {
  list-style-type: none;
}

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

footer a {
  color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
  color: white;
}

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

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

/* Responsive Design */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  header .container {
    flex-direction: column;
  }
  
  nav {
    margin-top: 1rem;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 1rem;
  }
  
  .process-flow {
    flex-direction: column;
  }
  
  .step-arrow {
    transform: rotate(90deg);
    margin: 1rem 0;
  }
  
  .feature-grid {
    gap: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .cta-button {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0.5rem;
  }
}
