/* ==========================================================================
   SaveFast PDF — Modern Ultra-UX/UI Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Light Mode Theme Variables (Default) */
    --bg-base: #f8f9ff;
    --bg-surface: #ffffff;
    --bg-card: linear-gradient(145deg, #0d1322 0%, #111827 100%);
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-color: rgba(99, 102, 241, 0.12);
    --border-glass: rgba(99, 102, 241, 0.18);
    
    --dark-text: #0f172a;
    --light-text: #475569;
    --lighter-text: #64748b;
    --white: #ffffff;
    
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --primary-gradient-alt: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --accent-red: #ef4444;
    --accent-gradient: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    
    --glow-orb-1: rgba(99, 102, 241, 0.08);
    --glow-orb-2: rgba(168, 85, 247, 0.06);
    --glow-orb-3: rgba(236, 72, 153, 0.05);
    --pattern-opacity: 0.03;
    
    /* Glassmorphism */
    --glass-border: rgba(99, 102, 241, 0.15);
    --glass-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 25px -5px rgba(99, 102, 241, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 35px -10px rgba(99, 102, 241, 0.14), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.3);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* Dark Mode Theme Overrides & High-Contrast Text Visibility */
[data-theme="dark"] {
    --bg-base: #070a13;
    --bg-surface: #0f172a;
    --bg-card: linear-gradient(145deg, #0d1322 0%, #111827 100%);
    --bg-glass: rgba(15, 23, 42, 0.85);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glass: rgba(255, 255, 255, 0.14);
    
    --dark-text: #f8fafc;
    --light-text: #cbd5e1;
    --lighter-text: #94a3b8;
    
    --glow-orb-1: rgba(99, 102, 241, 0.2);
    --glow-orb-2: rgba(168, 85, 247, 0.16);
    --glow-orb-3: rgba(236, 72, 153, 0.12);
    --pattern-opacity: 0.1;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 12px 30px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.6);
}

[data-theme="dark"] .tool-interface,
[data-theme="dark"] .drowning-border,
[data-theme="dark"] .tool-content,
[data-theme="dark"] .blog-content,
[data-theme="dark"] .page-content,
[data-theme="dark"] .blog-section-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .tutorial-step,
[data-theme="dark"] .benefit-item,
[data-theme="dark"] .use-case-story,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .intro-section,
[data-theme="dark"] .callout-box,
[data-theme="dark"] .blog-toc,
[data-theme="dark"] .screenshot-container,
[data-theme="dark"] .tips-section,
[data-theme="dark"] .contact-form {
    background-color: #0f172a !important;
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .blog-hero h1,
[data-theme="dark"] .tools-section h2,
[data-theme="dark"] .tool-interface h2,
[data-theme="dark"] .faq-item h3,
[data-theme="dark"] .tutorial-step h4,
[data-theme="dark"] .benefit-item strong,
[data-theme="dark"] .story-character,
[data-theme="dark"] .page-content h1,
[data-theme="dark"] .page-content h2,
[data-theme="dark"] .blog-toc h3,
[data-theme="dark"] .conversational-intro,
[data-theme="dark"] .form-group label,
[data-theme="dark"] strong,
[data-theme="dark"] b {
    color: #ffffff !important;
}

[data-theme="dark"] p,
[data-theme="dark"] li,
[data-theme="dark"] span,
[data-theme="dark"] .story-section p,
[data-theme="dark"] .blog-section-card p,
[data-theme="dark"] .benefit-item p,
[data-theme="dark"] .tutorial-step p,
[data-theme="dark"] .faq-item p,
[data-theme="dark"] .tool-content p,
[data-theme="dark"] .page-content p,
[data-theme="dark"] .page-content li,
[data-theme="dark"] .tool-content li,
[data-theme="dark"] .blog-section-card li {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hero-section p,
[data-theme="dark"] .blog-hero p,
[data-theme="dark"] .image-caption,
[data-theme="dark"] .reading-time,
[data-theme="dark"] .footer-nav a,
[data-theme="dark"] .footer p {
    color: #94a3b8 !important;
}

[data-theme="dark"] #searchInput,
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .tool-options select,
[data-theme="dark"] select {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

[data-theme="dark"] #file-drop-zone {
    background-color: rgba(30, 41, 59, 0.7) !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] #file-drop-zone p,
[data-theme="dark"] #file-drop-zone b,
[data-theme="dark"] #file-drop-zone span {
    color: #f8fafc !important;
}

[data-theme="dark"] .story-outcome {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

[data-theme="dark"] .blog-meta-badge {
    background: rgba(99, 102, 241, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #818cf8 !important;
}

/* Dark Mode Footer Override */
[data-theme="dark"] .footer {
    background-color: #070a13 !important;
    background: #070a13 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .footer-nav a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .footer-nav a:hover {
    color: #818cf8 !important;
}

[data-theme="dark"] .footer p {
    color: #64748b !important;
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-base);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* --- Premium Ambient Background Layer --- */
.bg-ambient-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    will-change: transform;
    transition: background 0.4s ease;
}

.ambient-orb-1 {
    top: -12%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    background: var(--glow-orb-1);
    animation: orbFloat1 24s ease-in-out infinite alternate;
}

.ambient-orb-2 {
    top: 30%;
    right: -15%;
    width: 50vw;
    height: 50vw;
    background: var(--glow-orb-2);
    animation: orbFloat2 28s ease-in-out infinite alternate;
}

.ambient-orb-3 {
    bottom: -15%;
    left: 15%;
    width: 45vw;
    height: 45vw;
    background: var(--glow-orb-3);
    animation: orbFloat3 26s ease-in-out infinite alternate;
}

.ambient-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(99, 102, 241, var(--pattern-opacity)) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.1); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 50px) scale(1.12); }
}

