/* ===================================
   Homepage Specific Styles
   =================================== */

/* Hero Section */
.hero-section {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 992px) {
    .hero-section {
        padding: 4.5rem 0;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 992px) {
    .hero-content {
        text-align: left;
        padding-right: 3rem;
    }
}

.hero-image-wrapper {
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .hero-image-wrapper {
        margin-top: 0;
    }
}

/* Gradient Background */
.gradient-bg {
    background: linear-gradient(135deg, #f9f9ff 0%, #f0f4ff 100%);
}

/* Feature Icons */
.feature-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    color: var(--neo-primary);
    font-size: 24px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
    background: rgba(79, 70, 229, 0.15);
}

/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--neo-primary);
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    overflow: visible;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border: 2px solid var(--neo-primary);
    position: relative;
}

.pricing-card.featured:before {
    content: "Recommended";
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--neo-primary);
    color: white;
    padding: 2px 30px;
    font-size: 12px;
    transform: rotate(45deg);
    z-index: 1;
}

@media (max-width: 767.98px) {
    .pricing-card {
        margin-bottom: 1.5rem;
    }

    .pricing-card.featured:before {
        right: -25px;
        font-size: 10px;
        padding: 2px 25px;
    }
}

/* Testimonial Cards */
.testimonial-card {
    border-left: 3px solid var(--neo-primary);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.1);
}

@media (max-width: 767.98px) {
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

/* Benefit Items */
.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.1);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1.25rem;
}

/* Process Steps */
.process-step {
    position: relative;
}

@media (max-width: 991.98px) {
    .process-step {
        margin-bottom: 2rem;
    }
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 60px;
    font-weight: 800;
    color: rgba(79, 70, 229, 0.05);
    line-height: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-icon.primary {
  background-color: #f3f0ff; /* Light purple */
  color: var(--neo-primary);
}

.step-icon.success {
  background-color: #10b981; /* Success green */
  color: white;
}

.step-divider {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--neo-primary) 0%,
        rgba(79, 70, 229, 0) 100%
    );
    opacity: 0.2;
}

/* Floating Image */
.floating-img {
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
    height: auto;
}

.floating-img-wrapper {
    position: relative;
    z-index: 1;
}

.floating-img-wrapper:before {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(
        circle,
        rgba(79, 70, 229, 0.1) 0%,
        rgba(79, 70, 229, 0) 70%
    );
    z-index: -1;
}

/* Text Underline Effect */
.text-underline {
    position: relative;
    display: inline-block;
}

.text-underline:after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(79, 70, 229, 0.2);
    z-index: -1;
    border-radius: 4px;
}

/* Trusted By Section */
.trusted-by {
    background: rgba(16, 185, 129, 0.05);
    padding: 2rem;
    border-radius: 12px;
}

/* Comparison Table */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
    .table-responsive table {
        min-width: 600px;
    }
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .d-flex.gap-3 a {
        width: 100%;
    }
}

/* FAQ Section */
@media (max-width: 767.98px) {
    #faq .col-lg-6:first-child {
        margin-bottom: 2rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--neo-primary);
}

/* Icon Sizes */
.icon-xl {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Progress Line Container */
.progress-line-container {
    position: relative;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.progress-line {
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--neo-primary) 0%,
        var(--neo-primary-light) 100%
    );
    width: 0;
    transition: width 1s ease-out;
}

@media (max-width: 991.98px) {
    .progress-line-container {
        display: none;
    }
}

/* ===================================
   Neo Refinements (Polished)
   =================================== */

/* Soften Problem Background - Moved from Inline to Class */
.bg-problem {
    background-color: #f9fafb; /* gray-50 equivalent */
}

/* Standardize Icon Colors */
.text-neo-primary {
    color: var(--neo-primary) !important;
}

.bg-neo-primary-soft {
    background-color: rgba(0, 113, 227, 0.1);
    color: var(--neo-primary);
}

/* Polished Cards */
.neo-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.neo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

/* Problem Icons - Subtle Red */
.icon-problem {
    color: #ef4444; /* tailwind red-500 */
    background: rgba(239, 68, 68, 0.1);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}


/* ===================================
   High-End Modernization (Phase 13)
   =================================== */

/* Mesh Gradient Background for Hero */
.hero-mesh-bg {
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, hsla(210,100%,96%,1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(280,100%,96%,1) 0px, transparent 50%);
}

