:root {
  --primary: #E3405E;
  --secondary: #5333ED;
  --dark: #1C1C24;
  --light: #F9F9FA;
  --white: #FFFFFF;
  --gradient: linear-gradient(to right, var(--primary), var(--secondary));
  --gradient-hover: linear-gradient(to right, #D13050, #4428D3);
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
  display: inline-block;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(28, 28, 36, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: var(--transition);
}

header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.logo svg {
  flex-shrink: 0;
}

.logo small {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.85em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  padding: 0.5rem 0.25rem;
}

.nav-menu a:not(.cta-button-sm)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

.nav-menu a:hover:not(.cta-button-sm) {
  opacity: 1;
}

.nav-menu a:hover:not(.cta-button-sm)::after {
  width: 100%;
}

.cta-button-sm {
  background: var(--gradient);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  transition: var(--transition);
}

.cta-button-sm:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(227, 64, 94, 0.3);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1010;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--white);
  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: 10px;
}

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

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

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

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

/* Hero Section */
#hero {
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 64, 94, 0.15) 0%, rgba(227, 64, 94, 0) 70%);
  z-index: -1;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 51, 237, 0.15) 0%, rgba(83, 51, 237, 0) 70%);
  z-index: -1;
}

.hero-content {
  max-width: 550px;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button-main {
  background: var(--gradient);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(227, 64, 94, 0.3);
  display: inline-block;
}

.cta-button-main:hover {
  background: var(--gradient-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(227, 64, 94, 0.4);
}

.cta-button-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary);
  display: inline-block;
}

.cta-button-secondary:hover {
  border-color: transparent;
  background: var(--gradient);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(227, 64, 94, 0.25);
}

.hero-visual {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* How It Works Section */
#how-it-works {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 4rem;
}

.step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
  flex: 1;
  text-align: center;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}

.step:hover::before {
  opacity: 0.05;
}

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

/* Features Section */
#features {
  padding: 100px 0;
  background-color: rgba(255, 255, 255, 0.02);
}

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

.feature-card {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.feature-card svg {
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 0;
}

/* Stats Section */
#stats {
  padding: 80px 0;
}

.stats-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  min-width: 200px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.7;
}

/* FAQs Section */
#faqs {
  padding: 100px 0;
}

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

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding-right: 3rem;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  padding: 0 1.5rem;
  opacity: 0.8;
}

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

/* CTA Section */
#cta {
  padding: 80px 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  margin: 0 1rem 100px;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 64, 94, 0.15) 0%, rgba(227, 64, 94, 0) 70%);
  z-index: -1;
}

#cta::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 51, 237, 0.15) 0%, rgba(83, 51, 237, 0) 70%);
  z-index: -1;
}

#cta h2 {
  margin-bottom: 1rem;
}

#cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.8;
}

/* Footer */
footer {
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.footer-site {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.footer-tagline {
  opacity: 0.6;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-links-column h3 {
  color: var(--primary);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-links-column a:hover {
  opacity: 1;
  color: var(--primary);
}

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

.footer-bottom p {
  opacity: 0.5;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .steps {
    flex-direction: column;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .step {
    width: 100%;
  }
  
  .stats-wrapper {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--dark);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out;
    z-index: 1000;
    padding: 80px 2rem 2rem;
  }
  
  nav.active {
    right: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .nav-menu a {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-button-main, .cta-button-secondary {
    width: 100%;
    text-align: center;
  }
  
  .footer-links {
    gap: 2rem;
    flex-direction: column;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-wrapper {
    flex-direction: column;
  }
  
  .feature-card, .stat-box {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}
