/* Custom Styles for MatchPadel Investor Page */

.gradient-text {
    background: linear-gradient(135deg, #10B981, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.section-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #10B981;
    border-radius: 50%;
    border: 3px solid #1F2937;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1.5rem;
    width: 2px;
    height: calc(100% - 1rem);
    background: linear-gradient(to bottom, #10B981, transparent);
}

.timeline-item:last-child::after {
    display: none;
}

.problem-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    border: 1px solid rgba(239, 68, 68, 0.2);
    transition: all 0.3s ease;
}

.problem-card:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.08));
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

.solution-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.08));
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-5px);
}

.roadmap-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.roadmap-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.expansion-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.expansion-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-5px) scale(1.02);
}

.expansion-card.active {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

/* Comparison Cards Styles */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.comparison-card {
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: linear-gradient(135deg, currentColor, transparent);
    pointer-events: none;
}

.playtomic-card {
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.05);
    color: #FEE2E2;
}

.playtomic-card:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
}

.matchpadel-card {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.05);
    color: #D1FAE5;
}

.matchpadel-card:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.comparison-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.comparison-aspect {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-aspect:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.aspect-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #F3F4F6;
}

.aspect-value {
    font-size: 0.9rem;
    opacity: 0.9;
}

.winner-banner {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.winner-banner::before {
    content: '🏆';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.3;
}

.winner-banner h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-card {
        padding: 1.5rem;
    }
    
    .comparison-icon {
        font-size: 2rem;
    }
}

/* Animation for counters */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter-animation {
    animation: countUp 0.6s ease-out;
}

/* Language Toggle Styles */
.language-toggle {
    position: relative;
}

.lang-btn {
    color: #9CA3AF;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: #F3F4F6;
}

.lang-btn.active {
    color: #FFFFFF;
    background: #10B981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Language transition animation */
[data-lang-es], [data-lang-en] {
    transition: opacity 0.3s ease;
}

.lang-transition {
    opacity: 0.5;
}