@keyframes orbFloat3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .ambient-orb-1, .ambient-orb-2, .ambient-orb-3 {
        animation: none !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header & Navigation --- */
.header {
    background: var(--bg-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--dark-text);
}

.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
    background: rgba(99, 102, 241, 0.18);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.search-container {
    flex-grow: 1;
    max-width: 380px;
    position: relative;
}

#searchInput {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    padding: 10px 20px 10px 44px;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.search-container::before {
    content: '🔍';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.6;
    pointer-events: none;
}

#searchInput:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
    width: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    text-decoration: none;
    color: var(--light-text);
    padding: 8px 16px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary);
    background-color: rgba(79, 70, 229, 0.08);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 70px 0 50px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.08) 0%, transparent 60%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: var(--primary-gradient);
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    border-radius: 50%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: pulseBadge 2.5s infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.hero-section h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.hero-section h1 span {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    font-size: 18px;
    color: var(--light-text);
    max-width: 720px;
    margin: 0 auto 30px auto;
    font-weight: 400;
}

.free-message {
    font-size: 15px;
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 16px 36px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 35px -5px rgba(79, 70, 229, 0.5);
    color: var(--white);
}

/* --- Tools Section & Cards --- */
.tools-section {
    padding: 40px 0 80px 0;
}

.tools-section h2 {
    font-family: 'Outfit', sans-serif;
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-text);
    letter-spacing: -0.5px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}

.tool-card {
    background: linear-gradient(145deg, #0d1322 0%, #111827 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    text-align: left;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.35);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(3deg);
}

.tool-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* Tool Visual Illustration Card Wrapper */
.tool-visual-wrapper {
    width: 100%;
    height: 145px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tool-card:hover .tool-visual-wrapper {
    transform: scale(1.04);
}

.tool-visual-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.tool-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    transition: color 0.2s ease;
}

.tool-card:hover h2 {
    color: #818cf8;
}

.tool-card p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    flex-grow: 1;
}

/* --- Inside Tool Page Container & Interface --- */
.tool-header-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    text-align: center;
}

.tool-hero-visual-wrapper {
    width: 220px;
    height: 125px;
    margin-bottom: 12px;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tool-hero-visual-wrapper:hover {
    transform: translateY(-6px) scale(1.05);
}

.tool-hero-visual-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-top: 1.5rem;
    padding-bottom: 4rem;
}

.tool-interface {
    width: 100%;
    max-width: 760px;
    background: var(--background-card);
    padding: 36px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.drowning-border {
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    background-color: var(--white);
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.15), 0 0 0 1px rgba(79, 70, 229, 0.1);
    transition: all 0.3s ease;
}

.tool-interface h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Drag and Drop Zone --- */
#file-drop-zone {
    border: 2.5px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 50px 24px;
    margin: 24px 0;
    cursor: pointer;
    text-align: center;
    background: rgba(248, 250, 252, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

#file-drop-zone::before {
    content: '☁️';
    display: block;
    font-size: 44px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

#file-drop-zone:hover::before {
    transform: translateY(-6px);
}

