body, html {
  width: 100%;
  overflow-x: hidden;
  background: #1a2230;
  color: #f4f6fa;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}
header, footer {
  width: 100vw;
  box-sizing: border-box;
  margin: 0;
  left: 0;
  right: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
footer{
  padding: 1.2rem 2rem 1.2rem 2rem !important;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: bold;
}
.logo img {
  height: 40px;
  margin-right: 10px;
}
.red { color: #e53935; }
nav a {
  color: #f4f6fa;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.2s;
}


nav a:hover { color: #e53935; }

.header-container{
  background: linear-gradient(135deg, #1a2230 0%, #2d3748 100%);
}

.header-container::before {
  background: radial-gradient(circle at center, rgba(229, 57, 53, 0.1) 0%, transparent 70%);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  padding: 0 2rem;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
 
  pointer-events: none;
}
.hero-content {
  max-width: 1000px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.hero .subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}
.btn {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background: #e53935;
  color: #fff;
  border: none;
}
.btn-primary:hover {
  background: #c62828;
  transform: translateY(-2px);
}
.btn-secondary {
  background: #fff;
  color: #1a2230;
  border: none;
}
.btn-secondary:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}
.planes {
  background: #1a2230;
  padding: 6rem 2rem;
}

.plans-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.plan-card {
  background: #2d3748;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 2rem 1.5rem;
  width: 400px;
  text-align: center;
  transition: transform 0.2s;
}
.plan-card.destacado {
  border: 2px solid #e53935;
  transform: scale(1.05);
}
.plan-card h2 {
  margin-top: 0;
  color: #e53935;
}
.price {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
}
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem 0;
}
.plan-card li {
  margin: 0.5rem 0;
}
button, .btn {
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
button:hover, .btn:hover {
  background: #b71c1c;
}
.info, .faq {
  max-width: 700px;
  margin: 2rem auto;
  background: #2d3748;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px #0002;
}
.info ul {
  margin-top: 1rem;
}
pre {
  background: #1a2230;
  color: #f4f6fa;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
}
footer {
  background: #1a2230;
  color: #f4f6fa;
  text-align: center;
  padding: 1.2rem 0 0.7rem 0;
  margin-top: 3rem;
}
.footer-links a {
  color: #f4f6fa;
  text-decoration: underline;
  font-size: 0.95rem;
  margin: 0 0.5rem;
}
.white-links{
  color: #f4f6fa;
  text-decoration: underline;
  font-size: 0.95rem;
}
.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}
@media (max-width: 900px) {
  .planes { flex-direction: column; align-items: center; }
  .plan-card { width: 90%; }
  header {
    flex-direction: column;
    padding: 1rem;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
  }

  nav a {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    width: 100%;
    text-align: center;
  }

  .logo {
    margin-bottom: 0.5rem;
  }
}

#emailModal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
}
#emailModalContent {
  background: #2d3748;
  color: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.7), 0 0 0 4px #e53935cc;
  min-width: 340px;
  text-align: center;
  border: 2.5px solid #e53935;
  animation: modalPop 0.25s cubic-bezier(.4,1.6,.6,1) both;
}

@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

#emailModal h2 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e53935;
  display: inline-block;
  padding-bottom: 4px;
}

#emailModal input[type="email"] {
  width: 90%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 12px;
  font-size: 1rem;
}
#emailModal button {
  margin: 0 8px;
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  background: #e53935;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
#emailModal button:hover {
  background: #b71c1c;
}

#loadingOverlay {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,32,40,0.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.spinner {
  border: 6px solid #eee;
  border-top: 6px solid #e53935;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

body.centered {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main.centered {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
footer {
  flex-shrink: 0;
}

.stats {
  background: linear-gradient(180deg, #1a2230 0%, #232b3a 100%);
  padding: 4rem 2rem;
  position: relative;
}

.stat-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #f4f6fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #f4f6fa;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .stat-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #1a2230;
}

.section-title-white {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #f4f6fa;
}

.about {
  padding: 6rem 2rem;
  background: #fff;
  color: #1a2230;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.about-item p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #2d3748;
  opacity: 0.9;
}

.features {
  padding: 6rem 2rem;
  background: #fff;
  color: #1a2230;
}

.features-header {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.features-icon {
  width: 40px;
  height: 40px;
  opacity: 0.7;
}

.features-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  max-width: fit-content;
}

.checkmark {
  color: #4CAF50;
  font-size: 1.4rem;
  line-height: 1;
}

.feature-item p {
  color: #2d3748;
  opacity: 0.9;
  line-height: 1.4;
  margin: 0;
  text-align: left;
}

@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .features {
    padding: 4rem 1.5rem;
  }

  .feature-item {
    font-size: 1.1rem;
  }
}

.trust, .privacy, .research {
  padding: 6rem 2rem;
  background: #fff;
}

.trust-items, .privacy-items {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.trust-item, .privacy-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.trust-icon, .privacy-icon {
  width: 48px;
  height: 48px;
  opacity: 0.9;
}

.trust-item p, .privacy-item p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #2d3748;
}

.disclaimer {
  max-width: 800px;
  margin: 4rem auto 0;
  text-align: center;
  font-size: 1rem;
  color: #666;
  font-style: italic;
}

.research {
  background: #1a2230;
}

.research .section-title {
  color: #fff;
}

.research-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.research-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f4f6fa;
  margin: 1rem 0;
}

.highlight {
  color: #e53935;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.highlight:hover {
  color: #c62828;
}

@media (max-width: 900px) {
  .trust-items, .privacy-items {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #f4f6fa;
  cursor: pointer;
}

@media (max-width: 900px) {

  .hero {
    align-items: flex-start;
  }
  .nav-toggle {
    display: block;
    position: absolute;
    right: 2rem;
    top: 0.3rem;
    z-index: 1001;
  }
  nav {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    background: #1a2230;
    position: absolute;
    left: 0;
    top: 60px;
    z-index: 1000;
  }
  nav.open {
    display: flex;
  }
}

#card-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
}

#card-modal .modal-content {
  background: #2d3748;
  color: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.7), 0 0 0 4px #e53935cc;
  min-width: 340px;
  text-align: center;
  border: 2.5px solid #e53935;
  animation: modalPop 0.25s cubic-bezier(.4,1.6,.6,1) both;
}

@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

#card-element {
  background: #232b3a;
  border-radius: 8px;
  padding: 14px 12px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px #0002;
  border: 1.5px solid #e53935;
  min-width: 260px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

.StripeElement {
  width: 100% !important;
  color: #f4f6fa;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

#card-modal .modal-content label {
  display: block;
  margin-bottom: 6px;
  color: #f4f6fa;
  font-weight: 500;
  text-align: left;
  font-size: 1rem;
  margin-left: 8px;
} 