/* ============================
   Root Variables
============================ */
:root {
    --primary-blue: #2563eb;
    --dark-blue: #1e40af;
    --light-blue: #93c5fd;
    --bg-gray: #f8fafc;
}

/* ============================
   Base Styles
============================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    background-color: white;
    line-height: 1.5;
}

/* ============================
   Hero Section
============================ */
.hero-section {
    background-color: var(--bg-gray);
    padding: 5rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: #1e293b;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: #64748b;
}

@media (max-width: 992px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }
}

/* ============================
   Badge & Branding
============================ */
.scale-logo {
    display: flex;
    align-items: center;
}

.scale-badge {
    background-color: var(--primary-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

@media (max-width: 992px) {
    .scale-badge {
        font-size: 1rem;
        padding: 6px 15px;
    }
}

/* ============================
   Buttons
============================ */
.btn-primary {
    background-color: var(--primary-blue);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    color: white;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
}

.btn-outline-primary,
.btn-outline {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    background: white;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline-primary:hover,
.btn-outline:hover {
    background-color: #f8fafc;
    color: var(--primary-blue);
}

/* ============================
   Pricing Cards
============================ */
.pricing-card {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    overflow: hidden;
    background: white;
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.pricing-header {
    padding: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #FF5733;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 10px 0 5px;
}

.original-price {
    text-decoration: line-through;
    color: #64748b;
    font-size: 1.2rem;
}

.discount-badge {
    background-color: #dcfce7;
    color: #166534;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

/* ============================
   Features List
============================ */
.feature-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.feature-list li {
    padding: 12px 30px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: var(--primary-blue);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* ============================
   Comparison Table
============================ */
.comparison-container {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.comparison-table th {
    background-color: var(--bg-gray);
    padding: 15px;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .highlight {
    background-color: #f0f7ff;
}

/* ============================
   Responsive Video
============================ */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.ratio-16x9 {
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

/* ============================
   FAQ Section
============================ */
.faq-section {
    background-color: var(--bg-gray);
    padding: 80px 0;
}

.faq-title {
    text-align: center;
    margin-bottom: 50px;
}

.faq-title h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.faq-title p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    transition: all 0.3s;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* ============================
   Section Titles
============================ */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================
   Scroll Indicator
============================ */
.scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.arrow-down {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-blue);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin: -15px 0 0 -15px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* ============================
   Responsive (General)
============================ */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .original-price {
        font-size: 1rem;
    }

    .faq-title h2 {
        font-size: 2rem;
    }
}


/* New Styles */
  .enhanced-horizontal-features {
    background: white;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .eh-item {
    transition: all 0.3s ease;
    border-radius: 8px;
  }
  
  .eh-item:hover {
    background: rgba(0,0,0,0.02);
    transform: translateY(-2px);
  }
  
  .eh-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
  }

    /* Estilos para la sección de escalado */
    .scaling-process {
        padding: 80px 0;
        background-color: var(--light-bg);
    }
    
    .scaling-steps {
        display: flex;
        justify-content: space-between;
        gap: 25px;
        margin-top: 50px;
        flex-wrap: wrap;
    }
    
    .step-card {
        flex: 1;
        min-width: 300px;
        background: var(--white);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s;
        border-top: 4px solid var(--primary);
    }
    
    .step-card:hover {
        transform: translateY(-10px);
    }
    
    .step-highlight {
        border-top: 1px solid #093c0d;
        position: relative;
    }
    
    .step-highlight:before {
        content: 'RECOMENDADO';
        position: absolute;
        top: 5px;
        right: 20px;
        background: #FFD700;
        color: #000;
        padding: 3px 10px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: bold;
    }
    
    .step-header {
        padding: 20px;
        background-color: var(--primary);
        color: rgb(181, 180, 178);
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        background-color: rgba(255,255,255,0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.2rem;
    }
    
    .step-header h3 {
        margin: 0;
        font-size: 1.3rem;
    }
    
    .step-content {
        padding: 25px;
        position: relative;
    }
    
    .step-content ul {
        list-style: none;
        padding-left: 0;
    }
    
    .step-content li {
        margin-bottom: 12px;
        padding-left: 25px;
        position: relative;
        color: var(--text-light);
    }
    
    .step-content li:before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--primary);
        font-weight: bold;
    }
    
    .step-content li strong {
        color: var(--text);
    }
    
    .step-icon {
        position: absolute;
        right: 25px;
        bottom: 25px;
        font-size: 2.5rem;
        opacity: 0.1;
    }
    
    .cta-box {
        text-align: center;
        margin-top: 50px;
        padding: 30px;
        background: var(--white);
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    
    .cta-box p {
        font-size: 1.2rem;
        margin-bottom: 20px;
        color: var(--text);
    }
    
    @media (max-width: 768px) {
        .scaling-steps {
            flex-direction: column;
        }
        
        .step-card {
            min-width: 100%;
        }
    }