/* SHOPIFY SPY - CSS MINIMAL POST-BOOTSTRAP */
/* Solo estilos críticos específicos que Bootstrap no cubre */

/* Variables ya definidas en bootstrap-custom.css */

/* =================== BOOTSTRAP OVERRIDES =================== */

/* Bootstrap Navbar customization */
.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
}

.navbar-brand span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-right: 20px;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.form-select-sm {
    background-color: var(--graphite-bg-light) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
    font-size: 0.9rem;
}

.form-select-sm:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(100, 255, 218, 0.25) !important;
}

/* Bootstrap button overrides for voting */
.vote-btn {
    font-weight: 500;
    border-radius: 25px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.3);
}

/* =================== LAYOUT ESPECÍFICO =================== */

/* Hero Section con imagen de fondo */
.hero-section {
    position: relative;
    padding: 4rem 0;
    background-image: url('/static/images/banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(24, 25, 26, 0.7);
    backdrop-filter: blur(5px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* =================== COMPONENTES ESPECÍFICOS =================== */

/* Plans Section - Pricing Cards */
#plans .card {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

#plans .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
}

/* Plan Enterprise destacado */
#plans .card[style*="scale(1.05)"] {
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.3);
    border-width: 2px !important;
}

#plans .card[style*="scale(1.05)"]:hover {
    transform: scale(1.07) translateY(-5px) !important;
    box-shadow: 0 20px 50px rgba(255, 193, 7, 0.4);
}

/* Pricing styling */
.pricing {
    position: relative;
}

.pricing .display-4 {
    position: relative;
    z-index: 1;
}

/* Features list improvement */
#plans .list-unstyled li {
    transition: all 0.2s ease;
    padding: 8px 0;
    border-radius: 6px;
}

#plans .list-unstyled li:hover {
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 8px;
}

/* Trust badges */
.badge.bg-secondary {
    background-color: var(--graphite-bg-light) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.badge.bg-secondary:hover {
    background-color: var(--accent-color) !important;
    color: var(--graphite-bg) !important;
    transform: translateY(-1px);
}

/* Popular badge animation */
.badge.bg-warning {
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive adjustments para plans */
@media (max-width: 992px) {
    #plans .card[style*="scale(1.05)"] {
        transform: scale(1) !important;
        margin-bottom: 2rem;
    }
    
    #plans .card[style*="scale(1.05)"]:hover {
        transform: scale(1.02) translateY(-5px) !important;
    }
}

/* Floating Widgets (específicos de la app) */
.floating-widgets-container {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;
    pointer-events: none;
}

.floating-buttons-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    pointer-events: all;
}

.floating-button {
    width: 55px;
    height: 55px;
    background: #242526;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #fff;
    pointer-events: all;
}

.floating-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 245, 160, 0.3);
    background: var(--mint-accent);
}

.floating-button i {
    font-size: 1.5em;
    color: var(--text-primary);
}

.floating-button:hover i {
    color: #000;
}

.floating-launch-extractor {
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 2100;
}

.floating-launch-btn {
    width: 55px;
    height: 55px;
    background: #242526;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #fff;
    padding: 0;
    text-decoration: none;
}

.floating-launch-btn img {
    height: 32px;
    width: 32px;
    margin: 0;
    vertical-align: middle;
}

.floating-launch-btn:hover {
    background: #303134;
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    transform: translateY(-2px) scale(1.04);
}

/* Animaciones específicas */
.floating-launch-btn, #chatbot-icon.floating-button {
    animation: bounceIn 0.7s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.15);
        opacity: 1;
    }
    80% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =================== BOTONES ESPECÍFICOS =================== */

/* CTA específico del extractor */
.extractor-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    background: #5b951c;
    color: #ffffff !important;
    border: 2px solid #000000;
    padding: 12px 22px;
    border-radius: 30px;
    transition: background 0.2s, color 0.2s;
    font-size: 1.1em;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(91,149,28,0.10);
}

.extractor-cta-btn:hover {
    background: #4a7a18;
    color: #fff;
    text-decoration: none;
}

.extractor-cta-logo {
    height: 58px;
    width: 58px;
    vertical-align: middle;
    margin-right: 6px;
    display: inline-block;
    border-radius: 50%;
    background-color: #181818;
    padding: 5px;
}

/* =================== VOTACIÓN ESPECÍFICA =================== */

/* Botones de votación específicos */
.index-vote-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 10px 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #fff;
    text-align: left;
}

.index-vote-btn:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.index-vote-btn:disabled {
    background: linear-gradient(90deg, #1abc9c, #16a085);
    border-color: #16a085;
    cursor: not-allowed;
    color: #fff;
}

.index-vote-text {
    flex-grow: 1;
}

.index-vote-count {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    transition: all 0.3s ease;
}

.index-vote-btn:disabled .index-vote-count {
    background-color: rgba(255, 255, 255, 0.2);
}

/* =================== RESPONSIVE ESPECÍFICO =================== */

@media (max-width: 768px) {
    .floating-widgets-container {
        bottom: 15px;
        right: 15px;
    }

    .floating-button {
        width: 50px;
        height: 50px;
    }

    .hero-section {
        background-attachment: scroll; /* Mejor performance en móvil */
    }
}

/* =================== EFECTOS Y ANIMACIONES =================== */

/* Efecto glassmorphism específico */
.glass-effect-custom {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

/* Efectos hover específicos */
.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* =================== UTILIDADES ESPECÍFICAS =================== */

/* Logo con efectos específicos */
.index-logo, .sidebar-logo {
    transition: transform 0.2s ease;
}

.index-logo:hover, .sidebar-logo:hover {
    transform: scale(1.05);
}

/* Gradient text específico */
.hero-subtitle-strong {
    background: linear-gradient(90deg, #00d2ff, #00f5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Feature icons */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* =================== TRUST SECTION BADGES =================== */

.trust-badge {
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: default;
}

.trust-badge:hover {
    background-color: var(--mint-accent) !important;
    color: #000 !important;
    border-color: var(--mint-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 245, 160, 0.25);
} 