/**
 * IdeaDunes UI Enhancements v2.0
 * - Text overlapping fixes for all breakpoints
 * - Enhanced signup step flow
 * - Select2 searchable dropdown styling
 * - Voice input & 3 input modes (typing, speaking, thinking)
 * - Improved mobile responsive
 * - Conversion optimization enhancements
 */

/* ========================================================================
   CRITICAL: Text Overlap & Layout Fixes
   ======================================================================== */

/* Fix navbar overlapping page content on all devices */
.page-content-wrapper {
    padding-top: 140px !important;
}
.info-page-content {
    padding-top: 140px !important;
}
.auth-page-bg .page-content-wrapper {
    padding-top: 140px !important;
}

/* Fix utility bar + navbar stacking */
.public-utility-bar {
    position: fixed;
    top: 0;
    z-index: 1050;
    height: 42px;
}
.public-navbar.navbar-default {
    position: fixed;
    top: 42px;
    left: 0;
    right: 0;
    z-index: 1040;
}

/* Prevent text from overlapping in cards */
.pricing-card,
.demo-card,
.standalone-card,
.feature-detail-card,
.home-overview-card,
.home-capability-card,
.home-workflow-step,
.solutions-card,
.blog-card,
.testimonial-card,
.tutorial-card,
.stat-card,
.onboarding-step,
.about-feature,
.contact-method-card,
.footer-usecase-card,
.footer-navigation-card,
.footer-trust-item {
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: relative;
}

/* Ensure long text in pricing features wraps properly */
.pricing-card .plan-features li,
.pricing-card .pricing-feature-list li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
    padding-right: 5px;
}

/* Fix hero text overflow */
.pricing-hero h1,
.contact-hero h1,
.home-hero h1,
.info-page-content .page-hero h1 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.pricing-hero p,
.contact-hero p,
.home-hero p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Fix footer text overlap in multi-column grid */
.footer-main .col-sm-6,
.footer-main .col-md-3,
.footer-main .col-md-4 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Fix comparison table overflow */
.pricing-comparison-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
}

.pricing-comparison-table table {
    min-width: 600px;
}

/* ========================================================================
   ENHANCED SIGNUP STEP FLOW
   ======================================================================== */

/* Larger, more attractive signup card */
.signup-wizard-card {
    max-width: 580px;
    padding: 48px 42px;
}

/* Enhanced step indicators */
.signup-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0 0 36px;
    padding: 20px 0;
    position: relative;
}

.signup-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    min-width: 80px;
}

.signup-step .step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0ecf3;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
}

