/* ==========================================================================
   Quickprnt Modern High-Conversion Luxe Design System & Typography
   Inviting, High-Contrast Navy Hero, Crisp Clean Canvas & Vibrant Accents
   ========================================================================== */

:root {
    /* Brand Foundation */
    --qp-navy: #0A1128;
    --qp-slate: #0F172A;
    --qp-blue: #2563EB;
    --qp-blue-dark: #1D4ED8;
    --qp-sky: #38BDF8;

    /* Actions & Accents */
    --qp-coral: #FF4757;
    --qp-coral-bright: #FF5E62;
    --qp-coral-hover: #E8414F;

    /* Status & Highlights */
    --qp-success: #10B981;
    --qp-violet: #8B5CF6;
    --qp-amber: #F59E0B;

    /* Neutral UI / Light Clean Canvas */
    --qp-page-bg: #F8FAFC;
    --qp-surface: #FFFFFF;
    --qp-text: #0F172A;
    --qp-text-muted: #64748B;
    --qp-text-light: #CBD5E1;
    --qp-border: #E2E8F0;
    --qp-border-subtle: #F1F5F9;
}

/* Base Body & Layout Typography */
body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.012em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--qp-page-bg) !important;
    color: var(--qp-text) !important;
}

h1, h2, h3, h4, h5, h6,
.font-heading,
.navbar-brand,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.028em;
    font-weight: 700;
}

/* Dark Top & Bottom Regions */
body .navbar,
nav.navbar,
.navbar {
    background-color: #0A1128 !important;
    background: #0A1128 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
}

body .hero-section,
section.hero-section,
.hero-section {
    background-color: #0A1128 !important;
    background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.18) 0%, rgba(10, 17, 40, 1) 75%), #0A1128 !important;
    color: #FFFFFF !important;
}

body footer,
footer {
    background-color: #0A1128 !important;
    background: #0A1128 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
}

/* Hero & Dark Header Text */
body .hero-section h1,
body .hero-section h2,
body .hero-section h3,
body .hero-section h4,
body .hero-section h5,
body .hero-section h6,
body .hero-section .text-white,
body .navbar .text-white,
body footer .text-white {
    color: #FFFFFF !important;
}

body .hero-section .text-white-50,
body footer .text-white-50 {
    color: #94A3B8 !important;
}

body .hero-section h1 span,
body .text-highlight {
    color: #38BDF8 !important;
}

/* Hero Frosted Upload Card */
body .hero-section #hero_upload_card,
body .hero-section .hero-glass-card,
#hero_upload_card,
.hero-glass-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(37, 99, 235, 0.12) !important;
    backdrop-filter: blur(20px);
}

/* Primary CTAs: Sunset Coral with High-Converting Contrast */
body .hero-section .btn-primary,
body .hero-section .btn-danger,
body .hero-section .cta-button,
body .btn-order-now,
body .btn-upload,
.btn-upload,
.btn-primary {
    background: linear-gradient(135deg, #FF5E62 0%, #FF3366 100%) !important;
    border-color: #FF3366 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 24px rgba(255, 51, 102, 0.35) !important;
}

body .hero-section .btn-primary:hover,
body .hero-section .btn-danger:hover,
body .hero-section .cta-button:hover,
body .btn-order-now:hover,
body .btn-upload:hover,
.btn-upload:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #FF6B6B 0%, #E82C58 100%) !important;
    border-color: #E82C58 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 51, 102, 0.45) !important;
}

/* Secondary Button: Frosted Pill */
body .hero-section .btn-explore-products,
body .hero-section .btn-outline-light,
.btn-explore-products {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
}

body .hero-section .btn-explore-products:hover,
body .hero-section .btn-outline-light:hover,
.btn-explore-products:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #FFFFFF !important;
}

