/* =============================================================================
   VIVELEAD PRICING PAGE STYLESHEET
   Clean, Modern Design - CRM + HRMS Focus
   ============================================================================= */

/* =============================================================================
   PAGE WRAPPER
   ============================================================================= */

.vl-pricing-page {
    min-height: 100vh;
    background: #ffffff;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.vl-pricing-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 80px 0 60px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.vl-pricing-hero__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.vl-pricing-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dbeafe;
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.vl-pricing-hero__title {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.vl-pricing-hero__title span {
    color: #4051B5;
}

.vl-pricing-hero__subtitle {
    font-size: 20px;
    color: #64748b;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.vl-pricing-hero__highlight {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    color: #92400e;
    font-weight: 500;
}

/* =============================================================================
   TOGGLE SECTION
   ============================================================================= */

.vl-pricing-toggles {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 0 24px;
}

.vl-toggle-group {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 50px;
    padding: 4px;
    border: 1px solid #e2e8f0;
}

.vl-toggle-group input[type="radio"] {
    display: none;
}

.vl-toggle-group label {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.vl-toggle-group input[type="radio"]:checked + label {
    background: #4051B5;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(64, 81, 181, 0.3);
}

.vl-toggle-group label:hover {
    color: #4051B5;
}

.vl-toggle-group input[type="radio"]:checked + label:hover {
    color: #ffffff;
}

/* =============================================================================
   PRICING CARDS - Connected Side-by-Side Design
   ============================================================================= */

.vl-pricing-cards {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: stretch;
}

.vl-pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 40px 32px;
    position: relative;
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Connected cards - no gaps, shared borders */
.vl-pricing-card:first-child {
    border-radius: 12px 0 0 12px;
}

.vl-pricing-card:last-child {
    border-radius: 0 12px 12px 0;
}

.vl-pricing-card:not(:last-child) {
    border-right: none;
}

.vl-pricing-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

/* Featured/Popular card - elevated with brand color border */
.vl-pricing-card--popular {
    border: 2px solid #4051B5;
    border-radius: 12px !important;
    margin: -8px -1px;
    padding: 48px 32px;
    z-index: 3;
    box-shadow: 0 8px 30px rgba(64, 81, 181, 0.12);
}

.vl-pricing-card--popular + .vl-pricing-card {
    border-left: 1px solid #e2e8f0;
}

.vl-pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4051B5;
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Header */
.vl-pricing-card__header {
    text-align: left;
    margin-bottom: 20px;
}

.vl-pricing-card__name {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
}

.vl-pricing-card__tagline {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

/* Large price typography */
.vl-pricing-card__price {
    font-size: 56px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 8px;
}

.vl-pricing-card__price span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #94a3b8;
    letter-spacing: 0;
    margin-top: 8px;
}

.vl-pricing-card__savings {
    display: none; /* Hidden in new design */
}

/* Feature Sections - Minimal */
.vl-pricing-card__features {
    margin-bottom: 24px;
    flex-grow: 1;
}

.vl-feature-section {
    margin-bottom: 0;
}

.vl-feature-section__title {
    display: none; /* Hidden in minimal design */
}

.vl-feature-section__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vl-feature-section__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #475569;
    padding: 8px 0;
    line-height: 1.4;
}

/* Clean gray check marks */
.vl-feature-section__list li svg {
    flex-shrink: 0;
    color: #94a3b8;
    margin-top: 0;
}

.vl-feature-section__list li.vl-feature--highlight {
    font-weight: 500;
    color: #1e293b;
}

/* CTA Buttons */
.vl-pricing-card__cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    border-top: none;
    align-items: stretch;
}

.vl-cta-note {
    display: none; /* Hidden in minimal design */
}

/* Outline button style (default) */
.vl-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #1e293b;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.vl-btn-primary:hover {
    border-color: #4051B5;
    color: #4051B5;
    background: #ffffff;
    transform: none;
    box-shadow: none;
}

/* Solid button for featured card */
.vl-pricing-card--popular .vl-btn-primary {
    background: #4051B5;
    color: #ffffff;
    border: 1px solid #4051B5;
}

.vl-pricing-card--popular .vl-btn-primary:hover {
    background: #3544a0;
    border-color: #3544a0;
    color: #ffffff;
}

.vl-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #4051B5;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid #4051B5;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vl-btn-secondary:hover {
    background: #4051B5;
    color: #ffffff;
}

/* =============================================================================
   LIMITS TABLE SECTION
   ============================================================================= */

.vl-limits-section {
    background: #f8fafc;
    padding: 60px 24px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.vl-limits-section__inner {
    max-width: 900px;
    margin: 0 auto;
}

.vl-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin: 0 0 12px 0;
}

.vl-section-subtitle {
    font-size: 16px;
    color: #64748b;
    text-align: center;
    margin: 0 0 40px 0;
}

.vl-limits-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.vl-limits-table th,
.vl-limits-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.vl-limits-table th {
    background: #4051B5;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

.vl-limits-table th:first-child {
    text-align: left;
}

.vl-limits-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #1e293b;
}

.vl-limits-table td {
    font-size: 14px;
    color: #475569;
}

.vl-limits-table tr:last-child td {
    border-bottom: none;
}

.vl-limits-table tr:nth-child(even) {
    background: #f8fafc;
}

/* =============================================================================
   SAVINGS COMPARISON SECTION
   ============================================================================= */

.vl-savings-section {
    padding: 80px 24px;
    background: #ffffff;
}

.vl-savings-section__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.vl-savings-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.vl-savings-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.vl-savings-box--competitor {
    background: #fef2f2;
    border-color: #fecaca;
}

