/* ==========================================================================
   Signup Page Redesign - PASE-4782
   Scoped under .signup-section to avoid conflicts with existing styles
   ========================================================================== */

:root {
    --pc-navy: #183D57;
    --pc-navy-light: #1e4d6e;
    --pc-body-text: #616161;
    --pc-heading-text: #183D57;
    --pc-border: #e0e0e0;
    --pc-bg-light: #f8f9fa;
    --pc-green: #22c55e;
    --pc-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.signup-header {
    background: #fff;
    border-bottom: 1px solid var(--pc-border);
    padding: 16px 0;
}

.signup-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.signup-logo img {
    height: 36px;
    width: auto;
}

.signup-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.signup-header-actions a {
    font-family: var(--pc-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--pc-navy);
    text-decoration: none;
}

.signup-header-actions a:hover {
    text-decoration: underline;
}

/* Sticky footer: push footer to bottom of viewport */
.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page > .page-content {
    flex: 1 0 auto;
}

.page > footer {
    flex-shrink: 0;
}

/* Main Section */
.signup-section {
    font-family: var(--pc-font);
    color: var(--pc-body-text);
    background: #fff;
    padding-bottom: 60px;
}

.signup-section h1,
.signup-section h2,
.signup-section h3,
.signup-section h4 {
    font-family: var(--pc-font);
    color: var(--pc-heading-text);
}

/* Hero */
.signup-hero {
    text-align: center;
    padding: 36px 0 28px;
}

.signup-hero h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--pc-navy);
}

.signup-hero p {
    font-size: 18px;
    color: var(--pc-body-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Two Column Layout */
.signup-content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.signup-form-col {
    flex: 0 0 58%;
    max-width: 58%;
}

.signup-trust-col {
    flex: 1;
    min-width: 0;
    position: sticky;
    top: 24px;
}

/* Form Card */
.signup-form-card {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.signup-form-card .section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 24px;
    color: var(--pc-navy);
}

.signup-form-card .subsection-title {
    font-size: 16px;
    font-weight: 600;
    margin: 28px 0 16px;
    color: var(--pc-navy);
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.signup-form-card .subsection-title:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

/* Form Fields */
.signup-form-card .form-group {
    margin-bottom: 16px;
}

.signup-form-card label:not(.checkbox):not(.error):not(#card-errors) {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    font-family: var(--pc-font);
}

.signup-form-card label.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.signup-form-card .form-control {
    display: block;
    width: 100%;
    height: 44px;
    padding: 8px 14px;
    font-size: 15px;
    font-family: var(--pc-font);
    color: #1f2937;
    background-color: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.signup-form-card .form-control:focus {
    border-color: var(--pc-navy);
    box-shadow: 0 0 0 3px rgba(24, 61, 87, 0.1);
    outline: none;
}

.signup-form-card .form-control::placeholder {
    color: #9ca3af;
}

/* Name Fields Row */
.signup-name-row {
    display: flex;
    gap: 12px;
}

.signup-name-row .form-group {
    flex: 1;
}

/* Country Select */
.signup-form-card .bootstrap-select .btn {
    height: 44px;
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--pc-font);
    background: #fff;
    color: #1f2937;
}

/* Plan Selection */
.signup-plan-section {
    margin: 28px 0 0;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

/* Plan Cards Grid — 4 equal columns */
.plan-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

/* Paid tiers container renders inline within the grid */
.plan-cards-paid {
    display: contents;
}

/* Unified Plan Card (free + paid share base style) */
.plan-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 12px 16px;
    border: 2px solid var(--pc-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    text-align: center;
    font-family: var(--pc-font);
    -webkit-appearance: none;
    appearance: none;
    min-height: 0;
    position: relative;
    gap: 2px;
}

.plan-card:hover {
    border-color: var(--pc-navy);
    background: #f8fafc;
}

.plan-card.selected {
    border-color: var(--pc-navy);
    background: #f0f5fa;
    box-shadow: 0 0 0 1px var(--pc-navy);
}

/* "Most Popular" badge */
.plan-card-popular {
    border-color: var(--pc-navy);
}

.plan-card-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pc-navy);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Plan card elements */
.plan-card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--pc-navy);
    margin-bottom: 4px;
}

.plan-card-passes {
    font-size: 22px;
    font-weight: 700;
    color: var(--pc-navy);
    line-height: 1.2;
}

.plan-card-passes-label {
    font-size: 11px;
    color: var(--pc-body-text);
    text-transform: lowercase;
    margin-bottom: 6px;
}

.plan-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--pc-navy);
    line-height: 1.3;
}

