/* General styles for documentation */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* Improved focus styles */
*:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background-color: #fff;
        color: #000;
    }
    
    .feature-card,
    .doc-section {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
    flex: 1;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    margin-right: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #34495e;
}

/* Ensure navigation is visible on desktop */
@media (min-width: 769px) {
    nav ul {
        display: flex !important;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

section {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

section:last-child {
    border-bottom: none;
}

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

h3 {
    color: #34495e;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    margin-top: 2rem;
    padding: 1.5rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.footer-links a:hover {
    background-color: #34495e;
}

.code-block {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 1rem;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.alert-info {
    background-color: #d1ecf1;
    border-left: 4px solid #0c5460;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border-left: 4px solid #856404;
    color: #856404;
}

/* Responsive design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0.25rem 0;
    }
    
    main {
        margin: 1rem;
        padding: 0.5rem;
    }
}
/* Home
page specific styles */
.hero-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-card h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.quick-start-steps {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

.quick-start-steps li {
    margin-bottom: 0.5rem;
}

.cta-button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: #2980b9;
}

.doc-sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.doc-section {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.doc-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.doc-section h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.doc-section h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.doc-section h3 a:hover {
    color: #3498db;
}

.doc-section p {
    color: #666;
    margin-bottom: 0;
}

/* Breadcrumb navigation */
.breadcrumb {
    background-color: #ecf0f1;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
}

.breadcrumb-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #7f8c8d;
}

/* Search functionality */
.search-container {
    margin: 1rem 0;
    position: relative;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: white;
}

.search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-result-item:hover,
.search-result-item:focus {
    background-color: #f8f9fa;
    outline: none;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.search-result-heading {
    font-size: 0.85rem;
    color: #3498db;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.search-result-snippet {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.search-result-snippet mark {
    background-color: #fff3cd;
    color: #856404;
    padding: 0.1em 0.2em;
    border-radius: 2px;
    font-weight: 500;
}

.no-results {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
}

.no-results p {
    margin: 0;
}

/* Search loading state */
.search-loading {
    text-align: center;
    padding: 1rem;
    color: #7f8c8d;
    font-style: italic;
}

/* Search result keyboard focus */
.search-result-item:focus {
    background-color: #e3f2fd;
    border-left: 3px solid #3498db;
}

/* Search input states */
.search-input::placeholder {
    color: #95a5a6;
}

.search-input:disabled {
    background-color: #ecf0f1;
    cursor: not-allowed;
}

/* Improved search result typography */
.search-result-title {
    line-height: 1.3;
}

.search-result-heading {
    line-height: 1.2;
}

/* Search results scrollbar styling */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .doc-sections-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card, .doc-section {
        margin-bottom: 1rem;
    }
    
    header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Accessibility improvements */
.feature-card:focus-within,
.doc-section:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Keyboard navigation improvements */
.feature-card a:focus,
.doc-section a:focus,
.cta-button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
    background-color: #2980b9;
}

/* Better link styling for accessibility */
a {
    color: #3498db;
    text-decoration: underline;
    text-decoration-skip-ink: auto;
}

a:hover {
    color: #2980b9;
    text-decoration-thickness: 2px;
}

a:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Improve button accessibility */
button {
    cursor: pointer;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #3498db;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Image lazy loading styles */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img.loaded {
    opacity: 1;
}

img.error {
    opacity: 0.5;
    filter: grayscale(100%);
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Header scroll state */
header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
}

@media (max-width: 480px) {
    .cta-button {
        display: block;
        text-align: center;
        margin: 1rem 0;
    }
    
    header h1 {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* Mobile menu styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    header {
        position: relative;
    }
    
    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    nav {
        position: relative;
        width: 100%;
    }
    
    nav ul {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2c3e50;
        flex-direction: column;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        z-index: 1000;
        margin: 0;
        padding: 0;
        border-radius: 0 0 8px 8px;
    }
    
    nav ul.mobile-menu-open {
        display: flex !important;
        animation: slideDown 0.3s ease-out;
    }
    
    nav ul li {
        margin: 0;
        border-bottom: 1px solid #34495e;
        width: 100%;
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
        transition: background-color 0.3s;
    }
    
    nav ul li a:hover,
    nav ul li a:focus {
        background-color: #34495e;
    }
    
    .search-container {
        max-width: none;
        margin: 0.5rem 0 1rem 0;
        order: 2;
    }
    
    .search-results {
        max-height: 250px;
    }
    
    .search-result-item {
        padding: 0.75rem;
    }
    
    .search-result-title {
        font-size: 0.9rem;
    }
    
    .search-result-heading {
        font-size: 0.8rem;
    }
    
    .search-result-snippet {
        font-size: 0.8rem;
    }
}

/* Animation for mobile menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active navigation link styles */
nav ul li a.active {
    background-color: #3498db !important;
    font-weight: 500;
}

/* Print styles */
@media print {
    header nav,
    .breadcrumb,
    footer,
    .mobile-menu-btn {
        display: none;
    }
    
    body {
        background-color: white;
    }
    
    main {
        box-shadow: none;
        margin: 0;
        padding: 1rem;
    }
}
/* Xian
 Blockchain page specific styles */
.tokenomics-container {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.tokenomics-visual {
    margin-bottom: 2rem;
}

.fee-distribution {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fee-segment {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.fee-bar {
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 120px;
    position: relative;
}

.fee-segment.developers .fee-bar {
    background-color: #3498db;
}

.fee-segment.validators .fee-bar {
    background-color: #27ae60;
}

.fee-segment.burn .fee-bar {
    background-color: #e74c3c;
    min-width: 80px;
}

.fee-segment.foundation .fee-bar {
    background-color: #9b59b6;
    min-width: 80px;
}

.distribution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.distribution-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.distribution-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.distribution-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.distribution-item h4 {
    color: #2c3e50;
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.distribution-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.market-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.market-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.market-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.market-card h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.acquisition-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.method-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.method-card.primary-method {
    border-left-color: #27ae60;
    background-color: #f8fff8;
}

.method-card h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.method-card ul {
    margin: 1rem 0;
}

.method-card li {
    margin-bottom: 0.5rem;
}

.method-steps {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.method-steps h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.method-steps ol {
    padding-left: 1.2rem;
}

.method-steps li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.wallet-setup {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.wallet-setup h3 {
    color: #2c3e50;
    margin-top: 0;
}

.wallet-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.wallet-option {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wallet-option h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.wallet-option p {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem 0;
}

.wallet-option ul {
    margin: 0;
}

.wallet-option li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.next-step-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.next-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.next-step-card h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.next-step-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Responsive design for Xian blockchain page */
@media (max-width: 768px) {
    .tokenomics-container {
        padding: 1rem;
    }
    
    .fee-distribution {
        padding: 1rem;
    }
    
    .fee-bar {
        height: 35px;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .fee-segment.burn .fee-bar,
    .fee-segment.foundation .fee-bar {
        min-width: 70px;
    }
    
    .distribution-grid {
        grid-template-columns: 1fr;
    }
    
    .market-info-grid {
        grid-template-columns: 1fr;
    }
    
    .acquisition-methods {
        grid-template-columns: 1fr;
    }
    
    .wallet-options {
        grid-template-columns: 1fr;
    }
    
    .next-steps {
        grid-template-columns: 1fr;
    }
    
    .method-card {
        padding: 1.5rem;
    }
    
    .wallet-setup {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .fee-bar {
        height: 30px;
        font-size: 0.7rem;
        padding: 0 0.5rem;
    }
    
    .fee-label {
        font-size: 0.7rem;
    }
    
    .distribution-icon {
        font-size: 2rem;
    }
    
    .method-card,
    .wallet-setup,
    .next-step-card {
        padding: 1rem;
    }
}

/* Enhanced visual hierarchy */
.tokenomics-visual h3,
.tokenomics-details h3 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Improved accessibility */
.fee-bar:focus,
.distribution-item:focus,
.method-card:focus,
.wallet-option:focus,
.next-step-card:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Print styles for Xian blockchain page */
@media print {
    .tokenomics-container,
    .wallet-setup {
        background-color: white !important;
        box-shadow: none !important;
    }
    
    .fee-bar {
        border: 1px solid #333 !important;
        color: #333 !important;
    }
    
    .distribution-item,
    .method-card,
    .wallet-option,
    .next-step-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* Getting Started page specific styles */
.step-guide {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.step-number {
    background-color: #3498db;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.step-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-content ul {
    margin: 1rem 0;
}

.step-content li {
    margin-bottom: 0.5rem;
}

.screenshot-placeholder {
    background-color: white;
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem 0;
    text-align: center;
    transition: border-color 0.3s;
}

.screenshot-placeholder:hover {
    border-color: #3498db;
}

.placeholder-content {
    color: #7f8c8d;
}

.placeholder-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.placeholder-content p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.placeholder-content p:first-of-type {
    font-weight: 500;
    color: #2c3e50;
}

.navigation-guide {
    margin: 2rem 0;
}

.nav-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #27ae60;
}

.nav-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.nav-section ul {
    margin: 1rem 0;
}

.nav-section li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.nav-section li strong {
    color: #2c3e50;
}

.dashboard-guide {
    margin: 2rem 0;
}

.dashboard-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #9b59b6;
}

.dashboard-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.dashboard-section ul {
    margin: 1rem 0;
}

.dashboard-section li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.dashboard-section li strong {
    color: #2c3e50;
}

.profile-setup-guide {
    margin: 2rem 0;
}

.setup-step {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #e67e22;
}

.setup-step h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.setup-step ul {
    margin: 1rem 0;
}

.setup-step li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.setup-step li strong {
    color: #2c3e50;
}

.first-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.first-step-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 4px solid #3498db;
}

.first-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.first-step-card h3 {
    margin: 1rem 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.first-step-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.troubleshooting-list {
    margin: 2rem 0;
}

.trouble-item {
    background-color: #fff3cd;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.trouble-item h3 {
    margin-top: 0;
    color: #856404;
    font-size: 1.1rem;
}

.trouble-item ul {
    margin: 1rem 0 0 0;
}

.trouble-item li {
    margin-bottom: 0.5rem;
    color: #856404;
    line-height: 1.5;
}

/* Responsive design for Getting Started page */
@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 1rem auto;
    }
    
    .first-steps-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-section,
    .dashboard-section,
    .setup-step {
        padding: 1.5rem;
    }
    
    .screenshot-placeholder {
        padding: 1.5rem;
    }
    
    .placeholder-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .step-item {
        padding: 1rem;
    }
    
    .nav-section,
    .dashboard-section,
    .setup-step,
    .trouble-item {
        padding: 1rem;
    }
    
    .first-step-card {
        padding: 1.5rem;
    }
    
    .step-icon {
        font-size: 2.5rem;
    }
    
    .screenshot-placeholder {
        padding: 1rem;
    }
    
    .placeholder-icon {
        font-size: 2rem;
    }
}

/* Print styles for Getting Started page */
@media print {
    .step-guide,
    .navigation-guide,
    .dashboard-guide,
    .profile-setup-guide {
        break-inside: avoid;
    }
    
    .step-item,
    .nav-section,
    .dashboard-section,
    .setup-step {
        background-color: white !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
    
    .screenshot-placeholder {
        border: 1px solid #ddd !important;
        background-color: #f9f9f9 !important;
    }
    
    .first-steps-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-button {
        display: none;
    }
}

/* Enhanced accessibility for Getting Started page */
.step-item:focus-within,
.nav-section:focus-within,
.dashboard-section:focus-within,
.setup-step:focus-within,
.first-step-card:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.screenshot-placeholder:focus {
    border-color: #3498db;
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Improved visual hierarchy */
.step-content h3,
.nav-section h3,
.dashboard-section h3,
.setup-step h3 {
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Enhanced color coding for different sections */
.step-item {
    border-left-color: #3498db; /* Blue for steps */
}

.nav-section {
    border-left-color: #27ae60; /* Green for navigation */
}

.dashboard-section {
    border-left-color: #9b59b6; /* Purple for dashboard */
}

.setup-step {
    border-left-color: #e67e22; /* Orange for setup */
}

.trouble-item {
    border-left-color: #f39c12; /* Yellow for troubleshooting */
}/* Walle
t installation guide styles */
.wallet-install-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.install-option {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.install-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.install-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.install-content h3 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.install-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.install-button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.install-button:hover {
    background-color: #2980b9;
}

.connection-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #27ae60;
}

.connection-info h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.connection-info ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.connection-info li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* Responsive design for wallet installation */
@media (max-width: 768px) {
    .wallet-install-guide {
        grid-template-columns: 1fr;
    }
    
    .install-option {
        padding: 1.5rem;
    }
    
    .connection-info {
        padding: 1.5rem;
    }
    
    .install-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .install-option {
        padding: 1rem;
    }
    
    .connection-info {
        padding: 1rem;
    }
    
    .install-icon {
        font-size: 2rem;
    }
    
    .install-button {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Print styles for wallet installation */
@media print {
    .install-option,
    .connection-info {
        background-color: white !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
    
    .install-button {
        display: none;
    }
}

/* Enhanced accessibility for wallet installation */
.install-option:focus-within,
.connection-info:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.install-button:focus {
    outline: 2px solid #2980b9;
    outline-offset: 2px;
}
/* 
Presale Participation Guide specific styles */
.presale-card-guide {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #3498db;
}

.presale-card-guide h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.presale-card-guide ul {
    margin: 1rem 0;
}

.presale-card-guide li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.presale-card-guide li strong {
    color: #2c3e50;
}

.filter-guide {
    margin: 2rem 0;
}

.filter-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #27ae60;
}

.filter-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.filter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.filter-option {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.filter-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.filter-option h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.filter-option p {
    color: #666;
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
}

.search-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #9b59b6;
}

.search-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.search-section ul {
    margin: 1rem 0;
}

.search-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.evaluation-guide {
    margin: 2rem 0;
}

.eval-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #e67e22;
}

.eval-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.metric-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.metric-card h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.metric-card p {
    color: #666;
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
}

.participation-guide {
    margin: 2rem 0;
}

.balance-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #27ae60;
}

.balance-info h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.balance-info ul {
    margin: 1rem 0 0 0;
}

.balance-info li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.transaction-review {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #3498db;
}

.transaction-review h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.transaction-review ul {
    margin: 1rem 0 0 0;
}

.transaction-review li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.tracking-guide {
    margin: 2rem 0;
}

.tracking-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #9b59b6;
}

.tracking-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.tracking-section ul {
    margin: 1rem 0;
}

.tracking-section li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.tracking-section li strong {
    color: #2c3e50;
}

.update-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.update-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.update-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.update-card h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.update-card p {
    color: #666;
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
}

.distribution-guide {
    margin: 2rem 0;
}

.distribution-process {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #27ae60;
}

.distribution-process h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.distribution-process ol {
    margin: 1rem 0 0 0;
    padding-left: 1.5rem;
}

.distribution-process li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.post-distribution-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.option-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.option-card h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.option-card p {
    color: #666;
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
}

.refund-guide {
    margin: 2rem 0;
}

.refund-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #e74c3c;
}

.refund-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.refund-section ul {
    margin: 1rem 0;
}

.refund-section li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.refund-section li strong {
    color: #2c3e50;
}

.refund-steps {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #e74c3c;
}

.refund-steps ol {
    margin: 1rem 0 0 0;
    padding-left: 1.5rem;
}

.refund-steps li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.refund-steps li strong {
    color: #2c3e50;
}

.best-practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.practice-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.practice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.practice-card h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.practice-card ul {
    margin: 1rem 0 0 0;
}

.practice-card li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* Responsive design for Presale Participation Guide */
@media (max-width: 768px) {
    .filter-options {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .update-types {
        grid-template-columns: 1fr;
    }
    
    .post-distribution-options {
        grid-template-columns: 1fr;
    }
    
    .best-practices-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-section,
    .search-section,
    .eval-section,
    .tracking-section,
    .refund-section {
        padding: 1.5rem;
    }
    
    .presale-card-guide,
    .balance-info,
    .transaction-review,
    .distribution-process,
    .refund-steps {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .filter-section,
    .search-section,
    .eval-section,
    .tracking-section,
    .refund-section {
        padding: 1rem;
    }
    
    .presale-card-guide,
    .balance-info,
    .transaction-review,
    .distribution-process,
    .refund-steps {
        padding: 1rem;
    }
    
    .practice-card {
        padding: 1.5rem;
    }
    
    .filter-option,
    .metric-card,
    .update-card,
    .option-card {
        padding: 1rem;
    }
}

/* Print styles for Presale Participation Guide */
@media print {
    .filter-section,
    .search-section,
    .eval-section,
    .tracking-section,
    .refund-section,
    .practice-card {
        background-color: white !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
    
    .presale-card-guide,
    .balance-info,
    .transaction-review,
    .distribution-process,
    .refund-steps {
        background-color: #f9f9f9 !important;
        border: 1px solid #ddd !important;
    }
    
    .filter-option,
    .metric-card,
    .update-card,
    .option-card {
        background-color: #f9f9f9 !important;
        border: 1px solid #ddd !important;
    }
    
    .best-practices-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Enhanced accessibility for Presale Participation Guide */
.filter-section:focus-within,
.search-section:focus-within,
.eval-section:focus-within,
.tracking-section:focus-within,
.refund-section:focus-within,
.practice-card:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.filter-option:focus,
.metric-card:focus,
.update-card:focus,
.option-card:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Enhanced visual hierarchy for presale guide */
.filter-section h3,
.search-section h3,
.eval-section h3,
.tracking-section h3,
.refund-section h3 {
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Color coding for different sections */
.filter-section {
    border-left-color: #27ae60; /* Green for filtering */
}

.search-section {
    border-left-color: #9b59b6; /* Purple for search */
}

.eval-section {
    border-left-color: #e67e22; /* Orange for evaluation */
}

.tracking-section {
    border-left-color: #9b59b6; /* Purple for tracking */
}

.refund-section {
    border-left-color: #e74c3c; /* Red for refunds */
}

.practice-card {
    border-left-color: #3498db; /* Blue for best practices */
}/*
 Creating Presales page specific styles */
.prereq-checklist {
    margin: 2rem 0;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.checklist-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.checklist-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.checklist-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.checklist-item h4 {
    margin: 1rem 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.checklist-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.checklist-item ul {
    text-align: left;
    margin: 1rem 0;
}

.checklist-item li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.xwt-fee-details {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #e67e22;
}

.xwt-fee-details h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.fee-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.fee-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fee-item h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.fee-item ul {
    margin: 1rem 0 0 0;
}

.fee-item li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.token-requirements {
    margin: 2rem 0;
}

.requirement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.req-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #27ae60;
}

.req-card h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.req-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.req-card ul {
    margin: 1rem 0 0 0;
}

.req-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.config-guide {
    margin: 2rem 0;
}

.config-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #9b59b6;
}

.config-section h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.config-details {
    margin: 1.5rem 0;
}

.config-item {
    margin-bottom: 2rem;
}

.config-item h5 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.config-item p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.config-item ul {
    margin: 1rem 0;
}

.config-item li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.timing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.timing-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.timing-item h5 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.timing-item p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.timing-item ul {
    margin: 1rem 0 0 0;
}

.timing-item li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.goal-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

.goal-item h5 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.goal-item p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.goal-item ul {
    margin: 1rem 0 0 0;
}

.goal-item li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.funding-implications {
    margin: 2rem 0;
}

.implication-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.impl-card {
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.impl-card.success {
    background-color: #d4edda;
    border-left: 4px solid #27ae60;
}

.impl-card.warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.impl-card h6 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.impl-card ul {
    margin: 1rem 0 0 0;
}

.impl-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.liquidity-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.liq-option {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.liq-option h5 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.liq-option p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.liq-option ul {
    margin: 1rem 0 0 0;
}

.liq-option li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.deposit-guide {
    margin: 2rem 0;
}

.calculation-guide {
    margin: 2rem 0;
}

.calc-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.calc-item h5 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.calc-item p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.deposit-verification {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #27ae60;
}

.deposit-verification h5 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.deposit-verification ul {
    margin: 1rem 0 0 0;
}

.deposit-verification li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.activation-checklist {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #27ae60;
}

.activation-checklist h5 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.activation-checklist ul {
    margin: 1rem 0 0 0;
}

.activation-checklist li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.common-issues {
    margin: 2rem 0;
}

.issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.issue-card {
    background-color: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.issue-card h4 {
    margin-top: 0;
    color: #856404;
    font-size: 1.1rem;
}

.issue-card p {
    color: #856404;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.issue-card ul {
    margin: 1rem 0 0 0;
}

.issue-card li {
    margin-bottom: 0.5rem;
    color: #856404;
    line-height: 1.5;
}

.management-guide {
    margin: 2rem 0;
}

.dashboard-features {
    margin: 2rem 0;
}

.dashboard-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.dashboard-card h4 {
    margin: 1rem 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.dashboard-card ul {
    text-align: left;
    margin: 1rem 0 0 0;
}

.dashboard-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.monitoring-strategies {
    margin: 2rem 0;
}

.strategy-sections {
    margin: 2rem 0;
}

.strategy-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #27ae60;
}

.strategy-section h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.task-list {
    margin: 2rem 0;
}

.task-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.task-item h5 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.task-item ul {
    margin: 1rem 0 0 0;
}

.task-item li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.kpi-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #9b59b6;
}

.kpi-card h5 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.kpi-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.kpi-card ul {
    margin: 1rem 0 0 0;
}

.kpi-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.emergency-procedures {
    margin: 2rem 0;
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.emergency-card {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.emergency-card.critical {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
}

.emergency-card.warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.emergency-card h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.emergency-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.emergency-card ul {
    margin: 1rem 0;
}

.emergency-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.emergency-action {
    background-color: rgba(0,0,0,0.1);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-weight: 500;
}

.completion-process {
    margin: 2rem 0;
}

.completion-timeline {
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.timeline-marker {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 2rem;
    flex-shrink: 0;
}

.timeline-marker.success {
    background-color: #27ae60;
    color: white;
}

.timeline-marker.failure {
    background-color: #e74c3c;
    color: white;
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.completion-steps {
    margin: 1.5rem 0;
}

.completion-steps h5 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin: 1.5rem 0 1rem 0;
}

.completion-steps ul {
    margin: 1rem 0;
}

.completion-steps li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.liquidity-explanation {
    margin: 2rem 0;
}

.liquidity-process {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.process-step {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    border-left: 4px solid #3498db;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.process-step h4 {
    margin: 1rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.process-step p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.process-arrow {
    font-size: 2rem;
    color: #3498db;
    font-weight: bold;
    margin: 0 1rem;
}

.liquidity-benefits {
    margin: 2rem 0;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #27ae60;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h4 {
    margin: 1rem 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.benefit-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.benefit-card ul {
    text-align: left;
    margin: 1rem 0 0 0;
}

.benefit-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.liquidity-calculations {
    margin: 2rem 0;
}

.calc-examples {
    margin: 2rem 0;
}

.example-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.example-card h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.scenario-details {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.scenario-details ul {
    margin: 1rem 0 0 0;
}

.scenario-details li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.calculation-breakdown {
    margin: 2rem 0;
}

.calculation-breakdown h5 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.calc-step {
    margin-bottom: 1.5rem;
}

.calc-step strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
}

.liquidity-best-practices {
    margin: 2rem 0;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.practice-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #27ae60;
}

.practice-card h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.recommendation {
    background-color: #d4edda;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 500;
    color: #155724;
}

.practice-card ul {
    margin: 1rem 0 0 0;
}

.practice-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.support-options {
    margin: 2rem 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.support-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.support-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.support-card h3 {
    margin: 1rem 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.support-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.support-card ul {
    text-align: left;
    margin: 1rem 0 0 0;
}

.support-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.support-card a {
    color: #3498db;
    text-decoration: none;
}

.support-card a:hover {
    text-decoration: underline;
}

/* Responsive design for Creating Presales page */
@media (max-width: 768px) {
    .checklist-grid {
        grid-template-columns: 1fr;
    }
    
    .fee-breakdown {
        grid-template-columns: 1fr;
    }
    
    .requirement-cards {
        grid-template-columns: 1fr;
    }
    
    .timing-grid {
        grid-template-columns: 1fr;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .implication-cards {
        grid-template-columns: 1fr;
    }
    
    .liquidity-options {
        grid-template-columns: 1fr;
    }
    
    .issue-grid {
        grid-template-columns: 1fr;
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-marker {
        margin: 0 auto 1rem auto;
    }
    
    .liquidity-process {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    
    .practice-grid {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .config-section,
    .strategy-section,
    .checklist-item,
    .dashboard-card,
    .benefit-card,
    .support-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .checklist-icon,
    .card-icon,
    .step-icon,
    .benefit-icon,
    .support-icon {
        font-size: 2.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
        min-width: 150px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .config-section,
    .strategy-section,
    .checklist-item,
    .dashboard-card,
    .benefit-card,
    .support-card,
    .emergency-card {
        padding: 1rem;
    }
    
    .xwt-fee-details,
    .calc-item,
    .deposit-verification,
    .activation-checklist {
        padding: 1rem;
    }
}

/* Print styles for Creating Presales page */
@media print {
    .checklist-item,
    .config-section,
    .strategy-section,
    .dashboard-card,
    .benefit-card,
    .support-card,
    .emergency-card,
    .timeline-item {
        background-color: white !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
    
    .liquidity-process {
        flex-direction: column;
    }
    
    .process-arrow {
        display: none;
    }
    
    .cta-button {
        display: none;
    }
    
    .checklist-grid,
    .benefit-grid,
    .support-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Enhanced accessibility for Creating Presales page */
.checklist-item:focus-within,
.config-section:focus-within,
.strategy-section:focus-within,
.dashboard-card:focus-within,
.benefit-card:focus-within,
.support-card:focus-within,
.emergency-card:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.process-step:focus,
.timeline-item:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Enhanced visual hierarchy */
.config-section h4,
.strategy-section h4 {
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Color coding for different sections */
.checklist-item {
    border-left-color: #3498db; /* Blue for prerequisites */
}

.config-section {
    border-left-color: #9b59b6; /* Purple for configuration */
}

.strategy-section {
    border-left-color: #27ae60; /* Green for management */
}

.emergency-card.critical {
    border-left-color: #dc3545; /* Red for critical */
}

.emergency-card.warning {
    border-left-color: #ffc107; /* Yellow for warnings */
}

.benefit-card {
    border-left-color: #27ae60; /* Green for benefits */
}

.support-card {
    border-left-color: #3498db; /* Blue for support */
}
/* Por
tfolio & Analytics page specific styles */
.portfolio-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.portfolio-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.portfolio-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.portfolio-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.portfolio-section ul {
    margin: 1rem 0;
}

.portfolio-section li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.portfolio-section li strong {
    color: #2c3e50;
}

.participation-guide {
    margin: 2rem 0;
}

.participation-step {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #27ae60;
}

.participation-step h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.participation-step ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.participation-step li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.participation-details {
    margin: 2rem 0;
}

.detail-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.detail-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.detail-card h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.detail-card ul {
    margin: 1rem 0 0 0;
}

.detail-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.detail-card li strong {
    color: #2c3e50;
}

.analytics-guide {
    margin: 2rem 0;
}

.analytics-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #9b59b6;
}

.analytics-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.chart-guide {
    margin: 2rem 0;
}

.chart-type {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3498db;
}

.chart-type h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.chart-type ul {
    margin: 1rem 0 0 0;
}

.chart-type li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.chart-type li strong {
    color: #2c3e50;
}

.creator-guide {
    margin: 2rem 0;
}

.creator-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #e67e22;
}

.creator-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.creator-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.creator-feature {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.creator-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.creator-feature h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.creator-feature ul {
    margin: 1rem 0 0 0;
}

.creator-feature li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.creator-feature li strong {
    color: #2c3e50;
}

.management-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.management-tool {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

.management-tool h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.management-tool ul {
    margin: 1rem 0 0 0;
}

.management-tool li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.lifecycle-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.lifecycle-stage {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #9b59b6;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lifecycle-stage:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.lifecycle-stage h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.lifecycle-stage ul {
    margin: 1rem 0 0 0;
}

.lifecycle-stage li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.historical-guide {
    margin: 2rem 0;
}

.historical-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #34495e;
}

.historical-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.data-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.data-type {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.data-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.data-type h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.data-type ul {
    margin: 1rem 0 0 0;
}

.data-type li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.data-type li strong {
    color: #2c3e50;
}

.access-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.access-method {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
    transition: transform 0.2s, box-shadow 0.2s;
}

.access-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.access-method h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.access-method ul {
    margin: 1rem 0 0 0;
}

.access-method li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.access-method li strong {
    color: #2c3e50;
}

.decision-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.decision-tool {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e67e22;
}

.decision-tool h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.decision-tool ul {
    margin: 1rem 0 0 0;
}

.decision-tool li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.advanced-guide {
    margin: 2rem 0;
}

.advanced-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #8e44ad;
}

.advanced-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.optimization-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.optimization-tool {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.optimization-tool:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.optimization-tool h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.optimization-tool ul {
    margin: 1rem 0 0 0;
}

.optimization-tool li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.alert-system {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.alert-type {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
}

.alert-type h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.alert-type ul {
    margin: 1rem 0 0 0;
}

.alert-type li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Responsive design for Portfolio & Analytics page */
@media (max-width: 768px) {
    .portfolio-sections {
        grid-template-columns: 1fr;
    }
    
    .detail-cards {
        grid-template-columns: 1fr;
    }
    
    .creator-features {
        grid-template-columns: 1fr;
    }
    
    .management-tools {
        grid-template-columns: 1fr;
    }
    
    .lifecycle-stages {
        grid-template-columns: 1fr;
    }
    
    .data-types {
        grid-template-columns: 1fr;
    }
    
    .access-methods {
        grid-template-columns: 1fr;
    }
    
    .decision-tools {
        grid-template-columns: 1fr;
    }
    
    .optimization-tools {
        grid-template-columns: 1fr;
    }
    
    .alert-system {
        grid-template-columns: 1fr;
    }
    
    .portfolio-section,
    .participation-step,
    .analytics-section,
    .creator-section,
    .historical-section,
    .advanced-section {
        padding: 1.5rem;
    }
    
    .detail-card,
    .creator-feature,
    .management-tool,
    .lifecycle-stage,
    .data-type,
    .access-method,
    .decision-tool,
    .optimization-tool,
    .alert-type,
    .chart-type {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .portfolio-section,
    .participation-step,
    .analytics-section,
    .creator-section,
    .historical-section,
    .advanced-section {
        padding: 1rem;
    }
    
    .detail-card,
    .creator-feature,
    .management-tool,
    .lifecycle-stage,
    .data-type,
    .access-method,
    .decision-tool,
    .optimization-tool,
    .alert-type,
    .chart-type {
        padding: 0.75rem;
    }
}

/* Print styles for Portfolio & Analytics page */
@media print {
    .portfolio-sections,
    .detail-cards,
    .creator-features,
    .management-tools,
    .lifecycle-stages,
    .data-types,
    .access-methods,
    .decision-tools,
    .optimization-tools,
    .alert-system {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .portfolio-section,
    .participation-step,
    .analytics-section,
    .creator-section,
    .historical-section,
    .advanced-section,
    .detail-card,
    .creator-feature,
    .management-tool,
    .lifecycle-stage,
    .data-type,
    .access-method,
    .decision-tool,
    .optimization-tool,
    .alert-type,
    .chart-type {
        background-color: white !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
}

/* Enhanced accessibility for Portfolio & Analytics page */
.portfolio-section:focus-within,
.detail-card:focus-within,
.creator-feature:focus-within,
.management-tool:focus-within,
.lifecycle-stage:focus-within,
.data-type:focus-within,
.access-method:focus-within,
.decision-tool:focus-within,
.optimization-tool:focus-within,
.alert-type:focus-within,
.chart-type:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Improved visual hierarchy for Portfolio & Analytics page */
.participation-details h3,
.analytics-section h3,
.creator-section h3,
.historical-section h3,
.advanced-section h3 {
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Enhanced color coding for different sections */
.portfolio-section {
    border-left-color: #3498db; /* Blue for portfolio overview */
}

.participation-step {
    border-left-color: #27ae60; /* Green for participation tracking */
}

.analytics-section {
    border-left-color: #9b59b6; /* Purple for analytics */
}

.creator-section {
    border-left-color: #e67e22; /* Orange for creator tools */
}

.historical-section {
    border-left-color: #34495e; /* Dark gray for historical data */
}

.advanced-section {
    border-left-color: #8e44ad; /* Dark purple for advanced features */
}
/* Sec
urity page specific styles */
.security-practices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.practice-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.practice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.practice-card.critical {
    border-left: 4px solid #e74c3c;
    background-color: #fdf2f2;
}

.practice-card.important {
    border-left: 4px solid #f39c12;
    background-color: #fefbf3;
}

.practice-card.moderate {
    border-left: 4px solid #3498db;
    background-color: #f8fbff;
}

.practice-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    display: block;
}

.practice-card h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
    text-align: center;
}

.practice-card ul {
    margin: 1rem 0;
}

.practice-card li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.evaluation-framework {
    margin: 2rem 0;
}

.eval-category {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #27ae60;
}

.eval-category h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.checklist h4 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.1rem;
}

.green-flags {
    background-color: #f8fff8;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #27ae60;
}

.red-flags {
    background-color: #fff8f8;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
}

.green-flags li,
.red-flags li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.financial-checks,
.platform-verification {
    margin-top: 1.5rem;
}

.financial-checks h4,
.platform-verification h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.safety-mechanisms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.mechanism-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mechanism-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.mechanism-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    display: block;
}

.mechanism-card h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
    text-align: center;
}

.risk-strategies {
    margin: 2rem 0;
}

.strategy-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #9b59b6;
}

.strategy-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.guideline-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.guideline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.guideline-card h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.guideline-card p {
    color: #666;
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
}

.scam-awareness {
    margin: 2rem 0;
}

.scam-type {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #e74c3c;
}

.scam-type h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.scam-details h4 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.1rem;
}

.emergency-guide {
    margin: 2rem 0;
}

.emergency-step {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #e67e22;
}

.emergency-step h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.security-checklist {
    margin: 2rem 0;
}

.checklist-section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #27ae60;
}

.checklist-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    padding-left: 0.5rem;
}

/* Troubleshooting page specific styles */
.error-solutions {
    margin: 2rem 0;
}

.error-card {
    background-color: white;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.error-header {
    background-color: #fff3cd;
    padding: 1.5rem;
    border-left: 4px solid #ffc107;
    display: flex;
    align-items: center;
}

.error-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.error-header h3 {
    margin: 0;
    color: #856404;
    font-size: 1.2rem;
}

.error-content {
    padding: 2rem;
}

.error-content h4 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.1rem;
}

.error-content ol,
.error-content ul {
    margin: 1rem 0;
}

.error-content li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.refund-guide {
    margin: 2rem 0;
}

.refund-process {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #27ae60;
}

.refund-process h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.process-steps {
    margin: 2rem 0;
}

.refund-scenarios {
    margin: 2rem 0;
}

.refund-scenarios h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.scenario-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.scenario-card h4 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.scenario-card p {
    margin: 0.5rem 0;
    line-height: 1.5;
}

.refund-troubleshooting {
    margin: 2rem 0;
}

.refund-troubleshooting h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.balance-troubleshooting {
    margin: 2rem 0;
}

.issue-category {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #9b59b6;
}

.issue-category h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.issue-item {
    margin-bottom: 2rem;
}

.issue-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.solution-steps p {
    margin: 1rem 0;
    line-height: 1.5;
}

.solution-steps strong {
    color: #2c3e50;
}

.platform-issues {
    margin: 2rem 0;
}

.platform-category {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #e67e22;
}

.platform-category h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.issue-solution {
    margin-bottom: 2rem;
}

.issue-solution h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.support-method {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.2s, box-shadow 0.2s;
}

.support-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.support-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    display: block;
}

.support-method h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
    text-align: center;
}

.support-method p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background-color: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.faq-item h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
}

.emergency-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.contact-card.urgent {
    border-left: 4px solid #e74c3c;
    background-color: #fdf2f2;
}

.contact-card.important {
    border-left: 4px solid #f39c12;
    background-color: #fefbf3;
}

.contact-card.standard {
    border-left: 4px solid #3498db;
    background-color: #f8fbff;
}

.contact-card h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Responsive design for security and troubleshooting pages */
@media (max-width: 768px) {
    .security-practices {
        grid-template-columns: 1fr;
    }
    
    .safety-mechanisms {
        grid-template-columns: 1fr;
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
    
    .emergency-contacts {
        grid-template-columns: 1fr;
    }
    
    .practice-card,
    .mechanism-card,
    .guideline-card,
    .support-method,
    .contact-card {
        padding: 1.5rem;
    }
    
    .eval-category,
    .strategy-section,
    .scam-type,
    .emergency-step,
    .checklist-section,
    .refund-process,
    .issue-category,
    .platform-category {
        padding: 1.5rem;
    }
    
    .error-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .practice-card,
    .mechanism-card,
    .guideline-card,
    .support-method,
    .contact-card {
        padding: 1rem;
    }
    
    .eval-category,
    .strategy-section,
    .scam-type,
    .emergency-step,
    .checklist-section,
    .refund-process,
    .issue-category,
    .platform-category {
        padding: 1rem;
    }
    
    .error-content {
        padding: 1rem;
    }
    
    .error-header {
        padding: 1rem;
    }
    
    .practice-icon,
    .mechanism-icon,
    .support-icon {
        font-size: 2rem;
    }
}

/* Print styles for security and troubleshooting pages */
@media print {
    .practice-card,
    .mechanism-card,
    .guideline-card,
    .support-method,
    .contact-card,
    .eval-category,
    .strategy-section,
    .scam-type,
    .emergency-step,
    .checklist-section,
    .refund-process,
    .issue-category,
    .platform-category,
    .error-card {
        background-color: white !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
    
    .error-header {
        background-color: #f9f9f9 !important;
    }
}

/* Enhanced accessibility for security and troubleshooting pages */
.practice-card:focus-within,
.mechanism-card:focus-within,
.guideline-card:focus-within,
.support-method:focus-within,
.contact-card:focus-within,
.eval-category:focus-within,
.strategy-section:focus-within,
.scam-type:focus-within,
.emergency-step:focus-within,
.checklist-section:focus-within,
.faq-item:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Improved visual hierarchy */
.practice-card h3,
.mechanism-card h3,
.support-method h3,
.contact-card h3 {
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.eval-category h3,
.strategy-section h3,
.scam-type h3,
.emergency-step h3,
.checklist-section h3,
.refund-process h3,
.issue-category h3,
.platform-category h3 {
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
/* I
nteractive Elements and User Experience Enhancements */

/* Expandable FAQ Sections */
.expandable-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.expandable-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.expandable-header {
    position: relative;
    cursor: pointer;
    padding-right: 2rem !important;
    transition: background-color 0.2s ease;
    user-select: none;
}

.expandable-header:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.expandable-header:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.expand-indicator {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.expandable-content {
    transition: all 0.3s ease;
    overflow: hidden;
}

.expandable-item[data-expanded] .expand-indicator {
    transform: translateY(-50%) rotate(180deg);
}

/* FAQ specific styles */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background-color: white;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.faq-question {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 1px solid #e1e8ed;
}

.faq-answer {
    padding: 1.5rem;
    background-color: white;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Enhanced Breadcrumb Navigation */
.breadcrumb {
    background: linear-gradient(135deg, #ecf0f1 0%, #d5dbdb 100%);
    padding: 0.75rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #bdc3c7;
}

.breadcrumb-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: #3498db;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-link:hover {
    background-color: rgba(52, 152, 219, 0.1);
    text-decoration: underline;
}

.breadcrumb-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #7f8c8d;
    font-weight: bold;
}

.breadcrumb-current {
    color: #2c3e50;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
}

/* Smooth Scrolling Anchor Links */
.anchor-link {
    opacity: 0;
    margin-left: 0.5rem;
    color: #3498db;
    text-decoration: none;
    font-size: 0.8em;
    transition: opacity 0.3s ease;
    font-weight: normal;
}

.anchor-link:hover {
    color: #2980b9;
    text-decoration: none;
}

.anchor-link:focus {
    opacity: 1;
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

h2:hover .anchor-link,
h3:hover .anchor-link,
h4:hover .anchor-link {
    opacity: 1;
}

/* Progressive Disclosure */
.show-more-btn,
.progressive-toggle {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.show-more-btn:hover,
.progressive-toggle:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.show-more-btn:focus,
.progressive-toggle:focus {
    outline: 2px solid #2980b9;
    outline-offset: 2px;
}

.progressive-toggle {
    background-color: transparent;
    color: #3498db;
    border: 1px solid #3498db;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.progressive-toggle:hover {
    background-color: #3498db;
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.back-to-top:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.back-to-top:focus {
    outline: 2px solid #2980b9;
    outline-offset: 2px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Enhanced Focus Styles */
.expandable-header:focus,
.show-more-btn:focus,
.progressive-toggle:focus,
.back-to-top:focus,
.anchor-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Smooth Transitions */
.expandable-content {
    transition: all 0.3s ease;
}

.expandable-header {
    transition: background-color 0.2s ease;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .breadcrumb-content {
        padding: 0 0.5rem;
    }
    
    .breadcrumb-list {
        font-size: 0.9rem;
    }
    
    .breadcrumb-separator {
        margin: 0 0.25rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .expand-indicator {
        font-size: 1.3rem;
    }
    
    .expandable-header {
        padding-right: 1.5rem !important;
    }
    
    .show-more-btn,
    .progressive-toggle {
        width: 100%;
        text-align: center;
        margin: 1rem 0;
    }
    
    .anchor-link {
        display: none; /* Hide anchor links on mobile for cleaner look */
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 0.5rem 0;
    }
    
    .breadcrumb-list {
        font-size: 0.8rem;
    }
    
    .faq-question {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 1rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .expand-indicator {
        font-size: 1.2rem;
        right: 0.25rem;
    }
}

/* Print Styles */
@media print {
    .back-to-top,
    .expand-indicator,
    .show-more-btn,
    .progressive-toggle {
        display: none !important;
    }
    
    .expandable-content {
        display: block !important;
    }
    
    .breadcrumb {
        background: none !important;
        border-bottom: 1px solid #333 !important;
    }
    
    .breadcrumb-link {
        color: #333 !important;
    }
    
    .anchor-link {
        display: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .expandable-header:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }
    
    .expand-indicator {
        color: #000;
    }
    
    .breadcrumb-link {
        color: #0000EE;
    }
    
    .back-to-top {
        background-color: #000;
        border: 2px solid #fff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .expandable-content,
    .expandable-header,
    .back-to-top,
    .show-more-btn,
    .progressive-toggle,
    .anchor-link,
    .expand-indicator {
        transition: none;
    }
    
    .back-to-top:hover {
        transform: none;
    }
    
    .show-more-btn:hover,
    .progressive-toggle:hover {
        transform: none;
    }
}

/* Enhanced Visual Hierarchy */
.expandable-item[data-expanded] {
    box-shadow: 0 2px 12px rgba(52, 152, 219, 0.15);
}

.expandable-item[data-expanded] .expandable-header {
    background-color: rgba(52, 152, 219, 0.05);
}

/* Loading States */
.expandable-content[aria-hidden="true"] {
    display: none;
}

.expandable-content[aria-hidden="false"] {
    display: block;
}

/* Keyboard Navigation Enhancements */
.expandable-header[tabindex="0"]:focus {
    background-color: rgba(52, 152, 219, 0.1);
}

/* Improved Accessibility */
.expandable-header[aria-expanded="true"] .expand-indicator::before {
    content: "Collapse section";
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.expandable-header[aria-expanded="false"] .expand-indicator::before {
    content: "Expand section";
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/*
 ========================================
   REUSABLE COMPONENT TEMPLATES
   ======================================== */

/* Enhanced Information Cards */
.info-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 1.5rem 0;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.info-card-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem 0.5rem 1.5rem;
    border-bottom: 1px solid #ecf0f1;
}

.info-card-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.info-card-title {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-card-content {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.info-card-content p:last-child {
    margin-bottom: 0;
}

/* Info card variants */
.info-card-default {
    border-left: 4px solid #3498db;
}

.info-card-success {
    border-left: 4px solid #27ae60;
}

.info-card-warning {
    border-left: 4px solid #f39c12;
}

.info-card-danger {
    border-left: 4px solid #e74c3c;
}

/* Enhanced Alert Components */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.alert-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.alert-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.alert-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.alert-content {
    margin: 0;
}

.alert-content p:last-child {
    margin-bottom: 0;
}

/* Alert variants */
.alert-info {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
    color: #0d47a1;
}

.alert-success {
    background-color: #e8f5e8;
    border-left-color: #4caf50;
    color: #1b5e20;
}

.alert-warning {
    background-color: #fff8e1;
    border-left-color: #ff9800;
    color: #e65100;
}

.alert-danger {
    background-color: #ffebee;
    border-left-color: #f44336;
    color: #b71c1c;
}

/* Screenshot Gallery Components */
.screenshot-gallery {
    margin: 2rem 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid #6c757d;
}

.gallery-header {
    margin-bottom: 2rem;
}

.gallery-title {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.gallery-description {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.gallery-caption {
    padding: 1.5rem;
}

.gallery-caption h5 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.gallery-caption p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Enhanced Screenshot Placeholder */
.screenshot-placeholder {
    background-color: white;
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem 0;
    text-align: center;
    transition: border-color 0.3s, background-color 0.3s;
    position: relative;
}

.screenshot-placeholder:hover {
    border-color: #3498db;
    background-color: #f8f9fa;
}

.screenshot-placeholder.with-image {
    border: none;
    padding: 0;
    background-color: transparent;
}

.screenshot-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-caption {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0 0 6px 6px;
    font-size: 0.9rem;
    color: #666;
    text-align: left;
}

.image-caption strong {
    color: #2c3e50;
}

/* Comparison Table Components */
.comparison-table-container {
    margin: 2rem 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.table-title {
    margin: 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    color: #2c3e50;
    font-size: 1.2rem;
    border-bottom: 1px solid #ecf0f1;
}

.table-responsive {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.comparison-table tr:hover {
    background-color: #f8f9fa;
}

.table-cell-positive {
    color: #27ae60;
    font-weight: 500;
}

.table-cell-negative {
    color: #e74c3c;
    font-weight: 500;
}

.table-cell-partial {
    color: #f39c12;
    font-weight: 500;
}

/* Quick Reference Card */
.quick-reference-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #17a2b8;
}

.quick-ref-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.quick-ref-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.quick-ref-title {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.quick-ref-content {
    display: grid;
    gap: 0.75rem;
}

.quick-ref-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.quick-ref-item:last-child {
    border-bottom: none;
}

.ref-label {
    min-width: 120px;
    color: #2c3e50;
    font-weight: 500;
}

.ref-value {
    color: #666;
    flex: 1;
}

/* Expandable FAQ Components */
.faq-container {
    margin: 2rem 0;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question[aria-expanded="true"] {
    background-color: #e3f2fd;
}

.faq-question-text {
    flex: 1;
    text-align: left;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    border-top: 1px solid #ecf0f1;
}

.faq-answer-content {
    padding: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Progress Indicator Components */
.progress-indicator {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.progress-title {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.progress-status {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.progress-bar {
    height: 8px;
    background-color: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background-color: #3498db;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    right: -50%;
    height: 2px;
    background-color: #ecf0f1;
    z-index: 1;
}

.progress-step.completed:not(:last-child)::after {
    background-color: #27ae60;
}

.step-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    background-color: #ecf0f1;
    color: #7f8c8d;
    position: relative;
    z-index: 2;
}

.progress-step.completed .step-marker {
    background-color: #27ae60;
    color: white;
}

.progress-step.active .step-marker {
    background-color: #3498db;
    color: white;
}

.step-label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

.progress-step.active .step-label {
    color: #3498db;
    font-weight: 500;
}

.progress-step.completed .step-label {
    color: #27ae60;
    font-weight: 500;
}

/* Enhanced Code Block Components */
.code-block-container {
    margin: 1.5rem 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #2c3e50;
    color: white;
    font-size: 0.85rem;
}

.code-language {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.copy-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.copy-button:hover {
    background-color: rgba(255,255,255,0.1);
}

.code-block {
    margin: 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border: none;
    font-family: 'Courier New', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
    color: #2c3e50;
}

/* Call-to-Action Components */
.cta-container {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 8px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 600;
}

.cta-description {
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 0.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-primary {
    background-color: white;
    color: #3498db;
}

.cta-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cta-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.cta-secondary:hover {
    background-color: white;
    color: #3498db;
    transform: translateY(-2px);
}

/* Metric Display Components */
.metric-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid #3498db;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.metric-change {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.metric-change.positive {
    background-color: #e8f5e8;
    color: #27ae60;
}

.metric-change.negative {
    background-color: #ffebee;
    color: #e74c3c;
}

.metric-change.neutral {
    background-color: #f8f9fa;
    color: #666;
}

/* Responsive Design for Templates */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-step:not(:last-child)::after {
        display: none;
    }
    
    .cta-container {
        padding: 2rem 1rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-button {
        display: block;
        margin: 0.5rem 0;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .ref-label {
        min-width: 100px;
        font-size: 0.9rem;
    }
    
    .ref-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .info-card-header,
    .info-card-content {
        padding: 1rem;
    }
    
    .alert {
        padding: 1rem;
    }
    
    .screenshot-gallery {
        padding: 1rem;
    }
    
    .gallery-caption {
        padding: 1rem;
    }
    
    .quick-reference-card {
        padding: 1rem;
    }
    
    .progress-indicator {
        padding: 1rem;
    }
    
    .metric-card {
        padding: 1.5rem;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .metric-icon {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-answer-content {
        padding: 1rem;
    }
}

/* Print Styles for Templates */
@media print {
    .cta-container,
    .copy-button,
    .faq-toggle {
        display: none;
    }
    
    .info-card,
    .alert,
    .screenshot-gallery,
    .comparison-table-container,
    .quick-reference-card,
    .progress-indicator,
    .metric-card,
    .faq-item {
        background-color: white !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
    
    .faq-answer {
        display: block !important;
    }
    
    .faq-question {
        background-color: #f8f9fa !important;
    }
}

/* Accessibility Enhancements */
.info-card:focus-within,
.alert:focus-within,
.gallery-item:focus-within,
.metric-card:focus-within,
.quick-reference-card:focus-within,
.progress-indicator:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.faq-question:focus {
    outline: 2px solid #3498db;
    outline-offset: -2px;
}

.copy-button:focus,
.cta-button:focus {
    outline: 2px solid #2980b9;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .info-card,
    .alert,
    .screenshot-gallery,
    .comparison-table-container,
    .quick-reference-card,
    .progress-indicator,
    .metric-card,
    .faq-item {
        border: 2px solid #000;
    }
    
    .progress-fill {
        background-color: #000;
    }
    
    .step-marker {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .info-card,
    .gallery-item,
    .metric-card,
    .faq-toggle,
    .progress-fill,
    .cta-button {
        transition: none;
    }
    
    .info-card:hover,
    .gallery-item:hover,
    .metric-card:hover {
        transform: none;
    }
}