﻿/* Pricing Page Styles */

/* Hero Section */
.pricing-hero {
    background: linear-gradient(135deg, #155dee 0%, #4f46e5 100%);
    padding: 6rem 20px 8rem 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

    .pricing-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
        opacity: 0.3;
    }

.pricing-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.pricing-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* GST Toggle */
.gst-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gst-toggle-label {
    font-size: 1rem;
    opacity: 0.9;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: 0.3s;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

    .toggle-slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        transition: 0.3s;
        border-radius: 50%;
    }

input:checked + .toggle-slider {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: white;
}

    input:checked + .toggle-slider:before {
        transform: translateX(30px);
    }

.pricing-highlight {
    margin-top: 1rem;
}

/* NEW: Simplified pricing breakdown (no base price) */
.pricing-breakdown-simple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2.5rem 4rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.price-component-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* OLD: Keep for backward compatibility but update if needed */
.pricing-breakdown {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem 3rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.price-component {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    opacity: 0.8;
}

.price-plus {
    font-size: 3rem;
    font-weight: 300;
    opacity: 0.7;
}

.price-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Enhanced price note for simplified pricing */
.pricing-highlight .price-note {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 1.5rem;
    font-weight: 500;
}

/* Calculator Section */
.calculator-section {
    padding: 6rem 20px;
    background: #fff;
}

.calculator-container {
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .calculator-header h2 {
        font-size: 2.5rem;
        color: #101828;
        margin-bottom: 1rem;
    }

    .calculator-header p {
        font-size: 1.1rem;
        color: #344054;
    }

.calculator-card {
    background: #eff4ff;
    border: 2px solid #155dee;
    border-radius: 15px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    box-shadow: 0 4px 20px rgba(21, 93, 238, 0.1);
}

.calculator-input-section label {
    display: block;
    font-size: 1.1rem;
    color: #101828;
    margin-bottom: 1rem;
    font-weight: 600;
}

.employee-input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.employee-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #155dee;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .employee-btn:hover {
        background: #155dee;
    }

        .employee-btn:hover svg {
            fill: white;
        }

    .employee-btn svg {
        width: 24px;
        height: 24px;
        fill: #155dee;
        transition: fill 0.2s ease;
    }

#employeeCount {
    flex: 1;
    height: 50px;
    font-size: 2rem;
    text-align: center;
    border: 2px solid #155dee;
    border-radius: 8px;
    background: white;
    color: #101828;
    font-weight: 600;
}

    #employeeCount:focus {
        outline: none;
        border-color: #4f46e5;
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    }

.quick-select {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

    .quick-select span {
        font-size: 0.9rem;
        color: #344054;
        margin-right: 0.5rem;
    }

    .quick-select button {
        padding: 0.5rem 1rem;
        border: 1px solid #155dee;
        background: white;
        color: #155dee;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.9rem;
        transition: all 0.2s ease;
    }

        .quick-select button:hover {
            background: #155dee;
            color: white;
        }

.calculator-result {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-breakdown {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1.1rem;
}

.employee-row {
    color: #344054;
}

.breakdown-value {
    font-weight: 600;
    color: #101828;
}

.breakdown-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #155dee, transparent);
    margin: 1rem 0;
}

.gst-row {
    color: #344054;
    font-size: 1rem;
}

.total-row {
    padding: 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.total-value {
    font-size: 2.5rem;
    color: #155dee;
    font-weight: 700;
}

.annual-cost {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    font-size: 1.1rem;
    color: #344054;
}

    .annual-cost span:last-child {
        font-weight: 700;
        color: #155dee;
        font-size: 1.3rem;
        margin-left: 0.5rem;
    }

/* Pricing Examples */
.pricing-examples {
    margin-top: 4rem;
}

    .pricing-examples h3 {
        text-align: center;
        font-size: 2rem;
        color: #101828;
        margin-bottom: 2rem;
    }

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.example-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

    .example-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-color: #155dee;
    }

    .example-card.highlighted {
        border-color: #155dee;
        border-width: 3px;
        box-shadow: 0 4px 20px rgba(21, 93, 238, 0.2);
    }

.example-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #155dee;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.example-size {
    font-size: 0.9rem;
    color: #344054;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.example-employees {
    font-size: 1.1rem;
    color: #101828;
    font-weight: 600;
    margin-bottom: 1rem;
}

