/* ============================================
   Industry Pages - ViveLead
   Extends feature-page.css design system
   ============================================ */

/* Hero Section */
.vl-industry-hero {
    background: linear-gradient(135deg, #1a1f4e 0%, #2d3380 50%, #4051B5 100%);
    padding: 80px 0 64px;
    position: relative;
    overflow: hidden;
}

.vl-industry-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(64, 81, 181, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.vl-industry-hero .container {
    position: relative;
    z-index: 1;
}

.vl-industry-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 6px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.vl-industry-hero__title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 700px;
}

.vl-industry-hero__title span {
    color: #ff6b35;
}

.vl-industry-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 32px;
}

.vl-industry-hero__stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.vl-industry-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vl-industry-stat__number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b35;
}

.vl-industry-stat__label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.vl-industry-hero__cta {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
}

.vl-industry-hero__cta .vl-btn-primary,
.vl-industry-hero__cta .vl-btn-secondary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 28px !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    border-radius: 8px !important;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    width: auto !important;
    min-width: unset !important;
    max-width: unset !important;
    box-shadow: none !important;
}

.vl-industry-hero__cta .vl-btn-primary {
    background: #ffffff !important;
    color: #4051B5 !important;
    border: 2px solid #ffffff !important;
}

.vl-industry-hero__cta .vl-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-1px);
    color: #4051B5 !important;
    text-decoration: none;
}

.vl-industry-hero__cta .vl-btn-secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
}

.vl-industry-hero__cta .vl-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    text-decoration: none;
}

/* Pain Points Section */
.vl-industry-pain {
    padding: 64px 0;
    background: #f8f9fc;
}