#file-drop-zone p {
    font-size: 16px;
    color: var(--light-text);
}

#file-drop-zone p b {
    color: var(--dark-text);
    font-size: 18px;
}

#file-drop-zone:hover, #file-drop-zone.dragover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.04);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.15);
}

.tool-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 20px 0;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.tool-options label {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-text);
}

.tool-options select, .tool-options input {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    outline: none;
    transition: border 0.2s;
}

.tool-options select:focus, .tool-options input:focus {
    border-color: var(--primary);
}

#process-button {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
}

#process-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -5px rgba(79, 70, 229, 0.5);
}

#process-button:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
}

#status-area {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
}

#status-area a {
    display: inline-block;
    background: #059669;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(5, 150, 105, 0.3);
    transition: transform 0.2s ease;
}

#status-area a:hover {
    transform: scale(1.05);
}

/* --- Tool Content (Modern Article & Feature Layout) --- */
.tool-content {
    width: 100%;
    max-width: 760px;
    background-color: var(--white);
    padding: 44px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.tool-content h1.tool-page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 28px;
    color: var(--dark-text);
    letter-spacing: -0.5px;
}

.tool-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-content p, .tool-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 14px;
}

/* Modern Intro Banner */
.intro-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
}

.intro-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.intro-icon svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.conversational-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark-text);
    font-weight: 500;
}

/* Benefits Grid & Benefit Items */
.benefits-grid, .features-grid, .benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.benefit-card, .feature-card, .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover, .feature-card:hover, .benefit-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.benefit-card h3, .feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.benefit-icon, .feature-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: var(--radius-md);
    background: var(--primary-gradient);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 6px 14px -3px rgba(79, 70, 229, 0.3);
    overflow: hidden;
}

.benefit-icon svg, .feature-icon svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    fill: #ffffff !important;
}

/* Screenshot Cards */
.screenshot-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 28px 0;
    box-shadow: var(--shadow-md);
    text-align: center;
    overflow: hidden;
}

.screenshot-image {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.screenshot-container:hover .screenshot-image {
    transform: scale(1.01);
}

.image-caption {
    font-size: 13px;
    font-weight: 600;
    color: var(--light-text);
    margin-top: 12px;
    text-align: center;
}

/* Tutorial & How to Step Cards */
.steps-container, .tutorial-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.step-card, .tutorial-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.step-card:hover, .tutorial-step:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.step-number, .step-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border-radius: 50% !important;
    background: var(--primary-gradient) !important;
    color: white !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 15px !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.tutorial-step h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 6px;
}

/* Use Case Story Cards */
.use-case-story {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.use-case-story:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.story-character {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-character::before {
    content: '👤';
    font-size: 18px;
}

.story-outcome {
    margin-top: 14px;
    padding: 14px 18px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: #065f46;
}

/* Tips Section Cards */
.tips-section {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.04) 0%, rgba(124, 58, 237, 0.04) 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 32px 0;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.tips-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: var(--radius-md);
    background: var(--primary-gradient);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

.tips-icon svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    fill: #ffffff !important;
}

/* Global Tool Content SVG Constraint */
.tool-content svg {
    max-width: 100%;
}

/* --- FAQ Accordion --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 24px 0;
}

.faq-item {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: background 0.2s ease;
}

.faq-item:hover {
    background: #ffffff;
    border-color: rgba(79, 70, 229, 0.3);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 14px;
    margin-bottom: 0;
}

/* --- Modern Blog & Magazine Layout --- */
.blog-hero {
    padding: 60px 0 30px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
}

.blog-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.blog-meta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.blog-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.blog-article {
    padding: 20px 0 80px 0;
}

.blog-content {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
    max-width: 920px;
    margin: 0 auto;
}

.blog-hero-image-wrapper {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(124, 58, 237, 0.06));
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    margin-bottom: 36px;
    box-shadow: var(--shadow-sm);
}

.blog-toc {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 36px;
}

.blog-toc h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-text);
}

.blog-toc ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
}

.blog-toc a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.blog-toc a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.blog-section-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.blog-section-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(79, 70, 229, 0.3);
}

.callout-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 20px 0;
    font-weight: 500;
    color: var(--dark-text);
}

/* Page Content (Static pages like About, Contact, Privacy, Terms, Blog) */
.page-content {
    background-color: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    margin-top: 30px;
    margin-bottom: 50px;
}

.page-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.page-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--background-light);
}

