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

/* Colombian Color Variables */
:root {
  --colombian-yellow: #FCD116;
  --colombian-blue: #003893;
  --colombian-red: #CE1126;
  --colombian-dark: #1A1A1A;
  --colombian-light: #FFFFFF;
  --colombian-accent: #47C2BE;
  --colombian-light-gray: #f9f9f9;
  --colombian-medium-gray: #e5e5e5;
  --colombian-dark-gray: #666666;
  
  /* Other Variables */
  --gradient-primary: linear-gradient(135deg, var(--colombian-yellow), var(--colombian-blue) 50%, var(--colombian-red));
  --gradient-secondary: linear-gradient(to right, var(--colombian-yellow), var(--colombian-accent));
  --shadow-sm: 0 3px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --transition: all 0.35s ease;
  
  /* Typography */
  --font-heading: 'Bitter', serif;
  --font-body: 'Poppins', sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--colombian-dark);
  background-color: var(--colombian-light);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--colombian-red);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--colombian-dark);
}

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 90%;
  max-width: 124rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.5rem 3.5rem;
  font-family: var(--font-body);
  font-size: 1.7rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--colombian-blue);
  color: var(--colombian-light);
}

.btn-primary:hover {
  background: #002d78;
}

.btn-secondary {
  background: var(--colombian-red);
  color: var(--colombian-light);
}

.btn-secondary:hover {
  background: #b30e20;
}

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

.btn-outline:hover {
  background: var(--colombian-yellow);
  color: var(--colombian-dark);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.2rem 0;
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  padding: 1.5rem 0;
  box-shadow: var(--shadow-md);
}

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

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

.logo svg {
  width: 4.5rem;
  height: 4.5rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--colombian-dark);
  letter-spacing: -0.5px;
}

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

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

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -5px;
  left: 0;
  background: var(--gradient-secondary);
  transition: width 0.4s ease;
  border-radius: 3px;
}

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

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

.nav-cta {
  margin-left: 3rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  cursor: pointer;
  width: 3.2rem;
  height: 2.5rem;
  position: relative;
  z-index: 2000;
}

.mobile-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--colombian-dark);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .35s ease-in-out;
}

.mobile-toggle span:nth-child(1) {
  top: 0;
}

.mobile-toggle span:nth-child(2) {
  top: 10px;
}

.mobile-toggle span:nth-child(3) {
  top: 20px;
}

.mobile-toggle.open span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-toggle.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 20rem 0 15rem;
  background: var(--colombian-dark);
  color: var(--colombian-light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(252,209,22,0.15) 0%, rgba(0,56,147,0.15) 50%, rgba(206,17,38,0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 75rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--colombian-yellow);
  color: var(--colombian-dark);
  border-radius: 30px;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
}

.hero-title {
  font-size: 5.2rem;
  margin-bottom: 2.5rem;
  color: var(--colombian-light);
}

.hero-description {
  font-size: 1.9rem;
  margin-bottom: 4rem;
  opacity: 0.85;
}

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

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

.features::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15rem;
  background-image: linear-gradient(to top, rgba(249, 249, 249, 0.8), transparent);
  z-index: 1;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 7rem;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--colombian-blue);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: rgba(0, 56, 147, 0.1);
  border-radius: 30px;
}

.section-title {
  font-size: 4.2rem;
  margin-bottom: 2rem;
}

.section-description {
  font-size: 1.8rem;
  color: var(--colombian-dark-gray);
  max-width: 75rem;
  margin: 0 auto;
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  margin-top: 6rem;
}

.feature-card {
  flex: 1 1 35rem;
  max-width: 40rem;
  padding: 4rem 3rem;
  background-color: var(--colombian-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.5rem;
  background: var(--gradient-primary);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  margin-bottom: 2.5rem;
}

.feature-icon svg {
  width: 7rem;
  height: 7rem;
  color: var(--colombian-blue);
  transition: var(--transition);
}

.feature-card:hover .feature-icon svg {
  transform: scale(1.1);
}

.feature-title {
  font-size: 2.4rem;
  margin-bottom: 1.8rem;
}

.feature-description {
  font-size: 1.6rem;
  color: var(--colombian-dark-gray);
}

/* How It Works Section */
.how-it-works {
  padding: 12rem 0;
  background-color: var(--colombian-light-gray);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(252, 209, 22, 0.05) 0%, transparent 50%), 
                    radial-gradient(circle at 90% 80%, rgba(0, 56, 147, 0.05) 0%, transparent 50%);
}

.steps-container {
  position: relative;
  z-index: 1;
  margin-top: 6rem;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6rem;
  padding: 3rem;
  background-color: var(--colombian-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.step-number {
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  background-color: var(--colombian-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--colombian-dark);
  margin-right: 3rem;
  position: relative;
  z-index: 1;
}

.step-content {
  flex-grow: 1;
}

.step-title {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.step-description {
  font-size: 1.6rem;
  color: var(--colombian-dark-gray);
}

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

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

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

.cta-title {
  font-size: 4.2rem;
  margin-bottom: 2rem;
  color: var(--colombian-light);
}

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

.cta .btn {
  background-color: var(--colombian-light);
  color: var(--colombian-blue);
  font-weight: 700;
  padding: 1.5rem 4rem;
}

.cta .btn:hover {
  background-color: var(--colombian-yellow);
  color: var(--colombian-dark);
}

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

.faq-container {
  max-width: 80rem;
  margin: 6rem auto 0;
}

.faq-item {
  margin-bottom: 2.5rem;
  background-color: var(--colombian-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--colombian-blue);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question h3 {
  font-size: 1.8rem;
  font-weight: 600;
  padding-right: 2rem;
}

.faq-toggle {
  font-size: 2.4rem;
  color: var(--colombian-blue);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 2.2rem 2.2rem;
  color: var(--colombian-dark-gray);
  font-size: 1.6rem;
}

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

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

.footer-info {
  max-width: 40rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.footer-logo svg {
  width: 5rem;
  height: 5rem;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--colombian-light);
}

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

.footer-heading {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--colombian-light);
  position: relative;
  padding-bottom: 1.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4rem;
  height: 2px;
  background: var(--colombian-yellow);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

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

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

/* Media Queries */
@media (max-width: 1200px) {
  html {
    font-size: 58%;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 56%;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .section-title {
    font-size: 3.8rem;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 54%;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 30rem;
    height: 100vh;
    background-color: var(--colombian-light);
    padding: 12rem 3rem 3rem;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s ease-in-out;
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 2.5rem;
    margin-bottom: 4rem;
  }
  
  .nav-cta {
    margin-left: 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 52%;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-badge {
    font-size: 1.4rem;
  }
  
  .section-title {
    font-size: 3.5rem;
  }
  
  .cta-title {
    font-size: 3.8rem;
  }
  
  .feature-card {
    padding: 3rem 2rem;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}
