/* Documentation Pages Styles */
/* Only unique visual elements, no layout duplication */

/* Hero Section for Docs - Only add docs-specific background */
.hero-small {
    background: linear-gradient(135deg, var(--color-primary-navy) 0%, var(--color-dark-navy) 100%);
}

.hero-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 64, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 204, 253, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Docs hero visual effects (full hero box; local to docs pages) */
.hero-small .hero-visual { position: relative; overflow: hidden; }
.docs-hero-effects { position: absolute; left:0; right:0; top:0; bottom:0; z-index:0; pointer-events:none; }

.docs-hero-effects .docs-grid {
    position: absolute; left:-8%; right:-8%; top:-8%; bottom:-8%;
    background-image: linear-gradient(rgba(0, 64, 255, 0.12) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 204, 253, 0.10) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.16;
    animation: docsGridDrift 60s linear infinite;
}

.docs-hero-effects .docs-aura {
    position: absolute; width:140%; height:140%; left:-20%; top:-20%;
    background: radial-gradient(600px 400px at 30% 30%, rgba(0, 204, 253, 0.16), transparent 60%),
                radial-gradient(700px 500px at 70% 70%, rgba(0, 64, 255, 0.14), transparent 60%);
    mix-blend-mode: screen;
    animation: docsAuraFloat 24s ease-in-out infinite;
}

.docs-hero-effects .docs-ring { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:240px; height:240px; border-radius:50%; border:1px solid rgba(0, 204, 253, 0.25); animation: docsRingPulse 10s ease-in-out infinite; }
.docs-hero-effects .ring-2 { width:340px; height:340px; border-color: rgba(0, 64, 255, 0.25); animation-delay: 3s; }

.docs-hero-effects .docs-icon { position:absolute; color: var(--color-lightest-blue); opacity:0.85; text-shadow:0 0 14px rgba(0, 204, 253, 0.35); background:none; border:none; padding:0; }
.docs-hero-effects .icon-lock { left: 12%; top: 24%; animation: docsFloatY 12s ease-in-out infinite; }
.docs-hero-effects .icon-file { right: 14%; top: 22%; animation: docsFloatY 15s ease-in-out infinite reverse; }
.docs-hero-effects .icon-scale { left: 18%; bottom: 18%; animation: docsFloatY 17s ease-in-out infinite; }
.docs-hero-effects .icon-leaf { right: 18%; bottom: 16%; animation: docsFloatY 19s ease-in-out infinite reverse; }
.docs-hero-effects .docs-icon i { font-size: 1.2rem; }

@keyframes docsGridDrift { 0%{ transform: translate3d(0,0,0);} 100%{ transform: translate3d(-28px,-28px,0);} }
@keyframes docsAuraFloat { 0%,100%{ transform: translate3d(0,0,0) scale(1);} 50%{ transform: translate3d(-1%,1%,0) scale(1.03);} }
@keyframes docsRingPulse { 0%,100%{ transform: translate(-50%, -50%) scale(1); opacity:0.35;} 50%{ transform: translate(-50%,-50%) scale(1.06); opacity:0.55;} }
@keyframes docsFloatY { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }

@media (prefers-reduced-motion: reduce) {
    .docs-hero-effects * { animation: none; }
}

/* Sitemap-style cards for compliance pages */
.sitemap-section {
    margin-bottom: 80px;
}

.sitemap-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-glow);
}

.section-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-lightest-blue));
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 64, 255, 0.2);
}

.section-icon i {
    font-size: 1.5rem;
    color: var(--color-primary-navy);
}

.section-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px 0;
}

.section-info p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Pages Grid */
.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

/* Page Cards */
.page-card {
    background: var(--nav-bg);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    overflow: hidden;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.page-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 64, 255, 0.15) inset;
    border-color: var(--color-accent-cyan);
}

.page-link {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 300ms ease;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 64, 255, 0.05) 0%, 
        rgba(0, 204, 253, 0.03) 100%);
    opacity: 0;
    transition: opacity 300ms ease;
}

.page-card:hover .page-link::before {
    opacity: 1;
}

.page-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(0, 64, 255, 0.1) 0%, 
        rgba(0, 204, 253, 0.08) 100%);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 300ms ease;
    position: relative;
    z-index: 2;
    margin-top: 8px;
}

.page-card:hover .page-icon {
    background: linear-gradient(135deg, 
        rgba(0, 64, 255, 0.15) 0%, 
        rgba(0, 204, 253, 0.12) 100%);
    transform: scale(1.05);
}

.page-icon i {
    font-size: 1.25rem;
    color: var(--color-accent-cyan);
    transition: color 300ms ease;
}

.page-card:hover .page-icon i {
    color: var(--color-lightest-blue);
}

.page-content {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px 0;
    transition: color 300ms ease;
}