.signup-step.active .step-number {
    background: linear-gradient(135deg, #6C587B, #4b395d);
    color: #fff;
    border-color: rgba(108, 88, 123, 0.3);
    box-shadow: 0 8px 24px rgba(108, 88, 123, 0.35);
    transform: scale(1.1);
}

.signup-step.completed .step-number {
    background: linear-gradient(135deg, #28a745, #20903c);
    color: #fff;
    border-color: rgba(40, 167, 69, 0.3);
    box-shadow: 0 6px 18px rgba(40, 167, 69, 0.3);
}

.signup-step .step-icon {
    font-size: 18px;
}

.signup-step .step-label {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    transition: color 0.3s;
}

.signup-step.active .step-label {
    color: #6C587B;
}

.signup-step.completed .step-label {
    color: #28a745;
}

.step-connector {
    flex: 1;
    height: 3px;
    background: #e9ecef;
    margin: 22px 8px 0;
    border-radius: 999px;
    transition: background 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-connector.active {
    background: linear-gradient(90deg, #28a745, #6C587B);
}

.step-connector.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Step panels with smooth transitions */
.signup-step-panel {
    display: none;
    opacity: 0;
}

.signup-step-panel.active {
    display: block;
    opacity: 1;
    animation: stepSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Better step buttons */
.signup-step-buttons {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.signup-step-buttons .btn {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.signup-step-buttons .btn:hover {
    transform: translateY(-1px);
}

/* Step panel headings */
.step-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--public-ink, #14213d);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-panel-title i {
    color: var(--public-brand, #6c587b);
}

/* ========================================================================
   SELECT2 SEARCHABLE DROPDOWN OVERRIDES
   ======================================================================== */

/* Container */
.select2-container--default .select2-selection--single {
    height: 42px;
    border: 1px solid rgba(108, 88, 123, 0.2);
    border-radius: 12px;
    background: #fff;
    padding: 6px 12px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.select2-container--default .select2-selection--single:hover {
    border-color: rgba(108, 88, 123, 0.4);
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #6c587b;
    box-shadow: 0 0 0 3px rgba(108, 88, 123, 0.12);
    outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
    color: var(--public-ink, #14213d);
    padding-left: 0;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    right: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #6c587b transparent transparent transparent;
}

/* Dropdown */
.select2-dropdown {
    border: 1px solid rgba(108, 88, 123, 0.15);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(20, 33, 61, 0.15);
    overflow: hidden;
    margin-top: 4px;
}

.select2-container--default .select2-search--dropdown {
    padding: 10px 12px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid rgba(108, 88, 123, 0.2);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #6c587b;
    box-shadow: 0 0 0 3px rgba(108, 88, 123, 0.1);
}

/* Results */
.select2-results__option {
    padding: 10px 14px;
    font-size: 14px;
    transition: background 0.15s;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: linear-gradient(135deg, #6c587b, #5a4868);
    color: #fff;
}

.select2-container--default .select2-results__option--selected {
    background: #f0ecf3;
    font-weight: 600;
}

/* Option groups */
.select2-results__group {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 800;
    color: #6c587b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Multiple select */
.select2-container--default .select2-selection--multiple {
    min-height: 42px;
    border: 1px solid rgba(108, 88, 123, 0.2);
    border-radius: 12px;
    padding: 4px 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(135deg, #6c587b, #5a4868);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: rgba(255,255,255,0.7);
    margin-right: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff;
}

/* ========================================================================
   VOICE INPUT & 3 INPUT MODES
   ======================================================================== */

/* Input mode switcher */
.input-mode-switcher {
    display: flex;
    gap: 4px;
    background: #f0ecf3;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 12px;
}

.input-mode-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--public-muted, #6b7280);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.input-mode-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    color: var(--public-ink, #14213d);
}

.input-mode-btn.active {
    background: #fff;
    color: var(--public-brand, #6c587b);
    box-shadow: 0 4px 12px rgba(108, 88, 123, 0.15);
}

.input-mode-btn i {
    font-size: 14px;
}

/* Voice input area */
.voice-input-area {
    display: none;
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f6fa, #f0ecf3);
    border-radius: 16px;
    border: 2px dashed rgba(108, 88, 123, 0.2);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.voice-input-area.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.voice-input-area.listening {
    border-color: #28a745;
    background: linear-gradient(135deg, #f0faf4, #e8f5e9);
}

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

.voice-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #6c587b, #4b395d);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.voice-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(108, 88, 123, 0.35);
}

.voice-btn.listening {
    background: linear-gradient(135deg, #28a745, #20903c);
    animation: voicePulse 1.5s ease-in-out infinite;
}

@keyframes voicePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(40, 167, 69, 0); }
}

.voice-status {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--public-muted, #6b7280);
}

.voice-status.listening {
    color: #28a745;
}

.voice-transcript {
    margin-top: 12px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 12px;
    font-size: 14px;
    color: var(--public-ink, #14213d);
    min-height: 40px;
    text-align: left;
    border: 1px solid rgba(108, 88, 123, 0.1);
}

/* AI thinking mode */
.ai-thinking-area {
    display: none;
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f5f0fa, #ebe3f3);
    border-radius: 16px;
    border: 2px dashed rgba(108, 88, 123, 0.2);
    margin-bottom: 16px;
}

.ai-thinking-area.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.ai-prompt-input {
    width: 100%;
    border: 1px solid rgba(108, 88, 123, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    resize: none;
    min-height: 80px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.ai-prompt-input:focus {
    border-color: #6c587b;
    box-shadow: 0 0 0 3px rgba(108, 88, 123, 0.1);
}

.ai-prompt-input::placeholder {
    color: #999;
}

.ai-submit-btn {
    margin-top: 12px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #e98a5f, #d4764e);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(233, 138, 95, 0.3);
}

.ai-response {
    margin-top: 14px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 12px;
    font-size: 14px;
    text-align: left;
    border: 1px solid rgba(108, 88, 123, 0.1);
    display: none;
}

.ai-response.visible {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.ai-thinking-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.ai-thinking-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6c587b;
    animation: aiDot 1.4s ease-in-out infinite;
}

.ai-thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-thinking-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes aiDot {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1.2); }
}

/* ========================================================================
   FORM ENHANCEMENT - Better inputs
   ======================================================================== */

.form-control {
    border-radius: 12px;
    border: 1px solid rgba(108, 88, 123, 0.2);
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: auto;
}

.form-control:focus {
    border-color: #6c587b;
    box-shadow: 0 0 0 3px rgba(108, 88, 123, 0.1);
    outline: none;
}

.form-group label {
    font-weight: 700;
    font-size: 13px;
    color: var(--public-ink, #14213d);
    margin-bottom: 6px;
}

/* Password strength bar */
.strength-bar {
    width: 100%;
    height: 5px;
    background: #e9ecef;
    border-radius: 999px;
    margin-top: 8px;
    overflow: hidden;
}

.strength-bar .fill {
    height: 100%;
    border-radius: inherit;
    transition: width 0.3s ease, background 0.3s ease;
    width: 0;
}

.password-requirements {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
    font-size: 12px;
    color: #999;
}

.password-requirements li {
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.password-requirements li::before {
    content: '\f10c';
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    font-size: 10px;
    color: #ccc;
    transition: all 0.2s;
}

.password-requirements li.met {
    color: #28a745;
    font-weight: 600;
}

.password-requirements li.met::before {
    content: '\f058';
    color: #28a745;
}

.match-indicator {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
}

.match-indicator.is-success {
    color: #28a745;
}

.match-indicator.is-error {
    color: #dc3545;
}

/* ========================================================================
   PRICING PAGE ENHANCEMENTS
   ======================================================================== */

/* Better pricing toggle */
.pricing-billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 30px 0 40px;
}

.pricing-billing-toggle .toggle-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--public-muted, #6b7280);
    cursor: pointer;
    transition: color 0.2s;
}

.pricing-billing-toggle .toggle-label.active {
    color: var(--public-ink, #14213d);
}

.pricing-toggle-switch {
    width: 52px;
    height: 28px;
    background: #e9ecef;
    border-radius: 999px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.pricing-toggle-switch.annual {
    background: linear-gradient(135deg, #6c587b, #4b395d);
}

.pricing-toggle-switch::after {
    content: '';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.pricing-toggle-switch.annual::after {
    transform: translateX(24px);
}

.pricing-save-badge {
    background: linear-gradient(135deg, #28a745, #20903c);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

/* Pricing cards grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Enhanced pricing card */
.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--public-radius, 22px);
    padding: 32px 28px;
    border: 1px solid rgba(108, 88, 123, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(20, 33, 61, 0.15);
}

.pricing-card.featured {
    border-color: #6c587b;
    box-shadow: 0 16px 40px rgba(108, 88, 123, 0.2);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6c587b, #4b395d);
    color: #fff;
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ========================================================================
   CONVERSION OPTIMIZATION
   ======================================================================== */

/* Trust signals */
.trust-signals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.trust-signal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--public-muted, #6b7280);
}

.trust-signal i {
    color: #28a745;
    font-size: 16px;
}

/* Social proof */
.social-proof-bar {
    text-align: center;
    padding: 16px;
    background: rgba(108, 88, 123, 0.04);
    border-radius: 14px;
    margin: 20px 0;
    font-size: 14px;
    color: var(--public-muted, #6b7280);
}

.social-proof-bar strong {
    color: var(--public-ink, #14213d);
}

/* Urgency badge */
.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    animation: urgencyPulse 2s ease-in-out infinite;
}

@keyframes urgencyPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* CTA button enhancements */
.btn-brand {
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(108, 88, 123, 0.3);
}

.btn-brand:active {
    transform: translateY(0);
}

/* ========================================================================
   MOBILE RESPONSIVE ENHANCEMENTS
   ======================================================================== */

@media (max-width: 480px) {
    .page-content-wrapper {
        padding-top: 100px !important;
    }

    .standalone-card {
        margin: 16px 12px;
        padding: 24px 18px !important;
        border-radius: 16px !important;
    }

    .signup-wizard-card {
        padding: 28px 20px;
    }

    .signup-steps {
        margin-bottom: 24px;
    }

    .signup-step .step-number {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .signup-step .step-label {
        font-size: 10px;
    }

    .step-connector {
        margin: 17px 4px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .pricing-card {
        padding: 24px 20px;
    }

    .pricing-hero h1,
    .contact-hero h1,
    .home-hero h1 {
        font-size: 26px !important;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 15px;
    }

    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }

    .input-mode-switcher {
        flex-direction: column;
    }

    .voice-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .password-requirements {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .public-utility-bar {
        height: auto;
        min-height: 32px;
    }

    .public-utility-bar__inner {
        flex-direction: column;
        padding: 4px 10px;
        gap: 2px;
        font-size: 11px;
    }

    .public-utility-bar__message {
        display: none;
    }

    .public-navbar.navbar-default {
        top: 32px !important;
        min-height: 56px;
    }

    .page-content-wrapper {
        padding-top: 110px !important;
    }

    .info-page-content {
        padding-top: 110px !important;
    }

    .signup-step .step-number {
        width: 40px;
        height: 40px;
    }

    .signup-step-buttons {
        flex-direction: column;
    }

    .signup-step-buttons .btn:first-child {
        order: 2;
    }

    .signup-step-buttons .btn:last-child {
        order: 1;
    }

    .pricing-comparison-table {
        font-size: 13px;
    }

    .feature-detail-card {
        padding: 20px 16px;
    }

    /* Ensure hero text doesn't overflow */
    .pricing-hero,
    .contact-hero,
    .home-hero {
        padding: 40px 16px !important;
    }

    .trust-signals {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .pricing-billing-toggle {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Fix footer on mobile */
    .footer-cta-band__inner,
    .footer-newsletter-strip__inner {
        flex-direction: column;
        text-align: center;
        padding: 24px 16px;
    }

    .footer-trust-strip__grid,
    .footer-usecase-strip__grid,
    .footer-navigation-strip__grid,
    .footer-global-strip__grid {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .page-content-wrapper {
        padding-top: 130px !important;
    }

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

    .signup-wizard-card {
        max-width: 520px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================================================
   FEATURE PAGE SECTION CARDS
   ======================================================================== */

.feature-detail-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--public-border, rgba(20, 33, 61, 0.1));
    border-radius: var(--public-radius, 22px);
    padding: 28px 24px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(108, 88, 123, 0.12);
}

.feature-detail-card .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0ecf3, #e8e3ed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #6c587b;
    margin-bottom: 16px;
}

/* ========================================================================
   PRINT STYLES
   ======================================================================== */
@media print {
    .public-utility-bar,
    .public-navbar,
    .site-footer,
    .page-preloader {
        display: none !important;
    }

    .page-content-wrapper {
        padding-top: 0 !important;
    }

    body {
        padding-top: 0 !important;
    }
}

/* ==========================================================================
   FOOTER ENHANCEMENTS - v16
   ========================================================================== */

/* Footer Section Titles */
.footer-section-title {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-section-title i {
    margin-right: 8px;
    color: var(--public-accent, #e98a5f);
}

/* Industry Grid */
.footer-industry-strip {
    background: linear-gradient(180deg, #1a1a2e, #16213e);
    padding: 32px 0;
}
.footer-industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.footer-industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #ccc;
    text-decoration: none;
    transition: all 0.25s ease;
}
.footer-industry-card:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.footer-industry-card:nth-child(1):hover  { border-color: #6366f1; background: rgba(99,102,241,0.15); }
.footer-industry-card:nth-child(2):hover  { border-color: #10b981; background: rgba(16,185,129,0.15); }
.footer-industry-card:nth-child(3):hover  { border-color: #f59e0b; background: rgba(245,158,11,0.15); }
.footer-industry-card:nth-child(4):hover  { border-color: #8b5cf6; background: rgba(139,92,246,0.15); }
.footer-industry-card:nth-child(5):hover  { border-color: #3b82f6; background: rgba(59,130,246,0.15); }
.footer-industry-card:nth-child(6):hover  { border-color: #ec4899; background: rgba(236,72,153,0.15); }
.footer-industry-card:nth-child(7):hover  { border-color: #78716c; background: rgba(120,113,108,0.15); }
.footer-industry-card:nth-child(8):hover  { border-color: #14b8a6; background: rgba(20,184,166,0.15); }
.footer-industry-card:nth-child(9):hover  { border-color: #e98a5f; background: rgba(233,138,95,0.15); }
.footer-industry-card:nth-child(10):hover { border-color: #ef4444; background: rgba(239,68,68,0.15); }
.footer-industry-card i {
    font-size: 24px;
    color: var(--public-accent, #e98a5f);
    margin-bottom: 8px;
}
.footer-industry-card strong {
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
    color: #fff;
}
.footer-industry-card span {
    font-size: 11px;
    opacity: 0.7;
    line-height: 1.3;
}

/* Usecase cards update */
.footer-usecase-icon {
    font-size: 28px;
    color: var(--public-accent, #e98a5f);
    margin-bottom: 10px;
    display: block;
}

/* Features Tag Grid */
.footer-features-strip {
    background: linear-gradient(180deg, #0f0f23, #1a1a2e);
    padding: 32px 0;
}
.footer-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.footer-feature-tag:hover {
    background: var(--public-accent, #e98a5f);
    color: #fff;
    text-decoration: none;
    border-color: var(--public-accent, #e98a5f);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233,138,95,0.3);
}
.footer-feature-tag:nth-child(1){ border-color: #6366f1; color: #a5b4fc; }
.footer-feature-tag:nth-child(2){ border-color: #22c55e; color: #86efac; }
.footer-feature-tag:nth-child(3){ border-color: #f59e0b; color: #fcd34d; }
.footer-feature-tag:nth-child(4){ border-color: #3b82f6; color: #93c5fd; }
.footer-feature-tag:nth-child(5){ border-color: #ec4899; color: #f9a8d4; }
.footer-feature-tag:nth-child(6){ border-color: #e98a5f; color: #f0b48a; }
.footer-feature-tag:nth-child(7){ border-color: #8b5cf6; color: #c4b5fd; }
.footer-feature-tag:nth-child(8){ border-color: #14b8a6; color: #5eead4; }
.footer-feature-tag:nth-child(9){ border-color: #ef4444; color: #fca5a5; }
.footer-feature-tag:nth-child(10){ border-color: #06b6d4; color: #67e8f9; }
.footer-feature-tag:nth-child(11){ border-color: #d946ef; color: #f0abfc; }
.footer-feature-tag:nth-child(12){ border-color: #84cc16; color: #bef264; }
.footer-feature-tag:nth-child(13){ border-color: #f97316; color: #fdba74; }
.footer-feature-tag:nth-child(14){ border-color: #10b981; color: #6ee7b7; }
.footer-feature-tag:nth-child(15){ border-color: #a855f7; color: #d8b4fe; }
.footer-feature-tag:nth-child(16){ border-color: #eab308; color: #fde047; }
.footer-feature-tag i {
    font-size: 14px;
    opacity: 0.8;
}

/* Compliance Badges */
.footer-compliance-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}
.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(0,184,148,0.12);
    border: 1px solid rgba(0,184,148,0.25);
    color: #00b894;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.compliance-badge i {
    font-size: 14px;
}

/* Footer 6-column layout */
.footer-links-row .col-lg-2 {
    min-height: 1px;
}
.footer-links-row .footer-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: #fff;
}
.footer-links-row .footer-links li {
    margin-bottom: 5px;
}
.footer-links-row .footer-links a {
    font-size: 12.5px;
    line-height: 1.4;
}

/* Social icons inline */
.footer-social--inline {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.footer-social--inline a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #aaa;
    transition: all 0.2s ease;
    font-size: 15px;
}
.footer-social--inline a:hover {
    background: var(--public-accent, #e98a5f);
    color: #fff;
}

/* Footer Trust Icon */
.footer-trust-icon {
    font-size: 28px;
    color: var(--public-accent, #e98a5f);
    margin-bottom: 10px;
    display: block;
}

/* Trust strip 4-column */
.footer-trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Footer bottom refinement */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom .footer-copyright {
    font-size: 12px;
}

/* Responsive footer */
@media (max-width: 991px) {
    .footer-industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-trust-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-links-row .col-lg-2 {
        width: 33.33%;
        float: left;
    }
}
@media (max-width: 767px) {
    .footer-industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-trust-strip__grid {
        grid-template-columns: 1fr;
    }
    .footer-links-row .col-lg-2 {
        width: 50%;
    }
    .footer-compliance-badges {
        gap: 8px;
    }
    .compliance-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    .footer-bottom .row > div {
        text-align: center !important;
        margin-bottom: 10px;
    }
}
@media (max-width: 480px) {
    .footer-industry-grid {
        grid-template-columns: 1fr;
    }
    .footer-links-row .col-lg-2 {
        width: 100%;
    }
    .footer-features-grid {
        justify-content: center;
    }
}

/* ==========================================================================
   RIGHT-CLICK / COPY PROTECTION
   ========================================================================== */
body.copy-protected {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* Allow selection in form inputs and textareas */
body.copy-protected input,
body.copy-protected textarea,
body.copy-protected select,
body.copy-protected [contenteditable="true"],
body.copy-protected pre,
body.copy-protected code {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* ==========================================================================
   LANGUAGE/CURRENCY INSTANT SWITCH
   ========================================================================== */
.public-pref-select {
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.public-pref-select:focus {
    border-color: var(--public-accent, #e98a5f);
    outline: none;
}
.public-pref-apply {
    transition: all 0.2s ease;
}
.pref-switching {
    opacity: 0.6;
    pointer-events: none;
}

/* ==========================================================================
   LANDING PAGE HERO STYLES
   ========================================================================== */
.landing-hero {
    background: linear-gradient(135deg, #6C587B 0%, #4b395d 50%, #2d2040 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.landing-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(233,138,95,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.landing-hero h1 {
    font-family: 'Fraunces', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
.landing-hero .lead {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.landing-hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.landing-hero-cta .btn {
    min-width: 160px;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
}

.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}
.landing-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(108,88,123,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.landing-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.landing-feature-card i {
    font-size: 32px;
    color: var(--public-brand, #6c587b);
    margin-bottom: 14px;
    display: block;
}
.landing-feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}
.landing-feature-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.landing-testimonial {
    background: linear-gradient(135deg, #fbf8ff, #f3eef8);
    padding: 50px 0;
    text-align: center;
}
.landing-testimonial blockquote {
    font-size: 18px;
    font-style: italic;
    color: #333;
    max-width: 700px;
    margin: 0 auto 16px;
    line-height: 1.6;
    border: none;
    padding: 0;
}
.landing-testimonial cite {
    font-size: 14px;
    color: #777;
}

.landing-cta-section {
    background: var(--public-brand, #6c587b);
    padding: 50px 0;
    text-align: center;
    color: #fff;
}
.landing-cta-section h2 {
    font-family: 'Fraunces', serif;
    font-size: 30px;
    margin-bottom: 16px;
}
.landing-cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
}

@media (max-width: 767px) {
    .landing-hero h1 { font-size: 28px; }
    .landing-features-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   OVERLAPPING FIXES - About Capability Grid (missing grid definition)
   ========================================================================== */
.about-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.about-capability-card {
    background: #fff;
    border: 1px solid rgba(108, 88, 123, 0.12);
    border-radius: 20px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
    padding: 28px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-capability-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(108, 88, 123, 0.12);
}
.about-capability-card h3 {
    color: #241c2b;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 12px;
}
.about-capability-card p {
    color: #655f6c;
    line-height: 1.75;
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .about-capability-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}
@media (max-width: 575px) {
    .about-capability-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   OVERLAPPING FIXES - Pricing Cards Grid (7 plans overflowing 4-column grid)
   ========================================================================== */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin: 10px 0 50px;
}

/* Pricing Buyers Guide Grid Fix */
.pricing-buyers-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}
.pricing-guide-card {
    background: #fff;
    border: 1px solid rgba(108, 88, 123, 0.1);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease;
}
.pricing-guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(108, 88, 123, 0.1);
}
.pricing-guide-card strong {
    display: block;
    font-size: 1rem;
    color: #241c2b;
    margin-bottom: 8px;
}
.pricing-guide-card span {
    display: block;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #665f6d;
}

/* Pricing Includes Grid Fix */
.pricing-includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 28px;
}
.pricing-include-card {
    background: #fff;
    border: 1px solid rgba(108, 88, 123, 0.1);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.pricing-include-card h3 {
    font-size: 1.05rem;
    color: #241c2b;
    margin: 0 0 10px;
    font-weight: 700;
}
.pricing-include-card p {
    color: #665f6d;
    line-height: 1.65;
    margin: 0;
    font-size: 0.92rem;
}

/* Pricing Feature Inventory & Coverage Fix */
.pricing-feature-inventory {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 28px;
}
.pricing-stack-card {
    background: #fff;
    border: 1px solid rgba(108, 88, 123, 0.1);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.pricing-stack-card h3 {
    font-size: 1.05rem;
    color: #241c2b;
    font-weight: 700;
    margin: 0 0 14px;
}
.pricing-stack-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pricing-stack-card ul li {
    padding: 5px 0 5px 22px;
    position: relative;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.55;
}
.pricing-stack-card ul li::before {
    content: '\f00c';
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: #6c587b;
    font-size: 12px;
}

/* Integration Coverage Grid Fix */
.pricing-integration-coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 28px;
}

/* Pricing Comparison Table - horizontal scroll for 7 columns */
.pricing-compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid rgba(108, 88, 123, 0.1);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    margin-top: 24px;
}
.pricing-compare-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}
.pricing-compare-table th,
.pricing-compare-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(108, 88, 123, 0.08);
    font-size: 0.88rem;
    text-align: center;
    white-space: nowrap;
}
.pricing-compare-table th:first-child,
.pricing-compare-table td:first-child {
    text-align: left;
    white-space: normal;
    min-width: 180px;
}
.pricing-compare-table thead th {
    background: #f8f5fb;
    color: #241c2b;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 2;
}
.pricing-check--yes {
    color: #22a06b;
    font-weight: 600;
}
.pricing-check--no {
    color: #bbb;
}

/* Pricing Integration Path / Rollout Grid */
.pricing-roadmap-grid,
.pricing-integration-path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 24px;
}

/* About Proof Strip */
.about-proof-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 24px;
}
.about-proof-item {
    background: rgba(108, 88, 123, 0.04);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(108, 88, 123, 0.08);
}
.about-proof-item strong {
    display: block;
    font-size: 1rem;
    color: #241c2b;
    margin-bottom: 6px;
}
.about-proof-item span {
    font-size: 0.92rem;
    color: #665f6d;
    line-height: 1.6;
}

/* About Features Row */
.about-features-row {
    margin-top: 28px;
}
.about-feature {
    text-align: center;
    padding: 28px 20px;
    min-height: 180px;
}
.about-feature .feature-icon {
    font-size: 32px;
    color: #6c587b;
    margin-bottom: 16px;
    display: block;
}
.about-feature h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #241c2b;
    margin-bottom: 10px;
}
.about-feature p {
    font-size: 0.9rem;
    color: #665f6d;
    line-height: 1.6;
}

/* Final CTA section */
.final-cta {
    text-align: center;
    padding: 50px 20px;
    margin: 50px 0 0;
    background: linear-gradient(135deg, #f8f5fb 0%, #ede7f4 100%);
    border-radius: 24px;
}
.final-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #241c2b;
    margin-bottom: 14px;
}
.final-cta p {
    color: #665f6d;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.7;
}
.final-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   PRODUCTS PAGE - Solution Finder Enhancements
   ========================================================================== */
.solution-finder-wizard {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(108, 88, 123, 0.1);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
    padding: 40px;
    margin: 40px 0;
}
.solution-finder-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
}
.solution-finder-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    cursor: pointer;
}
.solution-finder-step .sf-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0ecf3;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.35s ease;
    border: 3px solid transparent;
}
.solution-finder-step.active .sf-step-num {
    background: linear-gradient(135deg, #6C587B, #4b395d);
    color: #fff;
    border-color: rgba(108, 88, 123, 0.3);
    box-shadow: 0 8px 20px rgba(108, 88, 123, 0.3);
    transform: scale(1.08);
}
.solution-finder-step.done .sf-step-num {
    background: linear-gradient(135deg, #22a06b, #1a8c5a);
    color: #fff;
    border-color: rgba(34, 160, 107, 0.3);
}
.solution-finder-step .sf-step-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    transition: color 0.3s;
}
.solution-finder-step.active .sf-step-label { color: #6C587B; }
.solution-finder-step.done .sf-step-label { color: #22a06b; }
.sf-step-connector {
    flex: 1;
    height: 3px;
    background: #e9ecef;
    margin: 0 8px;
    border-radius: 3px;
    transition: background 0.4s;
    align-self: flex-start;
    margin-top: 20px;
}
.sf-step-connector.done {
    background: linear-gradient(90deg, #22a06b, #6C587B);
}

/* Solution Finder - Feature Selection & Pricing */
.sf-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.sf-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(108, 88, 123, 0.1);
    border-radius: 14px;
    background: #faf9fc;
    cursor: pointer;
    transition: all 0.2s ease;
}
.sf-feature-item:hover {
    border-color: #6c587b;
    background: #f5f0f8;
}
.sf-feature-item.selected {
    border-color: #6c587b;
    background: linear-gradient(135deg, #f0ecf5, #e8e0f0);
    box-shadow: 0 4px 14px rgba(108, 88, 123, 0.12);
}
.sf-feature-item input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #6c587b;
    width: 18px;
    height: 18px;
}
.sf-feature-info {
    flex: 1;
}
.sf-feature-info strong {
    display: block;
    font-size: 0.95rem;
    color: #241c2b;
    margin-bottom: 4px;
}
.sf-feature-info small {
    color: #888;
    font-size: 0.82rem;
    line-height: 1.4;
}
.sf-feature-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: #6c587b;
    white-space: nowrap;
}

/* Solution Result Summary */
.sf-result-summary {
    background: linear-gradient(135deg, #f8f5fb, #ede7f4);
    border-radius: 20px;
    padding: 32px;
    margin-top: 28px;
    border: 1px solid rgba(108, 88, 123, 0.12);
}
.sf-result-summary h3 {
    font-size: 1.3rem;
    color: #241c2b;
    margin-bottom: 18px;
}
.sf-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(108, 88, 123, 0.08);
}
.sf-result-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: #6c587b;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid #6c587b;
}

/* ==========================================================================
   PRODUCTS PAGE - Platform Module Cards
   ========================================================================== */
.platform-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 22px;
    margin-top: 28px;
}
.platform-module-card {
    background: #fff;
    border: 1px solid rgba(108, 88, 123, 0.1);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.platform-module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(108, 88, 123, 0.12);
}
.platform-module-card i {
    font-size: 28px;
    color: #6c587b;
    margin-bottom: 14px;
    display: block;
}
.platform-module-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #241c2b;
    margin-bottom: 10px;
}
.platform-module-card p {
    font-size: 0.9rem;
    color: #665f6d;
    line-height: 1.65;
    margin: 0;
}

/* Products Hero */
.products-hero .platform-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 28px;
}
.products-hero .highlight-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 18px;
    color: #fff;
    text-align: center;
}
.products-hero .highlight-card i {
    font-size: 24px;
    color: #e98a5f;
    margin-bottom: 8px;
    display: block;
}
.products-hero .highlight-card strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.products-hero .highlight-card span {
    font-size: 0.82rem;
    opacity: 0.85;
}

/* Blueprint Cards */
.blueprint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 28px;
}
.blueprint-card {
    background: #fff;
    border: 1px solid rgba(108, 88, 123, 0.1);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease;
}
.blueprint-card:hover {
    transform: translateY(-3px);
}
.blueprint-card .blueprint-icon {
    font-size: 28px;
    color: #6c587b;
    margin-bottom: 12px;
}
.blueprint-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #241c2b;
    margin-bottom: 8px;
}
.blueprint-card p {
    color: #665f6d;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Architecture Cards */
.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 28px;
}

/* Rollout Path Cards */
.rollout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 28px;
}
.rollout-card {
    background: #fff;
    border: 1px solid rgba(108, 88, 123, 0.1);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.rollout-card .stage-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: #f0ecf3;
    color: #6c587b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}
.rollout-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #241c2b;
    margin-bottom: 8px;
}
.rollout-card p {
    color: #665f6d;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   GET QUOTE BUILDER
   ========================================================================== */
.quote-builder-container {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(108, 88, 123, 0.1);
    box-shadow: 0 20px 60px rgba(15, 23, 61, 0.08);
    padding: 48px;
    margin: 40px 0;
}
.quote-builder-container h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    color: #241c2b;
    margin-bottom: 8px;
}
.quote-builder-container .quote-lead {
    color: #665f6d;
    font-size: 0.95rem;
    margin-bottom: 32px;
}
.quote-builder-sections {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
}
@media (max-width: 991px) {
    .quote-builder-sections {
        grid-template-columns: 1fr;
    }
}
.quote-config-panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.quote-section-group h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #241c2b;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(108, 88, 123, 0.1);
}
.quote-section-group h4 i {
    color: #6c587b;
    margin-right: 8px;
}
.quote-option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    background: #faf9fc;
    margin-bottom: 8px;
    border: 1px solid rgba(108, 88, 123, 0.06);
    transition: all 0.2s ease;
}
.quote-option-row:hover {
    background: #f0ecf5;
    border-color: rgba(108, 88, 123, 0.15);
}
.quote-option-row label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
    margin: 0;
    font-size: 0.92rem;
    color: #333;
}
.quote-option-row input[type="checkbox"],
.quote-option-row input[type="radio"] {
    accent-color: #6c587b;
    width: 17px;
    height: 17px;
}
.quote-option-price {
    font-weight: 700;
    color: #6c587b;
    font-size: 0.88rem;
    white-space: nowrap;
}
.quote-slider-row {
    padding: 14px 16px;
    border-radius: 12px;
    background: #faf9fc;
    margin-bottom: 8px;
}
.quote-slider-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    font-size: 0.92rem;
}
.quote-slider-row input[type="range"] {
    width: 100%;
    accent-color: #6c587b;
}
.quote-slider-row .slider-value {
    text-align: right;
    font-weight: 700;
    color: #6c587b;
    font-size: 0.95rem;
    margin-top: 4px;
}

/* Quote Summary Sidebar */
.quote-summary-panel {
    background: linear-gradient(135deg, #f8f5fb, #ede7f4);
    border-radius: 20px;
    padding: 32px;
    position: sticky;
    top: 140px;
    border: 1px solid rgba(108, 88, 123, 0.12);
}
.quote-summary-panel h3 {
    font-size: 1.2rem;
    color: #241c2b;
    margin-bottom: 20px;
    font-weight: 700;
}
.quote-summary-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid rgba(108, 88, 123, 0.08);
}
.quote-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    margin-top: 12px;
    border-top: 2px solid #6c587b;
    font-size: 1.15rem;
    font-weight: 800;
    color: #6c587b;
}
.quote-summary-total .total-period {
    font-size: 0.82rem;
    font-weight: 400;
    color: #888;
}
.quote-cta-buttons {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.quote-cta-buttons .btn {
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}

/* ==========================================================================
   RESPONSIVE PRICING OVERRIDES (must come after pricing fixes)
   ========================================================================== */
@media (max-width: 767px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    .pricing-buyers-guide {
        grid-template-columns: 1fr;
    }
    .pricing-includes-grid {
        grid-template-columns: 1fr;
    }
    .quote-builder-sections {
        grid-template-columns: 1fr;
    }
    .quote-builder-container {
        padding: 24px;
    }
    .solution-finder-wizard {
        padding: 24px;
    }
    .sf-features-grid {
        grid-template-columns: 1fr;
    }
    .sf-result-summary {
        padding: 20px;
    }
    .about-proof-strip {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) and (max-width: 1399px) {
    .pricing-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1400px) {
    .pricing-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================================================
   FIX: About/info page body width constraint removal for grid sections
   The base .info-page-body has max-width:800px which cramps grids
   ======================================================================== */
.info-page-body .public-story-section,
.info-page-body .about-capabilities-shell,
.info-page-body .about-mission-shell,
.info-page-body .about-values-shell,
.info-page-body .final-cta {
    max-width: none;
    width: 100%;
}
.info-page-body {
    max-width: none !important;
}
.info-page-body > .crm-about-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================================================
   Detailed Comparison Table — categorized feature matrix
   ======================================================================== */
.pricing-compare-detailed {
    min-width: 1100px;
}
.pricing-compare-detailed th,
.pricing-compare-detailed td {
    font-size: 0.82rem;
    padding: 10px 12px;
    vertical-align: middle;
    white-space: normal;
}
.pricing-compare-detailed th.compare-feature-col,
.pricing-compare-detailed .compare-feature-label {
    text-align: left;
    min-width: 200px;
    font-weight: 600;
    color: #14213d;
}
.pricing-compare-detailed .compare-category-row td {
    background: linear-gradient(135deg, #f6f0fb 0%, #eee7f5 100%);
    font-size: 0.85rem;
    font-weight: 700;
    color: #6c587b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px 14px;
    border-bottom: 2px solid rgba(108, 88, 123, 0.15);
}
.pricing-compare-detailed .compare-tier-value {
    text-align: center;
    font-size: 0.8rem;
    color: #333;
    line-height: 1.4;
}
.pricing-compare-detailed .compare-tier-none {
    color: #c0b8c8;
}
.pricing-compare-detailed .compare-dash {
    font-size: 1.1rem;
    color: #d0c8d8;
}
.pricing-compare-detailed tbody tr:hover td {
    background: rgba(108, 88, 123, 0.04);
}
.pricing-compare-detailed thead th {
    background: #f8f5fb;
    position: sticky;
    top: 0;
    z-index: 3;
    font-size: 0.78rem;
    font-weight: 700;
    color: #6c587b;
    border-bottom: 2px solid rgba(108, 88, 123, 0.12);
    text-align: center;
    padding: 14px 10px;
    white-space: nowrap;
}
.pricing-compare-detailed thead th:first-child {
    text-align: left;
    min-width: 200px;
}

/* Coverage grid improvements */
.pricing-coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.pricing-coverage-card {
    background: #fff;
    border: 1px solid rgba(108, 88, 123, 0.1);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}
.pricing-coverage-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #14213d;
    margin: 0 0 8px;
}
.pricing-coverage-card p {
    font-size: 0.88rem;
    color: #666;
    margin: 0 0 14px;
    line-height: 1.6;
}
.pricing-coverage-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pricing-coverage-tier {
    display: inline-block;
    background: #f6f0fb;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.78rem;
    color: #6c587b;
}
.pricing-coverage-tier strong {
    color: #14213d;
}

/* Implementation grid */
.pricing-implementation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.pricing-implementation-card {
    background: #fff;
    border: 1px solid rgba(108, 88, 123, 0.1);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}
.pricing-implementation-card span {
    display: inline-block;
    background: #f6f0fb;
    color: #6c587b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pricing-implementation-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #14213d;
    margin: 0 0 8px;
}
.pricing-implementation-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Add-ons grid */
.pricing-addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.pricing-addon-card {
    background: #fff;
    border: 1px solid rgba(108, 88, 123, 0.1);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-addon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.pricing-addon-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #14213d;
    margin: 0 0 6px;
}
.pricing-addon-card p {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 12px;
}
.pricing-addon-price {
    display: inline-block;
    background: linear-gradient(135deg, #6c587b, #4b395d);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
}

/* Stack cards grid - ensure no overlap */
.pricing-stack-card {
    background: #fff;
    border: 1px solid rgba(108, 88, 123, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    margin-bottom: 20px;
}
.pricing-stack-card i {
    font-size: 2rem;
    color: #6c587b;
    margin-bottom: 12px;
    display: block;
}
.pricing-stack-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
}
.pricing-stack-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Integration path table */
.pricing-integration-path-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid rgba(108, 88, 123, 0.1);
    margin-top: 20px;
}
.pricing-integration-path-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}
.pricing-integration-path-table thead th {
    background: #f8f5fb;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6c587b;
    border-bottom: 2px solid rgba(108, 88, 123, 0.12);
}
.pricing-integration-path-table tbody td {
    padding: 14px 16px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(108, 88, 123, 0.06);
    vertical-align: top;
}
.pricing-integration-phase {
    display: inline-block;
    background: #f6f0fb;
    color: #6c587b;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

/* Enterprise CTA */
.pricing-enterprise-cta {
    background: linear-gradient(135deg, #6c587b 0%, #3d2a51 100%);
    border-radius: 24px;
    padding: 48px 40px;
    margin: 48px 0;
    color: #fff;
}
.pricing-enterprise-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.pricing-enterprise-cta__inner h2 {
    color: #fff;
    font-size: 1.4rem;
    margin: 8px 0;
}
.pricing-enterprise-cta__inner p {
    color: rgba(255,255,255,0.85);
    margin: 0;
}
.pricing-enterprise-cta__inner .pricing-section-eyebrow {
    color: rgba(255,255,255,0.7);
}
.pricing-enterprise-cta__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.pricing-enterprise-cta .btn-default {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.pricing-enterprise-cta .btn-default:hover {
    background: rgba(255,255,255,0.25);
}

/* Pricing intro grid */
.pricing-intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}
.pricing-intro-card {
    background: #fff;
    border: 1px solid rgba(108, 88, 123, 0.1);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.pricing-intro-card strong {
    display: block;
    color: #14213d;
    font-size: 0.92rem;
    margin-bottom: 4px;
}
.pricing-intro-card span {
    font-size: 0.84rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive for detailed comparison */
@media (max-width: 767px) {
    .pricing-compare-detailed {
        min-width: 900px;
    }
    .pricing-enterprise-cta__inner {
        flex-direction: column;
        text-align: center;
    }
    .pricing-enterprise-cta__actions {
        justify-content: center;
    }
    .pricing-coverage-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================================================
   FOOTER v16.2.0 — Enhanced Sections
   ====================================================================== */

/* ---------- Quick Start Steps ---------- */
.footer-quickstart {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1f3d 50%, #6c587b 100%);
    padding: 64px 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.footer-quickstart::before {
    content: "";
    position: absolute;
    top: -40%;
    left: 20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233,138,95,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.footer-quickstart::after {
    content: "";
    position: absolute;
    bottom: -30%;
    right: 10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108,88,123,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.footer-quickstart__title {
    font-family: "Fraunces", serif;
    font-size: 1.8rem;
    margin: 0 0 6px;
    position: relative;
}
.footer-quickstart__title i {
    color: #e98a5f;
    margin-right: 8px;
}
.footer-quickstart__sub {
    font-size: 15px;
    opacity: 0.75;
    margin: 0 0 36px;
    position: relative;
}
.footer-quickstart__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}
.footer-quickstart__step {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 36px 24px 28px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    position: relative;
}
.footer-quickstart__step:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.footer-quickstart__num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-quickstart__step--1 .footer-quickstart__num { background: linear-gradient(135deg, #e98a5f, #f5af19); color: #fff; }
.footer-quickstart__step--2 .footer-quickstart__num { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.footer-quickstart__step--3 .footer-quickstart__num { background: linear-gradient(135deg, #22a06b, #36d1dc); color: #fff; }
.footer-quickstart__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}
.footer-quickstart__step--1 .footer-quickstart__icon { background: rgba(233,138,95,0.2); color: #e98a5f; }
.footer-quickstart__step--2 .footer-quickstart__icon { background: rgba(102,126,234,0.2); color: #667eea; }
.footer-quickstart__step--3 .footer-quickstart__icon { background: rgba(34,160,107,0.2); color: #22a06b; }
.footer-quickstart__step h5 {
    font-family: "Fraunces", serif;
    font-size: 1.1rem;
    margin: 0 0 8px;
}
.footer-quickstart__step p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
    margin: 0 0 16px;
}
.footer-quickstart__btn.btn-brand {
    background: #e98a5f;
    border-color: #e98a5f;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}
.footer-quickstart__btn.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}
.footer-quickstart__btn.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

/* ---------- Social Proof Numbers ---------- */
.footer-proof-strip {
    background: linear-gradient(135deg, #f0ebf5, #ece8f0);
    padding: 40px 0;
}
.footer-proof-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}
.footer-proof-item {
    padding: 8px 16px;
}
.footer-proof-value {
    display: block;
    font-family: "Fraunces", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}
.footer-proof-item:nth-child(1) .footer-proof-value { color: #6366f1; }
.footer-proof-item:nth-child(2) .footer-proof-value { color: #22c55e; }
.footer-proof-item:nth-child(3) .footer-proof-value { color: #3b82f6; }
.footer-proof-item:nth-child(4) .footer-proof-value { color: #e98a5f; }
.footer-proof-item:nth-child(5) .footer-proof-value { color: #f59e0b; }
.footer-proof-item:nth-child(6) .footer-proof-value { color: #ec4899; }
.footer-proof-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- Comparison Strip ---------- */
.footer-compare-strip {
    padding: 48px 0;
    background: #fff;
}
.footer-compare-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}
.footer-compare-card {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e8e4ed;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    display: block;
    position: relative;
    overflow: hidden;
}
.footer-compare-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.25s;
}
.footer-compare-card:nth-child(1)::before { background: linear-gradient(90deg, #00A1E0, #0070D2); opacity: 1; }
.footer-compare-card:nth-child(2)::before { background: linear-gradient(90deg, #FF7A59, #ff5c35); opacity: 1; }
.footer-compare-card:nth-child(3)::before { background: linear-gradient(90deg, #6c63ff, #4840bb); opacity: 1; }
.footer-compare-card:nth-child(4)::before { background: linear-gradient(90deg, #f04f36, #dc1f2e); opacity: 1; }
.footer-compare-card:nth-child(1) strong { color: #0070D2; }
.footer-compare-card:nth-child(2) strong { color: #FF7A59; }
.footer-compare-card:nth-child(3) strong { color: #6c63ff; }
.footer-compare-card:nth-child(4) strong { color: #f04f36; }
.footer-compare-card:hover {
    text-decoration: none;
    border-color: #6c587b;
    box-shadow: 0 8px 24px rgba(108,88,123,0.12);
    transform: translateY(-2px);
}
.footer-compare-card:hover::before { opacity: 1; }
.footer-compare-card strong {
    display: block;
    font-size: 1rem;
    color: #6c587b;
    margin-bottom: 6px;
}
.footer-compare-card span {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ---------- Footer section title with gradient underline ---------- */
.footer-section-title {
    font-family: "Fraunces", serif;
    font-size: 1.3rem;
    color: #14213d;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}
.footer-section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #6c587b, #e98a5f);
}
.footer-section-title i {
    margin-right: 8px;
    color: #e98a5f;
}

/* ---------- Footer responsive for new sections ---------- */
@media (max-width: 992px) {
    .footer-quickstart__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .footer-compare-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .footer-quickstart {
        padding: 48px 0;
    }
    .footer-quickstart__title { font-size: 1.4rem; }
    .footer-proof-grid {
        gap: 12px;
    }
    .footer-proof-value { font-size: 1.5rem; }
    .footer-compare-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   DEMO PAGE v16.4.0 — Industry Personalization
   ========================================================================== */

/* Step Indicator */
.demo-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 32px auto 8px;
    max-width: 260px;
}
.demo-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.4s ease;
    border: 2px solid rgba(255,255,255,0.2);
}
.demo-step-dot.active {
    background: #fff;
    color: #6c587b;
    border-color: #fff;
    box-shadow: 0 4px 16px rgba(255,255,255,0.3);
}
.demo-step-line {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin: 0 8px;
}
.demo-step-labels {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}
.demo-step-labels span.active {
    color: #fff;
}

/* Step Panels */
.demo-step-panel {
    display: none;
    animation: demoFadeIn 0.4s ease;
}
.demo-step-panel.active {
    display: block;
}
@keyframes demoFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.demo-section-title {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    color: #14213d;
    text-align: center;
    margin: 0 0 6px;
}
.demo-section-sub {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 32px;
}

/* Industry Selection Grid */
.demo-industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.demo-industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px 24px;
    background: #fff;
    border: 2px solid rgba(108,88,123,0.08);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}
.demo-industry-card:hover {
    border-color: #6c587b;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(108,88,123,0.15);
}
.demo-industry-card.selected {
    border-color: #6c587b;
    background: linear-gradient(135deg, #f8f5fc, #f0ebf5);
    box-shadow: 0 8px 28px rgba(108,88,123,0.18);
}
.demo-industry-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.demo-industry-icon i {
    font-size: 24px;
    color: #fff;
}
.demo-industry-card h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #14213d;
    margin: 0 0 6px;
}
.demo-industry-card p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* Back button */
.demo-back-btn {
    background: none;
    border: none;
    color: #6c587b;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}
.demo-back-btn:hover {
    color: #4b395d;
}

/* Featured demo card */
.demo-card--featured {
    border: 2px solid #6c587b;
    position: relative;
    box-shadow: 0 12px 36px rgba(108,88,123,0.15);
}
.demo-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6c587b, #4b395d);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.btn-demo--primary {
    background: linear-gradient(135deg, #6c587b 0%, #4b395d 100%) !important;
    color: #fff !important;
}

/* Module preview section */
.demo-module-preview {
    background: linear-gradient(135deg, #f8f5fc, #ede7f4);
    border-radius: 20px;
    padding: 28px 32px;
    margin-top: 36px;
    border: 1px solid rgba(108,88,123,0.1);
}
.demo-module-preview h3 {
    font-size: 1rem;
    color: #14213d;
    margin: 0 0 16px;
    font-weight: 700;
}
.demo-module-preview h3 i {
    color: #e98a5f;
    margin-right: 6px;
}
.demo-modules-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.demo-module-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid rgba(108,88,123,0.12);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c587b;
}
.demo-module-tag i {
    font-size: 14px;
    opacity: 0.7;
}

/* Launch screen */
.demo-launch-screen {
    text-align: center;
    padding: 80px 20px;
}
.demo-launch-spinner {
    width: 64px;
    height: 64px;
    border: 5px solid #e8e4ed;
    border-top-color: #6c587b;
    border-radius: 50%;
    animation: demoSpin 0.8s linear infinite;
    margin: 0 auto 24px;
}
@keyframes demoSpin {
    to { transform: rotate(360deg); }
}
.demo-launch-screen h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    color: #14213d;
    margin: 0 0 8px;
}
.demo-launch-screen p {
    color: #888;
    font-size: 0.95rem;
}

/* Bottom CTA */
.demo-bottom-cta {
    background: linear-gradient(135deg, #f8f5fc, #ede7f4);
    padding: 40px 0;
}
.demo-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.demo-cta-inner strong {
    font-size: 1.1rem;
    color: #14213d;
}
.demo-cta-btns {
    display: flex;
    gap: 12px;
}
.btn-brand-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6c587b, #4b395d);
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.btn-brand-solid:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}
.btn-brand-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #6c587b;
    border: 2px solid #6c587b;
    padding: 10px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-brand-outline:hover {
    background: #6c587b;
    color: #fff;
    text-decoration: none;
}

/* Demo - Industry card enhancements */
.demo-industry-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}
.demo-industry-tags span {
    background: rgba(108,88,123,0.08);
    color: #6c587b;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.demo-industry-card:hover .demo-industry-tags span {
    background: rgba(108,88,123,0.15);
}
.demo-industry-users {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 8px;
}
.demo-industry-users i {
    color: #6c587b;
    margin-right: 3px;
}

/* Demo - Config sections (biz model, team size) */
.demo-config-section {
    margin-bottom: 32px;
}
.demo-config-label {
    font-size: 1rem;
    font-weight: 700;
    color: #14213d;
    margin-bottom: 12px;
}
.demo-config-label i {
    color: #6c587b;
    margin-right: 6px;
}
.demo-biz-model-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.demo-biz-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.demo-biz-btn:hover {
    border-color: #6c587b;
    color: #6c587b;
    background: rgba(108,88,123,0.04);
}
.demo-biz-btn.selected {
    border-color: #6c587b;
    background: #6c587b;
    color: #fff;
}
.demo-team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.demo-team-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 90px;
}
.demo-team-btn:hover {
    border-color: #6c587b;
}
.demo-team-btn.selected {
    border-color: #6c587b;
    background: #6c587b;
}
.demo-team-btn .team-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: #14213d;
}
.demo-team-btn .team-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
}
.demo-team-btn.selected .team-num,
.demo-team-btn.selected .team-label {
    color: #fff;
}

/* Demo - KPI preview cards */
.demo-kpi-preview,
.demo-integrations-preview {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}
.demo-kpi-preview h3,
.demo-integrations-preview h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #14213d;
    margin-bottom: 16px;
}
.demo-kpi-preview h3 i,
.demo-integrations-preview h3 i {
    color: #6c587b;
    margin-right: 6px;
}
.demo-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.demo-kpi-card {
    text-align: center;
    padding: 16px 12px;
    background: linear-gradient(135deg, rgba(108,88,123,0.04), rgba(233,138,95,0.04));
    border-radius: 12px;
    border: 1px solid rgba(108,88,123,0.1);
}
.demo-kpi-card i {
    font-size: 1.4rem;
    color: #6c587b;
    margin-bottom: 6px;
}
.demo-kpi-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #14213d;
}
.demo-kpi-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Demo - Integration tags */
.demo-integrations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.demo-integration-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
}

/* Demo - Role card selected state */
.btn-demo--selected {
    background: #22c55e !important;
    border-color: #22c55e !important;
    color: #fff !important;
    transform: scale(1.02);
}
.btn-demo--selected::after {
    content: ' ✓';
}

/* Demo - Dashboard Preview (Step 3) */
.demo-preview-layout {
    display: flex;
    gap: 0;
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    margin: 24px 0;
}
.demo-preview-sidebar {
    width: 220px;
    background: #0f172a;
    padding: 0;
    flex-shrink: 0;
}
.demo-preview-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.85rem;
}
.demo-preview-avatar {
    font-size: 1.6rem;
    color: #6c587b;
}
.demo-preview-nav-item {
    padding: 10px 16px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: default;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.demo-preview-nav-item.active {
    color: #fff;
    background: rgba(108,88,123,0.2);
    border-left-color: #6c587b;
}
.demo-preview-nav-item i {
    width: 18px;
    text-align: center;
    margin-right: 8px;
    font-size: 0.82rem;
}
.demo-preview-main {
    flex: 1;
    padding: 20px 24px;
    background: #1e293b;
    overflow: hidden;
}
.demo-preview-topbar {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 16px;
}
.demo-preview-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.demo-preview-kpi-card {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
}
.demo-preview-kpi-card .kpi-icon {
    font-size: 1.1rem;
    color: #6c587b;
    margin-bottom: 4px;
}
.demo-preview-kpi-card .kpi-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: #f8fafc;
}
.demo-preview-kpi-card .kpi-lbl {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.demo-preview-workflow h4 {
    color: #e2e8f0;
    font-size: 0.88rem;
    margin-bottom: 12px;
}
.demo-preview-workflow h4 i {
    color: #6c587b;
    margin-right: 6px;
}
.demo-preview-workflow-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.wf-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 500;
}
.wf-step.active {
    background: rgba(108,88,123,0.3);
    color: #e2e8f0;
    border: 1px solid rgba(108,88,123,0.4);
}
.wf-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 700;
}
.wf-step.active .wf-num {
    background: #6c587b;
    color: #fff;
}
.wf-arrow {
    color: #475569;
    font-size: 0.65rem;
}
.demo-preview-testimonial {
    margin-top: 20px;
    padding: 16px;
    background: rgba(108,88,123,0.1);
    border-radius: 10px;
    border-left: 3px solid #6c587b;
}
.demo-preview-testimonial blockquote {
    color: #e2e8f0;
    font-size: 0.82rem;
    font-style: italic;
    margin: 0 0 8px;
    line-height: 1.5;
}
.demo-preview-testimonial cite {
    color: #94a3b8;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 600;
}

/* Demo - Preview CTA */
.demo-preview-cta {
    text-align: center;
    margin-top: 28px;
}
.btn-demo--large {
    padding: 16px 40px !important;
    font-size: 1.1rem !important;
    border-radius: 14px !important;
}
.demo-preview-note {
    color: #94a3b8;
    font-size: 0.78rem;
    margin-top: 10px;
}
.demo-preview-note i {
    color: #22c55e;
    margin-right: 4px;
}

/* Demo - Launch checklist */
.demo-launch-checklist {
    margin-top: 24px;
    text-align: left;
    display: inline-block;
}
.launch-item {
    padding: 8px 0;
    color: #64748b;
    font-size: 0.88rem;
}
.launch-item i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

/* Responsive */
@media (max-width: 767px) {
    .demo-industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .demo-industry-card {
        padding: 20px 14px 18px;
    }
    .demo-industry-icon {
        width: 44px;
        height: 44px;
    }
    .demo-step-labels {
        gap: 16px;
        font-size: 10px;
    }
    .demo-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .demo-cta-btns {
        justify-content: center;
    }
    .demo-preview-layout {
        flex-direction: column;
    }
    .demo-preview-sidebar {
        width: 100%;
    }
    .demo-preview-nav {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .demo-preview-nav-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    .demo-preview-nav-item.active {
        border-left-color: transparent;
        border-bottom-color: #6c587b;
    }
    .demo-preview-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
    .demo-kpi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .demo-biz-model-grid,
    .demo-team-grid {
        gap: 8px;
    }
    .demo-biz-btn {
        padding: 8px 12px;
        font-size: 0.78rem;
    }
    .demo-team-btn {
        min-width: 70px;
        padding: 10px 14px;
    }
}

/* ==========================================================================
   PRICING PAGE v16.4.0 — Enhanced Navigation & Sections  
   ========================================================================== */

/* Sticky section nav for pricing page */
.pricing-section-nav {
    position: sticky;
    top: 96px;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(108,88,123,0.1);
    padding: 12px 0;
    transition: box-shadow 0.3s ease;
}
.pricing-section-nav.scrolled {
    box-shadow: 0 4px 20px rgba(15,23,42,0.08);
}
.pricing-nav-inner {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 12px;
}
.pricing-nav-inner::-webkit-scrollbar {
    display: none;
}
.pricing-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #665f6d;
    white-space: nowrap;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pricing-nav-link:hover,
.pricing-nav-link:focus {
    background: #f6f0fb;
    color: #6c587b;
    text-decoration: none;
}
.pricing-nav-link.active {
    background: linear-gradient(135deg, #6c587b, #4b395d);
    color: #fff;
}

/* Module showcase section */
.pricing-modules-section {
    padding: 56px 0;
    background: #faf9fc;
}
.pricing-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 28px;
}
.pricing-module-card {
    background: #fff;
    border: 1px solid rgba(108,88,123,0.08);
    border-radius: 18px;
    padding: 28px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.pricing-module-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #6c587b, #e98a5f);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.pricing-module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(108,88,123,0.1);
}
.pricing-module-card:hover::before {
    opacity: 1;
}
.pricing-module-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f6f0fb, #ede7f4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.pricing-module-card__icon i {
    font-size: 20px;
    color: #6c587b;
}
.pricing-module-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #14213d;
    margin: 0 0 8px;
}
.pricing-module-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 14px;
}
.pricing-module-card__tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pricing-module-tier-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.pricing-module-tier-badge--free { background: #edf7ed; color: #2e7d32; }
.pricing-module-tier-badge--starter { background: #e3f2fd; color: #1565c0; }
.pricing-module-tier-badge--pro { background: #f3e5f5; color: #7b1fa2; }
.pricing-module-tier-badge--business { background: #fff3e0; color: #e65100; }
.pricing-module-tier-badge--enterprise { background: #fce4ec; color: #c62828; }

/* ==========================================================================
   FOOTER v16.4.0 — More Color & Content
   ========================================================================== */

/* Footer resource hub */
.footer-resource-hub {
    background: linear-gradient(135deg, #f8f5fc, #ede7f4);
    padding: 48px 0;
    border-top: 1px solid rgba(108,88,123,0.08);
}
.footer-resource-hub__title {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    text-align: center;
    color: #14213d;
    margin: 0 0 28px;
}
.footer-resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.footer-resource-card {
    background: #fff;
    border: 1px solid rgba(108,88,123,0.08);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    border-left: 4px solid transparent;
}
.footer-resource-card:nth-child(1) { border-left-color: #6366f1; }
.footer-resource-card:nth-child(2) { border-left-color: #e98a5f; }
.footer-resource-card:nth-child(3) { border-left-color: #10b981; }
.footer-resource-card:nth-child(4) { border-left-color: #f59e0b; }
.footer-resource-card:nth-child(5) { border-left-color: #8b5cf6; }
.footer-resource-card:nth-child(6) { border-left-color: #ec4899; }
.footer-resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(108,88,123,0.12);
    text-decoration: none;
    color: inherit;
}
.footer-resource-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}
.footer-resource-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #14213d;
    margin: 0 0 4px;
}
.footer-resource-card p {
    font-size: 0.82rem;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

/* Footer metrics strip */
.footer-metrics-strip {
    background: linear-gradient(135deg, #14213d, #1a2a4a);
    padding: 40px 0;
    color: #fff;
}
.footer-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 28px;
    text-align: center;
}
.footer-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.footer-metric__value {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #e98a5f, #f0b48a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-metric__label {
    font-size: 0.82rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* Footer multi-account CTA banner */
.footer-multi-account-cta {
    background: linear-gradient(135deg, #6c587b 0%, #3d2a51 100%);
    padding: 36px 0;
    color: #fff;
    text-align: center;
}
.footer-multi-account-cta h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 8px;
}
.footer-multi-account-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0 0 20px;
}
.footer-multi-account-cta .btn-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-multi-account-cta .btn-white {
    background: #fff;
    color: #6c587b;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.footer-multi-account-cta .btn-white:hover {
    transform: translateY(-2px);
    text-decoration: none;
}
.footer-multi-account-cta .btn-ghost {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.footer-multi-account-cta .btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    text-decoration: none;
}

/* ========================================================================
   Login: Saved Accounts & Plan Combining (v16.4.0)
   ======================================================================== */
.saved-accounts-section {
    margin-top: 1.2rem;
    padding: 1rem;
    background: #f8f7fa;
    border-radius: 10px;
    border: 1px solid #ece8f0;
}
.saved-accounts-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c587b;
    margin-bottom: 0.7rem;
}
.saved-accounts-header i { margin-right: 0.4rem; }
.saved-accounts-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}
.saved-account-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.75rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8e4ec;
    cursor: pointer;
    transition: all 0.2s ease;
}
.saved-account-card:hover {
    border-color: #6c587b;
    box-shadow: 0 2px 8px rgba(108,88,123,0.12);
}
.saved-account-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c587b, #e98a5f);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700;
    flex-shrink: 0;
}
.saved-account-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.saved-account-email {
    font-size: 0.82rem;
    font-weight: 500;
    color: #14213d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.saved-account-ago {
    font-size: 0.72rem;
    color: #999;
}
.btn-clear-accounts {
    font-size: 0.72rem;
    color: #999;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}
.btn-clear-accounts:hover { color: #e98a5f; }
.plan-combine-info {
    margin-top: 0.8rem;
    padding: 0.7rem 0.9rem;
    background: linear-gradient(135deg, #f8f7fa, #ece8f0);
    border-radius: 8px;
    font-size: 0.78rem;
    color: #555;
    line-height: 1.5;
}
.plan-combine-info i { color: #6c587b; margin-right: 0.3rem; }
.plan-combine-info strong { color: #14213d; }
