/* Base Styles */
:root {
  --primary-color: #FF5722;
  --primary-light: #FFCCBC;
  --primary-dark: #E64A19;
  --secondary-color: #2196F3;
  --secondary-light: #BBDEFB;
  --secondary-dark: #1976D2;
  --text-color: #333333;
  --text-light: #757575;
  --bg-color: #FFFFFF;
  --bg-light: #F5F5F5;
  --bg-dark: #EEEEEE;
  --accent: #FFC107;
  --success: #4CAF50;
  --warning: #FF9800;
  --error: #F44336;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

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

section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

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

.primary-btn {
  display: inline-block;
  padding: 14px 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  color: white;
}

.secondary-btn {
  display: inline-block;
  padding: 14px 30px;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

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

/* Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 0;
  font-size: 0.9rem;
  text-align: center;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

.brand-icon {
  margin-right: 10px;
}

.brand h1 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
}

.main-nav li {
  margin-left: 25px;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-button {
  background-color: var(--primary-color);
  color: white !important;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.menu-btn {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.menu-btn .bar {
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
  padding: 120px 0 80px;
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 15px;
}

.hero-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Features Section */
.features-section {
  background-color: var(--bg-light);
}

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

.feature-box {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.feature-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.feature-box h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* How It Works Section */
.how-section {
  background-color: white;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.step-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
  padding: 0 15px;
  margin-bottom: 30px;
}

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

.step-arrow {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 0 5px 30px;
  display: flex;
  align-items: center;
}

.cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-dark);
  padding: 100px 0;
}

.testimonials-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  min-width: 300px;
  flex: 1;
}

.testimonial-rating {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.testimonial-author {
  font-weight: bold;
  text-align: right;
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-light);
}

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

.accordion-item {
  background-color: white;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.accordion-content {
  height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active .accordion-content {
  height: auto;
  padding: 0 20px 20px;
}

/* CTA Section */
.cta-section {
  background-color: white;
}

.cta-box {
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  padding: 60px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

.cta-box h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.cta-box p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .primary-btn {
  background-color: white;
  color: var(--primary-color);
}

.cta-box .primary-btn:hover {
  background-color: var(--bg-light);
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

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

.footer-icon {
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-tagline {
  font-weight: normal !important;
  font-size: 1rem !important;
  color: #999;
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  display: flex;
  justify-content: space-between;
  color: #777;
}

/* Media Queries */
@media screen and (max-width: 992px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .menu-btn {
    display: flex;
  }
  
  .main-nav ul {
    position: absolute;
    flex-direction: column;
    background-color: white;
    width: 100%;
    top: 100%;
    left: 0;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .main-nav ul.active {
    max-height: 300px;
  }
  
  .main-nav li {
    margin: 10px 0;
  }
  
  .menu-btn.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-btn.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-btn.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero-section .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .steps-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .step-arrow {
    transform: rotate(90deg);
    margin: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-box {
    padding: 40px 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    min-width: 260px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-box, .step-item, .testimonial-card {
  animation: fadeIn 0.6s ease forwards;
}

.feature-box:nth-child(2), .step-item:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-box:nth-child(3), .step-item:nth-child(5) {
  animation-delay: 0.4s;
}

.feature-box:nth-child(4), .step-item:nth-child(7) {
  animation-delay: 0.6s;
}
