/* Custom CSS */
.gradient-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #000000 100%);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.nav-link {
    position: relative;
}
.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}
.nav-link:hover:after {
    width: 100%;
}
.smooth-scroll {
    scroll-behavior: smooth;
}
.workflow-step {
    position: relative;
    padding-left: 3rem;
}
.workflow-step:before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 0;
    height: 100%;
    width: 2px;
    background: #3b82f6;
}
.workflow-step:last-child:before {
    height: 50%;
}
.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
/* Testimonial Styles */
.testimony-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimony-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.testimony-rating {
    color: #fbbf24;
}
.testimony-quote {
    position: relative;
}
.testimony-quote:before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: #3b82f6;
    opacity: 0.2;
    font-family: serif;
}
.testimony-avatar {
    width: 80px;
    height: 80px;
    border: 3px solid #3b82f6;
    transition: transform 0.3s ease;
}
.testimony-card:hover .testimony-avatar {
    transform: scale(1.1);
}
/* Contact Section Styles */
.contact-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}
.contact-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.contact-input {
    transition: all 0.3s ease;
    color: black;
}
.contact-input:focus {
    transform: translateY(-2px);
}
.contact-input:focus + i,
.contact-input:focus ~ i {
    color: #3b82f6 !important;
}
/* Ensure icons stay visible and maintain color */
.contact-card .fas,
.contact-card .fab {
    color: #3b82f6;
    z-index: 10;
    pointer-events: none;
}
.contact-icon {
    transition: transform 0.3s ease;
}
.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
    
}
.contact-info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
/* How It Works Section Styles */
.how-step {
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.how-step:hover {
    transform: translateY(-10px);
}
.how-step-image {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
}
.how-step:hover .how-step-image {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.how-step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.how-step-content {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.how-connector {
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #3b82f6;
    z-index: 1;
}
.how-connector:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #3b82f6;
    border-radius: 50%;
}
@media (max-width: 1024px) {
    .how-connector {
        display: none;
    }
}
/* Floating Button Styles */
.floatbtn-container {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    z-index: 1000;
    flex-direction: column;
    gap: 1rem;
    transition: opacity 0.3s;
}
.floatbtn {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    cursor: pointer;
    border: none;
    outline: none;
    transition: background 0.2s, transform 0.2s;
}
.floatbtn:active {
    transform: scale(0.97);
}
@media (max-width: 640px) {
    .floatbtn-container {
        right: 1rem;
        bottom: 1rem;
    }
    .floatbtn {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
}
.floatbtn-hide {
    display: none !important;
}
/* Plan Section Styles */
.plan-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.plan-toggle-label {
    font-size: 1rem;
    color: #4b5563;
    font-weight: 500;
}
.plan-toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}
.plan-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.plan-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: .4s;
    border-radius: 34px;
}
.plan-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
input:checked + .plan-toggle-slider {
    background-color: #3b82f6;
}
input:checked + .plan-toggle-slider:before {
    transform: translateX(24px);
}
.savings-badge {
    background: linear-gradient(to right, #10b981, #34d399);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}
.switch-plan-btn {
    background: white;
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}
.switch-plan-btn:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}
.plan-price-container {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.plan-price-annual {
    display: none;
}
.plan-price-monthly {
    display: flex;
}
input:checked ~ .plan-price-annual {
    display: flex;
}
input:checked ~ .plan-price-monthly {
    display: none;
}
.plan-features {
    min-height: 200px;
}
/* Sign Up Page Styles */
.signup-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
.signup-plan-card {
    border: 2px solid #3b82f6;
    position: relative;
    overflow: hidden;
}
.signup-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #3b82f6, #6366f1);
}
.signup-form-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.signup-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.signup-form-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.signup-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #1e293b;
    background: transparent;
}
.signup-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}
.signup-input::placeholder {
    color: transparent;
}
.signup-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #64748b;
    transition: all 0.2s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.25rem;
}
.signup-input:focus ~ .signup-label,
.signup-input:not(:placeholder-shown) ~ .signup-label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.875rem;
    color: #3b82f6;
    background: white;
}
.signup-input:focus ~ .signup-label {
    color: #3b82f6;
}
.signup-submit-btn {
    position: relative;
    overflow: hidden;
}
.signup-submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}
.signup-submit-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}
@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}
.signup-plan-badge {
    transition: transform 0.3s ease;
}
.signup-plan-card:hover .signup-plan-badge {
    transform: scale(1.05);
}
.signup-plan-features li {
    transition: transform 0.3s ease;
}
.signup-plan-features li:hover {
    transform: translateX(5px);
}
/* Plan Option Cards */
.plan-option-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.plan-option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.plan-option-card.basic {
    background: linear-gradient(to right, #f3f4f6, #ffffff);
}
.plan-option-card.pro {
    background: linear-gradient(to right, #dbeafe, #ffffff);
}
.plan-option-card.enterprise {
    background: linear-gradient(to right, #e9d5ff, #ffffff);
}
/* Multi-step Form Styles */
.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}
.step-indicator div {
    transition: all 0.3s ease;
}
.step-indicator span {
    transition: all 0.3s ease;
}
.step-indicator.active span {
    color: #3B82F6;
    font-weight: 600;
}
.form-step {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
}
.form-step.hidden {
    display: none;
    opacity: 0;
    transform: translateX(20px);
}
.signup-form-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.signup-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #F9FAFB;
}
.signup-input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: #FFFFFF;
}
.signup-label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    transition: all 0.2s ease;
    pointer-events: none;
    font-size: 1rem;
}
.signup-input:focus + .signup-label,
.signup-input:not(:placeholder-shown) + .signup-label {
    top: 0;
    transform: translateY(-100%) scale(0.85);
    color: #3B82F6;
    background-color: #FFFFFF;
    padding: 0 0.25rem;
}
.error-message {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    transition: all 0.3s ease;
}
/* Confirmation Step Styles */
.bg-gray-50 {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}
.bg-gray-50:hover {
    border-color: #3B82F6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
/* Button Styles */
.next-step-btn,
.prev-step-btn {
    transition: all 0.3s ease;
}
.next-step-btn:hover,
.prev-step-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.next-step-btn:active,
.prev-step-btn:active {
    transform: translateY(0);
}
/* Form Card Animation */
.signup-form-card {
    animation: slideIn 0.5s ease-out;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Progress Bar Animation */
.step-indicator.active div {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}
/* Features Section Styles */
.features-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

.features-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    gap: 1.5rem;
    padding: 1rem 0;
}

.features-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.features-card {
    flex: 0 0 380px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Card 1 - Blue Theme */
.features-card:nth-child(1) {
    background: linear-gradient(145deg, #ffffff, #f0f7ff);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Card 2 - Purple Theme */
.features-card:nth-child(2) {
    background: linear-gradient(145deg, #ffffff, #f5f3ff);
    border-color: rgba(124, 58, 237, 0.2);
}

/* Card 3 - Green Theme */
.features-card:nth-child(3) {
    background: linear-gradient(145deg, #ffffff, #f0fdf4);
    border-color: rgba(16, 185, 129, 0.2);
}

/* Card 4 - Orange Theme */
.features-card:nth-child(4) {
    background: linear-gradient(145deg, #ffffff, #fff7ed);
    border-color: rgba(249, 115, 22, 0.2);
}

/* Card 5 - Pink Theme */
.features-card:nth-child(5) {
    background: linear-gradient(145deg, #ffffff, #fdf2f8);
    border-color: rgba(236, 72, 153, 0.2);
}

/* Card 6 - Teal Theme */
.features-card:nth-child(6) {
    background: linear-gradient(145deg, #ffffff, #f0fdfa);
    border-color: rgba(20, 184, 166, 0.2);
}

/* Additional Cards - Mixed Themes */
.features-card:nth-child(7) {
    background: linear-gradient(145deg, #ffffff, #fef3c7);
    border-color: rgba(245, 158, 11, 0.2);
}

.features-card:nth-child(8) {
    background: linear-gradient(145deg, #ffffff, #f3e8ff);
    border-color: rgba(168, 85, 247, 0.2);
}

.features-card:nth-child(9) {
    background: linear-gradient(145deg, #ffffff, #e0f2fe);
    border-color: rgba(14, 165, 233, 0.2);
}

.features-card:nth-child(10) {
    background: linear-gradient(145deg, #ffffff, #dcfce7);
    border-color: rgba(34, 197, 94, 0.2);
}

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

/* Update icon colors to match card themes */
.features-card:nth-child(1) .features-icon {
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
}

.features-card:nth-child(2) .features-icon {
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.3);
}

.features-card:nth-child(3) .features-icon {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

.features-card:nth-child(4) .features-icon {
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.3);
}

.features-card:nth-child(5) .features-icon {
    color: #ec4899;
    border-color: rgba(236, 72, 153, 0.3);
}

.features-card:nth-child(6) .features-icon {
    color: #14b8a6;
    border-color: rgba(20, 184, 166, 0.3);
}

.features-card:nth-child(7) .features-icon {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.features-card:nth-child(8) .features-icon {
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.3);
}

.features-card:nth-child(9) .features-icon {
    color: #0ea5e9;
    border-color: rgba(14, 165, 233, 0.3);
}

.features-card:nth-child(10) .features-icon {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

/* Update title underline colors */
.features-card:nth-child(1) .features-title::after {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.features-card:nth-child(2) .features-title::after {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.features-card:nth-child(3) .features-title::after {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.features-card:nth-child(4) .features-title::after {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.features-card:nth-child(5) .features-title::after {
    background: linear-gradient(90deg, #ec4899, #f472b6);
}

.features-card:nth-child(6) .features-title::after {
    background: linear-gradient(90deg, #14b8a6, #2dd4bf);
}

.features-card:nth-child(7) .features-title::after {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.features-card:nth-child(8) .features-title::after {
    background: linear-gradient(90deg, #a855f7, #c084fc);
}

.features-card:nth-child(9) .features-title::after {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

.features-card:nth-child(10) .features-title::after {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.features-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: width 0.4s ease;
}

.features-card:hover .features-title::after {
    width: 50%;
}

.features-description {
    color: #4b5563;
    line-height: 1.5;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
}

.features-view-all {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-view-all.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.features-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.features-button:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.features-button:active {
    transform: translateY(-1px);
}

.features-button i {
    margin-left: 0.75rem;
    transition: transform 0.4s ease;
}

.features-button:hover i {
    transform: translateX(6px);
}

/* Scroll Indicators */
.features-scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.features-scroll-left {
    left: 1rem;
}

.features-scroll-right {
    right: 1rem;
}

.features-container:hover .features-scroll-indicator {
    opacity: 1;
}

.features-scroll-indicator:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.features-icon {
    font-size: 2rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
    border-radius: 1rem;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.features-card:hover .features-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
}

/* Features Modal Styles */
.features-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.features-modal.active {
    opacity: 1;
    visibility: visible;
}

.features-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.features-modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.features-modal.active .features-modal-container {
    transform: translateY(0);
}

.features-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: white;
}

.features-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #4b5563;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.features-modal-close:hover {
    background: #e5e7eb;
    color: #1f2937;
    transform: rotate(90deg);
}

.features-modal-content {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .features-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .features-modal-content {
        padding: 1.5rem;
    }
}

/* Update features card styles for modal */
.features-modal .features-card {
    flex: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.features-modal .features-description {
    flex: 1;
}

/* --- FIX: Remove unwanted underline/line from How It Works step titles --- */
.how-step .features-title::after {
    width: 0 !important;
    background: none !important;
    height: 0 !important;
    display: none !important;
    content: none !important;
}

.how-step-content h3 {
    border-bottom: none !important;
    box-shadow: none !important;
    background: none !important;
    text-decoration: none !important;
}

/* If any pseudo-element is causing the line, hide it */
.how-step-content h3::after {
    display: none !important;
}

.how-step .features-title::after {
    width: 0 !important;
    background: none !important;
    height: 0 !important;
    display: none !important;
    content: none !important;
}

.payment-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
  }
  .payment-switch-slider {
    position: relative;
    display: block;
    width: 44px;
    height: 24px;
    border-radius: 9999px;
    background: #e5e7eb;
    transition: background 0.3s;
  }
  .payment-switch-dot {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }
  input[type="checkbox"]:checked ~ .payment-switch-slider {
    background: #2563eb;
  }
  input[type="checkbox"]:checked ~ .payment-switch-dot {
    transform: translateX(20px);
  }

  /* End Trial Bar */

@keyframes end-trial-fadein {
    from { opacity: 0; transform: translateY(-20px);}
    to { opacity: 1; transform: translateY(0);}
}
.end-trial-btn {
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
}
.end-trial-btn:hover {
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.25);
}


.end-trial-text {
    letter-spacing: 0.01em;
}
.end-trial-animate {
    animation: end-trial-pulse 1.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
@keyframes end-trial-pulse {
    0% { transform: scale(1) rotate(-5deg); filter: brightness(1); }
    20% { transform: scale(1.15) rotate(5deg); filter: brightness(1.2); }
    40% { transform: scale(1) rotate(-5deg); filter: brightness(1); }
    60% { transform: scale(1.1) rotate(5deg); filter: brightness(1.15); }
    80% { transform: scale(1) rotate(-5deg); filter: brightness(1); }
    100% { transform: scale(1) rotate(0deg); filter: brightness(1); }
}


/* Enhanced Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  }
  
  .preloader-content {
    text-align: center;
    color: white;
  }
  
  .spinner-container {
    margin: 20px 0;
  }
  
  .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  .loading-text {
    font-size: 1.1rem;
    margin: 20px 0;
    font-weight: 300;
    opacity: 0.9;
  }
  
  .loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin: 20px auto;
  }
  
  .progress-bar {
    height: 100%;
    background: white;
    width: 0%;
    animation: progressLoad 3s ease-in-out;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  @keyframes progressLoad {
    0% { width: 0%; }
    100% { width: 100%; }
  }
  
  /* Fade out animation */
  #preloader.fade-out {
    opacity: 0;
    visibility: hidden;
  }
  
  /* Mobile responsive */
  @media (max-width: 768px) {
    .loading-text {
      font-size: 1rem;
    }
    
    .loading-progress {
      width: 150px;
    }
    
    .spinner {
      width: 40px;
      height: 40px;
    }
  }

  /* Prevent scroll/jank while loading */
  html.preloading, html.preloading body {
    overflow: hidden;
  }

  /* Accessible-only text helper */
  .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;
  }

  .group:hover .group-hover\:block {
    display: block;
}

/*preloader end trial bar*/
.end-trial-bar {
    min-height: 56px;
    animation: end-trial-fadein 0.7s;
}
@keyframes end-trial-fadein {
    from { opacity: 0; transform: translateY(-20px);}
    to { opacity: 1; transform: translateY(0);}
}
.end-trial-btn {
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
}
.end-trial-btn:hover {
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.25);
}
.end-trial-text {
    letter-spacing: 0.01em;
}
.end-trial-animate {
    animation: end-trial-pulse 1.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
@keyframes end-trial-pulse {
    0% { transform: scale(1) rotate(-5deg); filter: brightness(1); }
    20% { transform: scale(1.15) rotate(5deg); filter: brightness(1.2); }
    40% { transform: scale(1) rotate(-5deg); filter: brightness(1); }
    60% { transform: scale(1.1) rotate(5deg); filter: brightness(1.15); }
    80% { transform: scale(1) rotate(-5deg); filter: brightness(1); }
    100% { transform: scale(1) rotate(0deg); filter: brightness(1); }
}