.plan-card-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--pc-body-text);
}

.plan-card-price-free {
    color: var(--pc-green);
    font-weight: 700;
    font-size: 18px;
}

.plan-card-per-pass {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
}

/* Free card green name */
.plan-card-free .plan-card-name {
    color: var(--pc-green);
}

/* Enterprise Row (compact, below cards) */
.signup-enterprise-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f0f5fa 0%, #e8eef4 100%);
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    margin-bottom: 12px;
    gap: 12px;
}

.enterprise-row-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.enterprise-row-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--pc-navy);
}

.enterprise-row-desc {
    font-size: 13px;
    color: var(--pc-body-text);
    line-height: 1.4;
}

.enterprise-row-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--pc-navy);
    text-decoration: underline;
    white-space: nowrap;
    flex-shrink: 0;
}

.enterprise-row-link:hover {
    color: var(--pc-navy-light);
}

/* VAT Note */
.signup-vat-note {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 8px;
}

/* Active Pass Explanation */
.signup-active-pass-hint {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 12px;
    line-height: 1.5;
}

/* Billing Data Section */
.signup-form-card .billing-data {
    display: none;
}

/* Payment Section */
.signup-form-card #card-element {
    padding: 12px 14px;
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    background: #fff;
    height: auto;
    min-height: 44px;
}

.signup-form-card #missingPayment {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 14px;
    color: #dc2626;
    font-size: 14px;
    margin-bottom: 16px;
}

.signup-form-card #card-errors {
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
}

/* Checkboxes */
.signup-form-card .checkbox {
    margin: 12px 0;
}

.signup-form-card .checkbox label {
    display: block;
    position: relative;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pc-body-text);
    padding-left: 28px;
    cursor: pointer;
}

.signup-form-card .checkbox label a {
    color: var(--pc-navy);
    text-decoration: underline;
}

.signup-form-card .checkbox input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 3px;
    margin: 0;
    width: 16px;
    height: 16px;
}

/* Submit Buttons */
.signup-form-card .signup-submit-wrapper {
    margin-top: 24px;
}

.signup-form-card .btn-signup {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--pc-font);
    color: #fff;
    background: var(--pc-navy);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
    text-align: center;
    line-height: 1.4;
}

.signup-form-card .btn-signup:hover {
    background: var(--pc-navy-light);
}

.signup-form-card .submit-free,
.signup-form-card .submit-costs {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--pc-font);
    color: #fff;
    background: var(--pc-navy);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.signup-form-card .submit-free:hover,
.signup-form-card .submit-costs:hover {
    background: var(--pc-navy-light);
}

.signup-form-card .submit-costs {
    display: none;
}

.signup-form-card .btn-signup.btn-signup-disabled,
.signup-form-card .btn-signup.btn-signup-disabled:hover,
.signup-form-card .submit-free.btn-signup-disabled,
.signup-form-card .submit-free.btn-signup-disabled:hover,
.signup-form-card .submit-costs.btn-signup-disabled,
.signup-form-card .submit-costs.btn-signup-disabled:hover {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Override Bootstrap btn classes inside card */
.signup-form-card .btn.btn-primary {
    background: var(--pc-navy);
    border-color: var(--pc-navy);
    border-radius: 8px;
    font-family: var(--pc-font);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 24px;
}

.signup-form-card .btn.btn-primary:hover,
.signup-form-card .btn.btn-primary:focus {
    background: var(--pc-navy-light);
    border-color: var(--pc-navy-light);
}

/* Login Link */
.signup-login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--pc-body-text);
}

.signup-login-link a {
    color: var(--pc-navy);
    font-weight: 500;
    text-decoration: underline;
}

