/* ===== RESULTS SECTION CSS ===== */

/* Enhanced Results Section Styles */
.animate-pulse {
    animation: pulse-animation 2s infinite ease-in-out;
}

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

.results-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(25, 25, 35, 0.95) 0%, rgba(13, 13, 13, 0.9) 100%);
    padding: 120px 0;
}

.results-section .section-subtitle {
    display: inline-block;
    background: linear-gradient(90deg, rgba(126, 211, 33, 0.2) 0%, rgba(154, 122, 249, 0.2) 100%);
    color: #78e57e;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 15px;
    position: relative;
    text-align: left;
}

.results-section .section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-align: left;
    color: var(--text-heading, #ffffff);
}

.results-section .section-description,
.results-section .results-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-body, rgba(255, 255, 255, 0.8));
    max-width: 100%;
    text-align: left;
}

.results-section .gradient-text {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 800;
}

.counter-wrapper {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #7ED321 0%, #9C27B0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.results-decorative-element {
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: 1;
    pointer-events: none;
}

.results-decorative-element.top-right {
    top: -20px;
    right: -20px;
    background-image: radial-gradient(circle, rgba(126, 211, 33, 0.2) 0%, rgba(126, 211, 33, 0) 70%);
    border-top: 2px dashed rgba(126, 211, 33, 0.3);
    border-right: 2px dashed rgba(126, 211, 33, 0.3);
    border-radius: 0 100% 0 0;
}

.results-decorative-element.bottom-left {
    bottom: -20px;
    left: -20px;
    background-image: radial-gradient(circle, rgba(156, 39, 176, 0.2) 0%, rgba(156, 39, 176, 0) 70%);
    border-bottom: 2px dashed rgba(156, 39, 176, 0.3);
    border-left: 2px dashed rgba(156, 39, 176, 0.3);
    border-radius: 0 0 0 100%;
}

.results-bg-graph {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 300px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAwIiBoZWlnaHQ9IjMwMCIgdmlld0JveD0iMCAwIDQwMCAzMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgMzAwTDUwIDI1MEwxMDAgMjAwTDE1MCAyNTBMMjAwIDE1MEwyNTAgMjAwTDMwMCAxMDBMMzUwIDE1MEw0MDAgNTAiIHN0cm9rZT0iIzdFRDMyMSIgc3Ryb2tlLW9wYWNpdHk9IjAuMiIgc3Ryb2tlLXdpZHRoPSIzIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48Y2lyY2xlIGN4PSI1MCIgY3k9IjI1MCIgcj0iNiIgZmlsbD0iIzdFRDMyMSIgZmlsbC1vcGFjaXR5PSIwLjMiLz48Y2lyY2xlIGN4PSIxMDAiIGN5PSIyMDAiIHI9IjYiIGZpbGw9IiM3RUQzMjEiIGZpbGwtb3BhY2l0eT0iMC4zIi8+PGNpcmNsZSBjeD0iMTUwIiBjeT0iMjUwIiByPSI2IiBmaWxsPSIjN0VEMzIxIiBmaWxsLW9wYWNpdHk9IjAuMyIvPjxjaXJjbGUgY3g9IjIwMCIgY3k9IjE1MCIgcj0iNiIgZmlsbD0iIzdFRDMyMSIgZmlsbC1vcGFjaXR5PSIwLjMiLz48Y2lyY2xlIGN4PSIyNTAiIGN5PSIyMDAiIHI9IjYiIGZpbGw9IiM3RUQzMjEiIGZpbGwtb3BhY2l0eT0iMC4zIi8+PGNpcmNsZSBjeD0iMzAwIiBjeT0iMTAwIiByPSI2IiBmaWxsPSIjN0VEMzIxIiBmaWxsLW9wYWNpdHk9IjAuMyIvPjxjaXJjbGUgY3g9IjM1MCIgY3k9IjE1MCIgcj0iNiIgZmlsbD0iIzdFRDMyMSIgZmlsbC1vcGFjaXR5PSIwLjMiLz48Y2lyY2xlIGN4PSI0MDAiIGN5PSI1MCIgcj0iNiIgZmlsbD0iIzdFRDMyMSIgZmlsbC1vcGFjaXR5PSIwLjMiLz48L3N2Zz4=');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

/* Existing results section CSS below */
.results-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px auto 0;
    width: 90%;
    max-width: 650px;
}

.metric-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(42, 42, 42, 0.3);
    border: 1px solid rgba(126, 211, 33, 0.1);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.05) 0%, rgba(156, 39, 176, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.metric-item:hover {
    transform: translateY(-12px) scale(1.03);
    background: rgba(42, 42, 42, 0.4);
    border-color: rgba(126, 211, 33, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.metric-item:hover::before {
    opacity: 1;
}

.metric-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    font-style: italic;
}

.metric-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(126, 211, 33, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.metric-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(126, 211, 33, 0.3);
    top: 0;
    left: 0;
    animation: rotate 15s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-item:hover .metric-icon::after {
    opacity: 1;
}

.metric-item:hover .metric-icon {
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.2), rgba(156, 39, 176, 0.1));
    transform: scale(1.1) rotate(10deg);
}

.metric-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.metric-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
}

