#summarizer-scoped * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#summarizer-scoped {
    font-family: 'Poppins', system-ui, sans-serif;
    max-width: 1280px;
    margin: 0 auto;
    background: transparent;
    color: #1e293b;
    line-height: 1.5;
}

#summarizer-scoped .reading-time {
    font-size: 0.7rem;
    color: #64748b;
    border-left: 3px solid #8b5cf6;
    padding-left: 12px;
    margin-bottom: 1rem;
}

#summarizer-scoped h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #0f172a;
    letter-spacing: -0.01em;
}

#summarizer-scoped .trust-badge {
    display: inline-block;
    background: #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
}

#summarizer-scoped .snippet-box {
    background: #f3e8ff;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    border-left: 4px solid #8b5cf6;
    font-size: 0.9rem;
}

#summarizer-scoped .tool-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.2rem;
    margin-bottom: 1.8rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e9eef3;
}

#summarizer-scoped .flex-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    #summarizer-scoped .flex-2col {
        grid-template-columns: 1fr;
    }
}

#summarizer-scoped textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    font-family: monospace;
    font-size: 0.9rem;
    min-height: 250px;
    resize: vertical;
    background: #fff;
}

#summarizer-scoped .btn {
    background: #8b5cf6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: inline-block;
    font-size: 0.85rem;
}

#summarizer-scoped .btn-outline {
    background: #e2e8f0;
    color: #1e293b;
}

#summarizer-scoped .btn-outline:hover {
    background: #cbd5e1;
}

#summarizer-scoped .btn:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

#summarizer-scoped .file-upload-area {
    background: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 20px;
    padding: 0.8rem;
    text-align: center;
    margin: 1rem 0;
    cursor: pointer;
    transition: 0.2s;
}

#summarizer-scoped .file-upload-area:hover {
    border-color: #8b5cf6;
    background: #f3e8ff;
}

#summarizer-scoped .options-panel {
    background: #f8fafc;
    border-radius: 20px;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
}

#summarizer-scoped .options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0.5rem 0;
}

#summarizer-scoped .option-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

#summarizer-scoped .range-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

#summarizer-scoped .progress-bar {
    background: #e2e8f0;
    border-radius: 20px;
    height: 6px;
    margin: 0.5rem 0;
    overflow: hidden;
}

#summarizer-scoped .progress-fill {
    width: 0%;
    height: 100%;
    background: #8b5cf6;
    transition: width 0.3s;
}

#summarizer-scoped .stats {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: #64748b;
    flex-wrap: wrap;
}

#summarizer-scoped .key-points-panel {
    background: #f8fafc;
    border-radius: 20px;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
}

#summarizer-scoped .keyword-badge {
    display: inline-block;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    padding: 4px 12px;
    margin: 4px;
    font-size: 0.7rem;
}

#summarizer-scoped .author-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    border: 1px solid #e2e8f0;
}

#summarizer-scoped .internal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    background: #f1f5f9;
    padding: 0.8rem;
    border-radius: 40px;
    justify-content: center;
    margin: 1.5rem 0;
}

#summarizer-scoped .internal-links a {
    background: white;
    padding: 6px 16px;
    border-radius: 40px;
    color: #2563eb;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: 0.2s;
}

#summarizer-scoped .internal-links a:hover {
    background: #8b5cf6;
    color: white;
}

#summarizer-scoped .faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

#summarizer-scoped .tool-image {
    max-width: 100%;
    border-radius: 20px;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
}

#summarizer-scoped .footer {
    text-align: center;
    font-size: 0.7rem;
    color: #64748b;
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 2rem;
}

/* Premium Button Section */
#summarizer-scoped .button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px;
}

#summarizer-scoped .premium-button {
    background: linear-gradient(135deg, #068599, #ff8c00);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

#summarizer-scoped .premium-button:hover {
    background: linear-gradient(135deg, #ffcc00, #ff6600);
    transform: scale(1.05);
}

#summarizer-scoped .premium-button:active {
    transform: scale(0.98);
}

@media (max-width: 600px) {
    #summarizer-scoped .button-container {
        flex-direction: column;
        align-items: center;
    }

    #summarizer-scoped .premium-button {
        width: 80%;
        text-align: center;
    }
}