/* reCAPTCHA */
.signup-form-card .g-recaptcha {
    margin-top: 12px;
}

.signup-form-card .recaptcha-disclaimer {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
}

/* Validation Errors */
.signup-form-card label.error {
    color: #dc2626;
    font-size: 13px;
    font-weight: 400;
    margin-top: 4px;
    display: block;
}

.signup-form-card .form-control.error {
    border-color: #dc2626;
}

/* ========== Trust Sidebar ========== */
.signup-trust-sidebar {
    background: var(--pc-bg-light);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 28px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.trust-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.trust-badge-icon svg {
    width: 22px;
    height: 22px;
}

/* Partner Badges */
.partner-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.partner-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.partner-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.partner-badge-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    margin: auto;
}

/* OMR Reviews */
.signup-omr-badge {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.signup-omr-stars {
    color: #facc15;
    font-size: 20px;
    letter-spacing: 2px;
}

.signup-omr-rating {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-top: 4px;
}

.signup-omr-source {
    font-size: 12px;
    color: #9ca3af;
}

/* Customer Logos */
.signup-customer-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.signup-customer-logos span {
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
}

.signup-customer-logos .logo-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Features List */
.signup-features-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--pc-navy);
    margin-bottom: 12px;
}

.signup-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.signup-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    padding: 5px 0;
    line-height: 1.4;
}

.signup-features-list li::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
    background: var(--pc-green);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Also Available (on request) */
.signup-also-available {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.signup-also-available-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--pc-navy);
    margin-bottom: 8px;
}

.signup-also-available-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.signup-also-available-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
    padding: 3px 0;
    line-height: 1.4;
}

.signup-also-available-list li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    background: var(--pc-navy);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v2H7a1 1 0 100 2h2v2a1 1 0 102 0v-2h2a1 1 0 100-2h-2V7z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
}

/* No CC Hint */
.signup-no-cc-hint {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

/* ========== FAQ Section ========== */
.signup-faq-section {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.signup-faq-section h2 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--pc-navy);
}

.signup-faq-item {
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.signup-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--pc-font);
    color: var(--pc-navy);
    text-align: left;
    transition: background 0.15s ease;
}

.signup-faq-question:hover {
    background: var(--pc-bg-light);
}

.signup-faq-question .faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: #9ca3af;
}

.signup-faq-item.open .signup-faq-question .faq-chevron {
    transform: rotate(180deg);
}

.signup-faq-answer {
    display: none;
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--pc-body-text);
    line-height: 1.6;
}

.signup-faq-item.open .signup-faq-answer {
    display: block;
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
    .signup-content {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .signup-form-col {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }

    .signup-trust-col {
        position: static;
        width: 100%;
    }

    .signup-hero h1 {
        font-size: 28px;
    }

    .signup-hero p {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .signup-hero {
        padding: 32px 0 24px;
    }

    .signup-hero h1 {
        font-size: 24px;
    }

    .signup-form-card {
        padding: 24px;
    }

    .signup-name-row {
        flex-direction: column;
        gap: 0;
    }

    .signup-trust-sidebar {
        padding: 20px;
    }

    .plan-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .plan-card {
        padding: 16px 8px 12px;
    }

    .plan-card-passes {
        font-size: 18px;
    }

    .plan-card-badge {
        font-size: 10px;
        padding: 2px 8px;
        top: -10px;
    }

    .signup-enterprise-row {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

/* Override existing styles that conflict */
.signup-section .form-box {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.signup-section .form-box-inner {
    padding: 0;
    background: transparent;
}

/* ========== Enterprise Contact Modal ========== */
.enterprise-modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    font-family: var(--pc-font);
}

.enterprise-modal .modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 24px;
}

.enterprise-modal .modal-header .close {
    font-size: 24px;
    opacity: 0.5;
}

.enterprise-modal .modal-header .close:hover {
    opacity: 0.8;
}

.enterprise-modal .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--pc-navy);
    font-family: var(--pc-font);
}

.enterprise-modal .modal-body {
    padding: 24px;
}

.enterprise-modal .form-group {
    margin-bottom: 16px;
}

.enterprise-modal .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    font-family: var(--pc-font);
}