.example-price {
    font-size: 2.5rem;
    color: #155dee;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

    .example-price span {
        font-size: 1rem;
        color: #344054;
        font-weight: 400;
    }

.example-calc {
    font-size: 0.9rem;
    color: #344054;
    background: #eff4ff;
    padding: 0.5rem;
    border-radius: 6px;
}

/* Savings Section */
.savings-section {
    background: linear-gradient(to bottom, #eff4ff, #ffffff);
    padding: 6rem 20px;
}

.savings-container {
    max-width: 1200px;
    margin: 0 auto;
}

.savings-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .savings-header h2 {
        font-size: 2.5rem;
        color: #101828;
        margin-bottom: 1rem;
    }

    .savings-header p {
        font-size: 1.1rem;
        color: #344054;
    }

.savings-calculator {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.savings-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.savings-input-group label {
    display: block;
    font-size: 0.9rem;
    color: #344054;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.savings-input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

    .savings-input-group input:focus {
        outline: none;
        border-color: #155dee;
        box-shadow: 0 0 0 3px rgba(21, 93, 238, 0.1);
    }

.input-with-prefix {
    position: relative;
}

    .input-with-prefix .prefix {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.1rem;
        color: #344054;
        font-weight: 600;
    }

    .input-with-prefix input {
        padding-left: 2.5rem;
    }

.savings-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.savings-card {
    background: #eff4ff;
    border: 2px solid #155dee;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

    .savings-card.highlight {
        background: linear-gradient(135deg, #155dee 0%, #4f46e5 100%);
        color: white;
    }

        .savings-card.highlight .savings-label,
        .savings-card.highlight .savings-value,
        .savings-card.highlight .savings-detail {
            color: white;
        }

        .savings-card.highlight .savings-icon svg {
            fill: white;
        }

.savings-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .savings-icon svg {
        width: 40px;
        height: 40px;
        fill: #155dee;
    }

.savings-label {
    font-size: 0.9rem;
    color: #344054;
    margin-bottom: 0.5rem;
}

.savings-value {
    font-size: 2rem;
    font-weight: 700;
    color: #155dee;
    margin-bottom: 0.25rem;
}

.savings-detail {
    font-size: 0.8rem;
    color: #344054;
}

.savings-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 10px;
}

.comparison-item {
    text-align: center;
}

.comparison-label {
    font-size: 0.9rem;
    color: #344054;
    margin-bottom: 0.5rem;
}

.comparison-value {
    font-size: 2rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 8px;
}

    .comparison-value.rostermate {
        background: #d1fae5;
        color: #065f46;
    }

    .comparison-value.manual {
        background: #fee2e2;
        color: #991b1b;
        text-decoration: line-through;
    }

.comparison-vs {
    font-size: 1.5rem;
    color: #344054;
    font-weight: 600;
}

.savings-summary {
    text-align: center;
    font-size: 1.5rem;
    color: #101828;
    background: #d1fae5;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #10b981;
}

    .savings-summary strong {
        color: #065f46;
        font-size: 2rem;
    }

/* Benefits Section */
.benefits-section {
    padding: 6rem 20px;
    background: white;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

    .benefits-container h2 {
        text-align: center;
        font-size: 2.5rem;
        color: #101828;
        margin-bottom: 3rem;
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: #eff4ff;
    border: 2px solid #155dee;
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

    .benefit-card:hover {
        transform: translateY(-5px);
    }

.benefit-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

    .benefit-icon svg {
        width: 35px;
        height: 35px;
        fill: #155dee;
    }

.benefit-card h3 {
    font-size: 1.3rem;
    color: #101828;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: #344054;
    line-height: 1.6;
}

.benefit-card strong {
    color: #155dee;
    font-weight: 700;
}

/* What's Included Section */
.included-section {
    background: #eff4ff;
    padding: 6rem 20px;
}

.included-container {
    max-width: 1200px;
    margin: 0 auto;
}

    .included-container h2 {
        text-align: center;
        font-size: 2.5rem;
        color: #101828;
        margin-bottom: 1rem;
    }

.included-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #344054;
    margin-bottom: 3rem;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.included-category {
    background: white;
    border: 2px solid #155dee;
    border-radius: 10px;
    padding: 2rem;
}

    .included-category h3 {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1.3rem;
        color: #155dee;
        margin-bottom: 1.5rem;
    }

        .included-category h3 svg {
            width: 24px;
            height: 24px;
            fill: #155dee;
        }

    .included-category ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .included-category li {
        padding: 0.75rem 0;
        padding-left: 1.5rem;
        position: relative;
        color: #344054;
        border-bottom: 1px solid #e5e7eb;
    }

        .included-category li:last-child {
            border-bottom: none;
        }

        .included-category li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #10b981;
            font-weight: 700;
        }

/* FAQ Section */
.faq-section {
    padding: 6rem 20px;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

    .faq-container h2 {
        text-align: center;
        font-size: 2.5rem;
        color: #101828;
        margin-bottom: 3rem;
    }

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #eff4ff;
    border: 2px solid #155dee;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

    .faq-question:hover {
        background: rgba(21, 93, 238, 0.1);
    }

    .faq-question h3 {
        margin: 0;
        font-size: 1.2rem;
        color: #101828;
    }

    .faq-question .toggle-icon svg {
        width: 24px;
        height: 24px;
        fill: #155dee;
        transition: transform 0.3s ease;
    }

.faq-item.open .toggle-icon svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #344054;
    line-height: 1.6;
    display: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #155dee 0%, #4f46e5 100%);
    padding: 6rem 20px;
    text-align: center;
    color: white;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

    .cta-container h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .cta-container p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.95;
    }

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #155dee;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

    .btn-secondary:hover {
        background: white;
        color: #155dee;
    }

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2.5rem;
    }

    .pricing-breakdown-simple {
        padding: 2rem;
    }

    .price-component-single .price-value {
        font-size: 3rem;
    }

    .pricing-breakdown {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .price-plus {
        transform: rotate(90deg);
    }

    .calculator-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .examples-grid {
        grid-template-columns: 1fr;
    }

    .savings-comparison {
        flex-direction: column;
        gap: 1rem;
    }

    .comparison-vs {
        transform: rotate(90deg);
    }

    .calculator-header h2,
    .savings-header h2,
    .benefits-container h2,
    .included-container h2,
    .faq-container h2,
    .cta-container h2 {
        font-size: 2rem;
    }
}
