/**
 * Supplier-Focused Enhancements
 * Additional styles for SEO-first B2B redesign
 */

/* ===== Header Theme Selector ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-selector {
    position: relative;
}

.theme-toggle-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.theme-toggle-btn:hover {
    border-color: var(--primary-color);
    background: rgba(49, 146, 174, 0.05);
}

.theme-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 10px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.theme-selector:hover .theme-dropdown,
.theme-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

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

.theme-option.active {
    background: var(--primary-color);
    color: white;
}

.theme-preview {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    flex-shrink: 0;
}

.glass-preview {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.liquid-preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50% 30% 50% 30%;
}

.threed-preview {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.theme-name {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== Hero Greeting Badge ===== */
.greeting-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(49, 146, 174, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.wave-emoji {
    font-size: 1.3rem;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(20deg);
    }

    75% {
        transform: rotate(-20deg);
    }
}

/* ===== Conversational Headline ===== */
.conversational-headline {
    font-size: 2.2rem !important; /* Reduced from 2.8rem */
    line-height: 1.2 !important; /* Reduced from 1.3 */
    margin-bottom: 15px !important; /* Reduced from 20px */
}

.highlight-text {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    display: none; /* Removed thick blue underline per user request */
}

/* ===== Hero Value Prop ===== */
.hero-value-prop {
    font-size: 1.05rem !important; /* Reduced from 1.15rem */
    line-height: 1.6 !important; /* Reduced from 1.8 */
    color: var(--text-light) !important;
    margin-bottom: 20px !important; /* Reduced from 30px */
}

.hero-value-prop strong {
    color: var(--text-dark);
    font-weight: 700;
}

.hero-value-prop em {
    color: var(--secondary-color);
    font-style: normal;
    font-weight: 600;
}

/* ===== Trust Indicators ===== */
.trust-indicators {
    display: flex;
    gap: 20px; /* Reduced from 30px */
    margin: 20px 0; /* Reduced from 30px 0 */
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 2rem; /* Reduced from 2.5rem */
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== Button Enhancements ===== */
.btn-pulse {
    animation: pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(49, 146, 174, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(49, 146, 174, 0);
    }
}

.btn-whatsapp {
    background: #18a276;
    color: white;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Market Stats Card ===== */
.market-stats-card {
    background: white;
    border-radius: 12px; /* Reduced from 16px */
    padding: 20px; /* Reduced from 30px */
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(49, 146, 174, 0.1);
}

.market-stats-card h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.market-stats-card h3 i {
    color: var(--primary-color);
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-box {
    text-align: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.market-opportunity {
    background: linear-gradient(135deg, rgba(24, 162, 118, 0.1), rgba(49, 146, 174, 0.1));
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.market-opportunity i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 2px;
}

.market-opportunity p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.market-opportunity strong {
    color: var(--text-dark);
}

/* ===== Section Navigation - Hidden ===== */
.section-nav {
    display: none !important;
}

.section-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    position: relative;
    justify-content: flex-end;
}

.section-nav-label {
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.section-nav-item:hover .section-nav-label,
.section-nav-item.active .section-nav-label {
    opacity: 1;
    transform: translateX(0);
}

.section-nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

.section-nav-item.active .section-nav-dot {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.3);
}

.section-nav-item.active .section-nav-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0.3;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .header-actions {
        display: none;
        /* Will show in mobile menu */
    }

    .trust-indicators {
        gap: 20px;
    }

    .trust-number {
        font-size: 2rem;
    }

    .conversational-headline {
        font-size: 2rem !important;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .section-nav {
        display: none !important;
    }

    .section-nav-label {
        display: none;
        /* Hide labels on mobile */
    }

    /* Market stats card on mobile */
    .market-stats-card {
        padding: 15px;
    }

    .market-stats-card h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .stat-value {
        font-size: 1.7rem;
    }

    .market-opportunity {
        flex-direction: column;
        gap: 8px;
    }

    .market-opportunity p {
        font-size: 0.85rem;
    }

    /* Greeting badge on mobile */
    .greeting-badge {
        font-size: 0.85rem;
        padding: 8px 14px;
        margin-bottom: 14px;
    }
}

/* ===== Very small mobile (under 480px) ===== */
@media (max-width: 480px) {
    .conversational-headline {
        font-size: 1.7rem !important;
        line-height: 1.25 !important;
    }

    .hero-value-prop {
        font-size: 0.9rem !important;
    }

    .greeting-badge {
        font-size: 0.78rem;
        padding: 6px 12px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Hide the hero visual (market stats card) on very small phones to save space */
    .hero-visual {
        display: none;
    }

    .trust-indicators {
        gap: 8px;
    }

    .trust-item {
        flex: 0 0 calc(33.33% - 6px);
    }

    .trust-number {
        font-size: 1.3rem;
    }

    .trust-label {
        font-size: 0.68rem;
    }
}