.enterprise-modal .form-control {
    display: block;
    width: 100%;
    height: 44px;
    padding: 8px 14px;
    font-size: 15px;
    font-family: var(--pc-font);
    color: #1f2937;
    background-color: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.enterprise-modal .form-control:focus {
    border-color: var(--pc-navy);
    box-shadow: 0 0 0 3px rgba(24, 61, 87, 0.1);
    outline: none;
}

.enterprise-modal .form-control::placeholder {
    color: #9ca3af;
}

.enterprise-modal textarea.form-control {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.enterprise-modal .text-danger {
    color: #dc2626;
    font-weight: 600;
}

.enterprise-modal .ent-captcha-group {
    padding-top: 8px;
}

.enterprise-modal #entCaptchaUrl {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--pc-border);
    border-radius: 6px;
    margin-bottom: 8px;
}

.enterprise-modal .ent-captcha-refresh {
    display: inline-block;
    font-size: 13px;
    color: var(--pc-navy);
    text-decoration: underline;
    margin-bottom: 10px;
    cursor: pointer;
}

.enterprise-modal .ent-captcha-refresh:hover {
    color: var(--pc-navy-light);
}

.enterprise-modal .ent-form-actions {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.enterprise-modal .btn-enterprise-submit {
    display: block;
    width: 100%;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--pc-font);
    color: #fff;
    background: var(--pc-navy);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.enterprise-modal .btn-enterprise-submit:hover {
    background: var(--pc-navy-light);
}

/* Flash Messages */
.signup-section .alert {
    border-radius: 8px;
    font-family: var(--pc-font);
    margin-bottom: 24px;
}

/* ==========================================================================
   TWO-STEP SIGNUP FLOW
   ========================================================================== */

/* Step visibility */
.signup-step {
    /* Steps are shown/hidden via JS inline style */
}

.signup-step-entering {
    animation: stepFadeIn 0.3s ease forwards;
}

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

/* ========== Step 1: 3-Column Pricing Cards ========== */

.plan-cards-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 12px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== Step 1: 4-Column Pricing Cards (Free + Paid inline) ========== */

.plan-cards-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 12px;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

/* Free plan card styling */
.plan-card-full-free {
    border-color: var(--pc-green);
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #ecfdf5 100%);
}

.plan-card-full-free:hover {
    border-color: var(--pc-green);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12);
}

.plan-card-full-name-free {
    color: var(--pc-green);
}

.plan-card-full-price-free {
    color: var(--pc-green);
}

.plan-select-btn-free {
    color: #fff;
    background: var(--pc-green);
    border-color: var(--pc-green);
}

.plan-select-btn-free:hover {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.plan-card-free-nocc {
    font-size: 12px;
    color: var(--pc-body-text);
    font-family: var(--pc-font);
    margin-top: 4px;
}

/* Paid tiers container: display contents so cards flow in the grid */
.plan-cards-paid-step1 {
    display: contents;
}

/* Full-size plan card */
.plan-card-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 24px 22px;
    border: 2px solid var(--pc-border);
    border-radius: 16px;
    background: #fff;
    text-align: center;
    font-family: var(--pc-font);
    position: relative;
    gap: 4px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plan-card-full:hover {
    border-color: var(--pc-navy);
    box-shadow: 0 4px 12px rgba(24, 61, 87, 0.08);
}

.plan-card-full-popular {
    border-color: var(--pc-navy);
}

.plan-card-full-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pc-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 12px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Plan name = title/heading */
.plan-card-full-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--pc-navy);
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

/* Price = dominant visual element */
.plan-card-full-price {
    font-size: 40px;
    font-weight: 800;
    color: var(--pc-navy);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.plan-card-full-price small {
    font-size: 15px;
    font-weight: 400;
    color: var(--pc-body-text);
}

/* Passes count = secondary info */
.plan-card-full-passes {
    font-size: 15px;
    font-weight: 600;
    color: var(--pc-body-text);
    line-height: 1.3;
    margin-bottom: 4px;
}

.plan-card-full-passes-label {
    display: none;
}

.plan-card-full-per-pass {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 20px;
}

/* CTA buttons inside plan cards — outlined by default */
.plan-select-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--pc-font);
    color: var(--pc-navy);
    background: #fff;
    border: 2px solid var(--pc-navy);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    text-align: center;
    margin-top: auto;
}

