/* CSS for rqmtzvxnlpka.life - Logística E-commerce */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary-color: #1e1b4b; /* Deep Indigo */
  --primary-light: #4338ca;
  --secondary-color: #f97316; /* Coral / Orange */
  --secondary-hover: #ea580c;
  --text-dark: #0f172a;
  --text-light: #f8fafc;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #f1f5f9;
  --border-color: #e2e8f0;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
}

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

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

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

/* Header & Nav */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
}

.logo span {
  color: var(--secondary-color);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: #475569;
}

nav a:hover, nav a.active {
  color: var(--primary-light);
}

.btn-cta-nav {
  background-color: var(--secondary-color);
  color: var(--text-light) !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(249, 115, 22, 0.2);
}

.btn-cta-nav:hover {
  background-color: var(--secondary-hover);
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background: radial-gradient(circle at 10% 20%, rgba(248, 250, 252, 1) 0%, rgba(238, 242, 255, 1) 90%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  color: #334155;
}

.badge-free {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--bg-white);
  padding: 5px 14px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 16px 36px;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(30, 27, 75, 0.15);
  transition: transform var(--transition-speed), background-color var(--transition-speed);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  color: var(--bg-white);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Simulated interactive cargo diagram */
.cargo-graphic {
  width: 100%;
  max-width: 380px;
  height: 280px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cargo-node {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
  border: 1px dashed var(--border-color);
}

.cargo-node.active {
  border-style: solid;
  border-color: var(--primary-light);
  background-color: #e0e7ff;
}

.cargo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.cargo-node.active .cargo-dot {
  background-color: var(--secondary-color);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(249, 115, 22, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* Features */
.features {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.section-title span {
  color: var(--secondary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-white);
  padding: 45px 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
}

.feature-icon {
  width: 55px;
  height: 55px;
  background-color: #fff7ed;
  color: var(--secondary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Syllabus / Temario */
.syllabus {
  padding: 100px 0;
  background-color: var(--bg-card);
}

.syllabus-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.syllabus-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--border-color);
}

.syllabus-item {
  position: relative;
  margin-bottom: 50px;
}

.syllabus-item::before {
  content: '';
  position: absolute;
  left: -48px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-light);
  border: 4px solid var(--bg-card);
  box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.15);
}

.syllabus-item h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

/* Registration Form Section */
.register {
  padding: 100px 0;
}

.register-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
  max-width: 650px;
  margin: 0 auto;
  padding: 50px;
}

.register-card h2 {
  text-align: center;
  margin-bottom: 35px;
  font-size: 2rem;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #334155;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.1);
}

.btn-block {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}

.privacy-notice {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 20px;
  text-align: center;
}

/* Legal Pages Styling */
.legal-content {
  padding: 100px 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 35px;
  font-size: 2.75rem;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.65rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 25px;
  color: #475569;
  font-size: 1.1rem;
}

.legal-content ul {
  padding-left: 25px;
}

/* Contact Page Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info h3 {
  margin-bottom: 20px;
  font-size: 1.35rem;
}

.contact-info p {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #475569;
}

/* Modal Popup Success */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-speed), visibility var(--transition-speed);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: var(--bg-white);
  padding: 50px;
  border-radius: 12px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform var(--transition-speed);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-icon {
  width: 80px;
  height: 80px;
  background-color: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.5rem;
}

.modal-box h3 {
  margin-bottom: 20px;
  font-size: 1.75rem;
}

.modal-box p {
  margin-bottom: 30px;
  color: #475569;
  font-size: 1.05rem;
}

.btn-close {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

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

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #94a3b8;
  padding: 60px 0 40px;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.footer-nav {
  display: flex;
  gap: 30px;
  list-style: none;
}

.footer-nav a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--bg-white);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  max-width: 850px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid, .features-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  header .container {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
    gap: 20px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}