.page-card:hover .page-title {
    color: var(--color-lightest-blue);
}

.page-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0 0 12px 0;
    transition: color 300ms ease;
}

.page-card:hover .page-description {
    color: var(--text);
}

.page-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page-url {
    font-size: 0.8rem;
    color: var(--color-accent-cyan);
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

.page-date {
    font-size: 0.75rem;
    color: var(--text);
    opacity: 0.7;
    font-style: italic;
}

.page-priority {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.page-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 300ms ease;
    position: relative;
    z-index: 2;
    margin-top: 8px;
}

.page-card:hover .page-arrow {
    color: var(--color-lightest-blue);
    transform: translateX(4px);
}

.page-arrow i {
    font-size: 0.9rem;
}

/* Light theme adjustments for sitemap cards */
[data-theme="light"] .page-card {
    background: var(--nav-bg);
    border-color: rgba(0, 11, 129, 0.1);
}

[data-theme="light"] .page-card:hover {
    border-color: var(--color-accent-cyan);
    box-shadow: 
        0 20px 60px rgba(0, 11, 129, 0.08),
        0 0 0 1px rgba(0, 11, 129, 0.12) inset;
}

[data-theme="light"] .page-icon {
    background: linear-gradient(135deg, 
        rgba(0, 11, 129, 0.08) 0%, 
        rgba(0, 64, 255, 0.06) 100%);
}

[data-theme="light"] .page-card:hover .page-icon {
    background: linear-gradient(135deg, 
        rgba(0, 11, 129, 0.12) 0%, 
        rgba(0, 64, 255, 0.08) 100%);
}

[data-theme="light"] .page-icon i {
    color: var(--color-primary-navy);
}

[data-theme="light"] .page-card:hover .page-icon i {
    color: var(--color-accent-cyan);
}

[data-theme="light"] .page-url {
    color: var(--color-primary-navy);
}

[data-theme="light"] .page-card:hover .page-url {
    color: var(--color-accent-cyan);
}

[data-theme="light"] .page-arrow {
    color: var(--color-primary-navy);
}

[data-theme="light"] .page-card:hover .page-arrow {
    color: var(--color-accent-cyan);
}

/* Responsive design for sitemap cards */
@media (max-width: 768px) {
    .sitemap-section {
        margin-bottom: 60px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
    }
    
    .section-icon i {
        font-size: 1.25rem;
    }
    
    .section-info h3 {
        font-size: 1.75rem;
    }
    
    .pages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .page-link {
        padding: 20px;
        gap: 16px;
    }
    
    .page-icon {
        width: 40px;
        height: 40px;
    }
    
    .page-icon i {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 1.1rem;
    }
    
    .page-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .sitemap-section {
        margin-bottom: 40px;
    }
    
    .section-header {
        gap: 12px;
    }
    
    .section-icon {
        width: 44px;
        height: 44px;
    }
    
    .section-info h3 {
        font-size: 1.5rem;
    }
    
    .page-link {
        padding: 16px;
        gap: 12px;
    }
    
    .page-icon {
        width: 36px;
        height: 36px;
    }
    
    .page-title {
        font-size: 1rem;
    }
    
    .page-description {
        font-size: 0.8rem;
    }
}

/* Legal Documents Scene */
.legal-documents-scene {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.document-stack {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 250px;
}

.document-page {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--bg);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.document-page.page-1 {
    transform: translateZ(0px) rotateY(-5deg) rotateX(5deg);
    z-index: 3;
}

.document-page.page-2 {
    transform: translateZ(-20px) rotateY(-10deg) rotateX(8deg);
    z-index: 2;
    opacity: 0.8;
}

.document-page.page-3 {
    transform: translateZ(-40px) rotateY(-15deg) rotateX(10deg);
    z-index: 1;
    opacity: 0.6;
}

.document-page:hover {
    transform: translateZ(10px) rotateY(0deg) rotateX(0deg);
    z-index: 10;
}

.document-header {
    height: 40px;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-lightest-blue));
    border-radius: 8px 8px 0 0;
    margin: 16px 16px 0;
}

.document-lines {
    padding: 20px 16px;
}

.document-lines .line {
    height: 4px;
    background: var(--text-muted);
    margin: 8px 0;
    border-radius: 2px;
    opacity: 0.7;
}

.document-lines .line.short {
    width: 60%;
}

.document-lines .line.medium {
    width: 80%;
}

