/* ========================================
   PDF TOOLS ARTICLE - GENERAL CSS STYLESHEET
   Based on SmallPDF Design System
   ======================================== */

/* === RESET & BASE STYLES === */
/* Scope everything to .pdf-article-content to avoid polluting global styles */
.pdf-article-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
}

.pdf-article-content h1 {
    font-size: 2.5em;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.pdf-article-content h2 {
    font-size: 2.2em;
    color: #1a1a1a;
    margin-top: 60px;
    margin-bottom: 25px;
    font-weight: 700;
}

.pdf-article-content h3 {
    font-size: 1.4em;
    color: #1a1a1a;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.pdf-article-content p {
    margin-bottom: 18px;
    font-size: 1.1em;
    color: #4a4a4a;
    line-height: 1.7;
}

.pdf-article-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

.pdf-article-content ul {
    margin: 15px 0 15px 25px;
    list-style-type: disc;
}

.pdf-article-content li {
    margin-bottom: 12px;
    font-size: 1.05em;
    color: #4a4a4a;
}

/* === CONTAINER === */
.pdf-article-content .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* === INTRODUCTION BOX (Pink Accent) === */
.pdf-article-content .intro-box {
    background: linear-gradient(135deg, #fff5f7 0%, #fef3ff 100%);
    border-left: 4px solid #ec4899;
    padding: 30px;
    margin: 40px 0;
    border-radius: 8px;
}

.pdf-article-content .intro-box h2 {
    margin-top: 0;
    color: #1a1a1a;
}

/* === STEP ITEMS (Purple Accent) === */
.pdf-article-content .step-item {
    background: #f8f9ff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid #5b67f1;
}

/* === COMPARISON BOXES === */
.pdf-article-content .comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 40px 0;
}

.pdf-article-content .comparison-box {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Old Way - Red Theme */
.pdf-article-content .old-way {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border: 2px solid #fecaca;
}

.pdf-article-content .old-way h3 {
    color: #dc2626;
}

/* Smart Way - Green Theme */
.pdf-article-content .smart-way {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #86efac;
}

.pdf-article-content .smart-way h3 {
    color: #16a34a;
}

/* === PERFECT FOR BOX (Blue Accent) === */
.pdf-article-content .perfect-for {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 4px solid #3b82f6;
}

.pdf-article-content .perfect-for strong {
    color: #1e40af;
    font-size: 1.1em;
}

/* === FEATURE CARDS GRID === */
.pdf-article-content .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.pdf-article-content .feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 4px solid #5b67f1;
}

.pdf-article-content .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(91, 103, 241, 0.15);
}

.pdf-article-content .feature-card h3 {
    margin-top: 0;
    color: #5b67f1;
}

/* === FAQ SECTION === */
.pdf-article-content .faq-section {
    margin: 60px 0;
}

.pdf-article-content .faq-item {
    margin-bottom: 30px;
    padding: 25px;
    background: #fafafa;
    border-radius: 10px;
    border-left: 4px solid #ec4899;
}

.pdf-article-content .faq-item h3 {
    margin-top: 0;
    color: #ec4899;
    font-size: 1.2em;
}

/* === CALL TO ACTION BOX === */
.pdf-article-content .final-cta {
    background: linear-gradient(135deg, #5b67f1 0%, #8b5cf6 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    border-radius: 12px;
    margin: 60px 0 40px;
    box-shadow: 0 10px 30px rgba(91, 103, 241, 0.3);
}

.pdf-article-content .final-cta h2 {
    color: white;
    margin-top: 0;
}

.pdf-article-content .final-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15em;
}

.pdf-article-content .final-cta .btn-white {
    background-color: white;
    color: #5b67f1;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    margin-top: 20px;
    display: inline-block;
    transition: transform 0.2s;
}

.pdf-article-content .final-cta .btn-white:hover {
    transform: scale(1.05);
}

/* === BADGES === */
.pdf-article-content .badge {
    background: #ec4899;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
    margin-left: 8px;
    display: inline-block;
}

.pdf-article-content .badge-new {
    background: #ec4899;
}

.pdf-article-content .badge-hot {
    background: #f97316;
}

.pdf-article-content .badge-pro {
    background: #8b5cf6;
}

/* === TOOL EMBED PLACEHOLDER === */
.pdf-article-content .tool-embed {
    background: linear-gradient(135deg, #5b67f1 0%, #8b5cf6 100%);
    color: white;
    padding: 50px;
    text-align: center;
    border-radius: 12px;
    margin: 40px 0;
    font-size: 1.3em;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(91, 103, 241, 0.2);
}

/* === BUTTONS === */
.pdf-article-content .btn-primary {
    background: linear-gradient(135deg, #5b67f1 0%, #8b5cf6 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.pdf-article-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(91, 103, 241, 0.3);
}

.pdf-article-content .btn-outline {
    background: white;
    color: #5b67f1;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    border: 2px solid #5b67f1;
    transition: all 0.2s;
    display: inline-block;
}

.pdf-article-content .btn-outline:hover {
    background: #f8f9ff;
}

/* === ADDITIONAL UTILITY BOXES === */

/* Info Box (Blue) */
.pdf-article-content .info-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #3b82f6;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

/* Warning Box (Orange) */
.pdf-article-content .warning-box {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-left: 4px solid #f97316;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

/* Success Box (Green) */
.pdf-article-content .success-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #16a34a;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

/* Tip Box (Purple) */
.pdf-article-content .tip-box {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-left: 4px solid #8b5cf6;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

/* === ICON STYLES === */
.pdf-article-content .icon-emoji {
    font-size: 1.5em;
    margin-right: 10px;
    vertical-align: middle;
}

/* === TABLES (if needed) === */
.pdf-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pdf-article-content th {
    background: linear-gradient(135deg, #5b67f1 0%, #8b5cf6 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.pdf-article-content td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.pdf-article-content tr:last-child td {
    border-bottom: none;
}

.pdf-article-content tr:hover {
    background: #f8f9ff;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .pdf-article-content .comparison {
        grid-template-columns: 1fr;
    }

    .pdf-article-content h1 {
        font-size: 2em;
    }

    .pdf-article-content h2 {
        font-size: 1.8em;
    }

    .pdf-article-content .container {
        padding: 15px;
    }

    .pdf-article-content .intro-box,
    .pdf-article-content .step-item,
    .pdf-article-content .comparison-box,
    .pdf-article-content .feature-card,
    .pdf-article-content .faq-item,
    .pdf-article-content .final-cta {
        padding: 20px;
    }

    .pdf-article-content .features-grid {
        grid-template-columns: 1fr;
    }
}