/* PrintPosters Design Platform — shared landing styles */
:root {
    --dp-primary: #1a365d;
    --dp-accent: #c5a059;
    --dp-accent-hover: #b08d4a;
    --dp-bg: #faf9f7;
    --dp-card: #ffffff;
    --dp-text: #1f2937;
    --dp-muted: #6b7280;
    --dp-border: #e5e7eb;
    --dp-radius: 12px;
    --dp-shadow: 0 4px 24px rgba(26, 54, 93, 0.08);
}

.dp-page {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--dp-text);
    background: var(--dp-bg);
    overflow-x: hidden;
    max-width: 100vw;
}

.dp-page *, .dp-page *::before, .dp-page *::after { box-sizing: border-box; }

.dp-page h1, .dp-page h2, .dp-page h3 {
    font-family: 'Playfair Display', Georgia, serif;
}

.dp-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.dp-container-narrow { max-width: 800px; }

.dp-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a365d 100%);
    padding: 4rem 0;
    overflow: hidden;
}

.dp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1586281380349-632531db7ed4?w=1600&q=80&auto=format&fit=crop') center/cover;
    opacity: 0.12;
}

.dp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .dp-hero-inner { grid-template-columns: 1fr 1fr; }
}

.dp-hero-badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.2);
    color: var(--dp-accent);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.dp-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.dp-hero-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.dp-hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.dp-hero-bullets li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.35rem 0 0.35rem 1.5rem;
    position: relative;
}

.dp-hero-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--dp-accent);
    font-weight: 700;
}

.dp-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.dp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, background 0.15s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    /* Override global style.css: button { width:100px; height:40px } */
    width: auto;
    height: auto;
    min-height: 44px;
    max-width: 100%;
    white-space: nowrap;
    line-height: 1.35;
    flex-shrink: 0;
}

.dp-page button.dp-btn {
    width: auto;
    height: auto;
}

.dp-btn-primary {
    background: var(--dp-accent);
    color: #1a365d;
}

.dp-btn-primary:hover {
    background: var(--dp-accent-hover);
    color: #1a365d;
    transform: translateY(-1px);
}

.dp-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dp-btn-ghost:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

.dp-btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

.dp-hero-visual { display: flex; justify-content: center; }

