/* =============================================================================
   HEALIX FEATURE DETAIL PAGES STYLESHEET
   Consistent styling for all feature detail pages
   ============================================================================= */

/* Feature Hero Section */
.feature-hero {
    background: linear-gradient(135deg, #6A0DAD 0%, #8934D4 100%);
    padding: 8rem 0 6rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.feature-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0 C150,100 350,0 600,50 C850,100 1050,0 1200,50 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.05)"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.feature-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    position: relative;
    z-index: 2;
}

.feature-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.feature-breadcrumb a:hover {
    color: white;
}

.feature-breadcrumb i {
    font-size: 0.75rem;
    opacity: 0.6;
}

.feature-breadcrumb span {
    color: white;
    font-weight: 600;
}

.feature-hero-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.feature-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: default;
}

.feature-category:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.feature-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.feature-hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.feature-hero-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    opacity: 0.95;
}

.feature-hero-benefits li {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    cursor: default;
}

.feature-hero-benefits li:hover {
    transform: translateX(10px);
}

.feature-hero-benefits li i {
    color: #10b981;
    font-size: 1.125rem;
    flex-shrink: 0;
    animation: pulse-check 2s ease-in-out infinite;
}

.feature-hero-benefits li:hover i {
    animation: none;
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

@keyframes pulse-check {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.feature-hero-tagline {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 500;
}

.feature-hero-cta {
    display: flex;
    gap: 1.5rem;
}

.feature-hero-cta .btn-primary,
.feature-hero-cta .btn-outline-primary {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-hero-cta .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.feature-hero-cta .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.feature-hero-cta .btn-primary:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.feature-hero-cta .btn-outline-primary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    backdrop-filter: blur(10px);
}

.feature-hero-cta .btn-outline-primary:hover {
    background: white;
    color: #6A0DAD;
}

.feature-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon-large {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-icon-large:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 30px 80px rgba(16, 185, 129, 0.3),
                0 0 60px rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.1);
}

/* Benefits Section */
.feature-benefits {
    padding: 6rem 0;
    background: #F9FAFB;
}

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

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(106, 13, 173, 0.15);
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #6A0DAD, #8934D4);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111827;
}

.benefit-card p {
    color: #6B7280;
    line-height: 1.7;
}

/* How It Works Section */
.feature-how-it-works {
    padding: 6rem 0;
    background: white;
}

.feature-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.feature-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 3rem;
    position: relative;
}

.feature-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 3px;
    height: calc(100% + 3rem - 80px);
    background: linear-gradient(to bottom, #8934D4, #E5E7EB);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6A0DAD, #8934D4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 1.5rem;
}

.step-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #111827;
}

.step-content > p {
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.step-content ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.step-content ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4B5563;
}

.step-content ul li i {
    color: #6A0DAD;
    font-size: 1.125rem;
}

/* Features List Section */
.feature-details {
    padding: 6rem 0;
    background: #F9FAFB;
}

.features-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    align-items: start;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-item:hover {
    box-shadow: 0 8px 16px rgba(106, 13, 173, 0.1);
    transform: translateX(8px);
}

.feature-item-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6A0DAD, #8934D4);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.feature-item-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.feature-item-content p {
    color: #6B7280;
    line-height: 1.7;
}

/* CTA Section */
.feature-cta {
    padding: 6rem 0;
    background: white;
}

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, #6A0DAD 0%, #8934D4 100%);
    padding: 4rem 3rem;
    border-radius: 2rem;
    color: white;
    box-shadow: 0 20px 60px rgba(106, 13, 173, 0.3);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-box .btn-primary {
    background: white;
    color: #6A0DAD;
    border: 2px solid white;
}

.cta-box .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
}

/* Responsive Design */
@media (max-width: 991px) {
    .feature-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-icon-large {
        width: 200px;
        height: 200px;
        font-size: 6rem;
    }

    .feature-title {
        font-size: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-step {
        grid-template-columns: 60px 1fr;
        gap: 2rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-step:not(:last-child)::after {
        left: 30px;
        top: 60px;
        height: calc(100% + 3rem - 60px);
    }
}

@media (max-width: 767px) {
    .feature-hero {
        padding: 6rem 0 4rem;
    }

    .feature-title {
        font-size: 2rem;
    }

    .feature-subtitle {
        font-size: 1rem;
    }

    .feature-hero-cta {
        flex-direction: column;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }

    .cta-box p {
        font-size: 1rem;
    }
}

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