/* Wifilinks Corporate Styling System - Light/Modern Event Theme */

:root {
    --wl-orange: #FF3600;
    --wl-orange-dark: #D92E00;
    --wl-black: #111111;
    --wl-white: #FFFFFF;
    --wl-gray-50: #F8F9FA;
    --wl-gray-100: #F3F4F6;
    --wl-gray-300: #D1D5DB;
    --wl-gray-600: #4B5563;
    --wl-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

body {
    background-color: var(--wl-gray-50);
    color: var(--wl-black);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography styles */
.font-outfit {
    font-family: 'Outfit', sans-serif;
}
.font-inter {
    font-family: 'Inter', sans-serif;
}
.fw-extrabold {
    font-weight: 800;
}

/* Header Navbar Styles */
.glass-navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-top: 4px solid var(--wl-orange);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    z-index: 1030;
}
.navbar-brand span {
    letter-spacing: 1px;
}
.text-primary-custom {
    color: var(--wl-orange) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--wl-gray-600) !important;
}
.navbar-dark .navbar-nav .nav-link:hover, 
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--wl-orange) !important;
}

/* Custom Buttons */
.btn-primary-custom {
    background: var(--wl-orange);
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-primary-custom:hover {
    background: var(--wl-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(255, 54, 0, 0.25);
    color: #ffffff !important;
}
.btn-outline-custom {
    border: 2px solid var(--wl-orange);
    background: transparent;
    color: var(--wl-orange) !important;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-outline-custom:hover {
    background: var(--wl-orange);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(255, 54, 0, 0.20);
}
.btn-dark-custom {
    background: var(--wl-white);
    border: 1px solid var(--wl-gray-300);
    color: var(--wl-black) !important;
    border-radius: 6px;
    transition: all 0.25s ease;
}
.btn-dark-custom:hover, .btn-dark-custom:focus {
    background: var(--wl-gray-50);
    border-color: var(--wl-orange);
    color: var(--wl-orange) !important;
}

/* Selector de idioma y Dropdowns */
.dropdown-menu,
.language-menu {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid rgba(255, 54, 0, 0.25) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14) !important;
    border-radius: 6px;
}

.dropdown-item,
.language-menu a,
.language-menu button {
    color: #111111 !important;
    background: #ffffff !important;
    padding: 8px 16px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus,
.language-menu a:hover,
.language-menu button:hover {
    color: #ffffff !important;
    background: #FF3600 !important;
}

.dropdown-toggle {
    color: #111111 !important;
    border-color: rgba(255, 54, 0, 0.35) !important;
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    padding-bottom: 70px;
    background-color: var(--wl-white);
    border-bottom: 1px solid var(--wl-gray-100);
}
.badge-hero {
    background: rgba(255, 54, 0, 0.08);
    border: 1px solid rgba(255, 54, 0, 0.25);
    color: var(--wl-orange);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.2;
    color: var(--wl-black);
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--wl-gray-600);
    max-width: 650px;
}

/* General Layout Elements */
.text-muted-custom {
    color: var(--wl-gray-600) !important;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--wl-black);
}

/* White Corporate Cards */
.benefit-card, .step-card, .plan-card {
    background: var(--wl-white);
    border: 1px solid var(--wl-gray-100);
    border-radius: 12px;
    box-shadow: var(--wl-shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.benefit-card:hover, .step-card:hover {
    border-color: rgba(255, 54, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255, 54, 0, 0.06);
}
.benefit-icon-container {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 54, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.benefit-icon-container i {
    color: var(--wl-orange) !important;
}

/* Steps list */
.step-card {
    position: relative;
    overflow: hidden;
}
.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--wl-orange);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Pricing/Plans cards */
.plan-card {
    position: relative;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    min-height: auto;
}
.plan-card:hover {
    border-color: rgba(255, 54, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(255, 54, 0, 0.08);
}
.plan-card.featured-card {
    border: 2px solid var(--wl-orange);
    box-shadow: 0 15px 35px rgba(255, 54, 0, 0.08);
}
.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--wl-orange);
    color: #ffffff !important;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(255, 54, 0, 0.2);
}
.plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--wl-black);
    line-height: 1;
}
.plan-price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    vertical-align: super;
    margin-right: 2px;
    color: var(--wl-orange);
}