/* Clean White Card Surfaces on Light Canvas */
.card:not(.hero-glass-card) {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    color: #0F172A !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

.card h5, .card h6 {
    color: #0F172A !important;
}

.card p {
    color: #64748B !important;
}

/* Value Proposition Cards Accent Mappings */
/* 1. Live Price */
.feature-live-price .feature-icon,
.feature-live-price .feature-line {
    color: #2563EB !important;
    background-color: #2563EB !important;
}
.feature-live-price .feature-icon-wrapper {
    background-color: rgba(37, 99, 235, 0.08) !important;
    color: #2563EB !important;
}

/* 2. Automatic File Check */
.feature-file-check .feature-icon,
.feature-file-check .feature-line {
    color: #10B981 !important;
    background-color: #10B981 !important;
}
.feature-file-check .feature-icon-wrapper {
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #10B981 !important;
}

/* 3. Fast Delivery */
.feature-fast-delivery .feature-icon,
.feature-fast-delivery .feature-line {
    color: #FF4757 !important;
    background-color: #FF4757 !important;
}
.feature-fast-delivery .feature-icon-wrapper {
    background-color: rgba(255, 71, 87, 0.08) !important;
    color: #FF4757 !important;
}

/* 4. Premium Paper & Binding */
.feature-premium-binding .feature-icon,
.feature-premium-binding .feature-line {
    color: #8B5CF6 !important;
    background-color: #8B5CF6 !important;
}
.feature-premium-binding .feature-icon-wrapper {
    background-color: rgba(139, 92, 246, 0.08) !important;
    color: #8B5CF6 !important;
}

/* Accordion */
.accordion-item {
    background-color: #FFFFFF !important;
    border-color: #E2E8F0 !important;
}

.accordion-button {
    background-color: #FFFFFF !important;
    color: #0F172A !important;
}

.accordion-button:not(.collapsed) {
    background-color: #EFF6FF !important;
    color: #1D4ED8 !important;
}

.accordion-body {
    background-color: #FFFFFF !important;
    color: #475569 !important;
}

/* Utilities & Transitions */
.cursor-pointer { cursor: pointer; }
.backdrop-blur { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.transition-all { transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.transition-transform { transition: transform 0.2s ease; }
.hover-shadow:hover { box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12) !important; transform: translateY(-2px); }
.extra-small { font-size: 0.78rem; }

/* Enhanced Option Cards for Print Studio */
.opt-card {
    background-color: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    color: #0F172A;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    user-select: none;
}
.opt-card:hover {
    border-color: #93C5FD;
    background-color: #F8FAFC;
    transform: translateY(-1px);
}
.opt-card.active {
    border-color: #2563EB !important;
    background-color: #EFF6FF !important;
    box-shadow: 0 0 0 1px #2563EB, 0 4px 14px rgba(37, 99, 235, 0.15) !important;
}

/* Stepper Pills */
.wizard-step-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    background-color: #F1F5F9;
    color: #64748B;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}
.wizard-step-pill.active {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}
.wizard-step-pill:not(.active) .step-circle {
    background-color: #CBD5E1;
    color: #475569;
}

/* Mobile Screen Browse Files & Dropzone Optimization */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 2rem !important;
        padding-bottom: 2.5rem !important;
    }
    .hero-section h1 {
        font-size: 2rem !important;
        line-height: 1.18 !important;
        margin-bottom: 0.5rem !important;
    }
    .hero-section h2 {
        font-size: 0.82rem !important;
        margin-bottom: 0.5rem !important;
    }
    .hero-section p.fs-5 {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }
    .hero-glass-card {
        padding: 1.5rem 1.25rem !important;
        margin: 1rem auto 0 auto !important;
        max-width: 440px !important;
        width: 100% !important;
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(37, 99, 235, 0.25) !important;
    }
    #hero_dropzone {
        padding: 0.5rem 0 !important;
        width: 100% !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    #hero_dropzone .btn-upload,
    .btn-mobile-browse {
        width: 100% !important;
        max-width: 360px !important;
        padding: 0.95rem 1.25rem !important;
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.2px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 0.75rem auto !important;
        background: linear-gradient(135deg, #FF5E62 0%, #FF3366 100%) !important;
        color: #FFFFFF !important;
        border-radius: 50px !important;
        box-shadow: 0 8px 25px rgba(255, 51, 102, 0.5) !important;
    }
}