/* CSS for nvxzqtrmlpka.life - Compras Seguras y Envíos */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
  --primary-color: #0f172a; /* Slate / Charcoal */
  --primary-light: #0284c7; /* Light Blue / Cyan */
  --secondary-color: #0ea5e9;
  --secondary-hover: #0369a1;
  --text-dark: #1e293b;
  --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: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', 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-hover);
}

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

/* Header & Nav */
header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

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

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

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

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

nav a {
  font-weight: 600;
  font-size: 0.9rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn-cta-nav {
  background-color: var(--primary-light);
  color: var(--text-light) !important;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
}

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

/* Hero Section */
.hero {
  padding: 90px 0;
  background-color: #0f172a; /* Slate Dark Background */
  color: var(--text-light);
  position: relative;
}

.hero h1 {
  color: var(--bg-white);
}

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

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

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 35px;
  color: #94a3b8;
}

.badge-free {
  display: inline-block;
  background-color: #38bdf8;
  color: #0f172a;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--bg-white);
  padding: 15px 32px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color var(--transition-speed);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

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

/* Security Shield graphic */
.shield-graphic {
  width: 250px;
  height: 250px;
  background-color: rgba(2, 132, 199, 0.15);
  border: 4px solid var(--primary-light);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(2, 132, 199, 0.3);
}

.shield-graphic-inner {
  font-size: 5rem;
  color: #38bdf8;
}

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

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

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

.feature-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: #f0f9ff;
  color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

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

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

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

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

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

.syllabus-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 4px solid var(--bg-card);
}

.syllabus-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

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

.register-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.register-card h2 {
  text-align: center;
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
}

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

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

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

.legal-content h1 {
  margin-bottom: 30px;
}

.legal-content h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 20px;
  color: #475569;
}

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

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

.contact-info h3 {
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Modal Popup Success */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  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: 40px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform var(--transition-speed);
}

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

.modal-icon {
  width: 70px;
  height: 70px;
  background-color: #f0f9ff;
  color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.modal-box h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.modal-box p {
  margin-bottom: 25px;
  color: #475569;
}

.btn-close {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 10px 25px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

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

/* Footer */
footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 50px 0 30px;
  border-top: 1px solid #1e293b;
}

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

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

.footer-nav a {
  color: #64748b;
  font-size: 0.9rem;
}

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

.footer-disclaimer {
  font-size: 0.75rem;
  color: #475569;
  text-align: center;
  max-width: 800px;
  line-height: 1.5;
  margin-top: 15px;
}

.footer-copy {
  font-size: 0.8rem;
  color: #475569;
}

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