.metric-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: var(--text-body, rgba(255, 255, 255, 0.8));
}

.results-video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.results-video-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.results-video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.1), rgba(156, 39, 176, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    z-index: -1;
}

.results-video {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.results-chart-wrapper {
    position: relative;
    padding: 20px;
    background: rgba(42, 42, 42, 0.3);
    border: 1px solid rgba(126, 211, 33, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.results-chart-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(126, 211, 33, 0.05), rgba(156, 39, 176, 0.05));
    z-index: 0;
}

.results-chart {
    position: relative;
    z-index: 1;
}

.results-chart img {
    width: 100%;
    border-radius: 4px;
}

/* Rotate animation keyframes */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Enhanced Light Theme Styles */
html.light-theme .results-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.light-theme .results-section .section-title {
    color: #333333;
}

.light-theme .results-section .section-description,
.light-theme .results-section .results-description {
    color: rgba(0, 0, 0, 0.7);
}

.light-theme .metric-note {
    color: rgba(0, 0, 0, 0.6);
}

.light-theme .metric-description {
    color: rgba(0, 0, 0, 0.7);
}

.light-theme .metric-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(126, 211, 33, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.light-theme .metric-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(126, 211, 33, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.light-theme .metric-icon {
    background: rgba(126, 211, 33, 0.15);
    color: #4CAF50;
}

.light-theme .metric-item:hover .metric-icon {
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.25), rgba(156, 39, 176, 0.15));
}

.light-theme .results-video-wrapper {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.light-theme .results-video-wrapper::before {
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.1), rgba(156, 39, 176, 0.1));
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.light-theme .results-video {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.light-theme .results-chart-wrapper {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(126, 211, 33, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.light-theme .results-bg-graph {
    opacity: 0.08;
}

/* Media query for results section on smaller screens */
@media (max-width: 1200px) {
    .results-section .section-title {
        font-size: 34px;
    }
    
    .metric-title {
        font-size: 2.2rem;
    }
    
    .metric-icon {
        width: 55px;
        height: 55px;
        margin-right: 15px;
    }
    
    .results-metrics {
        gap: 20px;
    }
    
    .metric-item {
        padding: 18px;
    }
}

@media (max-width: 992px) {
    .results-section {
        padding: 100px 0 80px;
    }
    
    .results-section .section-title {
        font-size: 32px;
    }
    
    .results-section .section-description,
    .results-section .results-description {
        font-size: 15px;
        line-height: 1.7;
        max-width: 100%;
    }
    
    .metric-title {
        font-size: 2rem;
    }
    
    .metric-description {
        font-size: 0.9rem;
    }
    
    .metric-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .results-video-wrapper {
        margin-top: 50px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .results-section {
        padding: 80px 0 60px;
    }
    
    .results-section .col-lg-6.p-0 {
        padding-left: 15px !important;
    }
    
    .results-section .section-subtitle {
        font-size: 12px;
        padding: 6px 12px;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }
    
    .results-section .section-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .results-section .section-description,
    .results-section .results-description {
        font-size: 14px;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .results-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 30px auto 0;
        width: 92%;
        max-width: 550px;
    }
    
    .metric-title {
        font-size: 1.8rem;
    }
    
    .metric-item {
        padding: 15px;
    }
    
    .metric-item:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    .metric-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
        margin-right: 12px;
    }
    
    .results-video-wrapper {
        margin-top: 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
}

@media (max-width: 576px) {
    .results-section {
        padding: 60px 0 40px;
    }
    
    .results-section .col-lg-6.p-0 {
        padding-left: 10px !important;
    }
    
    .results-section .section-subtitle {
        font-size: 11px;
        padding: 5px 10px;
        margin-bottom: 8px;
    }
    
    .results-section .section-title {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
    .results-section .section-description,
    .results-section .results-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .results-metrics {
        margin: 25px auto 0;
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
        width: 95%;
    }
    
    .metric-item {
        padding: 12px 10px;
    }
    
    .metric-icon {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        margin-right: 8px;
    }
    
    .metric-title {
        font-size: 1.4rem;
        margin-bottom: 2px;
    }
    
    .metric-description {
        font-size: 0.8rem;
    }
    
    .results-video-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .results-section {
        padding: 50px 0 30px;
    }
    
    .results-section .section-title {
        font-size: 24px;
    }
    
    .metric-item {
        padding: 10px;
    }
    
    .metric-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-right: 8px;
    }
    
    .metric-title {
        font-size: 1.4rem;
    }
    
    .metric-description {
        font-size: 0.8rem;
    }
}

/* Header spacing for Results section */
.results-section .col-lg-6.p-0 {
    padding-left: 25px !important;
}