/* Super CTA - Deep Gold/Orange Gradient (High Visibility) */
.btn-super-cta {
    background: linear-gradient(135deg, #FFC107 0%, #FF5722 100%); /* Amber to Deep Orange */
    color: white !important;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px -5px rgba(255, 87, 34, 0.4);
    font-weight: 700;
}

/* Shimmer Effect for Super CTA */
.btn-super-cta::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: none;
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -60%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.btn-super-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(255, 87, 34, 0.7);
    color: white !important;
    filter: brightness(1.2) contrast(1.1);
}

/* Modernize Problem Section */
.bg-problem-modern {
    background-color: #ffffff;
    background-image:
        radial-gradient(at 100% 100%, hsla(210,100%,98%,1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(0,100%,99%,1) 0px, transparent 50%),
        radial-gradient(at 50% 50%, hsla(12,100%,99%,1) 0px, transparent 50%);
    position: relative;
}

.problem-card-modern {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 28px;
    padding: 3.5rem 2rem;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.problem-card-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    opacity: 0.6;
}

/* Problem Card 1: ATS (Red) */
.problem-card-red::before { background: #ef4444; }
.problem-card-red .icon-problem { color: #ef4444; background: rgba(239, 68, 68, 0.1); }
.problem-card-red:hover { border-color: rgba(239, 68, 68, 0.3); box-shadow: 0 30px 60px -12px rgba(239, 68, 68, 0.15); }

/* Problem Card 2: Hours (Orange) */
.problem-card-orange::before { background: #f97316; }
.problem-card-orange .icon-problem { color: #f97316; background: rgba(249, 115, 22, 0.1); }
.problem-card-orange:hover { border-color: rgba(249, 115, 22, 0.3); box-shadow: 0 30px 60px -12px rgba(249, 115, 22, 0.15); }

/* Problem Card 3: Ghosting (Amber) */
.problem-card-amber::before { background: #f59e0b; }
.problem-card-amber .icon-problem { color: #f59e0b; background: rgba(245, 158, 11, 0.1); }
.problem-card-amber:hover { border-color: rgba(245, 158, 11, 0.3); box-shadow: 0 30px 60px -12px rgba(245, 158, 11, 0.15); }

.problem-card-modern:hover {
    transform: translateY(-12px);
    background: #ffffff;
}

.problem-card-modern:hover .icon-problem {
    transform: scale(1.1) rotate(5deg);
}

/* Fixing Connecting Line - Positioning strictly behind icons */
.step-connector-modern {
    position: absolute;
    top: 40px; /* Aligned with center of 80px icon */
    left: 20%;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 50%, #06B6D4 100%);
    z-index: 0;
    opacity: 0.15;
}

/* Glassmorphism Card Tint */
.neo-card-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Unified & Highlighted Steps */
.step-number-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    z-index: 2; /* Ensure icon is above line */
}

.step-icon-modern {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: white !important; /* Force white text */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Step 1: Blue (Professional Start) */
.step-1-gradient {
    background: radial-gradient(circle at 30% 30%, #3B82F6 0%, #2563EB 100%);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5), inset 0 -4px 8px rgba(0,0,0,0.1);
}

/* Step 2: Purple (Process & Precision) */
.step-2-gradient {
    background: radial-gradient(circle at 30% 30%, #8B5CF6 0%, #7C3AED 100%);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.5), inset 0 -4px 8px rgba(0,0,0,0.1);
}

/* Step 3: Success Green (Goal Achieved) */
.step-3-gradient {
    background: radial-gradient(circle at 30% 30%, #10B981 0%, #059669 100%);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.5), inset 0 -4px 8px rgba(0,0,0,0.1);
}

/* Connecting lines with distinct gradients */
.step-connector {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 4px;
    z-index: 0;
    opacity: 0.3;
}



/* ===================================
   Premium View Plans Button
   =================================== */
.btn-view-plans {
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 2px solid rgba(99, 102, 241, 0.3);
    color: #4f46e5;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    overflow: hidden;
}

.btn-view-plans::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-view-plans:hover::before {
    left: 100%;
}

.btn-view-plans:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.5);
    color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.btn-view-plans:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-view-plans i {
    transition: transform 0.3s ease;
}

.btn-view-plans:hover i.bx-right-arrow-alt {
    transform: translateX(4px);
}

.btn-view-plans:hover i.bx-grid-alt {
    transform: scale(1.1);
}