.plan-select-btn:hover {
    background: var(--pc-navy);
    color: #fff;
}

/* Primary button for the popular/recommended plan */
.plan-card-full-popular .plan-select-btn {
    color: #fff;
    background: var(--pc-navy);
    border-color: var(--pc-navy);
}

.plan-card-full-popular .plan-select-btn:hover {
    background: var(--pc-navy-light);
    border-color: var(--pc-navy-light);
}

/* ========== Step 1: Free Plan Banner ========== */

.signup-free-banner {
    max-width: 960px;
    margin: 0 auto 16px;
}

.signup-free-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #ecfdf5 100%);
    border: 2px solid var(--pc-green);
    border-radius: 16px;
    gap: 24px;
}

.signup-free-banner-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.signup-free-banner-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--pc-green);
    font-family: var(--pc-font);
    letter-spacing: -0.3px;
}

.signup-free-banner-passes {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    font-family: var(--pc-font);
    padding-left: 16px;
    border-left: 2px solid var(--pc-border);
}

.signup-free-banner-hint {
    font-size: 14px;
    color: var(--pc-body-text);
    font-family: var(--pc-font);
    padding-left: 16px;
    border-left: 2px solid var(--pc-border);
}

.signup-free-banner-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.signup-free-banner-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--pc-font);
    color: #fff;
    background: var(--pc-green);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: center;
    white-space: nowrap;
}

.signup-free-banner-btn:hover {
    background: #16a34a;
}

.signup-free-banner-nocc {
    font-size: 12px;
    color: var(--pc-body-text);
    font-family: var(--pc-font);
    white-space: nowrap;
}

/* ========== Step 1: Enterprise Section ========== */

.signup-enterprise-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto 32px;
    padding: 24px 32px;
    background: linear-gradient(135deg, #f0f5fa 0%, #e8eef4 100%);
    border: 1px solid var(--pc-border);
    border-radius: 16px;
    gap: 24px;
}

.signup-enterprise-info {
    flex: 1;
}

.signup-enterprise-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pc-navy);
    margin: 0 0 12px;
}

.signup-enterprise-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.signup-enterprise-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
}

.signup-enterprise-features li::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: var(--pc-green);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.signup-enterprise-cta {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--pc-font);
    color: var(--pc-navy);
    background: transparent;
    border: 2px solid var(--pc-navy);
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.signup-enterprise-cta:hover {
    background: var(--pc-navy);
    color: #fff;
    text-decoration: none;
}

/* ========== Step 1: Features Grid ========== */

.signup-features-section {
    max-width: 960px;
    margin: 0 auto 40px;
}

.signup-features-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--pc-navy);
    text-align: center;
    margin: 0 0 24px;
}

.signup-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 32px;
}

.signup-features-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
}

.signup-features-item svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: var(--pc-green);
}

/* ========== Step 1: Customer Reviews (OMR Reviews) ========== */

.signup-reviews-section {
    max-width: 960px;
    margin: 0 auto 48px;
    text-align: center;
}

.signup-reviews-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.signup-reviews-stars {
    color: #f59e0b;
    font-size: 20px;
    letter-spacing: 2px;
}

.signup-reviews-rating {
    font-size: 15px;
    font-weight: 600;
    color: var(--pc-navy, #183D57);
}

.signup-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.signup-review-card {
    background: #ffffff;
    border: 1px solid var(--pc-border);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: left;
}

.signup-review-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.signup-review-quote {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    font-style: italic;
    margin: 0 0 16px;
}

.signup-review-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--pc-navy, #183D57);
}

.signup-review-role {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

/* ========== Step 1: Social Proof ========== */

.signup-social-proof {
    max-width: 960px;
    margin: 0 auto 40px;
    padding: 32px;
    background: var(--pc-bg-light);
    border: 1px solid var(--pc-border);
    border-radius: 16px;
}

.signup-social-proof-logos {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pc-border);
}

