/* Base Styles */
:root {
  --primary: #FF6B6B;
  --secondary: #4ECDC4;
  --dark: #1A1A2E;
  --light: #FFFFFF;
  --gray: #F7F7F7;
  --text: #333333;
}

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

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background: var(--primary);
}

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

p {
  margin-bottom: 1rem;
}

/* Header */
header {
  background: var(--light);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

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

.accent {
  color: var(--primary);
}

.accent-text {
  color: var(--primary);
}

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

.nav-menu a {
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.nav-cta {
  background: var(--primary);
  color: var(--light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

.nav-cta:hover {
  background: var(--dark);
  color: var(--light) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 3px;
}

/* Hero Section */
#hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, rgba(26,26,46,0.05) 0%, rgba(78,205,196,0.1) 100%);
}

.hero-content {
  max-width: 550px;
  margin-bottom: 2rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--light);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

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

/* Features Section */
#features {
  padding: 5rem 0;
  background: var(--light);
}

#features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

#features h2::after {
  left: 50%;
  transform: translateX(-50%);
}

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

.feature {
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
  background: var(--gray);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  margin: 0 auto 1.5rem;
}

/* How It Works */
#how-it-works {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(255,107,107,0.05) 0%, rgba(78,205,196,0.1) 100%);
}

#how-it-works h2 {
  text-align: center;
  margin-bottom: 3rem;
}

#how-it-works h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
  padding: 2rem;
  background: var(--light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

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

/* Stats Section */
#stats {
  padding: 4rem 0;
  background: var(--dark);
  color: var(--light);
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.stat {
  flex: 1;
  min-width: 200px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.8;
}

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

#faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

#faq h2::after {
  left: 50%;
  transform: translateX(-50%);
}

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

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 1.5rem;
}

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

.faq-question h3 {
  color: var(--dark);
  margin: 0;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon:before,
.faq-icon:after {
  content: '';
  position: absolute;
  background: var(--primary);
  transition: transform 0.3s ease;
}

.faq-icon:before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-icon:after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.active .faq-icon:after {
  transform: rotate(90deg);
}

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

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

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

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

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

.footer-brand {
  font-weight: 700;
  font-size: 1.2rem;
}

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

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

.footer-column h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-column a {
  opacity: 0.7;
  transition: opacity 0.3s;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--light);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  
  .nav-menu.active {
    max-height: 300px;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  .nav-menu a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    max-width: 100%;
  }
  
  .footer-top {
    flex-direction: column;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .cta-group {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .stats-grid {
    flex-direction: column;
    gap: 2rem;
  }
}
