/* =======================================================
   VOIDFIX GATEWAY - ENHANCED PROFESSIONAL STYLES
   Premium animations, effects, and modern design elements
   ======================================================= */

/* === Modern Professional Animations === */
/* Scroll animations removed per user request */

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

/* === Communication Hub Design === */
.communication-hub-design {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Hub */
.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hub-icon {
    position: relative;
    z-index: 2;
    animation: rotateHub 20s linear infinite;
}

@keyframes rotateHub {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Pulse Rings */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid rgba(8, 106, 216, 0.3);
    border-radius: 50%;
    animation: pulseRing 3s ease-out infinite;
}

.pulse-ring-2 {
    animation-delay: 1.5s;
}

@keyframes pulseRing {
    0% {
        width: 100px;
        height: 100px;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Platform Cards */
.platform-card {
    position: absolute;
    width: 140px;
    height: 160px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatCard 4s ease-in-out infinite;
}

.platform-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.card-inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    justify-content: space-between;
}

.platform-icon {
    margin-bottom: 10px;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.platform-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2C3E50;
    margin-bottom: 8px;
}

.platform-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #7F8C8D;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Position each platform card */
.sms-card {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.whatsapp-card {
    top: 10%;
    right: 5%;
    animation-delay: 1s;
}

.imessage-card {
    bottom: 10%;
    right: 5%;
    animation-delay: 2s;
}

.mms-card {
    bottom: 10%;
    left: 5%;
    animation-delay: 3s;
}

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

/* Connection Lines */
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.animated-line {
    animation: dashAnimation 3s linear infinite;
}

@keyframes dashAnimation {
    to {
        stroke-dashoffset: -20;
    }
}

/* Hub Label */
.hub-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #086AD8;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Integration Partners */
.integration-partner {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: floatCard 4s ease-in-out infinite;
}

.integration-partner:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.partner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.partner-logo {
    animation: iconPulse 2s ease-in-out infinite;
}

.partner-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2C3E50;
    white-space: nowrap;
}

/* Position Integration Partners */
.ghl-partner {
    top: 50%;
    left: -5%;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.zapier-partner {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.n8n-partner {
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    animation-delay: 3s;
}

/* Message Flow Animations */
.message-flow {
    position: absolute;
    opacity: 0;
    animation: messageSlideIn 6s ease-in-out infinite;
}

.message-box {
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    max-width: 250px;
}

.message-sent {
    background: linear-gradient(135deg, #086AD8, #37C6FF);
}

.message-sent .msg-header,
.message-sent .msg-text {
    color: white;
}

.msg-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.75rem;
    color: #7F8C8D;
}

.msg-sender {
    font-weight: 700;
}

.msg-time,
.msg-status {
    font-size: 0.7rem;
}

.msg-text {
    font-size: 0.875rem;
    color: #2C3E50;
    line-height: 1.4;
}

/* Position Message Flows */
.flow-1 {
    top: 15%;
    left: 25%;
    animation-delay: 0s;
}

.flow-2 {
    top: 40%;
    right: 20%;
    animation-delay: 2s;
}

.flow-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes messageSlideIn {
    0%, 100% {
        opacity: 0;
        transform: translateX(-30px) scale(0.9);
    }
    15%, 85% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Data Flow Particles */
.data-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #086AD8, #37C6FF);
    border-radius: 50%;
    opacity: 0;
    animation: particleFlow 4s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.particle-2 {
    top: 30%;
    right: 20%;
    animation-delay: 0.8s;
}

.particle-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 1.6s;
}

.particle-4 {
    top: 50%;
    left: 40%;
    animation-delay: 2.4s;
}

.particle-5 {
    bottom: 20%;
    right: 25%;
    animation-delay: 3.2s;
}

.particle-6 {
    top: 40%;
    right: 30%;
    animation-delay: 1.2s;
}

@keyframes particleFlow {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translate(20px, -20px) scale(1);
    }
    40% {
        opacity: 0.8;
        transform: translate(40px, -10px) scale(1.2);
    }
    60% {
        opacity: 0.5;
        transform: translate(60px, 10px) scale(0.8);
    }
    80%, 100% {
        opacity: 0;
        transform: translate(80px, 20px) scale(0);
    }
}

/* Responsive Design for Communication Hub */
@media (max-width: 768px) {
    .communication-hub-design {
        height: 400px;
    }
    
    .platform-card {
        width: 100px;
        height: 120px;
    }
    
    .card-inner {
        padding: 12px;
    }
    
    .platform-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .platform-name {
        font-size: 0.9rem;
    }
    
    .platform-status {
        font-size: 0.75rem;
    }
    
    .hub-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .hub-label {
        font-size: 0.65rem;
        margin-top: 10px;
    }
    
    .integration-partner {
        padding: 8px;
    }
    
    .partner-logo svg {
        width: 24px;
        height: 24px;
    }
    
    .partner-name {
        font-size: 0.65rem;
    }
    
    .message-box {
        min-width: 150px;
        max-width: 180px;
        padding: 10px 12px;
    }
    
    .msg-header {
        font-size: 0.65rem;
    }
    
    .msg-text {
        font-size: 0.75rem;
    }
    
    .data-particle {
        width: 4px;
        height: 4px;
    }
    
    /* Adjust integration partner positions for mobile */
    .ghl-partner {
        left: 2%;
    }
    
    .n8n-partner {
        right: 2%;
    }
}

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

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(8, 106, 216, 0.5); }
    50% { box-shadow: 0 0 20px rgba(8, 106, 216, 0.8), 0 0 30px rgba(8, 106, 216, 0.6); }
}


/* === Stat Counter Styles === */
.stat-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.stat-counter .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #086AD8;
}

