/* Reset básico y tipografía */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Variables de color */
:root {
    --primary-color: #4285f4;
    --secondary-color: #34c759;
    --accent-color: #fbbc05;
    --text-color: #333;
    --light-gray: #e0e0e0;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header y Navegación */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.cta-button a {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button a:hover {
    background-color: #3267d6;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.primary-btn:hover {
    background-color: #3267d6;
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.hero-image {
    text-align: center;
}

#demo-animation svg {
    max-width: 100%;
    height: auto;
}

/* Nuestra Historia */
.historia {
    background-color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.historia h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.historia p {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* Social Proof */
.social-proof {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
    text-align: center;
}

.social-proof h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.social-proof-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: left;
}

.testimonial-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.testimonial-stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.testimonial-card p {
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-card strong {
    color: var(--text-color);
    font-weight: 500;
}

/* Objections */
.objections {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.objections h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.objection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.objection-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.objection-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.objection-header i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.objection-card h3 {
    font-size: 1.2rem;
}

/* Comparison */
.comparison {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.comparison h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-header, .comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    text-align: center;
}

.comparison-header .column {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    font-weight: 700;
}

.comparison-row .column {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.highlight {
    background-color: #eef4ff;
}

/* Results */
.results {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.results h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.result-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.result-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.result-stats {
    margin: 1rem 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Features */
.features {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.features h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Zigzag */
.zigzag {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.zigzag h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.zigzag-row:nth-child(even) .zigzag-content {
    order: 2;
}

.zigzag-row:nth-child(even) .zigzag-image {
    order: 1;
}

.zigzag-image i {
    font-size: 4rem;
    color: var(--primary-color);
    text-align: center;
    display: block;
}

/* How It Works */
.how-it-works {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.how-it-works h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Neuromarketing */
.neuromarketing {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.neuromarketing h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.neuromarketing ul {
    list-style: none;
    max-width: 800px;
    margin: 1rem auto;
}

.neuromarketing ul li {
    margin-bottom: 1rem;
}

.neuromarketing ul li strong {
    color: var(--primary-color);
}

/* Target */
.target {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.target h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.target-content {
    max-width: 1200px;
    margin: 0 auto;
}

.target-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.target-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Urgency Tag */
.urgency-tag {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
}

/* Pricing */
.pricing {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.price-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.price-container {
    margin: 1.5rem 0;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
}

.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.price-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.price-card ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.price-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.price-btn:hover {
    background-color: #3267d6;
}

.price-btn small {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.pricing-guarantee {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

/* Guarantee Box */
.guarantee-box {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #eef4ff;
    border-radius: 10px;
    text-align: center;
}

.guarantee-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Demo */
.demo {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.demo h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto 2rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.demo-video {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
}

/* FAQ */
.faq {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s;
}

/* Countdown Banner */
.countdown-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
footer {
    background-color: #333;
    color: var(--white);
    padding: 4rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

/* Demo Interface (specific to demo.js) */
.demo-reviews {
    padding: 1rem;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.demo-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.refresh-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.refresh-btn.spinning {
    animation: spin 1s linear;
}

.demo-stats {
    display: flex;
    gap: 1rem;
}

.review-card {
    background-color: #f5f5f5;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.review-rating {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.sentiment {
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
}

.sentiment.positivo {
    background-color: #e6ffe6;
    color: #006600;
}

.sentiment.neutral {
    background-color: #fff3e6;
    color: #663300;
}

.demo-insights {
    margin-top: 1rem;
}

.insight-card {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.insight-card.positive {
    background-color: #e6ffe6;
}

.insight-card.improve {
    background-color: #fff3e6;
}

/* Insights */
.insights {
    padding: 4rem 2rem;
    background-color: var(--white);
    max-width: 1200px;
    margin: 0 auto;
}

.insights h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.insights > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.insight-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
}

.insight-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.insight-card h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.insight-card p {
    color: #666;
    line-height: 1.6;
}

.insights-cta {
    text-align: center;
    background-color: #f0f4ff;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.insights-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.insights-cta .primary-btn {
    display: inline-block;
    margin-top: 1rem;
}

/* Registration Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close {
  color: #aaa;
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #000;
}

.modal h2 {
  margin-bottom: 15px;
  color: var(--text-color);
}

.modal p {
  margin-bottom: 20px;
  color: #666;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.column {
  flex: 1;
  min-width: 200px;
}

.column label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.column input {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s;
}

.column input:focus {
  border-color: var(--primary-color);
  outline: none;
}

#license-message {
  margin-top: 15px;
  color: #dc2626;
  font-size: 0.9em;
}

/* Responsive adjustments for modal */
@media (max-width: 480px) {
  .modal-content {
    margin: 20% auto;
    padding: 20px;
  }

  .row {
    flex-direction: column;
    gap: 15px;
  }

  .column {
    width: 100%;
  }
}

/* Animaciones */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    nav.mobile-menu-open ul {
        display: flex;
    }

    .mobile-menu-btn {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        align-self: flex-end;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-group {
        flex-direction: column;
    }

    .zigzag-row {
        grid-template-columns: 1fr;
    }

    .zigzag-row:nth-child(even) .zigzag-content,
    .zigzag-row:nth-child(even) .zigzag-image {
        order: 0;
    }
    .insights {
        padding: 3rem 1rem;
    }
  
    .insights-grid {
        grid-template-columns: 1fr;
    }
  
    .insight-card {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .price {
        font-size: 2rem;
    }
}

/* Style updates for payment buttons */
.stripe-btn {
  position: relative;
  overflow: hidden;
}

.stripe-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.stripe-btn:hover::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  20% {
    transform: scale(25, 25);
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

/* Añadir estilos para el botón de login */
.login-btn {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
}

.login-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Ajustar espaciado en la navegación */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .login-btn {
    width: 100%;
    text-align: center;
    display: block;
  }
  
}