/* Contact Form */
.contact-form {
    max-width: 620px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-text);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    background: var(--white);
    transition: all 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.submit-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -5px rgba(79, 70, 229, 0.5);
}

/* Footer */
.footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    text-align: center;
    margin-top: 60px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer p {
    color: var(--lighter-text);
    font-size: 14px;
}

/* --- 3D Animated Mascot & Lottie Motion Animations --- */

/* Mascot Floating Container */
.mascot-hero-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 10px 0;
    position: relative;
}

.mascot-avatar {
    width: 140px;
    height: 140px;
    position: relative;
    animation: mascotFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 15px 25px rgba(79, 70, 229, 0.25));
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-avatar:hover {
    transform: scale(1.12) rotate(-4deg);
}

.mascot-aura {
    position: absolute;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, rgba(225, 29, 72, 0.1) 60%, transparent 80%);
    border-radius: 50%;
    top: -10px;
    left: -10px;
    z-index: 0;
    animation: auraGlow 3s ease-in-out infinite;
}

.mascot-body {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.mascot-hand-wave {
    transform-origin: 75% 75%;
    animation: mascotWave 2s ease-in-out infinite;
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes mascotWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(18deg); }
    75% { transform: rotate(-8deg); }
}

@keyframes auraGlow {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 0.95; transform: scale(1.1); }
}

/* Floating Motion Decorative Accents */
.motion-accent {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: floatMotion 6s ease-in-out infinite;
}

@keyframes floatMotion {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(180deg); }
}

/* Lottie Player Component Style */
dotlottie-player, lottie-player {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.lottie-hero-box {
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

/* Micro-animations for Interactive UI */
.tool-card, .btn, .cta-button, #process-button, #file-drop-zone {
    will-change: transform;
}

/* Responsive Breakpoints & Mobile Header System */
@media (max-width: 992px) {
    .header .container {
        gap: 14px;
    }
    .hero-section h1 {
        font-size: 38px;
    }
    .tool-interface, .tool-content {
        padding: 24px;
    }
    .mascot-avatar {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header .container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 0 16px;
    }

    .logo {
        font-size: 22px;
    }

    .main-nav {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding: 4px 2px 6px 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        padding: 6px 14px;
        font-size: 13px;
        flex-shrink: 0;
        background: rgba(99, 102, 241, 0.08);
        border: 1px solid var(--border-color);
        border-radius: 50px;
    }

    .search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 2px;
    }

    #searchInput {
        font-size: 13.5px;
        padding: 9px 16px 9px 38px;
    }

    .hero-section {
        padding: 45px 0 35px 0;
    }

    .hero-section h1 {
        font-size: 30px;
    }

    .hero-section p {
        font-size: 14.5px;
    }

    .cta-button {
        padding: 13px 26px;
        font-size: 14.5px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .intro-section {
        flex-direction: column;
    }

    .blog-content {
        padding: 24px 16px;
    }
}

/* ==========================================================================
   PRODUCTION-GRADE PDF TEXT EDITOR STYLES
   ========================================================================== */

.tool-interface.editor-active-mode {
    max-width: 1400px !important;
    width: 100% !important;
    padding: 16px !important;
    margin: 0 auto;
}

.tool-page-container.editor-active-mode {
    max-width: 1440px !important;
    width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.pdf-editor-container {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    background: #0f172a;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.editor-sidebar.collapsed,
.editor-props-panel.collapsed {
    display: none !important;
}

/* --- Editor Toolbar --- */
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 18px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
    color: #f8fafc;
    z-index: 20;
}

.toolbar-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mode-toggle-group {
    background: #0f172a;
    padding: 4px;
    border-radius: 8px;
    display: flex;
    gap: 4px;
}

.mode-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mode-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
}

.editor-btn {
    background: #334155;
    color: #f8fafc;
    border: 1px solid #475569;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.editor-btn:hover:not(:disabled) {
    background: #475569;
    color: #ffffff;
}

.editor-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.editor-btn.btn-danger {
    background: #991b1b;
    border-color: #b91c1c;
    color: #fecaca;
}

.editor-btn.btn-danger:hover:not(:disabled) {
    background: #dc2626;
    color: #ffffff;
}

.editor-btn.btn-success {
    background: #059669;
    border-color: #10b981;
    color: #ffffff;
}

.editor-btn.btn-success:hover:not(:disabled) {
    background: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.toolbar-select, .toolbar-input {
    background: #0f172a;
    border: 1px solid #334155;
    color: #f8fafc;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.toolbar-select:focus, .toolbar-input:focus {
    border-color: var(--primary);
}

.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #334155;
}