/* Accordion FAQs */
.accordion-item {
    background: var(--wl-white) !important;
    border: 1px solid var(--wl-gray-300) !important;
    border-radius: 8px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--wl-white) !important;
    color: var(--wl-black) !important;
    font-weight: 600;
    box-shadow: none !important;
    border: none !important;
    transition: all 0.2s ease;
}

.accordion-button.collapsed {
    color: var(--wl-black) !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--wl-black) !important;
    color: var(--wl-white) !important;
}

.accordion-button::after {
    filter: none; /* Reset */
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1); /* Invert arrow color on dark background */
}

.accordion-body {
    background-color: var(--wl-white) !important;
    color: var(--wl-gray-600) !important;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Branding and Footer System */
.landing-brand {
    display: inline-block;
    text-decoration: none;
}
.landing-brand-logo {
    width: 205px;
    height: 75px;
    object-fit: contain;
    display: block;
}
@media (max-width: 576px) {
    .landing-brand-logo {
        width: min(205px, 75vw);
        height: auto;
        max-height: 75px;
    }
}

.landing-footer {
    padding: 56px 0 28px;
    background: var(--wl-white);
    border-top: 1px solid var(--wl-gray-300) !important;
    color: var(--wl-gray-600);
}
.landing-footer-main {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(180px, 1fr));
    gap: 32px;
    align-items: start;
}
.landing-footer-brand p,
.landing-footer-column p,
.landing-footer-column li {
    line-height: 1.65;
}
.landing-footer-column h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--wl-black);
    margin-bottom: 1rem;
}
.landing-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.landing-footer-column li {
    margin-bottom: 0.55rem;
}
.footer-link {
    text-decoration: none;
    color: var(--wl-gray-600);
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--wl-orange) !important;
}
.landing-footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
@media (max-width: 992px) {
    .landing-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 576px) {
    .landing-footer-main {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .landing-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Utilities */
.bg-dark-custom {
    background: var(--wl-gray-50) !important;
}
.border-secondary-custom {
    border-color: var(--wl-gray-300) !important;
}
.toast-container {
    z-index: 1050;
}

/* Mobile Responsiveness adjustments */
@media (max-width: 576px) {
    .hero-section {
        padding-top: 50px;
        padding-bottom: 40px;
    }
    .plan-card {
        margin-bottom: 15px;
    }
}

/* ==========================================================================
   UI Polish Modifications (Bloques 1, 2, 3, 6)
   ========================================================================== */

/* Bloque 1: Selector de idioma - espaciado interno */
.dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.dropdown-toggle i {
    margin-right: 0 !important;
}

/* Bloque 2 & 3: Separar icono y texto en los detalles de las tarjetas de planes y resumen */
.plan-card ul li {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
}
.plan-card ul li i {
    margin-right: 0 !important;
    width: 20px !important;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.15rem;
}

/* Bloque 6: Ajustes de inputs y alineaciones en el checkout */
.input-group-text {
    padding-left: 14px !important;
    padding-right: 14px !important;
    background-color: var(--wl-gray-50) !important;
    border-color: var(--wl-gray-300) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.form-control {
    padding: 10px 14px !important;
    border-color: var(--wl-gray-300) !important;
}
.form-control:focus {
    border-color: var(--wl-orange) !important;
    box-shadow: 0 0 0 3px rgba(255, 54, 0, 0.15) !important;
}

/* Ajustar espaciado entre icono de alerta y texto en alerts */
.alert i {
    margin-right: 8px !important;
}

/* Pricing Section Layout v1.6.1 Build 2026.06.04.012 */
.plans-section {
    padding: 80px 0;
    position: relative;
    overflow: visible;
}

.plans-render-area {
    margin-top: 32px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(var(--plans-per-row, 3), minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .plans-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
}
