/* Base Settings */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #d32f2f;
  --secondary-color: #1976d2;
  --dark-blue: #0d47a1;
  --light-blue: #bbdefb;
  --light-red: #ffcdd2;
  --dark-color: #212121;
  --light-color: #f5f5f5;
  --background: #fafafa;
  --text-color: #212121;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --card-gradient: linear-gradient(145deg, #ffffff, #f5f5f5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

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

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

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

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 4.5rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.5rem 3.5rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--light-color);
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(211, 47, 47, 0.4);
  color: var(--light-color);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--light-color);
  box-shadow: 0 4px 10px rgba(25, 118, 210, 0.3);
}

.btn-secondary:hover {
  background: #0d47a1;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(25, 118, 210, 0.4);
  color: var(--light-color);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Header */
.header {
  background-color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark-color);
  gap: 1rem;
}

.logo-icon {
  width: 4rem;
  height: 4rem;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--dark-color);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

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

.menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 6px 0;
  background-color: var(--dark-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 18rem 0 12rem;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  color: var(--light-color);
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M11 18l28-14l28 14v28l-28 14l-28-14z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-size: 150px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Section */
.features {
  padding: 10rem 0;
  background-color: var(--background);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title h2 {
  display: inline-block;
  position: relative;
}

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

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

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 4rem 3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

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

.feature-icon {
  width: 7rem;
  height: 7rem;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-blue);
  color: var(--secondary-color);
  border-radius: 50%;
  font-size: 3rem;
}

.feature-card:nth-child(odd) .feature-icon {
  background: var(--light-red);
  color: var(--primary-color);
}

.feature-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.feature-desc {
  font-size: 1.5rem;
  color: #666;
}

/* How It Works */
.how-it-works {
  padding: 10rem 0;
  background-color: white;
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--background);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--background);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.steps-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  margin-bottom: 8rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: white;
  font-size: 2.4rem;
  font-weight: 700;
  border-radius: 50%;
  margin-right: 3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.step-content h3 {
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

.step-content p {
  color: #666;
}

/* CTA Section */
.cta {
  background: var(--gradient);
  padding: 10rem 0;
  color: white;
  text-align: center;
  position: relative;
}

.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 5l25 45H5L30 5z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 60px;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  margin-bottom: 2rem;
}

.cta p {
  margin-bottom: 4rem;
  font-size: 1.8rem;
  opacity: 0.9;
}

.cta .btn {
  background: white;
  color: var(--primary-color);
  font-weight: 700;
  padding: 1.8rem 4rem;
  font-size: 1.8rem;
}

.cta .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

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

.accordion {
  margin-top: 5rem;
}

.accordion-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  padding: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--dark-color);
}

.accordion-header:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

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

.accordion-icon:before,
.accordion-icon:after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  transition: all 0.3s ease-in-out;
}

.accordion-icon:before {
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
}

.accordion-icon:after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
}

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

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 2rem;
}

.accordion-item.active .accordion-content {
  max-height: 50rem;
  padding-bottom: 2rem;
}

/* Footer */
.footer {
  background: #212121;
  color: white;
  padding: 8rem 0 2rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
}

.footer-logo svg {
  width: 40px;
  height: 40px;
}

.footer-about p {
  opacity: 0.7;
  margin-bottom: 2rem;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  position: relative;
}

.footer-heading:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.footer-links li {
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.4rem;
  opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp 0.6s forwards;
}

/* Media Queries */
@media screen and (max-width: 991px) {
  html {
    font-size: 58%;
  }
  
  .header-container {
    height: 7rem;
  }
  
  h1 {
    font-size: 4rem;
  }
  
  h2 {
    font-size: 3.2rem;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10rem 3rem 3rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    gap: 2rem;
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: 1.8rem;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 9px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -9px);
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 50%;
  }
  
  h1 {
    font-size: 3.6rem;
  }
  
  .section-title h2 {
    font-size: 3rem;
  }
  
  .feature-card {
    padding: 3rem 2rem;
  }
  
  .footer {
    padding-top: 6rem;
  }
}