.color-picker-wrapper input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    background: none;
}

.color-picker-wrapper input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker-wrapper input[type="color"]::-webkit-color-swatch {
    border: 1px solid #475569;
    border-radius: 4px;
}

/* --- Three-Column Editor Workspace --- */
.editor-workspace {
    display: flex;
    height: 720px;
    background: #090d16;
    position: relative;
    overflow: hidden;
}

/* Left Sidebar (Thumbnails) */
.editor-sidebar {
    width: 220px;
    min-width: 220px;
    background: #0f172a;
    border-right: 1px solid #1e293b;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-header {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #1e293b;
}

.thumbnails-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.thumbnail-card {
    background: #1e293b;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.thumbnail-card:hover {
    border-color: #475569;
}

.thumbnail-card.active {
    border-color: var(--primary);
    background: #1e1b4b;
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.3);
}

.thumbnail-card canvas {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto 6px auto;
    background: #ffffff;
}

.thumbnail-page-num {
    font-size: 12px;
    font-weight: 600;
    color: #cbd5e1;
}

/* Center Main Canvas Viewport */
.editor-canvas-viewport {
    flex: 1;
    overflow: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: radial-gradient(circle, #1e293b 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
}

.pdf-page-wrapper {
    position: relative;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    margin: 0 auto;
}

.pdf-page-wrapper canvas {
    display: block;
    border-radius: 4px;
}

.pdf-text-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: auto;
}

/* Interactive Text Items & Overlay Boxes */
.pdf-text-item {
    position: absolute;
    box-sizing: border-box;
    cursor: pointer;
    padding: 1px 2px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    user-select: none;
    line-height: 1;
}

.pdf-text-item:hover {
    border-color: rgba(99, 102, 241, 0.6);
    background-color: rgba(99, 102, 241, 0.08);
}

.pdf-text-item.selected {
    border: 2px solid #6366f1 !important;
    background-color: rgba(99, 102, 241, 0.12) !important;
    z-index: 10;
}

.pdf-text-item.is-edited {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
}

.pdf-text-item.is-deleted {
    border-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.2) !important;
    text-decoration: line-through;
    opacity: 0.6;
}

.pdf-text-item.is-added {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.1);
}

/* Inline Editable Overlay Box */
.pdf-text-input-overlay {
    position: absolute;
    border: 2px dashed #6366f1;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-family: inherit;
    font-size: inherit;
    padding: 2px 4px;
    margin: -2px;
    outline: none;
    z-index: 50;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    resize: both;
    overflow: auto;
}

/* Right Properties Panel */
.editor-props-panel {
    width: 280px;
    min-width: 280px;
    background: #0f172a;
    border-left: 1px solid #1e293b;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 16px;
    overflow-y: auto;
    color: #f8fafc;
}

.props-header {
    font-size: 14px;
    font-weight: 700;
    color: #cbd5e1;
    padding-bottom: 8px;
    border-bottom: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prop-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prop-group label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.prop-textarea {
    width: 100%;
    height: 80px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #f8fafc;
    border-radius: 6px;
    padding: 8px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    outline: none;
}

.prop-textarea:focus {
    border-color: var(--primary);
}

.prop-row {
    display: flex;
    gap: 8px;
}

.prop-row .prop-group {
    flex: 1;
}

/* Bottom Editor Bar */
.editor-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #1e293b;
    border-top: 1px solid #334155;
    color: #cbd5e1;
    font-size: 13px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 50px;
    background: #0f172a;
    border: 1px solid #334155;
    font-size: 12px;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.status-dot.busy {
    background: #f59e0b;
    animation: pulse 1.5s infinite;
}

.scanned-pdf-alert {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

/* Mobile Responsive Editor */
@media (max-width: 992px) {
    .editor-workspace {
        flex-direction: column;
        height: auto;
        min-height: 600px;
    }
    
    .editor-sidebar {
        width: 100%;
        min-width: 100%;
        height: 110px;
        border-right: none;
        border-bottom: 1px solid #1e293b;
    }
    
    .thumbnails-list {
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .thumbnail-card {
        width: 80px;
        flex-shrink: 0;
    }
    
    .editor-props-panel {
        width: 100%;
        min-width: 100%;
        border-left: none;
        border-top: 1px solid #1e293b;
    }
}


