/* Products CSS - AskPert & Healthcare AI */
:root {
    /* AskPert Palette */
    --askpert-primary: #6366f1;
    --askpert-secondary: #8b5cf6;
    --askpert-accent: #06b6d4;
    --askpert-dark: #0f172a;
    --askpert-light: #f8fafc;
    --askpert-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --askpert-glass: rgba(255, 255, 255, 0.1);
    --askpert-glass-border: rgba(255, 255, 255, 0.2);

    /* Healthcare AI Palette */
    --healthai-primary: #0ea5e9;
    --healthai-secondary: #10b981;
    --healthai-accent: #38bdf8;
    --healthai-dark: #1e293b;
    --healthai-light: #f0f9ff;
    --healthai-gradient: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    --healthai-glass: rgba(255, 255, 255, 0.7);
    --healthai-glass-border: rgba(255, 255, 255, 0.5);
}

/* =========================================
   Shared Animations & Utilities
   ========================================= */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

@keyframes drift {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   AskPert Styles
   ========================================= */
.askpert-main-content {
    font-family: 'Inter', sans-serif;
    color: var(--askpert-dark);
    background-color: var(--askpert-light);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section-askpert {
    position: relative;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
    color: white;
    overflow: hidden;
}

.animated-geometric-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.geo-shape {
    fill: rgba(255, 255, 255, 0.03);
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
}

.shape-1 {
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    animation: drift 60s linear infinite;
    transform-origin: center;
}

.container-askpert {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-section-askpert .container-askpert {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content-askpert {
    animation: fadeInUp 1s ease-out;
}

.hero-headline-askpert {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline-askpert {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.btn-primary-askpert {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--askpert-gradient);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-primary-askpert:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.6);
}

.hero-image-container-askpert {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image-askpert {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Features Section */
.features-section-askpert {
    padding: 100px 0;
    background: white;
}

.section-title-askpert {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--askpert-dark);
}

.section-subtitle-askpert {
    text-align: center;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}

.features-grid-askpert {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-item-askpert {
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.feature-item-askpert:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: var(--askpert-primary);
}

.feature-icon-askpert {
    width: 60px;
    height: 60px;
    background: #e0e7ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--askpert-primary);
}

.feature-icon-askpert svg {
    width: 30px;
    height: 30px;
}

.feature-title-askpert {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--askpert-dark);
}

.feature-description-askpert {
    color: #64748b;
    line-height: 1.6;
}

/* Detailed Features */
.detailed-features-askpert {
    padding: 100px 0;
    background: #f8fafc;
}

.detailed-features-grid-askpert {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.detailed-feature-item-askpert {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.detailed-feature-item-askpert:hover {
    transform: scale(1.02);
}

.detailed-feature-icon-askpert {
    color: var(--askpert-secondary);
}

.detailed-feature-title-askpert {
    font-size: 1.25rem;
    font-weight: 600;
}

/* How It Works */
.how-it-works-askpert {
    padding: 100px 0;
    background: var(--askpert-dark);
    color: white;
}

.how-it-works-askpert .section-title-askpert {
    color: white;
}

.how-it-works-askpert .section-subtitle-askpert {
    color: #94a3b8;
}

.workflow-steps-askpert {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.workflow-step-item-askpert {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.workflow-step-item-askpert:hover {
    background: rgba(255, 255, 255, 0.1);
}

.workflow-step-number-askpert {
    font-size: 2rem;
    font-weight: 800;
    color: var(--askpert-accent);
    opacity: 0.5;
}

.workflow-step-title-askpert {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.workflow-step-description-askpert {
    color: #cbd5e1;
}

/* Why Choose */
.why-choose-askpert {
    padding: 100px 0;
}

.why-choose-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-askpert-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.usp-list-askpert {
    list-style: none;
    margin-top: 2rem;
}

.usp-item-askpert {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.usp-icon-askpert {
    width: 50px;
    height: 50px;
    background: #f0f9ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--askpert-accent);
    flex-shrink: 0;
}

/* Integrations */
.integrations-askpert {
    padding: 100px 0;
    background: #f1f5f9;
}

.integrations-grid-askpert {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.integration-item-askpert {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.integration-icon-askpert {
    margin: 0 auto 1rem;
    color: var(--askpert-primary);
}

/* AskPert Logos Section */
.integration-logos-askpert {
    margin-top: 4rem;
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.integration-logos-title-askpert {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Pricing Snippet */
.pricing-snippet-askpert {
    padding: 80px 0;
    background: var(--askpert-gradient);
    color: white;
}

.pricing-snippet-content-askpert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.pricing-snippet-text-askpert .section-title-askpert {
    color: white;
    text-align: left;
}

.pricing-snippet-text-askpert .section-subtitle-askpert {
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    margin: 0;
}

.btn-secondary-askpert {
    background: white;
    color: var(--askpert-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s;
    display: inline-block;
}

.btn-secondary-askpert:hover {
    transform: scale(1.05);
}

/* =========================================
   Healthcare AI Styles
   ========================================= */
.healthai-main-content {
    font-family: 'Outfit', sans-serif;
    color: var(--healthai-dark);
    background-color: var(--healthai-light);
}

/* Hero Section */
.hero-section-healthai {
    position: relative;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    overflow: hidden;
}

.animated-geometric-overlay-healthai {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.geo-shape-healthai {
    fill: rgba(14, 165, 233, 0.05);
    stroke: rgba(14, 165, 233, 0.1);
}

.container-healthai {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-section-healthai .container-healthai {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-headline-healthai {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--healthai-dark);
}

.hero-tagline-healthai {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2.5rem;
}

.btn-primary-healthai {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--healthai-gradient);
    color: white;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

.btn-primary-healthai:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.5);
}

.hero-image-healthai {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.25);
    border: 8px solid white;
}

/* Features */
.features-section-healthai {
    padding: 100px 0;
    background: white;
}

.section-title-healthai {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--healthai-dark);
}

.section-subtitle-healthai {
    text-align: center;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}

.features-grid-healthai {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-item-healthai {
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.feature-item-healthai:hover {
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.feature-icon-healthai {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--healthai-primary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-title-healthai {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--healthai-dark);
}

/* Detailed Features */
.detailed-features-healthai {
    padding: 100px 0;
    background: #f0f9ff;
}

.detailed-features-grid-healthai {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.detailed-feature-item-healthai {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s;
}

.detailed-feature-item-healthai:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

.detailed-feature-icon-healthai {
    color: var(--healthai-secondary);
    margin-bottom: 1rem;
}

.detailed-feature-title-healthai {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* How It Works */
.how-it-works-healthai {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* Decorative background element */
.how-it-works-healthai::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.workflow-steps-healthai {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.workflow-step-item-healthai {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.workflow-step-item-healthai:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.3);
}

/* Decorative corner gradient */
.workflow-step-item-healthai::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border-radius: 0 0 0 100%;
    transition: all 0.5s ease;
    z-index: 0;
}

.workflow-step-item-healthai:hover::after {
    width: 100%;
    height: 100%;
    border-radius: 0;
    opacity: 0.3;
}

.workflow-step-number-healthai {
    width: 64px;
    height: 64px;
    background: white;
    color: var(--healthai-primary);
    border: 2px solid #e0f2fe;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.workflow-step-item-healthai:hover .workflow-step-number-healthai {
    background: var(--healthai-gradient);
    color: white;
    border-color: transparent;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
}

.workflow-step-content-healthai {
    position: relative;
    z-index: 1;
    width: 100%;
}

.workflow-step-title-healthai {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--healthai-dark);
    transition: color 0.3s ease;
}

.workflow-step-item-healthai:hover .workflow-step-title-healthai {
    color: var(--healthai-primary);
}

.workflow-step-description-healthai {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* Why Choose */
.why-choose-healthai {
    padding: 100px 0;
    background: #f8fafc;
}

.why-choose-content-wrapper-healthai {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-healthai-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.usp-item-healthai {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.usp-icon-healthai {
    width: 50px;
    height: 50px;
    background: #e0f2fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--healthai-primary);
    flex-shrink: 0;
}

/* Integrations */
.integrations-healthai {
    padding: 100px 0;
    background: white;
}

.integrations-grid-healthai {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.integration-item-healthai {
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.integration-item-healthai:hover {
    border-color: var(--healthai-primary);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

.integration-icon-healthai {
    margin: 0 auto 1rem;
    color: var(--healthai-primary);
}

/* Healthcare AI Logos Section */
.integration-logos-healthai {
    margin-top: 4rem;
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.integration-logos-title-healthai {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.logos-container-healthai {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.brand-logo-healthai {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-logo-healthai:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Testimonials */
.testimonials-healthai {
    padding: 100px 0;
    background: #f0f9ff;
}

.testimonials-grid-healthai {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item-healthai {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-quote-healthai {
    font-size: 1.1rem;
    font-style: italic;
    color: #475569;
    margin-bottom: 1.5rem;
}

.testimonial-author-healthai {
    display: flex;
    flex-direction: column;
}

.testimonial-author-name-healthai {
    font-weight: 700;
    color: var(--healthai-dark);
}

.testimonial-author-title-healthai {
    font-size: 0.9rem;
    color: var(--healthai-primary);
}

/* Pricing Snippet */
.pricing-snippet-healthai {
    padding: 80px 0;
    background: var(--healthai-dark);
    color: white;
}

.pricing-snippet-content-healthai {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.pricing-snippet-text-healthai .section-title-healthai {
    color: white;
    text-align: left;
}

.pricing-snippet-text-healthai .section-subtitle-healthai {
    color: #94a3b8;
    text-align: left;
    margin: 0;
}

.btn-secondary-healthai {
    background: var(--healthai-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s;
    display: inline-block;
}

.btn-secondary-healthai:hover {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 992px) {

    .container-askpert,
    .container-healthai,
    .hero-section-askpert .container-askpert,
    .hero-section-healthai .container-healthai,
    .why-choose-content-wrapper,
    .why-choose-content-wrapper-healthai,
    .pricing-snippet-content-askpert,
    .pricing-snippet-content-healthai {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-headline-askpert,
    .hero-headline-healthai {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-tagline-askpert,
    .hero-tagline-healthai {
        text-align: center;
    }

    .pricing-snippet-text-askpert .section-title-askpert,
    .pricing-snippet-text-askpert .section-subtitle-askpert,
    .pricing-snippet-text-healthai .section-title-healthai,
    .pricing-snippet-text-healthai .section-subtitle-healthai {
        text-align: center;
    }

    .pricing-snippet-action-askpert,
    .pricing-snippet-action-healthai {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-image-container-askpert,
    .hero-image-container-healthai {
        order: -1;
    }
}

@media (max-width: 768px) {

    .hero-headline-askpert,
    .hero-headline-healthai {
        font-size: 2rem;
    }

    .section-title-askpert,
    .section-title-healthai {
        font-size: 2rem;
    }
}