.stat-counter .stat-label {
    font-size: 0.875rem;
    color: #637E9F;
}

/* === Image Enhancement === */
.image-box img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-box:hover img {
    transform: scale(1.02);
}

/* === Card Hover Effects === */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* === Service Cards Enhancement === */
.service-list-box {
    position: relative;
    overflow: hidden;
}

.service-list-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #086AD8, #37C6FF);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-list-box:hover::before {
    transform: scaleX(1);
}

.service-list-box:hover figure {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

/* === Main Service Cards Animation === */
.main-service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.main-service-card h6 {
    position: relative;
    display: inline-block;
}

.main-service-card h6::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #086AD8;
    transition: width 0.3s ease;
}

.main-service-card:hover h6::after {
    width: 100%;
}

/* === Pricing Table Enhancement === */
.pricing-box {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.pricing-box:hover {
    transform: translateY(-10px);
    border-color: #086AD8;
    box-shadow: 0 20px 40px rgba(8, 106, 216, 0.2);
}

.pricing-box h3 {
    position: relative;
    display: inline-block;
}

/* Removed underline decoration */

.pricing-center {
    transform: scale(1.05);
    z-index: 2;
    position: relative;
}

.pricing-center::before {
    content: 'POPULAR';
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

/* === Testimonial Card Animation === */
.card-video {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-video-box {
    border-radius: 12px;
    overflow: hidden;
}

.star-size {
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* === Section Parallax Effect === */
.section-row {
    position: relative;
}

/* === Partner Slider Enhancement === */
.partner-slider figure {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-slider figure:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* === Video Section Enhancement === */
.video-responsive {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(0deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-responsive:hover {
    transform: perspective(1000px) rotateY(2deg);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.3);
}

/* === FAQ Section Enhancement === */
.accordion-button {
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #086AD8, #37C6FF);
    color: #fff;
}

.accordion-button:not(.collapsed)::before {
    color: #fff;
}

/* === Integration Circles Animation === */
.specialise-box figure {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.specialise-box figure:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* === Floating Action Button (CTA) === */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

.floating-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(8, 106, 216, 0.4);
}

/* === Urgency Badge === */
.urgency-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    animation: pulse 2s infinite;
    margin-top: 0.5rem;
}

/* === Progress Indicators === */
.progress-indicator {
    position: relative;
    width: 100%;
    height: 4px;
    background: rgba(8, 106, 216, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 70%;
    background: linear-gradient(90deg, #086AD8, #37C6FF);
    animation: shine 2s infinite;
}

/* === Social Proof Badges === */
.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    font-weight: 600;
}

.proof-item svg {
    width: 20px;
    height: 20px;
    fill: #086AD8;
}

/* === Gradient Text Effect === */
.gradient-text {
    background: linear-gradient(135deg, #086AD8, #37C6FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Sticky Header Enhancement === */
#header {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#header.headerfix {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* === Testimonial Grid - No Scrollbar === */
.masonry-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .masonry-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .masonry-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === Loading Animation === */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

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

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

/* === Mobile Optimizations === */
@media (max-width: 767px) {
    .hero-text-box h1 {
        font-size: 2rem;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-cta .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .masonry-list {
        grid-template-columns: 1fr;
    }
}

/* === Custom Scrollbar - REMOVED (Using Default) === */

/* === Focus States for Accessibility === */
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #086AD8;
    outline-offset: 2px;
}

/* Remove border/outline on tab buttons */
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:active,
button.nav-link:focus,
button.nav-link:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* Remove fade delay on tabs - instant switching */
.tab-pane.fade {
    transition: none !important;
}

.tab-pane.fade.show {
    transition: none !important;
}

/* Disable all scroll reveal animations */
.reveal,
[data-scale],
[data-delay],
.animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* === Focus States for Accessibility === */

/* === Print Styles === */
@media print {
    .floating-cta,
    #header,
    .footer-top,
    .footer-bottom {
        display: none;
    }
}

.card-video-box {
    border-radius: 0px !important;
}