.signup-social-proof-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.signup-social-proof-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.signup-social-proof-logos-row img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.signup-social-proof-logos-row img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.signup-social-proof-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.signup-social-proof-badge-group {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.signup-social-proof-badge-group svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: var(--pc-navy);
}

.signup-social-proof-badge-group img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.signup-social-proof-divider {
    width: 1px;
    height: 20px;
    background: var(--pc-border);
    flex-shrink: 0;
}

.signup-social-proof-omr .signup-social-proof-stars {
    color: #facc15;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ========== Step 2: Step Indicator ========== */

.signup-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 32px auto 36px;
    max-width: 400px;
}

.step-indicator-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    white-space: nowrap;
}

.step-indicator-item.step-active {
    color: var(--pc-navy);
    font-weight: 600;
}

.step-indicator-item.step-completed {
    color: var(--pc-green);
}

.step-indicator-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    border: 2px solid #d1d5db;
    background: #fff;
    color: #9ca3af;
}

.step-indicator-item.step-active .step-indicator-circle {
    border-color: var(--pc-navy);
    background: var(--pc-navy);
    color: #fff;
}

.step-indicator-item.step-completed .step-indicator-circle {
    border-color: var(--pc-green);
    background: var(--pc-green);
    color: #fff;
}

.step-indicator-item.step-completed .step-indicator-circle svg {
    width: 16px;
    height: 16px;
}

.step-indicator-line {
    flex: 1;
    height: 2px;
    background: #d1d5db;
    margin: 0 12px;
    min-width: 40px;
}

/* ========== Step 2: Selected Plan Summary ========== */

.selected-plan-summary {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.selected-plan-header {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.selected-plan-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--pc-navy);
    margin-bottom: 4px;
}

.selected-plan-details {
    font-size: 14px;
    color: var(--pc-body-text);
    margin-bottom: 4px;
}

.selected-plan-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--pc-navy);
    margin-bottom: 12px;
}

.selected-plan-change {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--pc-font);
    color: var(--pc-navy);
    background: transparent;
    border: 1px solid var(--pc-border);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.selected-plan-change:hover {
    background: var(--pc-bg-light);
    border-color: var(--pc-navy);
}

/* ========== Responsive: Two-Step Additions ========== */

@media (max-width: 991px) {
    .plan-cards-grid-3col {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .plan-cards-grid-4col {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .signup-enterprise-section {
        padding: 20px 24px;
    }

    .signup-enterprise-features {
        grid-template-columns: 1fr;
    }

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

    /* Stack form and trust elements on tablet */
    .signup-content {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .signup-trust-col {
        position: static;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .plan-cards-grid-3col {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 360px;
    }

    .plan-cards-grid-4col {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 360px;
    }

    .plan-card-full {
        padding: 24px 20px 20px;
    }

    .plan-card-full-price {
        font-size: 32px;
    }

    .plan-card-full-badge {
        font-size: 10px;
        padding: 2px 10px;
    }

    .plan-select-btn {
        font-size: 14px;
        padding: 10px 16px;
    }

    .signup-free-banner-content {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        gap: 16px;
    }

    .signup-free-banner-info {
        flex-direction: column;
        gap: 8px;
    }

    .signup-free-banner-passes,
    .signup-free-banner-hint {
        border-left: none;
        padding-left: 0;
    }

    .signup-enterprise-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }

    .signup-enterprise-features {
        grid-template-columns: 1fr;
        text-align: left;
    }

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

    .signup-reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .signup-reviews-section {
        margin: 0 auto 32px;
    }

    .signup-social-proof {
        padding: 20px;
    }

    .signup-social-proof-logos-row {
        gap: 16px;
    }

    .signup-social-proof-logos-row img {
        height: 24px;
    }

    .signup-social-proof-badges {
        gap: 12px;
    }

    .signup-social-proof-divider {
        display: none;
    }

    .signup-step-indicator {
        margin: 20px auto 24px;
    }

    .step-indicator-item span {
        display: none;
    }
}