.dp-hero-mockup {
    background: var(--dp-card);
    border-radius: var(--dp-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    max-width: 420px;
}

.dp-hero-mockup img { width: 100%; height: auto; display: block; }

.dp-hero-mockup-label {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: var(--dp-muted);
    text-align: center;
    margin: 0;
}

.dp-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--dp-card);
    border-bottom: 1px solid var(--dp-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dp-sticky-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.dp-nav-link {
    color: var(--dp-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.dp-nav-link:hover { color: var(--dp-accent); }

.dp-section { padding: 4rem 0; }
.dp-section-alt { background: var(--dp-card); }

.dp-section-header { text-align: center; margin-bottom: 2.5rem; }

.dp-section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--dp-primary);
    margin: 0 0 0.75rem;
}

.dp-section-header p {
    color: var(--dp-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.dp-gold-line {
    width: 60px;
    height: 3px;
    background: var(--dp-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.dp-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.dp-product-card {
    background: var(--dp-card);
    border-radius: var(--dp-radius);
    border: 1px solid var(--dp-border);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.dp-product-card:not(.dp-product-card--soon):hover {
    box-shadow: var(--dp-shadow);
    transform: translateY(-3px);
}

.dp-product-card-link {
    display: block;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
}

.dp-product-icon {
    width: 48px;
    height: 48px;
    background: rgba(26, 54, 93, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dp-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.dp-product-card h3 { margin: 0 0 0.5rem; color: var(--dp-primary); font-size: 1.15rem; }
.dp-product-card p { margin: 0 0 1rem; color: var(--dp-muted); font-size: 0.9rem; line-height: 1.5; }
.dp-product-meta { font-size: 0.8rem; color: var(--dp-accent); font-weight: 600; }
.dp-product-cta { font-size: 0.85rem; font-weight: 600; color: var(--dp-primary); }
.dp-badge-soon {
    display: inline-block;
    background: #f3f4f6;
    color: var(--dp-muted);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dp-step {
    background: var(--dp-card);
    padding: 1.5rem;
    border-radius: var(--dp-radius);
    border: 1px solid var(--dp-border);
}

.dp-section-alt .dp-step { background: var(--dp-bg); }

.dp-step-num {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background: var(--dp-primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.dp-step h3 { margin: 0 0 0.5rem; font-size: 1rem; color: var(--dp-primary); }
.dp-step p { margin: 0; font-size: 0.88rem; color: var(--dp-muted); line-height: 1.5; }

.dp-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.dp-why-card {
    padding: 1.5rem;
    background: var(--dp-card);
    border-radius: var(--dp-radius);
    border: 1px solid var(--dp-border);
}

.dp-section-alt .dp-why-card { background: var(--dp-bg); }

.dp-why-card h3 { margin: 0 0 0.5rem; color: var(--dp-primary); font-size: 1.05rem; }
.dp-why-card p { margin: 0; color: var(--dp-muted); font-size: 0.9rem; line-height: 1.55; }

.dp-faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.dp-faq-item {
    background: var(--dp-card);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    overflow: hidden;
}

.dp-section-alt .dp-faq-item { background: var(--dp-bg); }

.dp-faq-q {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--dp-primary);
    cursor: pointer;
    list-style: none;
}

.dp-faq-q::-webkit-details-marker { display: none; }

.dp-faq-a {
    padding: 0 1.25rem 1rem;
    margin: 0;
    color: var(--dp-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.dp-cta-band {
    background: linear-gradient(135deg, #1a365d, #2d4a7c);
    text-align: center;
    color: #fff;
}

.dp-cta-band-inner h2 { color: #fff; margin: 0 0 0.5rem; }
.dp-cta-band-inner p { color: rgba(255, 255, 255, 0.85); margin: 0 0 1.5rem; }

.dp-promo-bar {
    background: #fef3c7;
    border-bottom: 1px solid #fcd34d;
}

.dp-promo-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
}

.dp-promo-bar a { color: var(--dp-primary); font-weight: 600; text-decoration: none; }
.dp-promo-bar a:hover { text-decoration: underline; }

.dp-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

/* Override global style.css: button { width:100px; height:40px; background:#0872ba } */
.dp-page button.dp-pill {
    width: auto;
    height: auto;
    min-height: 0;
    line-height: 1.35;
    white-space: nowrap;
    background: var(--dp-card);
    color: var(--dp-text);
}

.dp-pill {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--dp-border);
    background: var(--dp-card);
    color: var(--dp-text);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.dp-pill.is-active, .dp-pill:hover {
    background: var(--dp-primary);
    color: #fff;
    border-color: var(--dp-primary);
}

@media (max-width: 640px) {
    .dp-category-pills {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.25rem;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .dp-category-pills::-webkit-scrollbar { display: none; }
}

.dp-template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.dp-template-card {
    background: var(--dp-card);
    border-radius: var(--dp-radius);
    overflow: hidden;
    border: 1px solid var(--dp-border);
    transition: box-shadow 0.2s;
}

.dp-template-card:hover { box-shadow: var(--dp-shadow); }

.dp-template-thumb {
    display: block;
    position: relative;
    aspect-ratio: 210 / 297;
    overflow: hidden;
    background: #f8fafc;
    border-bottom: 1px solid var(--dp-border);
}

.dp-template-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    background: #fff;
    transition: transform 0.3s;
}

.dp-template-card:hover .dp-template-thumb img { transform: scale(1.03); }

.dp-template-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 54, 93, 0.75);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s;
}

.dp-template-card:hover .dp-template-overlay { opacity: 1; }

.dp-template-meta { padding: 0.85rem 1rem; }
.dp-template-meta h3 { margin: 0 0 0.25rem; font-size: 0.95rem; color: var(--dp-primary); }
.dp-template-cat { font-size: 0.75rem; color: var(--dp-muted); text-transform: uppercase; letter-spacing: 0.03em; }

.dp-paper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.dp-paper-card {
    padding: 1.25rem;
    background: var(--dp-bg);
    border-radius: var(--dp-radius);
    border: 1px solid var(--dp-border);
}

.dp-paper-card h3 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--dp-primary); }
.dp-paper-card p { margin: 0; font-size: 0.88rem; color: var(--dp-muted); }

.dp-qty-note {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--dp-muted);
    font-size: 0.9rem;
}

.dp-product-promo { margin: 0 0 1.25rem; padding: 0; }

.dp-product-promo-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
}

.dp-product-promo-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.dp-product-promo-text strong { color: var(--dp-primary); }

.dp-product-promo-btn {
    display: inline-block;
    padding: 0.6rem 1.1rem;
    background: var(--dp-primary);
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
}

.dp-product-promo-btn:hover { background: #2d4a7c; color: #fff !important; }

.dp-editor-stub { min-height: 60vh; display: flex; align-items: center; padding: 3rem 0; }

.dp-stub-card {
    background: var(--dp-card);
    border-radius: var(--dp-radius);
    padding: 2.5rem;
    border: 1px solid var(--dp-border);
    box-shadow: var(--dp-shadow);
    text-align: center;
}

.dp-stub-card h1 { color: var(--dp-primary); margin: 0 0 1rem; }
.dp-stub-card p { color: var(--dp-muted); line-height: 1.6; }

.dp-stub-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem auto;
    text-align: left;
    max-width: 360px;
}

.dp-stub-list li { padding: 0.35rem 0; color: var(--dp-text); font-size: 0.95rem; }

.dp-stub-card .dp-hero-ctas { justify-content: center; margin-top: 1.5rem; }

.dp-stub-card .dp-btn-ghost {
    background: var(--dp-bg);
    color: var(--dp-primary);
    border: 1px solid var(--dp-border);
}

/* AI Branding wizard */
.ai-branding-page .dp-container-narrow { max-width: 920px; }

.ai-branding-steps {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
    flex-wrap: wrap;
}

.ai-step {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.875rem;
}

.ai-step.is-active {
    background: var(--dp-primary);
    color: #fff;
}

.ai-branding-form label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #334155;
}

.ai-branding-form input[type="text"],
.ai-branding-form select,
.ai-branding-form input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-weight: 400;
    max-width: 100%;
}

.ai-optional {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.85rem;
}

.ai-checkbox {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-checkbox input {
    width: auto;
    margin: 0;
}

.ai-form-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ai-form-actions .dp-btn-primary {
    min-width: 220px;
}

.ai-branding-page .dp-btn-ghost {
    background: #fff;
    color: var(--dp-primary);
    border: 1px solid var(--dp-border);
}

.ai-branding-page .dp-btn-ghost:hover {
    background: #f8fafc;
    color: var(--dp-primary);
}

.ai-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}

@media (min-width: 768px) {
    .ai-preview-grid { grid-template-columns: repeat(3, 1fr); }
}

.ai-preview-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #fff;
}

.ai-preview-card:hover,
.ai-preview-card.is-selected {
    border-color: #2b6cb0;
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.12);
}

.ai-preview-card img {
    width: 100%;
    aspect-ratio: 210 / 297;
    object-fit: cover;
    display: block;
    background: #f8fafc;
}

.ai-preview-body { padding: 1rem; }

.ai-preview-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: var(--dp-primary);
}

.ai-preview-swatches {
    display: flex;
    gap: 0.35rem;
    margin: 0.5rem 0;
}

.ai-preview-swatches span {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.ai-preview-meta { font-size: 0.8rem; color: #64748b; }

.ai-status {
    min-height: 1.25rem;
    color: #64748b;
    margin-top: 1rem;
}

.ai-logo-hint {
    font-size: 0.85rem;
    color: #b45309;
}

@media (max-width: 480px) {
    .ai-form-actions .dp-btn-primary {
        width: 100%;
        white-space: normal;
    }
}
