/* Base Styles */
:root {
  --primary-color: #f03e3e;
  --secondary-color: #364fc7;
  --accent-color: #f76707;
  --background-color: #ffffff;
  --text-color: #333333;
  --light-gray: #f1f3f5;
  --dark-gray: #495057;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 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.5rem;
  color: var(--primary-color);
}

h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 2rem;
}

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

p {
  margin-bottom: 1rem;
}

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

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

/* Header */
header {
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
  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: 180px;
  height: 30px;
}

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #364fc7 0%, #f03e3e 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.hero .description {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #e55c00;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

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

.feature-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

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

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

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 3rem 0;
}

.step {
  flex: 1;
  min-width: 250px;
  margin: 1rem;
  text-align: center;
  position: relative;
}

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

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

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

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

.faq-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f03e3e 0%, #364fc7 100%);
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
}

.cta-section .cta-button {
  margin-top: 2rem;
}

/* Footer */
footer {
  background-color: #212529;
  color: white;
  padding: 3rem 0 1rem;
}

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

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

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

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

footer h4 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

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

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

footer a {
  color: #dee2e6;
}

footer a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #495057;
}

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

/* Responsive Design */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  nav ul {
    flex-direction: column;
    text-align: right;
  }
  
  nav ul li {
    margin: 0 0 0.5rem 0;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
}