.vl-savings-box--vivelead {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.vl-savings-box__title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 20px 0;
}

.vl-savings-box__items {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.vl-savings-box__items li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.vl-savings-box__items li:last-child {
    border-bottom: none;
}

.vl-savings-box__total {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    padding-top: 16px;
    border-top: 2px solid #e2e8f0;
}

.vl-savings-vs {
    font-size: 24px;
    font-weight: 700;
    color: #94a3b8;
}

.vl-savings-result {
    text-align: center;
    margin-top: 40px;
    padding: 24px;
    background: linear-gradient(135deg, #4051B5 0%, #3344a8 100%);
    border-radius: 12px;
    color: #ffffff;
}

.vl-savings-result__amount {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.vl-savings-result__text {
    font-size: 16px;
    opacity: 0.9;
}

/* =============================================================================
   HRMS FEATURES SECTION
   ============================================================================= */

.vl-hrms-section {
    padding: 80px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.vl-hrms-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.vl-hrms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.vl-hrms-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
}

.vl-hrms-card__icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #4051B5;
}

.vl-hrms-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.vl-hrms-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vl-hrms-card__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
    padding: 6px 0;
}

.vl-hrms-card__list li svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* =============================================================================
   COMPETITOR COMPARISON TABLE
   ============================================================================= */

.vl-comparison-section {
    padding: 80px 24px;
    background: #ffffff;
}

.vl-comparison-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.vl-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.vl-comparison-table th,
.vl-comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.vl-comparison-table th {
    background: #1e293b;
    color: #ffffff;
    font-weight: 600;
}

.vl-comparison-table th:first-child {
    text-align: left;
}

.vl-comparison-table th.vl-highlight-col {
    background: #4051B5;
}

.vl-comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #1e293b;
}

.vl-comparison-table td.vl-highlight-col {
    background: #f0f4ff;
}

.vl-comparison-table tr:last-child td {
    border-bottom: none;
}

.vl-check {
    color: #22c55e;
    font-weight: bold;
}

.vl-cross {
    color: #ef4444;
    font-weight: bold;
}

.vl-partial {
    color: #f59e0b;
}

/* =============================================================================
   FAQ SECTION
   ============================================================================= */

.vl-pricing-faq {
    padding: 80px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.vl-pricing-faq__inner {
    max-width: 800px;
    margin: 0 auto;
}

.vl-faq-list {
    margin-top: 40px;
}

.vl-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.vl-faq-item__question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.vl-faq-item__question:hover {
    background: #f8fafc;
}

.vl-faq-item__question svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.vl-faq-item.active .vl-faq-item__question svg {
    transform: rotate(180deg);
}

.vl-faq-item__answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}

.vl-faq-item.active .vl-faq-item__answer {
    display: block;
}

/* =============================================================================
   CTA SECTION
   ============================================================================= */

.vl-pricing-cta {
    padding: 80px 24px;
    background: linear-gradient(135deg, #4051B5 0%, #3344a8 100%);
    text-align: center;
}

.vl-pricing-cta__inner {
    max-width: 700px;
    margin: 0 auto;
}

.vl-pricing-cta__title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.vl-pricing-cta__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
}

.vl-pricing-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.vl-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #4051B5;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vl-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.vl-btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vl-btn-outline-white:hover {
    background: #ffffff;
    color: #4051B5;
}

/* =============================================================================
   WHAT'S INCLUDED SECTION
   ============================================================================= */

.vl-included-section {
    padding: 60px 24px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.vl-included-section__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.vl-included-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.vl-included-item {
    text-align: center;
    padding: 24px;
}

.vl-included-item__icon {
    width: 56px;
    height: 56px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #22c55e;
}

.vl-included-item__title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

/* Pricing Cards Responsive - Featured card on top for mobile */
@media (max-width: 900px) {
    .vl-pricing-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        gap: 16px;
    }

    .vl-pricing-card {
        border-radius: 12px !important;
        border: 1px solid #e2e8f0 !important;
    }

    .vl-pricing-card:not(:last-child) {
        border-right: 1px solid #e2e8f0 !important;
    }

    /* Featured card moves to top on mobile */
    .vl-pricing-card--popular {
        margin: 0;
        padding: 40px 32px;
        order: -1;
    }
}

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

    .vl-savings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vl-savings-vs {
        display: none;
    }
}

@media (max-width: 768px) {
    .vl-pricing-hero {
        padding: 60px 0 40px;
    }

    .vl-pricing-hero__title {
        font-size: 32px;
    }

    .vl-pricing-hero__subtitle {
        font-size: 16px;
    }

    .vl-pricing-card__price {
        font-size: 48px;
    }

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

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

    .vl-section-title {
        font-size: 24px;
    }

    .vl-comparison-table {
        display: block;
        overflow-x: auto;
    }

    .vl-comparison-table th,
    .vl-comparison-table td {
        min-width: 120px;
        padding: 12px 16px;
        font-size: 13px;
    }

    .vl-limits-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .vl-pricing-hero__title {
        font-size: 26px;
    }

    .vl-pricing-toggles {
        flex-direction: column;
        align-items: center;
    }

    .vl-pricing-card {
        padding: 32px 24px;
    }

    .vl-pricing-card__price {
        font-size: 42px;
    }

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

    .vl-pricing-cta__title {
        font-size: 24px;
    }

    .vl-pricing-cta__buttons {
        flex-direction: column;
    }
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vl-pricing-card {
    animation: fadeInUp 0.5s ease forwards;
}

.vl-pricing-card:nth-child(2) {
    animation-delay: 0.1s;
}

.vl-pricing-card:nth-child(3) {
    animation-delay: 0.2s;
}
