/* ================================================================
   animations-isp.css - Modern Animations & Interactive Telecom UI
   Solution Net Ec - High-Tech Fiber ISP Experience
   ================================================================ */

/* --- Keyframe Animations --- */
@keyframes pulseRadar {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes pulseCyanRadar {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 12px rgba(0, 212, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

@keyframes floatGentle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes floatGentleReverse {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(8px);
    }
}

@keyframes shimmerSweep {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes ambientGlowPulse {
    0%, 100% {
        opacity: 0.45;
        filter: blur(40px) brightness(1);
    }
    50% {
        opacity: 0.75;
        filter: blur(55px) brightness(1.2);
    }
}

@keyframes signalWave {
    0% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

/* --- Reveal on Scroll System --- */
.reveal-init {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-init.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Live Status Pill (Hero) --- */
.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 0.4px;
    backdrop-filter: blur(12px);
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.12);
}

.status-dot-pulse {
    width: 9px;
    height: 9px;
    background: #10b981;
    border-radius: 50%;
    animation: pulseRadar 2s infinite ease-in-out;
}

/* --- Quick Feature Tags Strip --- */
.hero-features-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.feature-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.feature-tag-chip i {
    color: var(--accent-cyan);
    font-size: 0.95rem;
}

.feature-tag-chip:hover {
    transform: translateY(-2px);
    border-color: var(--accent-cyan);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
}

/* --- Hero Buttons Styling --- */
.btn-shimmer {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    color: #fff !important;
    border: none;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: all 0.7s ease;
}

.btn-shimmer:hover::after {
    left: 140%;
}

.btn-shimmer:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(0, 212, 255, 0.5);
    color: #fff !important;
}

.btn-outline-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline-glow:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
}

/* --- Floating Tech Badges on Carousel/Hero --- */
.hero-visual-wrapper {
    position: relative;
}

.floating-tech-badge {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1.1rem;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
    transition: transform 0.3s ease;
}

.floating-tech-badge:hover {
    transform: scale(1.05) !important;
}

.floating-tech-badge-left {
    bottom: -15px;
    left: 20px;
    animation: floatGentle 4.5s ease-in-out infinite;
}

.floating-tech-badge-right {
    top: -15px;
    right: 20px;
    animation: floatGentleReverse 5s ease-in-out infinite;
}

.badge-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(139, 92, 246, 0.2));
    color: var(--accent-cyan);
}

.badge-text-primary {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.badge-text-secondary {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

/* --- Interactive Speed Calculator --- */
.speed-calc-section {
    position: relative;
    z-index: 1;
    padding: 3rem 0;
}

.speed-calc-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.speed-calc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.calc-selector-btn {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.calc-selector-btn:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
}

.calc-selector-btn.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.calc-activity-chip {
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
}

.calc-activity-chip:hover {
    border-color: rgba(0, 212, 255, 0.4);
    color: var(--text-primary);
}

.calc-activity-chip.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Gauge Meter Visualization */
.speed-meter-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.speed-meter-circle {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speed-meter-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.speed-meter-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 10;
}

.speed-meter-bar {
    fill: none;
    stroke: url(#speedGradient);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.speed-meter-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.speed-meter-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-cyan);
    line-height: 1;
}

.speed-meter-unit {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* --- Plan Cards Micro-interactions & 3D Tilt --- */
.plan-card-tilt {
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    will-change: transform;
}

.highlight-plan-glow {
    position: relative;
}

.highlight-plan-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, #00d4ff, #3b82f6, #8b5cf6, #00d4ff);
    background-size: 300% 300%;
    animation: shimmerSweep 6s linear infinite;
    z-index: -1;
    opacity: 0.6;
    filter: blur(8px);
}

.plan-speed-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.8rem;
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-top: 0.4rem;
}

.plan-speed-pill i {
    animation: signalWave 2s infinite ease-in-out;
}

/* Category Filter Tabs for Plans */
.plans-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.plan-tab-btn {
    padding: 0.5rem 1.4rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.plan-tab-btn:hover {
    color: var(--accent-cyan);
    border-color: rgba(0, 212, 255, 0.4);
}

.plan-tab-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.35);
}

/* --- Fiber Optic Comparison Section --- */
.comparison-section {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.comparison-table-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-card);
}

.comparison-header {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    align-items: center;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.comparison-row:hover {
    background: rgba(0, 212, 255, 0.03);
}

.comparison-row:last-child {
    border-bottom: none;
}

.solutionnet-col {
    color: var(--accent-cyan);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.competitor-col {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- NetGo TV Cinema Showcase --- */
.netgo-cinema-frame {
    position: relative;
    border-radius: 20px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(139, 92, 246, 0.3));
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

.netgo-ambient-light {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.35) 0%, rgba(139, 92, 246, 0.25) 50%, transparent 80%);
    z-index: 0;
    pointer-events: none;
    animation: ambientGlowPulse 5s ease-in-out infinite;
}

.netgo-screen-content {
    position: relative;
    z-index: 1;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.netgo-floating-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.netgo-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.netgo-chip i {
    color: var(--accent-cyan);
}

.netgo-chip:hover {
    transform: translateY(-2px);
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

/* --- Animated Stats / Impact Counter --- */
.stats-counter-section {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0;
}

.stat-box-animated {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-box-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-box-animated:hover::before {
    opacity: 1;
}

.stat-box-animated:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.stat-number-counter {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-text {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* --- Interactive FAQ Accordion --- */
.faq-section {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.faq-accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    margin-bottom: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.faq-accordion-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.faq-accordion-header {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
    user-select: none;
}

.faq-accordion-header:hover {
    color: var(--accent-cyan);
}

.faq-chevron-icon {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-accordion-item.active .faq-chevron-icon {
    transform: rotate(180deg);
}

.faq-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.faq-accordion-item.active .faq-accordion-body {
    padding-bottom: 1.25rem;
}

/* --- Floating WhatsApp Concierge --- */
.whatsapp-floating-concierge {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.whatsapp-pill-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25d366;
    color: #fff !important;
    padding: 0.75rem 1.3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-pill-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
    color: #fff !important;
}

.whatsapp-pill-btn i {
    font-size: 1.3rem;
}

.whatsapp-status-ping {
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    animation: pulseRadar 1.8s infinite;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .floating-tech-badge {
        position: static;
        margin-top: 1rem;
        display: inline-flex;
    }
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        padding: 0.9rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .whatsapp-pill-btn span {
        display: none;
    }
    .whatsapp-pill-btn {
        padding: 0.85rem;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
    .whatsapp-pill-btn i {
        margin: 0;
        font-size: 1.5rem;
    }
    .speed-calc-card {
        padding: 1.5rem 1rem;
    }
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        text-align: left;
    }
}
