/* ══════════════════════════════════════════════════════════════════
   word-to-pdf.html — page-specific styles (loaded after base.css).
   Font-face, reset, .uz upload zone, and .rts-* related-tools-strip
   are now covered by base.css — do not redefine them here.
   ══════════════════════════════════════════════════════════════════ */

:root {
    --blue-light: #3b82f6;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(37, 99, 235, 0.14);
    --radius: 1rem;
    --radius-lg: 1.5rem;
}

.wrap {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wrap-sm {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wrap-md {
    max-width: 60rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── GRADIENT TEXT ── */
.gt {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── BADGE ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(148, 163, 184, .25);
    padding: .25rem .9rem;
    border-radius: 9999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--slate-700);
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--indigo);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: var(--grad-primary);
    color: #fff;
    font-weight: 600;
    font-size: .875rem;
    padding: .8rem 2.25rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(99, 102, 241, .35);
    transition: transform .2s, box-shadow .2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, .4);
}

/* ── CARDS ── */
.card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

/* ── SECTION SPACING ── */
.section {
    padding: 4rem 0;
}

.section-sm {
    padding: 2.5rem 0;
}

/* ── GRID ── */
.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media(max-width:1024px) {
    .grid3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:768px) {

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

    .grid3 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.875rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }
}

@media(max-width:480px) {
    .grid2 {
        grid-template-columns: 1fr;
    }
}

/* ── STEP CARD ── */
.step-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-num {
    width: 2.25rem;
    height: 2.25rem;
    background: var(--grad-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, .3);
}

/* ── FAQ ── */
details {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s;
}

details:hover {
    box-shadow: var(--shadow-md);
}

details[open] {
    border-color: #bfdbfe;
}

summary {
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--slate-900);
}

summary::after {
    content: "›";
    font-size: 1.25rem;
    color: var(--blue-light);
    transition: transform .25s;
}

details[open] summary::after {
    transform: rotate(90deg);
}

details p {
    margin-top: .875rem;
    font-size: .875rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ── TESTIMONIAL ── */
.testimonial {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: .75rem;
}

/* ── KEYWORD CHIP ── */
.kw-chip {
    background: var(--slate-100);
    color: var(--slate-700);
    border-radius: 9999px;
    padding: .35rem 1rem;
    font-size: .78rem;
    font-weight: 500;
    border: 1px solid var(--slate-300);
    white-space: nowrap;
}

.kw-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

/* ── SECTION LABEL ── */
.section-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--blue-light);
    margin-bottom: .5rem;
}

/* ── COMPARISON TABLE ── */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}

.compare-table th {
    background: var(--grad-primary);
    color: #fff;
    padding: .75rem 1rem;
    text-align: left;
}

.compare-table th:first-child {
    border-radius: .75rem 0 0 0;
}

.compare-table th:last-child {
    border-radius: 0 .75rem 0 0;
}

.compare-table td {
    padding: .75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: var(--slate-700);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tr:nth-child(even) td {
    background: #f8faff;
}

.check {
    color: #10b981;
    font-weight: 700;
}

.cross {
    color: #ef4444;
}

/* ── USE CASE ── */
.usecase-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: all .25s;
}

.usecase-card:hover {
    border-color: #bfdbfe;
    box-shadow: var(--shadow-md);
}

.usecase-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

/* ── PROGRESS BAR ── */
.progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--grad-primary);
    transition: width .3s;
}

/* Hide the original pdf-suite plugin UI completely — we draw our own */
.pdf-suite-upload-zone,
.pdf-suite-actions,
.pdf-suite-progress,
.pdf-suite-result,
.pdf-suite-error,
.pdf-suite-selected-files {
    display: none !important;
}
