/* Seller Landing Page Styles */

:root {
    --bg-light: #F3F3F3;
    --bg-white: #FFFFFF;
    /* MenuWeb Colors */
    --accent-blue: #4174d4;
    --accent-dark: #0e1e40;

    /* Landing Specific Accents (Re-mapped to Blue per user request) */
    --accent-gold: #4174d4;
    --accent-gold-dark: #002a80;

    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Base Overrides */
body {
    background: var(--bg-light);
    scroll-behavior: smooth;
    /* Font family handled by style.css/bootstrap usually, but forcing Poppins here as per design */
    font-family: 'Poppins', sans-serif;
}

/* NAV */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: var(--accent-dark);
    transition: all 0.3s;
}

.nav-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-logos img {
    height: 32px;
    transition: transform 0.3s;
}

.nav-logos img:hover {
    transform: translateY(-2px);
}

/* LANG SELECTOR */
.lang-selector {
    position: relative;
    margin-left: 10px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.lang-btn:hover {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.2);
}

.lang-btn img {
    width: 22px;
    height: 16px;
    border-radius: 2px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    display: none;
    min-width: 50px;
    z-index: 1001;
    padding: 5px 0;
}

.lang-selector:hover .lang-dropdown {
    display: block;
}

.lang-option {
    display: block;
    padding: 8px 15px;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.lang-option:hover {
    background: var(--bg-light);
}

.lang-option img {
    width: 22px;
    height: 16px;
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* HERO */
.hero-landing {
    min-height: 100vh;
    /* Full height on desktop */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    /* Reduced vertical padding */
    background: radial-gradient(circle at 70% 20%, rgba(65, 116, 212, 0.05) 0%, transparent 40%), var(--bg-light);
    position: relative;
    /* overflow: hidden; Removed to prevent clipping */
}

.hero-landing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../img/new_index.jpg') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
    filter: grayscale(100%) brightness(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
}

.marketplace-cards {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.mp-card {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 40px 35px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
}

.mp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
    background: var(--bg-white);
}

.mp-card-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.mp-card-logo img {
    max-height: 45px;
}

.mp-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.mp-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.mp-card .stat {
    font-weight: 700;
    color: var(--accent-gold-dark);
}

.hero-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(65, 116, 212, 0.12);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-gold-dark);
    margin-bottom: 30px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.aquienvia-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-white);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    margin-top: 35px;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

/* Video Button */
.video-btn {
    background: none;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.video-btn:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.video-btn i {
    font-size: 1.2rem;
}

/* FEATURES */
.features-section {
    padding: 60px 0;
    /* Reduced padding */
    background: var(--bg-white);
}

.feature-item {
    text-align: center;
    padding: 50px 30px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-light);
    transition: all 0.3s;
    height: 100%;
}

.feature-item:hover {
    border-color: var(--accent-gold);
    background: var(--bg-white);
    transform: translateY(-5px);
}

.feature-number {
    font-size: 2.5rem;
    color: rgba(65, 116, 212, 0.2);
    margin-bottom: 15px;
    font-weight: 800;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-desc {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* CALCULATOR SECTION */
.calc-section {
    padding: 60px 0;
    /* Reduced padding */
    background: var(--bg-light);
}

.calc-container {
    width: 100%;
    margin: 0 auto;
    padding: 60px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.calc-input-group {
    position: relative;
    margin-bottom: 40px;
}

.calc-input {
    width: 100%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    font-size: 2rem;
    color: var(--text-dark);
    transition: all 0.3s;
    text-align: center;
    font-weight: 800;
}

.calc-input:focus {
    border-color: var(--accent-gold);
    outline: none;
    background: white;
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.calc-res-item {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.calc-res-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    background: white;
}

.calc-res-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.calc-res-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.calc-res-value span {
    font-size: 1rem;
    margin-left: 2px;
}

/* INTEGRATION SECTION */
.integrations-section {
    padding: 60px 0;
    /* Reduced padding */
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.integration-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    transition: all 0.3s;
}

.integration-card:hover {
    background: var(--bg-white);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.integration-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 25px;
}

.integration-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.integration-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.integration-link {
    color: var(--accent-gold);
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* LOGIN */
.login-area {
    padding: 120px 0;
    background: var(--bg-light);
}

.login-box {
    max-width: 500px;
    margin: 0 auto;
    padding: 50px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.login-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
    color: var(--text-dark);
}

.login-box label {
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 40px;
}

.form-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.form-tab.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.reg-step {
    display: none;
}

.reg-step.active {
    display: block;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s;
}

.step-dot.active {
    background: var(--accent-gold);
    transform: scale(1.3);
}

/* Buttons & Links using MenuWeb styles */
.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.login-links a,
.login-links button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
}

.login-links a:hover,
.login-links button:hover {
    color: var(--accent-gold);
}

/* PASSWORD TOGGLE */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Ensure form control has space for eye icon */
.password-wrapper .form-control {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--accent-gold);
}

/* FOOTER */
.landing-footer {
    padding: 60px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.landing-footer img {
    width: 350px;
    max-width: 90%;
    margin-bottom: 30px;
}

.landing-footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-landing {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
        align-items: flex-start;
        /* Prevent top clipping on small screens */
    }

    .calc-container {
        padding: 30px;
    }

    .feature-item {
        margin-bottom: 20px;
    }
}

/* CHAT JULIA FIXES */
#hc_chatbot_title {
    color: #fff !important;
    font-weight: 600 !important;
}

.bubble-left {
    color: #fff !important;
    background: #0172b6 !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

.bubble-left span {
    color: #fff !important;
}

#hc_chatbot_dialog_header {
    background: #0172b6 !important;
    border-bottom: none !important;
    color: #fff !important;
}

#hc_chatbot_dialog_header i {
    color: #fff !important;
}

.chat-modal {
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

#wave_effect path {
    fill: #0172b6 !important;
}