/* Base Styles */
:root {
  --primary-color: #f12711;
  --secondary-color: #f5af19;
  --tertiary-color: #ff8c00;
  --background-color: #fafafa;
  --card-bg: #ffffff;
  --text-color: #333333;
  --light-gray: #f1f3f5;
  --dark-gray: #555555;
  --border-radius: 10px;
  --box-shadow: 0 5px 15px rgba(241, 39, 17, 0.1);
}

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

body {
  font-family: 'Montserrat', 'Helvetica', 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(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  display: block;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 10px auto 0;
  border-radius: 2px;
}

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

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

p {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

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

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

/* Header */
header {
  background-color: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  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.menu {
  display: flex;
  list-style-type: none;
}

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

nav ul.menu li a {
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

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

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

/* Mobile menu */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.7) 100%);
}

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

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero-graphic {
  flex: 1;
  max-width: 400px;
}

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

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--tertiary-color);
}

.hero .description {
  max-width: 600px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(241, 39, 17, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(241, 39, 17, 0.4);
  color: white;
  background: linear-gradient(90deg, var(--tertiary-color), var(--primary-color));
}

/* Features Section */
.features {
  padding: 5rem 0;
  text-align: center;
}

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

.feature-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0.1;
  z-index: -1;
  transition: transform 0.5s ease;
}

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

.feature-card:hover::before {
  transform: scale(10);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

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

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  margin: 4rem 0;
  position: relative;
  flex-wrap: wrap;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 1;
}

.step {
  flex: 1;
  min-width: 230px;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: 0 5px 15px rgba(241, 39, 17, 0.2);
}

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

/* FAQ Section */
.faq {
  padding: 5rem 0;
}

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

.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.accordion-button {
  width: 100%;
  padding: 1.5rem;
  background-color: var(--card-bg);
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.accordion-button::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.accordion-button.active::after {
  content: '−';
}

.accordion-button:hover {
  background-color: rgba(245, 175, 25, 0.05);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background-color: var(--card-bg);
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding: 0 1.5rem 1.5rem;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-section h2 {
  color: white;
}

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

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-section .cta-button {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.cta-section .cta-button:hover {
  background: white;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  padding: 4rem 0 2rem;
}

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

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

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

footer h4 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

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

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

footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

footer a:hover {
  color: white;
  padding-left: 5px;
}

.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: 992px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-graphic {
    max-width: 300px;
  }
  
  .steps-container::before {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .menu-icon {
    display: block;
  }
  
  nav ul.menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  
  nav ul.menu li {
    margin: 0;
    text-align: center;
    padding: 0.5rem 0;
  }
  
  #menu-toggle:checked ~ ul.menu {
    display: flex;
  }
  
  .step {
    flex-basis: 100%;
  }
}

@media screen and (max-width: 480px) {
  .cta-button {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }
}
