/* Advantages Showcase Section */
.advantages-showcase {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: #0a0a14;
    background-image: linear-gradient(to bottom, #0a0a14, #12121e, #0a0a14);
}

/* Background Elements */
.advantages-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.advantages-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(165, 255, 0, 0.1), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(100, 149, 237, 0.1), transparent 50%);
    filter: blur(60px);
    opacity: 0.6;
    z-index: 0;
    animation: glowPulse 15s infinite alternate ease-in-out;
}

@keyframes glowPulse {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.1); }
}

.advantages-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(165, 255, 0, 0.1)" stroke-width="0.5"/><circle cx="50" cy="50" r="3" fill="rgba(165, 255, 0, 0.1)"/><line x1="50" y1="0" x2="50" y2="100" stroke="rgba(165, 255, 0, 0.05)" stroke-width="0.5"/><line x1="0" y1="50" x2="100" y2="50" stroke="rgba(165, 255, 0, 0.05)" stroke-width="0.5"/></svg>');
    background-size: 50px 50px;
    opacity: 0.15;
    z-index: 0;
}

.advantages-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.advantages-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: rgba(165, 255, 0, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(165, 255, 0, 0.5);
    opacity: 0;
    animation: particleFloat 8s infinite ease-out;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) translateX(0); }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { opacity: 0; transform: translateY(-100px) translateX(30px); }
}

/* Main Container */
.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header Styles */
.advantages-header {
    text-align: center;
    margin-bottom: 60px;
}

.advantages-title-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(30, 30, 40, 0.7);
    border-radius: 30px;
    padding: 8px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(165, 255, 0, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.advantages-title-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(165, 255, 0, 0.1), transparent);
    transform: translateX(-100%);
    animation: pillShine 3s infinite;
}

@keyframes pillShine {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.advantages-title-pill i {
    font-size: 16px;
    color: #a8f340;
    margin-right: 8px;
}

.advantages-title-pill span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #a8f340;
}

.advantages-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.advantages-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    color: #a8a8a8;
    letter-spacing: 0.5px;
}

/* Tabs Navigation */
.advantages-tabs {
    margin-bottom: 60px;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(165, 255, 0, 0.1);
}

.tab-button {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-button i {
    font-size: 18px;
    color: #a8a8a8;
    transition: color 0.3s ease;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #CFFF70, #a8f340, #AFF550);
    transition: width 0.3s ease;
}

.tab-button:hover {
    color: #a8f340;
}

.tab-button:hover i {
    color: #a8f340;
}

.tab-button.active {
    color: #a8f340;
}

.tab-button.active i {
    color: #a8f340;
}

.tab-button.active::after {
    width: 100%;
}

/* Tab Content */
.tab-content-container {
    position: relative;
    min-height: 400px;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-content-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.tab-text-content {
    flex: 1;
}

.tab-text-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tab-text-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 30px;
}

.advantage-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.advantage-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.advantage-features li i {
    color: #a8f340;
    font-size: 18px;
    margin-right: 15px;
}

.advantage-features li span {
    font-size: 16px;
    color: #ffffff;
}

.tab-cta {
    margin-top: 30px;
}

.tab-cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(165, 255, 0, 0.1);
    color: #a8f340;
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(165, 255, 0, 0.3);
}

.tab-cta-button:hover {
    background: rgba(165, 255, 0, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(165, 255, 0, 0.2);
}

.tab-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

/* Intelligence Tab Visual */
.intelligence-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.ai-nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.ai-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(165, 255, 0, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(165, 255, 0, 0.5);
    animation: nodePulse 3s infinite alternate ease-in-out;
}

.ai-node.node1 {
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.ai-node.node2 {
    top: 100px;
    right: 70px;
    animation-delay: 0.5s;
}

.ai-node.node3 {
    bottom: 80px;
    left: 80px;
    animation-delay: 1s;
}

.ai-node.node4 {
    bottom: 50px;
    right: 50px;
    animation-delay: 1.5s;
}

.ai-node.node5 {
    top: 150px;
    left: 150px;
    animation-delay: 2s;
}

@keyframes nodePulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 1; }
}

.ai-connection {
    position: absolute;
    background: linear-gradient(90deg, rgba(165, 255, 0, 0.7), rgba(165, 255, 0, 0.1));
    height: 2px;
    transform-origin: left center;
    animation: connectionPulse 3s infinite alternate ease-in-out;
}

.ai-connection.connection1 {
    top: 60px;
    left: 70px;
    width: 160px;
    transform: rotate(15deg);
    animation-delay: 0.2s;
}

.ai-connection.connection2 {
    top: 110px;
    left: 70px;
    width: 140px;
    transform: rotate(45deg);
    animation-delay: 0.7s;
}

.ai-connection.connection3 {
    top: 160px;
    left: 100px;
    width: 120px;
    transform: rotate(-30deg);
    animation-delay: 1.2s;
}

.ai-connection.connection4 {
    top: 200px;
    left: 100px;
    width: 150px;
    transform: rotate(-15deg);
    animation-delay: 1.7s;
}

@keyframes connectionPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

.ai-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(165, 255, 0, 0.2), transparent 70%);
    animation: aiPulse 4s infinite ease-in-out;
}

@keyframes aiPulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
}

/* Security Tab Visual */
.security-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.security-shield {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 220px;
}

.shield-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 40, 0.7);
    border: 2px solid rgba(165, 255, 0, 0.5);
    border-radius: 90px 90px 10px 10px;
    box-shadow: 0 0 20px rgba(165, 255, 0, 0.3);
    animation: shieldPulse 4s infinite alternate ease-in-out;
}

