/* Custom CSS for LinkStrackly */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -15px, 0);
    }
    70% {
        transform: translate3d(0, -7px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Custom gradient backgrounds */
.gradient-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #4f46e5 100%);
}

.gradient-cta {
    background: linear-gradient(90deg, #6366f1 0%, #4f46e5 100%);
}

/* Button hover effects */
.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Pricing card special effects */
.pricing-popular {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

/* Chart container styles */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Mobile navigation */
.mobile-menu-transition {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.mobile-menu-transition.open {
    max-height: 300px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Form styles */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.form-input:focus {
    border-color: #5fac5a;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: #10b981;
}

.notification.error {
    background-color: #ef4444;
}

.notification.info {
    background-color: #6366f1;
}

/* Stats counter animation */
.stat-counter {
    font-variant-numeric: tabular-nums;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #078639;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5FAC5A;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .auto-dark {
        background-color: #1f2937;
        color: #f9fafb;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Accessibility improvements */
.focus-visible:focus {
    outline: 2px solid #078639;
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Performance optimizations */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Custom utilities */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur-custom {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Chart animations */
.chart-animate {
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Feature icons */
.feature-icon {
    background: linear-gradient(135deg, #078639 0%, #5FAC5A 100%);
    color: white;
}

/* Testimonial styles */
.testimonial-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

/* Logo hover effect */
/* .logo-hover:hover {
    color: #6366f1;
    transition: color 0.3s ease;
} */

/* Pricing toggle */
.pricing-toggle {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.pricing-toggle button.active {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #6366f1;
}

/* Footer link hover */
.footer-link:hover {
    color: #6366f1;
    transition: color 0.3s ease;
}

/* Hero chart container */
.hero-chart-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* Floating elements */
.floating-element {
    animation: bounce 2s infinite;
}

/* CTA pulse effect */
.cta-pulse {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    animation: pulse-cta 2s infinite;
}

@keyframes pulse-cta {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .mobile-stack {
        flex-direction: column;
    }
    
    .mobile-full {
        width: 100%;
    }
    
    .mobile-text-center {
        text-align: center;
    }
    
    .mobile-mb-4 {
        margin-bottom: 1rem;
    }
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error states */
.error-state {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.success-state {
    border-color: #10b981;
    background-color: #f0fdf4;
}

/* Interactive elements */
.interactive:hover {
    cursor: pointer;
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Performance indicators */
.metric-positive {
    color: #10b981;
}

.metric-negative {
    color: #ef4444;
}

.metric-neutral {
    color: #6b7280;
}

/* Section dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e5e7eb 50%, transparent 100%);
}

/* Custom container max-widths */
.container-narrow {
    max-width: 800px;
}

.container-wide {
    max-width: 1400px;
}

/* Z-index layers */
.z-header { z-index: 100; }
.z-modal { z-index: 200; }
.z-tooltip { z-index: 300; }
.z-notification { z-index: 400; }



/* about  */

.hero-section {
            background: linear-gradient(135deg, #078639 0%, #5FAC5A 100%);
            color: white;
            padding: 4rem 0;
            text-align: center;
            /* margin-bottom: 3rem; */
        }
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .feature-card {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            border: 1px solid #e2e8f0;
        }

        .feature-card:hover {
            transform: translateY(-4px);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            /* background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); */
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 32px;
        }

        .users-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .user-card {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            border-radius: 8px;
            padding: 1.5rem;
            text-align: center;
        }

        .timeline {
            position: relative;
            padding: 2rem 0;
        }

        .timeline-item {
            display: flex;
            align-items: center;
            margin-bottom: 2rem;
            position: relative;
        }

        .timeline-date {
            background: linear-gradient(135deg, #078639 0%, #5FAC5A 100%);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-weight: 600;
            min-width: 100px;
            text-align: center;
            margin-right: 2rem;
        }

        .timeline-content {
            flex: 1;
            background: white;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .stat-card {
            /* background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); */
            border-left: 4px solid #0DA84A;
            background: #c1fdd9;
            border-radius: 8px;
            padding: 1.5rem;
            text-align: center;
            /* border-left: 4px solid #3b82f6; */
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: #0DA84A;
            margin-bottom: 0.5rem;
        }
        .response-times {
            background: linear-gradient(135deg, #c1fdd9 0%, #c1fdd9 100%);
            border-radius: 12px;
            padding: 2rem;
            border-left: 4px solid #0DA84A;
        }

        .policy-section {
            margin-bottom: 2.5rem;
        }

        .section-title {
            font-size: 22px;
            font-weight: 700;
            color: #1c1c1c;
            margin-bottom: 1rem;
            /* border-left: 4px solid #0DA84A;
            padding-left: 1rem; */
        }

        .subsection {
            margin-bottom: 1.5rem;
        }

        .subsection-title {
            font-weight: 600;
            color: #374151;
            margin-bottom: 0.5rem;
        }

        .policy-list {
            list-style-type: disc;
            margin-left: 1.2rem;
            margin-bottom: 1rem;
        }

        .policy-list li {
            margin-bottom: 0.5rem;
        }

        .highlight-box {
            background: linear-gradient(135deg, #c1fdd9 0%, #c1fdd9 100%);
            border-radius: 8px;
            padding: 1.5rem;
            border-left: 4px solid #0DA84A;
            margin: 1.5rem 0;
        }

        .contact-info {
            background: #1f2937;
            color: white;
            padding: 1.5rem;
            border-radius: 8px;
            margin: 2rem 0;
        }
        .circumstances-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 1.5rem 0;
        }

        .circumstance-card {
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            padding: 1.5rem;
        }
        .requirements-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 1.5rem 0;
        }

        .requirement-card {
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            padding: 1.5rem;
        }
        .no-refund {
            border-color: #ef4444;
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
        }

        .maybe-refund {
            border-color: #f59e0b;
            background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
        }
        .policy-list {
            list-style-type: disc;
            margin-left: 2rem;
            margin-bottom: 1rem;
        }

        .policy-list li {
            margin-bottom: 0.5rem;
        }

        .warning-box {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border-radius: 8px;
            padding: 1.5rem;
            border-left: 4px solid #f59e0b;
            margin: 1.5rem 0;
        }

        .info-box {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border-radius: 8px;
            padding: 1.5rem;
            border-left: 4px solid #3b82f6;
            margin: 1.5rem 0;
        }
        /* login page */
        .login-header {
            margin-bottom: 1.2rem;
        }
        .login-container {
                background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
                padding: 2rem 0;
            }

            .login-card {
                background: white;
                border-radius: 16px;
                padding: 1.8rem;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
                width: 100%;
                max-width: 450px;
                border: 1px solid #e2e8f0;
                margin: 100px auto;
            }
            .payment-checkout-card {
                background: white;
                border-radius: 16px;
                padding: 1.8rem;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
                width: 100%;
                max-width: 600px;
                border: 1px solid #e2e8f0;
                margin: 100px auto;
            }
            .form-group {
                margin-bottom: 1rem;
            }

            .form-label {
                display: block;
                margin-bottom: 0.5rem;
                font-weight: 500;
                color: #374151;
                font-size: 0.9rem;
            }
            .form-input {
                width: 100%;
                padding: 12px;
                border: 1px solid #e5e7eb;
                border-radius: 8px;
                font-size: 1rem;
                transition: border-color 0.3s ease;
            }
            .password-input-container {
                position: relative;
            }

            .password-toggle {
                position: absolute;
                right: 12px;
                top: 50%;
                transform: translateY(-50%);
                background: none;
                border: none;
                cursor: pointer;
                color: #6b7280;
                font-size: 1.2rem;
            }
            .login-btn {
                width: 100%;
                padding: 14px;
                /* background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); */
                background-color: #078639;
                color: white;
                border: none;
                border-radius: 8px;
                font-size: 1rem;
                font-weight: 500;
                cursor: pointer;
                transition: all 0.3s ease;
            }

            .login-btn:hover {
                transform: translateY(-2px);
                box-shadow: 0 8px 15px rgba(30, 58, 138, 0.3);
            }
            .remember-forgot {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin: 0.6rem 0 2rem;
                font-size: 0.9rem;
            }

            .checkbox-container {
                display: flex;
                align-items: center;
                gap: 0.5rem;
            }
            .checkbox-container input[type="checkbox"] {
                width: auto;
            }

            .forgot-password {
                color: #3b82f6;
                text-decoration: none;
                font-weight: 500;
            }

            .forgot-password:hover {
                text-decoration: underline;
            }
            ::placeholder {
                font-size: 14px;
                font-weight: 400;
            }

            /* right-now not in use for google and microsoft login */
            /* .divider {
                text-align: center;
                margin: 2rem 0;
                position: relative;
                color: #6b7280;
            }

            .divider::before {
                content: '';
                position: absolute;
                top: 50%;
                left: 0;
                right: 0;
                height: 1px;
                background: #e5e7eb;
            }

            .divider span {
                background: white;
                padding: 0 1rem;
                z-index: 1;
                position: relative;
            }

            .social-login {
                display: flex;
                gap: 1rem;
                margin-bottom: 2rem;
            }

            .social-btn {
                flex: 1;
                padding: 12px;
                border: 2px solid #e5e7eb;
                border-radius: 8px;
                background: white;
                cursor: pointer;
                transition: all 0.3s ease;
                font-weight: 500;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 0.5rem;
            }

            .social-btn:hover {
                border-color: #3b82f6;
                background: #f8fafc;
            }

            .signup-prompt {
                text-align: center;
                margin-top: 2rem;
                padding-top: 2rem;
                border-top: 1px solid #e5e7eb;
                color: #64748b;
            }

            .signup-link {
                color: #3b82f6;
                text-decoration: none;
                font-weight: 600;
            }

            .signup-link:hover {
                text-decoration: underline;
            } */
            /* to close  not in use for google and microsoft login */
            .error-message {
                background: #fef2f2;
                color: #dc2626;
                padding: 12px;
                border-radius: 8px;
                margin-bottom: 1rem;
                border-left: 4px solid #dc2626;
                display: none;
            }

            .success-message {
                background: #f0fdf4;
                color: #16a34a;
                padding: 12px;
                border-radius: 8px;
                margin-bottom: 1rem;
                border-left: 4px solid #16a34a;
                display: none;
            }
            .a-auth{
                color:#078639!important;
                text-decoration: none!important;
            }
            .a-auth:hover{
                color:#5fac59!important;
            }
             .payment-general-heading{
                font-weight: 500;
                border-bottom: 1px solid #f0f0f0;
                margin-bottom: 1rem;
                margin-top:1.5rem;
                padding-bottom: 0.5rem;
                font-size: 1rem;
            }
            .input-label.required:after {
                content: "*";
                color: #ef4444;
                margin-left: 0.3rem;
            }
            .iti--separate-dial-code{
                width:100%;
            }
            .promo-code-section{
                position: relative;
                background: #5fac590f;
                border-radius: 8px;
                padding: .5rem 1rem;
            }
            .pg-heading{
                color: #5fac59;

            }
            #applyPromoBtn{
                font-size: 16px !important;
                position: absolute;
                right: 1.5rem;
                background: #5fac5a;
                color: white;
                padding: 10px 0.7rem;
                border-radius: 8px;
                line-height: 11px;
                margin-top: 0.5rem;
            }
            #applyPromoBtn:hover{
                background: #078639;
                color: white;
            }
            .total-pricing{
                display: flex;
                align-items: center;
                justify-content: space-between;
                font-weight: 700;
                font-size: 1.2rem;
            }
            #applyPromoBtn:disabled{
                opacity: 0.6;;
            }