body {
    background-color: #0f172a;
    color: #f8fafc;
    overflow-x: hidden;
}

.glass-panel {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.6) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.15);
}

.text-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animation Specific Styles */
.scan-line {
    box-shadow: 0 0 20px 5px rgba(56, 189, 248, 0.5);
}

.doc-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 12px;
}

.doc-line.short {
    width: 60%;
}

.doc-line.medium {
    width: 80%;
}

.doc-line.long {
    width: 100%;
}

.extraction-card {
    opacity: 0;
    transform: translateX(-20px);
}

/* Typography / Prose Styles */
.prose h1 {
    color: white;
    font-family: 'Outfit', sans-serif;
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
}

.prose h2 {
    color: white;
    font-family: 'Outfit', sans-serif;
    margin-top: 2em;
    margin-bottom: 1em;
    font-size: 1.5rem;
    font-weight: 700;
}

.prose h3 {
    color: #e2e8f0;
    font-family: 'Outfit', sans-serif;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-size: 1.25rem;
    font-weight: 600;
}

.prose p {
    margin-bottom: 1.25em;
    line-height: 1.75;
    color: #cbd5e1;
    font-size: 1.05rem;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1.25em;
    color: #cbd5e1;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin-bottom: 1.25em;
    color: #cbd5e1;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose blockquote {
    border-left: 4px solid #0ea5e9;
    padding-left: 1em;
    font-style: italic;
    color: #94a3b8;
    margin-bottom: 1.25em;
}

.prose a {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose a:hover {
    color: #7dd3fc;
}

.prose img {
    border-radius: 0.75rem;
    margin-top: 2em;
    margin-bottom: 2em;
}