.document-signature,
.compliance-seal,
.legal-stamp {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.document-signature {
    background: linear-gradient(45deg, var(--color-accent-cyan), var(--color-lightest-blue));
}

.compliance-seal {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    border: 2px solid var(--bg);
}

.legal-stamp {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent-cyan);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 60%; left: 20%; animation-delay: 2s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { top: 30%; left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { top: 70%; left: 30%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Light Rays */
.light-rays {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.ray {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--color-accent-cyan), transparent);
    opacity: 0.3;
    animation: rayMove 8s linear infinite;
}

.ray-1 { top: 10%; left: 20%; animation-delay: 0s; }
.ray-2 { top: 30%; left: 60%; animation-delay: 2s; }
.ray-3 { top: 50%; left: 80%; animation-delay: 4s; }

@keyframes rayMove {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 0; }
    50% { opacity: 0.3; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

.hero-visual-title {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-accent-cyan);
    text-align: center;
    margin: 0;
}

/* Sub-navigation for Docs - Only add docs-specific styling */
.subnav {
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-glow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.subnav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.subnav-breadcrumbs {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.crumb {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 300ms ease;
}

.crumb:hover {
    color: var(--color-accent-cyan);
}

.crumb.current {
    color: var(--text);
    font-weight: 500;
}

.sep {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Document Content - Only unique styling */
.docs-content {
    background: var(--nav-bg);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* PDF Content Styling */
.pdf-content {
    line-height: 1.6;
    color: var(--text);
    max-width: 100%;
    width: 100%;
    display: block;
    overflow: visible;
}

/* Ensure PDF content uses full available width */
.pdf-content p {
    max-width: none;
    width: 100%;
}

.pdf-content ul, .pdf-content ol {
    max-width: none;
    width: 100%;
}

.pdf-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent-cyan);
}

.pdf-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin: 1.5rem 0 0.75rem 0;
}

.pdf-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 1rem 0;
    text-align: justify;
}

.pdf-content ul, .pdf-content ol {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.pdf-content li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.pdf-content strong {
    font-weight: 600;
    color: var(--color-accent-cyan);
}

/* Clean document layout */
.pdf-content h2:first-child {
    margin-top: 0;
}

.pdf-content p:last-child {
    margin-bottom: 0;
}

/* Table of Contents Styling */
.table-of-contents {
    background: linear-gradient(135deg, 
        rgba(0, 64, 255, 0.05) 0%, 
        rgba(0, 204, 253, 0.03) 100%);
    border: 1px solid rgba(0, 64, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    margin: 2rem 0;
    box-shadow: 0 4px 16px rgba(0, 64, 255, 0.08);
}

.table-of-contents h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-accent-cyan);
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 64, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-of-contents h3::before {
    content: "📋";
    font-size: 1.1rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin: 0 0 8px 0;
    padding: 0;
}

.table-of-contents a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 300ms ease;
    border-left: 3px solid transparent;
}

.table-of-contents a:hover {
    background: rgba(0, 64, 255, 0.08);
    border-left-color: var(--color-accent-cyan);
    color: var(--color-accent-cyan);
    transform: translateX(4px);
}

.table-of-contents a::before {
    content: "→";
    color: var(--color-accent-cyan);
    font-weight: bold;
    transition: transform 300ms ease;
}

.table-of-contents a:hover::before {
    transform: translateX(2px);
}

/* Light theme adjustments for table of contents */
[data-theme="light"] .table-of-contents {
    background: linear-gradient(135deg, 
        rgba(0, 11, 129, 0.05) 0%, 
        rgba(0, 64, 255, 0.03) 100%);
    border-color: rgba(0, 11, 129, 0.15);
    box-shadow: 0 4px 16px rgba(0, 11, 129, 0.08);
}

[data-theme="light"] .table-of-contents h3 {
    color: var(--color-primary-navy);
    border-bottom-color: rgba(0, 11, 129, 0.2);
}

[data-theme="light"] .table-of-contents a:hover {
    background: rgba(0, 11, 129, 0.08);
    border-left-color: var(--color-primary-navy);
    color: var(--color-primary-navy);
}

[data-theme="light"] .table-of-contents a::before {
    color: var(--color-primary-navy);
}

/* Add spacing between hero and content */
.docs-section {
    padding-top: 80px;
}

/* PDF Fallback Notice */
.pdf-fallback {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, 
        rgba(0, 64, 255, 0.05) 0%, 
        rgba(0, 204, 253, 0.03) 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 64, 255, 0.1);
    margin: 40px 0;
}

.pdf-notice i {
    font-size: 3rem;
    color: var(--color-accent-cyan);
    margin-bottom: 20px;
    display: block;
}

.pdf-notice h3 {
    color: var(--text);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.pdf-notice p {
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.6;
}

.docs-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent-cyan);
}

.docs-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin: 32px 0 16px 0;
}

.docs-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 20px 0;
}

.docs-content ul,
.docs-content ol {
    margin: 0 0 20px 0;
    padding-left: 24px;
}

.docs-content li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 8px 0;
}

