/* PDF to Word Converter - Single Responsive Styles */
.pdf2word-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}
.pdf2word-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.pdf2word-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text);
    letter-spacing: -0.02em;
}
.pdf2word-heart {
    font-size: 2.8rem;
    display: inline-block;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.pdf2word-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-family: 'Poppins', sans-serif;
}
.pdf2word-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

/* Upload Area */
.upload-area {
    border: 3px dashed var(--border);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    background: var(--bg);
    transition: all 0.3s ease;
}
.upload-area:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}
.upload-icon { font-size: 4.5rem; margin-bottom: 1rem; }
.upload-content h3 { margin: 0.5rem 0; color: var(--text); }
.upload-content p { color: var(--text-light); margin-bottom: 1.5rem; }

.upload-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
}

/* Convert Panel */
.file-info {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg);
    border-radius: 12px;
    margin-bottom: 2rem;
}
.page-count { color: var(--primary); font-weight: 500; }

/* Format Options */
.options label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text);
}
.format-options {
    display: flex;
    gap: 1rem;
}
.format-btn {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border);
    background: var(--surface);
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.format-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* Progress */
.progress-area {
    margin: 2rem 0;
}
.progress-bar {
    height: 12px;
    background: var(--bg);
    border-radius: 9999px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    width: 0%;
    transition: width 0.4s ease;
}
.progress-text {
    display: block;
    text-align: center;
    margin-top: 0.8rem;
    color: var(--text-light);
}

/* Actions */
.pdf2word-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.pdf2word-action-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.convert-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
}

/* Gift Card */
.download-card-container { margin-top: 3rem; }
.download-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    max-width: 500px;
    margin: 0 auto;
}
.dark-mode .download-card {
    background: linear-gradient(135deg, #1e1e2e, #2d2d44);
}

/* Mobile */
@media (max-width: 767px) {
    .pdf2word-title { font-size: 2.4rem; }
    .pdf2word-card { padding: 1.8rem; }
    .format-options { flex-direction: column; }
}