:root {
    --primary-bg: #0C0C0C;
    --accent-red: #C10007;
    --card-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --red-glow: rgba(193, 0, 7, 0.3);
}

.impactx-section {
    background-color: var(--primary-bg);
    color: var(--text-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.impactx-hero {
    text-align: center;
    padding: 4rem 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

.impactx-title {
    font-size: 5rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.impactx-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.impactx-subtitle strong {
    color: var(--text-light);
}

/* Video Container */
.video-thumbnail-container {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.video-thumbnail-container:hover {
    transform: scale(1.02);
    border-color: var(--accent-red);
    box-shadow: 0 15px 70px rgba(193, 0, 7, 0.3);
}

.video-thumbnail {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-thumbnail-container:hover .play-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.play-button-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.video-thumbnail-container:hover .play-button-large {
    transform: scale(1.15);
    background: var(--accent-red);
    box-shadow: 0 0 50px rgba(193, 0, 7, 0.6);
}

.play-button-large i {
    color: var(--primary-bg);
    font-size: 3rem;
    margin-left: 8px;
}

.video-thumbnail-container:hover .play-button-large i {
    color: var(--text-light);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn-impact {
    background: linear-gradient(135deg, var(--accent-red) 0%, #8a0005 100%);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--red-glow);
    display: inline-flex;
    align-items: center;
}

.btn-impact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(193, 0, 7, 0.6);
    color: var(--text-light);
}

.btn-impact.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-red);
}

.btn-impact.btn-outline:hover {
    background: var(--accent-red);
}

/* Section Title */
.section-title-impactx {
    font-size: 2.5rem;
    color: var(--text-light);
    text-align: center;
    margin: 4rem 0 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.tag {
    background: var(--card-bg);
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tag:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(193, 0, 7, 0.2);
}

/* Feature Cards */
.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(193, 0, 7, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: var(--accent-red);
}

.feature-card h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* App Stores Section */
.app-stores-section {
    background: var(--card-bg);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 4rem 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.btn-store {
    background: var(--accent-red);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--red-glow);
}

.btn-store:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(193, 0, 7, 0.6);
    color: var(--text-light);
}

/* Accordion */
.faq-section .accordion-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-section .accordion-item:hover {
    border-color: var(--accent-red);
}

.faq-section .accordion-button {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-light);
    font-weight: bold;
    border: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: rgba(193, 0, 7, 0.1);
    color: var(--text-light);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(193, 0, 7, 0.2);
}

.faq-section .accordion-body {
    background: var(--card-bg);
    color: var(--text-gray);
}

/* Modal */
.modal-backdrop.show {
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: var(--primary-bg);
    border: 2px solid var(--accent-red);
    border-radius: 15px;
}

.modal-header {
    background: var(--accent-red);
    color: var(--text-light);
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

.modal-body {
    padding: 0;
    background: #000;
}

.modal-body iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 0 0 15px 15px;
}

.modal-lg {
    max-width: 1000px;
}

.btn-close {
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 768px) {
    .impactx-title {
        font-size: 3rem;
    }

    .video-thumbnail {
        height: 300px;
    }

    .section-title-impactx {
        font-size: 1.8rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .modal-body iframe {
        height: 400px;
    }

    .modal-lg {
        max-width: 95%;
    }
}