/* Base Styles */
:root {
  --primary: #AA151B;
  --secondary: #F1BF00;
  --dark: #1A1A1A;
  --light: #F8F8F8;
  --gray: #6C6C6C;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --section-padding: 5rem 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

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

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

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

.text-center {
  text-align: center;
}

.section-title {
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(170, 21, 27, 0.25);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--gradient);
  color: var(--white);
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header.sticky {
  padding: 0.8rem 0;
}

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

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

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-list {
  display: flex;
  gap: 2rem;
}

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

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

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

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

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--dark);
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(170, 21, 27, 0.9), rgba(241, 191, 0, 0.8));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

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

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

.feature-item {
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  background-color: var(--light);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.feature-item::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  background: var(--gradient);
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: right;
}

.feature-item:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.feature-icon {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
}

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

/* How It Works */
.how-works {
  padding: var(--section-padding);
  background-color: var(--light);
}

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

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

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

.step-title {
  margin-bottom: 1rem;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 50%;
  background: var(--secondary);
  top: 25px;
  left: 75%;
  opacity: 0.5;
}

/* Testimonials */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--white);
}

.testimonial {
  padding: 2.5rem;
  border-radius: var(--border-radius);
  background-color: var(--light);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -15px;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-name {
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.testimonial-position {
  color: var(--gray);
  font-size: 0.9rem;
}

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

.cta-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-text {
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta .btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  padding: 5rem 0 2rem;
  background-color: var(--dark);
  color: var(--white);
}

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

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

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

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

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

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

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.copyright {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideUp 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-list {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 1.5rem;
    transition: var(--transition);
    z-index: 100;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .btn-large {
    padding: 12px 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