.shield-inner {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: rgba(20, 20, 30, 0.7);
    border: 1px solid rgba(165, 255, 0, 0.3);
    border-radius: 75px 75px 5px 5px;
}

.shield-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(165, 255, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon i {
    font-size: 30px;
    color: #a8f340;
}

@keyframes shieldPulse {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(165, 255, 0, 0.3); }
    100% { transform: scale(1.05); box-shadow: 0 0 30px rgba(165, 255, 0, 0.5); }
}

.security-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px solid rgba(165, 255, 0, 0.2);
    animation: securityPulse 3s infinite;
}

@keyframes securityPulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
}

/* Automation Tab Visual */
.automation-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.automation-gears {
    position: relative;
    width: 100%;
    height: 100%;
}

.gear {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(30, 30, 40, 0.7);
    border: 2px solid rgba(165, 255, 0, 0.3);
    box-shadow: 0 0 15px rgba(165, 255, 0, 0.2);
}

.gear i {
    color: #a8f340;
}

.gear.gear1 {
    top: 50px;
    left: 50px;
    width: 100px;
    height: 100px;
    animation: rotateGear 10s linear infinite;
}

.gear.gear1 i {
    font-size: 50px;
}

.gear.gear2 {
    top: 130px;
    left: 130px;
    width: 120px;
    height: 120px;
    animation: rotateGear 10s linear infinite reverse;
}

.gear.gear2 i {
    font-size: 60px;
}

.gear.gear3 {
    bottom: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
    animation: rotateGear 10s linear infinite;
}

.gear.gear3 i {
    font-size: 40px;
}

@keyframes rotateGear {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.automation-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(165, 255, 0, 0.2), transparent 70%);
    animation: automationPulse 4s infinite ease-in-out;
}

@keyframes automationPulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
}

/* Support Tab Visual */
.support-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.support-chat {
    position: relative;
    width: 100%;
    height: 100%;
}

.chat-bubble {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(30, 30, 40, 0.7);
    border: 2px solid rgba(165, 255, 0, 0.3);
    box-shadow: 0 0 15px rgba(165, 255, 0, 0.2);
}

.chat-bubble i {
    color: #a8f340;
}

.chat-bubble.bubble1 {
    top: 50px;
    left: 50px;
    width: 80px;
    height: 80px;
    animation: bubbleFloat 4s infinite alternate ease-in-out;
}

.chat-bubble.bubble1 i {
    font-size: 40px;
}

.chat-bubble.bubble2 {
    top: 100px;
    right: 60px;
    width: 100px;
    height: 100px;
    animation: bubbleFloat 4s infinite alternate-reverse ease-in-out;
    animation-delay: 1s;
}

.chat-bubble.bubble2 i {
    font-size: 50px;
}

.chat-bubble.bubble3 {
    bottom: 60px;
    left: 100px;
    width: 120px;
    height: 120px;
    animation: bubbleFloat 4s infinite alternate ease-in-out;
    animation-delay: 2s;
}

.chat-bubble.bubble3 i {
    font-size: 60px;
}

@keyframes bubbleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

.support-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(165, 255, 0, 0.2), transparent 70%);
    animation: supportPulse 4s infinite ease-in-out;
}

@keyframes supportPulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
}

/* Testimonials */
.advantages-testimonials {
    margin: 60px 0;
    position: relative;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background: rgba(30, 30, 40, 0.7);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    border: 1px solid rgba(165, 255, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: rgba(165, 255, 0, 0.3);
}

.testimonial-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0 0 20px;
    padding-left: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-left: 30px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid rgba(165, 255, 0, 0.3);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin: 0 0 5px;
    color: #ffffff;
}

.author-info p {
    font-size: 14px;
    margin: 0;
    color: #a8a8a8;
    font-style: normal;
    padding-left: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(165, 255, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: rgba(165, 255, 0, 0.7);
    transform: scale(1.2);
}

/* CTA */
.advantages-cta {
    text-align: center;
    margin-top: 60px;
}

.advantages-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    background: linear-gradient(90deg, #CFFF70, #a8f340, #AFF550);
    color: #1a1a2e;
    font-weight: 700;
    font-size: 18px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(165, 255, 0, 0.3);
}

.advantages-cta-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.advantages-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(165, 255, 0, 0.4);
}

.advantages-cta-button:hover i {
    transform: translateX(5px);
}

/* Scroll Animation */
.advantages-header,
.tab-navigation,
.tab-content,
.advantages-testimonials,
.advantages-cta {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.advantages-header.animate-in,
.tab-navigation.animate-in,
.tab-content.animate-in,
.advantages-testimonials.animate-in,
.advantages-cta.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .tab-content-inner {
        flex-direction: column;
    }

    .tab-text-content {
        order: 2;
    }

    .tab-visual {
        order: 1;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .advantages-showcase {
        padding: 80px 0;
    }

    .advantages-header h2 {
        font-size: 36px;
    }

    .tab-navigation {
        flex-wrap: wrap;
    }

    .tab-button {
        padding: 10px 15px;
        font-size: 14px;
    }

    .tab-text-content h3 {
        font-size: 28px;
    }

    .testimonial-content p {
        font-size: 16px;
    }

    .advantages-cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .tab-button {
        padding: 8px 12px;
        font-size: 13px;
    }

    .tab-button i {
        font-size: 16px;
    }

    .tab-text-content h3 {
        font-size: 24px;
    }

    .advantage-features li span {
        font-size: 14px;
    }

    .testimonial-content {
        padding: 20px;
    }

    .testimonial-content p {
        font-size: 14px;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .author-info h4 {
        font-size: 16px;
    }

    .author-info p {
        font-size: 12px;
    }
}