.vl-industry-pain .vl-section-header {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.vl-pain-card {
    background: #ffffff;
    border: 1px solid #e8eaf0;
    border-radius: 12px;
    padding: 32px 24px;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vl-pain-card:hover {
    border-color: #ff6b35;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.vl-pain-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff3ee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #ff6b35;
    font-size: 1.2rem;
}

.vl-pain-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.vl-pain-card__text {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Solution Section */
.vl-industry-solution {
    padding: 64px 0;
}

.vl-industry-solution .vl-section-header {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.vl-solution-card {
    background: #ffffff;
    border: 1px solid #e8eaf0;
    border-radius: 12px;
    padding: 28px 24px;
    height: 100%;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vl-solution-card:hover {
    border-color: #4051B5;
    box-shadow: 0 4px 20px rgba(64, 81, 181, 0.08);
}

.vl-solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #4051B5;
    border-radius: 12px 12px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.vl-solution-card:hover::before {
    transform: scaleX(1);
}

.vl-solution-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.vl-solution-icon-primary {
    background: #eef0fa;
    color: #4051B5;
}

.vl-solution-icon-success {
    background: #e8f5e9;
    color: #4caf50;
}

.vl-solution-icon-warning {
    background: #fff3e0;
    color: #ff9800;
}

.vl-solution-icon-info {
    background: #e3f2fd;
    color: #2196f3;
}

.vl-solution-icon-secondary {
    background: #fff3ee;
    color: #ff6b35;
}

.vl-solution-icon-deal {
    background: #fce4ec;
    color: #e91e63;
}

.vl-solution-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.vl-solution-card__text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* HRMS Differentiator Section */
.vl-industry-hrms {
    padding: 64px 0;
    background: linear-gradient(135deg, #1a1f4e 0%, #2d3380 100%);
    color: #ffffff;
}

.vl-industry-hrms .vl-section-header {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

.vl-industry-hrms .vl-section-title {
    color: #ffffff;
}

.vl-industry-hrms .vl-section-description {
    color: rgba(255, 255, 255, 0.8);
}

.vl-hrms-content {
    max-width: 800px;
    margin: 0 auto;
}

.vl-hrms-pitch {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 32px;
    text-align: center;
}

.vl-hrms-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.vl-hrms-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.vl-hrms-feature svg {
    flex-shrink: 0;
    color: #4caf50;
}

/* HRMS Pricing Comparison */
.vl-hrms-compare {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    margin: 0 auto;
}

.vl-hrms-compare__title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    text-align: center;
}

.vl-hrms-compare__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vl-hrms-compare__row:last-child {
    border-bottom: none;
}

.vl-hrms-compare__name {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.vl-hrms-compare__price {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.vl-hrms-compare__row--highlight {
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    padding: 10px 12px;
    margin: 4px -12px 0;
}

.vl-hrms-compare__row--highlight .vl-hrms-compare__name {
    color: #ffffff;
    font-weight: 600;
}

.vl-hrms-compare__row--highlight .vl-hrms-compare__price {
    color: #4caf50;
    font-weight: 600;
}

/* How It Works Section */
.vl-industry-workflow {
    padding: 64px 0;
    background: #f8f9fc;
}

.vl-industry-workflow .vl-section-header {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.vl-workflow-steps {
    display: flex;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.vl-workflow-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.vl-workflow-step__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4051B5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.vl-workflow-step__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.vl-workflow-step__text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Connector line between steps */
.vl-workflow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -12px;
    width: 24px;
    height: 2px;
    background: #d1d5e0;
}

/* Trust Section */
.vl-industry-trust {
    padding: 64px 0;
}

.vl-industry-trust .vl-section-header {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

.vl-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.vl-trust-card {
    text-align: center;
    padding: 24px;
    background: #f8f9fc;
    border-radius: 12px;
}

.vl-trust-card__value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4051B5;
    margin-bottom: 4px;
}

.vl-trust-card__label {
    font-size: 0.85rem;
    color: #6c757d;
}

/* FAQ Section - uses existing faq-modern.css, just container */
.vl-industry-faq {
    padding: 64px 0;
    background: #f8f9fc;
}

/* Final CTA */
.vl-industry-cta {
    padding: 64px 0;
    background: linear-gradient(135deg, #4051B5 0%, #303f9f 100%);
    text-align: center;
}

.vl-industry-cta__title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.vl-industry-cta__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
}

.vl-industry-cta__buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 20px;
}

.vl-industry-cta__buttons .vl-btn-primary,
.vl-industry-cta__buttons .vl-btn-secondary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 28px !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    border-radius: 8px !important;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    width: auto !important;
    min-width: unset !important;
    max-width: unset !important;
    box-shadow: none !important;
}

.vl-industry-cta__buttons .vl-btn-primary {
    background: #ffffff !important;
    color: #4051B5 !important;
    border: 2px solid #ffffff !important;
}

.vl-industry-cta__buttons .vl-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-1px);
    color: #4051B5 !important;
    text-decoration: none;
}

.vl-industry-cta__buttons .vl-btn-secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
}

.vl-industry-cta__buttons .vl-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    text-decoration: none;
}

.vl-industry-cta__trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Hub Page Styles */
.vl-industries-hub {
    padding: 64px 0;
}

.vl-industries-hub .vl-section-header {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.vl-industry-link-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e8eaf0;
    border-radius: 12px;
    padding: 32px 24px;
    text-decoration: none;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vl-industry-link-card:hover {
    border-color: #4051B5;
    box-shadow: 0 8px 30px rgba(64, 81, 181, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

.vl-industry-link-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #eef0fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #4051B5;
    font-size: 1.4rem;
}

.vl-industry-link-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.vl-industry-link-card__text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 16px;
}

.vl-industry-link-card__arrow {
    color: #4051B5;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   Responsive - Tablet (991px)
   ============================================ */
@media (max-width: 991px) {
    .vl-industry-hero__title {
        font-size: 2.2rem;
    }

    .vl-industry-hero__stats {
        gap: 24px;
    }

    .vl-hrms-features {
        grid-template-columns: 1fr;
    }

    .vl-trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vl-section-header {
        max-width: 100%;
    }
}

/* ============================================
   Responsive - Mobile (767px)
   ============================================ */
@media (max-width: 767px) {

    /* --- Hero Section --- */
    .vl-industry-hero {
        padding: 48px 0 40px;
        text-align: center;
    }

    .vl-industry-hero__badge {
        margin-bottom: 16px;
        font-size: 0.75rem;
    }

    .vl-industry-hero__title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .vl-industry-hero__subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .vl-industry-hero__stats {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .vl-industry-stat {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        justify-content: center;
    }

    .vl-industry-stat__number {
        font-size: 1.25rem;
        min-width: 60px;
        text-align: right;
    }

    .vl-industry-stat__label {
        text-align: left;
    }

    /* Hero buttons: full width stacked on mobile */
    .vl-industry-hero__cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .vl-industry-hero__cta .vl-btn-primary,
    .vl-industry-hero__cta .vl-btn-secondary {
        width: 100% !important;
        justify-content: center;
        padding: 14px 24px !important;
    }

    /* --- Section Spacing --- */
    .vl-industry-pain,
    .vl-industry-solution,
    .vl-industry-hrms,
    .vl-industry-workflow,
    .vl-industry-trust,
    .vl-industry-faq,
    .vl-industry-cta,
    .vl-industries-hub {
        padding: 40px 0;
    }

    /* --- Section Headers --- */
    .vl-industry-pain .vl-section-header,
    .vl-industry-solution .vl-section-header,
    .vl-industry-workflow .vl-section-header,
    .vl-industry-trust .vl-section-header,
    .vl-industries-hub .vl-section-header {
        margin-bottom: 32px;
    }

    .vl-section-title {
        font-size: 1.4rem;
    }

    .vl-section-description {
        font-size: 0.9rem;
    }

    /* --- Pain Point Cards --- */
    .vl-pain-card {
        padding: 24px 20px;
    }

    .vl-feature-column {
        margin-bottom: 16px;
    }

    /* --- Solution Cards --- */
    .vl-solution-card {
        padding: 24px 20px;
    }

    /* --- HRMS Section --- */
    .vl-industry-hrms .vl-section-header {
        margin-bottom: 28px;
    }

    .vl-industry-hrms .vl-section-title {
        font-size: 1.4rem;
    }

    .vl-hrms-pitch {
        font-size: 0.95rem;
        text-align: left;
        margin-bottom: 24px;
    }

    .vl-hrms-features {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }

    .vl-hrms-feature {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .vl-hrms-compare {
        padding: 20px 16px;
        max-width: 100%;
    }

    .vl-hrms-compare__title {
        font-size: 0.8rem;
    }

    .vl-hrms-compare__row {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 0;
    }

    .vl-hrms-compare__name,
    .vl-hrms-compare__price {
        font-size: 0.85rem;
    }

    /* --- Workflow Steps --- */
    .vl-workflow-steps {
        flex-direction: column;
        gap: 28px;
    }

    .vl-workflow-step:not(:last-child)::after {
        display: none;
    }

    .vl-workflow-step {
        text-align: left;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }

    .vl-workflow-step__number {
        margin: 0;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .vl-workflow-step__title {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .vl-workflow-step__text {
        font-size: 0.85rem;
    }

    /* --- Trust Grid --- */
    .vl-trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vl-trust-card {
        padding: 20px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .vl-trust-card__value {
        font-size: 1.4rem;
        margin-bottom: 0;
        min-width: 60px;
    }

    .vl-trust-card__label {
        font-size: 0.85rem;
    }

    /* --- FAQ Section --- */
    .vl-industry-faq .faq-container {
        padding: 0;
    }

    .vl-industry-faq .faq-header h2 {
        font-size: 1.4rem;
    }

    /* --- Bottom CTA --- */
    .vl-industry-cta {
        text-align: center;
    }

    .vl-industry-cta__title {
        font-size: 1.4rem;
    }

    .vl-industry-cta__subtitle {
        font-size: 0.9rem;
    }

    .vl-industry-cta__buttons {
        flex-direction: column;
        align-items: center;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }

    .vl-industry-cta__buttons .vl-btn-primary,
    .vl-industry-cta__buttons .vl-btn-secondary {
        width: 100% !important;
        justify-content: center;
        padding: 14px 24px !important;
    }

    .vl-industry-cta__trust {
        flex-direction: column;
        gap: 8px;
        font-size: 0.8rem;
    }

    /* --- Hub Page Cards --- */
    .vl-industry-link-card {
        padding: 24px 20px;
    }

    .vl-industry-link-card__icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .vl-industry-link-card__title {
        font-size: 1.05rem;
    }

    .vl-industry-link-card__text {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    /* Mid-page CTA button */
    .vl-section-cta {
        margin-top: 24px;
    }

    .vl-section-cta .vl-btn-outline {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* ============================================
   Responsive - Small Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
    .vl-industry-hero__title {
        font-size: 1.4rem;
    }

    .vl-industry-hero__cta {
        max-width: 100%;
    }

    .vl-hrms-compare__row {
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
    }

    .vl-hrms-compare__row--highlight {
        flex-direction: column;
        align-items: flex-start;
    }

    .vl-industry-cta__buttons {
        max-width: 100%;
    }
}