.docs-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glow);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.docs-footer p {
    margin: 0 0 8px 0;
}

/* Compliance quick links under content */
.compliance-links {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

/* Responsive Design - Only docs-specific adjustments */
@media (max-width: 768px) {
    .docs-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .docs-content {
        padding: 20px;
    }
}

/* Print Styles - Professional Document Layout */
@media print {
    /* Hide navigation and interactive elements */
    .main-header,
    .subnav,
    .back-to-top,
    .scroll-progress,
    .floating-particles,
    .light-rays,
    .hero-scan {
        display: none !important;
    }
    
    /* Reset page margins and background */
    * {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.4;
        margin: 0;
        padding: 0;
    }
    
    /* Document header with logo and title */
    .hero-small {
        background: white !important;
        color: black !important;
        padding: 0 !important;
        margin: 0 !important;
        page-break-inside: avoid;
    }
    
    .hero-small .hero-inner {
        display: block !important;
        text-align: center;
        padding: 20px 0;
        border-bottom: 2px solid #333;
        margin-bottom: 30px;
    }
    
    .hero-small .hero-copy {
        width: 100% !important;
        max-width: none !important;
    }
    
    .hero-small .hero-title {
        font-size: 24pt !important;
        font-weight: bold !important;
        color: #1a365d !important;
        margin: 0 0 10px 0 !important;
        text-align: center;
    }
    
    .hero-small .hero-subtitle {
        font-size: 14pt !important;
        color: #2d3748 !important;
        margin: 0 0 5px 0 !important;
        text-align: center;
    }
    
    .hero-small .hero-lead {
        font-size: 12pt !important;
        color: #4a5568 !important;
        margin: 0 !important;
        text-align: center;
    }
    
    /* Hide the visual elements in print */
    .hero-small .hero-visual {
        display: none !important;
    }
    
    /* Document content styling */
    .docs-content {
        background: white !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        width: 100% !important;
    }
    
    .docs-content h2 {
        font-size: 18pt !important;
        font-weight: bold !important;
        color: #1a365d !important;
        margin: 30px 0 15px 0 !important;
        padding: 0 0 8px 0 !important;
        border-bottom: 1px solid #333 !important;
        page-break-after: avoid;
    }
    
    .docs-content h3 {
        font-size: 14pt !important;
        font-weight: bold !important;
        color: #2d3748 !important;
        margin: 20px 0 10px 0 !important;
        page-break-after: avoid;
    }
    
    .docs-content p {
        font-size: 12pt !important;
        color: #2d3748 !important;
        margin: 0 0 12px 0 !important;
        text-align: justify;
        orphans: 3;
        widows: 3;
    }
    
    .docs-content ul,
    .docs-content ol {
        margin: 0 0 12px 0 !important;
        padding-left: 20px !important;
    }
    
    .docs-content li {
        font-size: 12pt !important;
        color: #2d3748 !important;
        margin: 0 0 6px 0 !important;
    }
    
    /* Table of contents styling */
    .table-of-contents {
        background: #f7fafc !important;
        border: 1px solid #e2e8f0 !important;
        padding: 15px !important;
        margin: 0 0 20px 0 !important;
        page-break-inside: avoid;
    }
    
    .table-of-contents h3 {
        font-size: 14pt !important;
        font-weight: bold !important;
        color: #1a365d !important;
        margin: 0 0 10px 0 !important;
    }
    
    .table-of-contents a {
        color: #2d3748 !important;
        text-decoration: none !important;
    }
    
    /* Document footer */
    .docs-footer {
        margin-top: 40px !important;
        padding-top: 20px !important;
        border-top: 1px solid #e2e8f0 !important;
        font-size: 10pt !important;
        color: #718096 !important;
        text-align: center;
    }
    
    .docs-footer p {
        margin: 0 0 5px 0 !important;
        font-size: 10pt !important;
    }
    
    /* Custom print footer with company details - only at end of document */
    .main-footer {
        display: none !important;
    }
    
    /* Add print-specific company footer at end of document only */
    .docs-footer::after {
        content: "\A\A ———————————————————————————————————————————————\A\A MaysWeb Ltd.\A Enterprise Software for Blockchain & Markets\A +44 1234 567 890 | info@maysweb.co.uk\A www.maysweb.co.uk";
        white-space: pre-line;
        display: block;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 2px solid #1a365d;
        font-size: 10pt;
        color: #2d3748;
        text-align: center;
        line-height: 1.4;
    }
    
    /* Page breaks */
    .docs-content h2 {
        page-break-before: auto;
    }
    
    .docs-content h3 {
        page-break-before: avoid;
    }
    
    /* Ensure proper spacing */
    .container {
        max-width: none !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Hide any remaining interactive elements */
    .icon-button,
    .btn,
    button {
        display: none !important;
    }
}