/**
 * Landing Resellers - Custom CSS
 * Stiluri custom pentru pagina resellers (depreciat - se va folosi template dinamic)
 */

/* Gradiente și efecte custom */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #4c1d95 100%);
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animații hover pentru carduri */
.feature-card {
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card {
    transition: all 0.3s ease;
}
.pricing-card:hover {
    transform: scale(1.02);
}
.pricing-card.popular {
    transform: scale(1.05);
}
.pricing-card.popular:hover {
    transform: scale(1.07);
}

/* Pattern background */
.pattern-grid {
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

[x-cloak] { 
    display: none !important; 
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #d1d5db;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s;
}
.toggle-switch.active {
    background: #2563eb;
}
.toggle-switch .toggle-dot {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.toggle-switch.active .toggle-dot {
    transform: translateX(20px);
}

/* Custom tooltip */
.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.info-tooltip .tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 11px;
    white-space: nowrap;
    text-align: left;
    line-height: 1.8;
    z-index: 9999;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: opacity 0.2s, visibility 0.2s;
}
.info-tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f2937;
}
.info-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
