/* Consulta RUC y DNI - Page Styles */

/* WhatsApp Button */
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

/* Hero */
.ruc-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary) 0%, #0a1e4a 100%);
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.ruc-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.1), transparent);
    border-radius: 50%;
    top: -300px;
    right: -200px;
    animation: pulse 8s ease-in-out infinite;
}

.ruc-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(22, 93, 255, 0.1), transparent);
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
    animation: pulse 10s ease-in-out infinite 2s;
}

.ruc-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.ruc-badge {
    display: inline-block;
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.ruc-hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.ruc-hero-subtitle {
    font-size: 20px;
    color: var(--gray-light);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.ruc-hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ruc-hero-note {
    margin-top: 24px;
    color: var(--gray);
    font-size: 14px;
}

/* Services Cards */
.ruc-services {
    padding: 100px 0;
    background: var(--white);
}

.ruc-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.ruc-service-card {
    background: var(--white);
    padding: 48px;
    border-radius: 20px;
    border: 2px solid #e8ecf4;
    transition: var(--transition);
}

.ruc-service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(22, 93, 255, 0.08);
    transform: translateY(-5px);
}

.ruc-service-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.ruc-service-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
}

.ruc-service-desc {
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.ruc-service-list {
    list-style: none;
    padding: 0;
}

.ruc-service-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--secondary);
    font-size: 15px;
}

.ruc-service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #25D366;
    font-weight: 700;
}

/* Steps Section */
.ruc-steps {
    padding: 100px 0;
    background: #f8fafd;
}

.ruc-steps-grid {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ruc-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.ruc-step:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(22, 93, 255, 0.08);
}

.ruc-step-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
}

.ruc-step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

.ruc-step-content p {
    color: var(--gray);
    line-height: 1.6;
}

.ruc-steps-cta {
    text-align: center;
    margin-top: 48px;
}

/* Benefits Section */
.ruc-benefits {
    padding: 100px 0;
    background: var(--white);
}

.ruc-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.ruc-benefit {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    transition: var(--transition);
}

.ruc-benefit:hover {
    background: #f8fafd;
    transform: translateY(-5px);
}

.ruc-benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.ruc-benefit h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

.ruc-benefit p {
    color: var(--gray);
    line-height: 1.6;
}

/* Use Cases */
.ruc-usecases {
    padding: 100px 0;
    background: var(--secondary);
}

.ruc-usecases .section-title,
.ruc-usecases .section-subtitle {
    color: var(--white);
}

.ruc-usecases .section-subtitle {
    color: var(--gray-light);
}

.ruc-usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.ruc-usecase {
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.ruc-usecase:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.ruc-usecase h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.ruc-usecase p {
    color: var(--gray-light);
    line-height: 1.6;
    font-size: 15px;
}

/* FAQ Section */
.ruc-faq {
    padding: 100px 0;
    background: #f8fafd;
}

.ruc-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ruc-faq-item {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #e8ecf4;
    overflow: hidden;
    transition: var(--transition);
}

.ruc-faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(22, 93, 255, 0.08);
}

.ruc-faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    color: var(--secondary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ruc-faq-item summary::-webkit-details-marker {
    display: none;
}

.ruc-faq-item summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--primary);
    transition: var(--transition);
}

.ruc-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.ruc-faq-item p {
    padding: 0 24px 20px;
    color: var(--gray);
    line-height: 1.7;
}

/* Final CTA Section */
.ruc-final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #0a1e4a 100%);
    text-align: center;
}

.ruc-final-cta h2 {
    font-size: 40px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
}

.ruc-final-cta p {
    color: var(--gray-light);
    font-size: 18px;
    margin-bottom: 32px;
}

.ruc-final-note {
    margin-top: 24px;
    color: var(--gray);
    font-size: 14px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

/* Responsive */
@media (max-width: 968px) {
    .ruc-hero-title {
        font-size: 40px;
    }

    .ruc-hero-subtitle {
        font-size: 17px;
    }

    .ruc-services-grid {
        grid-template-columns: 1fr;
    }

    .ruc-usecases-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ruc-final-cta h2 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .ruc-hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .ruc-hero-title {
        font-size: 32px;
    }

    .ruc-hero-subtitle {
        font-size: 16px;
    }

    .ruc-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .ruc-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ruc-benefits-grid {
        grid-template-columns: 1fr;
    }

    .ruc-usecases-grid {
        grid-template-columns: 1fr;
    }

    .ruc-final-cta h2 {
        font-size: 28px;
    }

    .btn-whatsapp {
        padding: 14px 28px;
        font-size: 15px;
    }
}
