/* ========================================
   SUBSCRIPTION LANDING PAGE STYLES
   ======================================== */

html {
    scroll-behavior: smooth;
}

/* Hero Section Styles */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section-steps {
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-logo {
    position: relative;
    z-index: 3;
    background-image: url('https://clavebursatil.com/wp-content/uploads/2020/06/logo-cb-3-1-1400x242.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 350px;
    height: 60px;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}


.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.3); */
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    /* text-shadow: 1px 1px 2px rgba(0,0,0,0.3); */
}

.hero-highlight {
    color: #c6f501;
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.5); */
}

.custom-product-header {
    background: 
        url('https://clavebursatil.com/wp-content/uploads/2025/09/Banner-jxlb-min.png') center/cover,
        linear-gradient(180deg, #082146 0%, rgb(8, 186, 88) 80%);
    /* background: rgb(8, 186, 88); */
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 0;
    background-attachment: fixed;
}

/* CTA Button Styles */
.cta-button {
    background: #08ba58;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(134, 134, 134, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 43, 43, 0.6);
    color: white;
    text-decoration: none;
}

.cta-button-compra {
    background: #1d2530;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(134, 134, 134, 0.4);
}

.cta-button-compra:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 43, 43, 0.6);
    color: white;
    text-decoration: none;
}

/* Features Section Styles */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-section .row {
    display: flex;
    flex-wrap: wrap;
}

.features-section .col-lg-4,
.features-section .col-md-6 {
    display: flex;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 90%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #08ba58;
    flex-shrink: 0;
}

.feature-card h4 {
    flex-shrink: 0;
    margin-bottom: 15px;
}

.feature-card p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pricing Section Styles */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #082146 0%, #08ba58 100%);
    color: white;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    color: #333;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: #082146;
    margin-bottom: 20px;
}

.pricing-button {
    background: #08ba58;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(77, 77, 77, 0.4);
    color: white;
    text-decoration: none;
}

/* Footer Section Styles */
.footer-section {
    background: #1d2530;
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

/* Scroll Indicator Animation */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Dark Mode Styles */
body.dark .hero-section {
    color: white;
}

body.dark .custom-product-header {
    background: 
        url('https://clavebursatil.com/wp-content/uploads/2025/09/Banner-jxlb-min.png') center/cover,
        linear-gradient(180deg, rgba(8, 33, 70, 0.3) 0%, rgba(8, 186, 88, 0.3) 80%);
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 0;
    background-attachment: fixed;
}

body.dark .feature-card {
    background: #2c3e50;
    color: white;
}

body.dark .pricing-card {
    background: #2c3e50;
    color: white;
}

body.dark .pricing-price {
    color: #667eea;
}

body.dark .features-section {
    background: #1a1a1a;
}

body.dark .footer-section {
    background: #1a1a1a;
}

/* Form Section Styles */
.form-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px);
}

.form-header {
    background: linear-gradient(135deg, #082146 0%, #08ba58 100%);
    color: white;
    padding: 40px 40px 30px;
    text-align: center;
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.form-title i {
    font-size: 1.5rem;
}

.form-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.form-content {
    padding: 40px;
}

.info-cards {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-icon {
    background: linear-gradient(45deg, #08ba58, #082146);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.info-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.subscription-form {
    margin-top: 30px;
}

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

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-label i {
    color: #08ba58;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #08ba58;
    box-shadow: 0 0 0 3px rgba(8, 186, 88, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-primary {
    background: #08ba58;
    color: white;
}

.btn-primary:hover {
    background: #06a048;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 186, 88, 0.3);
}

/* Dark Mode Form Styles */
body.dark .form-section {
    background: #1a1a1a;
}

body.dark .form-card {
    background: #2c3e50;
    color: white;
}

body.dark .info-card {
    background: #34495e;
}

body.dark .info-content h4 {
    color: white;
}

body.dark .info-content p {
    color: #bdc3c7;
}

body.dark .form-label {
    color: white;
}

body.dark .form-control {
    background: #34495e;
    border-color: #4a5f7a;
    color: white;
}

body.dark .form-control:focus {
    border-color: #08ba58;
    background: #34495e;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-header {
        padding: 30px 20px 20px;
    }
    
    .form-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .form-content {
        padding: 30px 20px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Form Section Headers */
.form-section-header {
    margin: 40px 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.form-section-header:first-child {
    margin-top: 20px;
}

.form-section-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-header h3 i {
    color: #08ba58;
    font-size: 1.1rem;
}

.form-control[readonly] {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.form-control[readonly]:focus {
    border-color: #e9ecef;
    box-shadow: none;
    background-color: #f8f9fa;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Dark Mode Form Section Headers */
body.dark .form-section-header {
    border-bottom-color: #4a5f7a;
}

body.dark .form-section-header h3 {
    color: white;
}

body.dark .form-control[readonly] {
    background-color: #34495e;
    border-color: #4a5f7a;
    color: #bdc3c7;
}

body.dark .form-control[readonly]:focus {
    border-color: #4a5f7a;
    background-color: #34495e;
}

/* Existing Subscription Card Styles */
.existing-subscription-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 40px 0;
}

.existing-subscription-card .card-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.existing-subscription-card .card-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.existing-subscription-card .card-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.existing-subscription-card .card-body {
    padding: 40px;
    text-align: center;
}

.subscription-info {
    margin-bottom: 30px;
}

.subscription-info h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
}

.plan-details {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.plan-name {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #08ba58;
    margin-bottom: 5px;
}

.plan-price {
    display: block;
    font-size: 1.2rem;
    color: #666;
    font-weight: 600;
}

.warning-message {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.warning-message i {
    color: #856404;
    font-size: 1.5rem;
    margin-top: 2px;
}

.warning-message p {
    margin: 0;
    color: #856404;
    font-weight: 500;
}

.action-buttons {
    margin-top: 30px;
}

.payment-info {
    margin: 30px 0;
}

/* Dark Mode Existing Subscription */
body.dark .existing-subscription-card {
    background: #2c3e50;
    color: white;
}

body.dark .subscription-info h4 {
    color: white;
}

body.dark .plan-details {
    background: #34495e;
}

body.dark .plan-price {
    color: #bdc3c7;
}

body.dark .warning-message {
    background: #3d2a00;
    border-color: #5d4a00;
}

body.dark .warning-message i,
body.dark .warning-message p {
    color: #ffc107;
}

/* Success Info Styles */
.success-info {
    margin: 30px 0;
}

.success-card {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.success-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.success-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.success-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Dark Mode Success Info */
body.dark .success-card {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

body.dark .success-content h4 {
    color: white;
}

body.dark .success-content p {
    color: rgba(255, 255, 255, 0.9);
}
