/* Glassmorphism SEO Analyzer Styles */
#seo-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 10000;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#seo-floating-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#seo-analyzer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
}

.seo-analyzer-panel {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    width: 100%;
    max-width: 1024px;
    max-height: 90vh; /* Добавьте это */
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden; /* Убедитесь, что это есть */
}

.seo-analyzer-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seo-analyzer-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.seo-analyzer-close {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seo-analyzer-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.seo-analyzer-content {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
}

.seo-loading {
    text-align: center;
    color: #ffffff;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.seo-loading p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.seo-results {
    color: #ffffff;
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 8px;
}

.seo-results::-webkit-scrollbar {
    width: 6px;
}

.seo-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.seo-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.seo-results::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Custom Scrollbar for Firefox */
.seo-results {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}
.seo-dashboard,
.seo-navigation,
.seo-section {
    margin-bottom: 20px;
}

/* Ensure sections don't overflow */
.seo-section {
    max-width: 100%;
    overflow: hidden;
}

/* Fix for headings grid in scrollable area */
.headings-grid {
    max-height: none;
    overflow: visible;
}

/* Responsive height adjustments */
@media (max-height: 800px) {
    .seo-results {
        max-height: 65vh;
    }
}

@media (max-height: 600px) {
    .seo-results {
        max-height: 60vh;
    }
}
/* Стили для результатов анализа */
.seo-result-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.seo-result-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.seo-result-item.good {
    border-left: 4px solid #4CAF50;
}

.seo-result-item.warning {
    border-left: 4px solid #FF9800;
}

.seo-result-item.error {
    border-left: 4px solid #F44336;
}

.seo-result-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.seo-result-description {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    #seo-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
    
    .seo-analyzer-panel {
        margin: 10px;
        max-width: none;
    }
    
    .seo-analyzer-header {
        padding: 15px 20px;
    }
    
    .seo-analyzer-content {
        padding: 20px;
    }
}

/* Animation for panel appearance */
@keyframes glassSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.seo-analyzer-panel {
    animation: glassSlideIn 0.3s ease-out;
}

/* Overlay animation */
@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#seo-analyzer-overlay {
    animation: overlayFadeIn 0.3s ease-out;
}
/* SEO Dashboard Styles */
.seo-dashboard {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.overall-score {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all 0.3s ease;
}

.overall-score:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.score-circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(
        #4CAF50 var(--score-percent), 
        rgba(255, 255, 255, 0.1) 0
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 0 0 4px rgba(255, 255, 255, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.2);
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.score-value {
    position: relative;
    z-index: 2;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.score-circle small {
    position: relative;
    z-index: 2;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
    text-align: center;
}

.score-breakdown {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.breakdown-item span {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

.breakdown-item span::after {
    content: attr(data-score);
    font-weight: 600;
    color: #4CAF50;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 3px;
    transition: width 0.8s ease-in-out;
    position: relative;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

/* Score color variations based on value */
.breakdown-item:nth-child(1) .progress-fill {
    background: linear-gradient(90deg, #FF9800, #FFC107);
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.3);
}

.breakdown-item:nth-child(2) .progress-fill {
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.breakdown-item:nth-child(3) .progress-fill {
    background: linear-gradient(90deg, #2196F3, #03A9F4);
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .overall-score {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-circle::before {
        width: 80px;
        height: 80px;
    }
    
    .score-value {
        font-size: 28px;
    }
    
    .score-breakdown {
        width: 100%;
    }
}

/* Animation for score appearance */
@keyframes scoreReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.overall-score {
    animation: scoreReveal 0.6s ease-out;
}
/* SEO Navigation Styles */
.seo-navigation {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 8px;
    gap: 4px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.seo-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
}

.nav-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 8px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.nav-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

/* Individual button color accents on hover */
.nav-btn[data-section="basic"]:hover {
    background: rgba(255, 152, 0, 0.1);
}

.nav-btn[data-section="content"]:hover {
    background: rgba(33, 150, 243, 0.1);
}

.nav-btn[data-section="technical"]:hover {
    background: rgba(156, 39, 176, 0.1);
}

.nav-btn[data-section="performance"]:hover {
    background: rgba(76, 175, 80, 0.1);
}

.nav-btn[data-section="security"]:hover {
    background: rgba(244, 67, 54, 0.1);
}

.nav-btn[data-section="recommendations"]:hover {
    background: rgba(255, 193, 7, 0.1);
}

/* Active state with different colors */
.nav-btn[data-section="basic"].active {
    background: rgba(255, 152, 0, 0.15);
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.nav-btn[data-section="content"].active {
    background: rgba(33, 150, 243, 0.15);
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.nav-btn[data-section="technical"].active {
    background: rgba(156, 39, 176, 0.15);
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.nav-btn[data-section="performance"].active {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.nav-btn[data-section="security"].active {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.nav-btn[data-section="recommendations"].active {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .seo-navigation {
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px;
    }
    
    .nav-btn {
        flex: 1 1 calc(33.333% - 8px);
        min-width: 0;
        font-size: 12px;
        padding: 10px 6px;
    }
}

@media (max-width: 480px) {
    .seo-navigation {
        gap: 4px;
        padding: 8px;
    }
    
    .nav-btn {
        flex: 1 1 calc(50% - 6px);
        font-size: 11px;
        padding: 8px 4px;
    }
}

/* Animation for navigation appearance */
@keyframes navSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seo-navigation {
    animation: navSlideIn 0.4s ease-out 0.1s both;
}

/* Smooth transition for active state changes */
.nav-btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* SEO Sections Styles */
.seo-section {
    
    animation: sectionFadeIn 0.4s ease-out;
}

.seo-section.active {
    display: block;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seo-section h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: all 0.3s ease;
}

.metric-card.good::before {
    background: linear-gradient(180deg, #4CAF50, #8BC34A);
}

.metric-card.warning::before {
    background: linear-gradient(180deg, #FF9800, #FFC107);
}

.metric-card.bad::before {
    background: linear-gradient(180deg, #F44336, #E91E63);
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.metric-card.good .metric-value {
    color: #4CAF50;
}

.metric-card.warning .metric-value {
    color: #FF9800;
}

.metric-card.bad .metric-value {
    color: #F44336;
}

.metric-label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.metric-details {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.seo-value {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    word-break: break-word;
    line-height: 1.4;
}

/* Headings Section */
.headings-section {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
}

.headings-section h5 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.headings-grid {
    display: grid;
    gap: 16px;
}

.heading-level {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s ease;
}

.heading-level:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.heading-level.optimal {
    border-left: 4px solid #4CAF50;
}

.heading-level.warning {
    border-left: 4px solid #FF9800;
}

.heading-level.bad {
    border-left: 4px solid #F44336;
}

.heading-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.heading-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.heading-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.heading-titles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.heading-title {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.3;
    word-break: break-word;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.no-headings {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .metric-card {
        padding: 16px;
    }
    
    .headings-section {
        padding: 20px;
    }
    
    .heading-level {
        padding: 14px;
    }
    
    .heading-titles {
        flex-direction: column;
    }
    
    .heading-title {
        min-width: auto;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .seo-section h4 {
        font-size: 16px;
    }
    
    .headings-section {
        padding: 16px;
    }
    
    .heading-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Animation for metric cards 
.metric-card {
    animation: cardSlideIn 0.5s ease-out;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.metrics-grid .metric-card:nth-child(1) { animation-delay: 0.1s; }
.metrics-grid .metric-card:nth-child(2) { animation-delay: 0.2s; }
.metrics-grid .metric-card:nth-child(3) { animation-delay: 0.3s; }
.metrics-grid .metric-card:nth-child(4) { animation-delay: 0.4s; }
.metrics-grid .metric-card:nth-child(5) { animation-delay: 0.5s; }
.metrics-grid .metric-card:nth-child(6) { animation-delay: 0.6s; }
.metrics-grid .metric-card:nth-child(7) { animation-delay: 0.7s; }
.metrics-grid .metric-card:nth-child(8) { animation-delay: 0.8s; }
.metrics-grid .metric-card:nth-child(9) { animation-delay: 0.9s; }
*/
/* Content Section Styles */
#content-section {
    display: none;
}

#content-section.active {
    display: block;
}

/* Content Stats */
.content-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

/* Detailed Sections */
.detailed-sections {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.section-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s ease;
}

.section-card:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-1px);
}

.section-card h5 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Headings Hierarchy */
.headings-hierarchy {
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.headings-hierarchy.valid {
    border-left: 4px solid #4CAF50;
}

.hierarchy-status {
    font-size: 14px;
    font-weight: 600;
    color: #4CAF50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hierarchy-levels {
    display: grid;
    gap: 10px;
}

.hierarchy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.level-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.level-count,
.level-avg {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* Readability Info */
.readability-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
}

.readability-score {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    min-width: 120px;
}

.readability-score.warning {
    border-left: 4px solid #FF9800;
}

.score-value {
    font-size: 28px;
    font-weight: 700;
    color: #FF9800;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.score-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

.readability-details {
    display: grid;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.readability-details div {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.readability-details strong {
    color: #ffffff;
    font-weight: 600;
}

/* Links Distribution */
.links-distribution {
    display: grid;
    gap: 10px;
}

.link-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.link-type:hover {
    background: rgba(255, 255, 255, 0.08);
}

.type-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.type-value {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

/* Images Stats */
.images-stats {
    display: grid;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.images-stats div {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
}

.images-stats strong {
    color: #ffffff;
    font-weight: 600;
}

/* Keywords */
.keywords-list {
    display: grid;
    gap: 8px;
    margin-bottom: 15px;
}

.keyword-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.keyword-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.keyword {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.keyword-count {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.keywords-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .readability-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .readability-score {
        min-width: auto;
    }
    
    .detailed-sections {
        gap: 15px;
    }
    
    .section-card {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .content-stats {
        grid-template-columns: 1fr;
    }
    
    .hierarchy-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .link-type {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}
/* Performance Section Styles */
#performance-section {
    display: none;
}

#performance-section.active {
    display: block;
}

/* Performance Sections */
.performance-sections {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

/* Timing Metrics */
.timing-metrics {
    display: grid;
    gap: 10px;
}

.timing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.timing-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.timing-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.timing-value {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid;
}

.timing-value.good {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.timing-value.warning {
    color: #FF9800;
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.3);
}

.timing-value.bad {
    color: #F44336;
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
}

/* Resource Stats */
.resource-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.resource-total {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resource-total span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.resource-total strong {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
}

.largest-resource {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.largest-resource strong {
    font-size: 13px;
    color: #FF9800;
    font-weight: 600;
}

.resource-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    word-break: break-all;
}

.resource-size {
    font-size: 12px;
    color: #FF9800;
    font-weight: 600;
    align-self: flex-end;
}

.resource-types h6 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 15px 0;
    font-weight: 600;
}

.resource-type-item {
    display: grid;
    grid-template-columns: 60px 1fr auto auto;
    gap: 15px;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.resource-type-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.type-name {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.type-count,
.type-size,
.type-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-align: right;
}

.type-time {
    color: #4CAF50;
    font-weight: 600;
}

/* Optimization Metrics */
.optimization-metrics {
    display: grid;
    gap: 10px;
}

.optimization-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.optimization-item.warning {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.2);
}

.optimization-item.good {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.2);
}

.optimization-item.info {
    background: rgba(33, 150, 243, 0.1);
    border-color: rgba(33, 150, 243, 0.2);
}

.optimization-item:hover {
    transform: translateX(5px);
}

.opt-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    flex: 1;
}

.opt-value {
    font-size: 13px;
    font-weight: 600;
    margin: 0 15px;
}

.optimization-item.warning .opt-value {
    color: #FF9800;
}

.optimization-item.good .opt-value {
    color: #4CAF50;
}

.optimization-item.info .opt-value {
    color: #2196F3;
}

.opt-details {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Performance Recommendations */
.performance-recommendations {
    display: grid;
    gap: 8px;
}

.performance-recommendation {
    padding: 12px 15px;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.performance-recommendation:hover {
    background: rgba(255, 152, 0, 0.15);
    transform: translateX(5px);
}

/* Color coding for metric cards in performance section */
#performance-section .metric-card.good .metric-value {
    color: #4CAF50;
}

#performance-section .metric-card.warning .metric-value {
    color: #FF9800;
}

#performance-section .metric-card.bad .metric-value {
    color: #F44336;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resource-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .resource-type-item {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .type-count,
    .type-size,
    .type-time {
        text-align: center;
    }
    
    .optimization-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .opt-label {
        text-align: center;
    }
    
    .timing-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .performance-sections {
        gap: 15px;
    }
    
    .section-card {
        padding: 15px;
    }
    
    .largest-resource {
        padding: 10px;
    }
}

/* Special animation for timing items */
.timing-item {
    animation: timingAppear 0.4s ease-out;
}

@keyframes timingAppear {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Technical Section Styles */
#technical-section {
    display: none;
}

#technical-section.active {
    display: block;
}

/* Technical Sections */
.technical-sections {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

/* Structure Grid */
.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.structure-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.structure-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.structure-item.good {
    border-left: 4px solid #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.structure-item.bad {
    border-left: 4px solid #F44336;
    background: rgba(244, 67, 54, 0.05);
}

.structure-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.structure-label {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.structure-badge {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.structure-count {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

/* Semantic Elements */
.semantic-elements {
    margin-bottom: 15px;
}

.semantic-elements h6 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px 0;
    font-weight: 600;
}

.semantic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.semantic-tag {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid;
    transition: all 0.3s ease;
}

.semantic-tag.has-content {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.semantic-tag.no-content {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
}

.semantic-tag strong {
    color: #ffffff;
    font-weight: 600;
}

.breadcrumbs-info {
    padding: 12px 15px;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.2);
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.breadcrumbs-info.bad {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.2);
}

/* Schema Stats */
.schema-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.schema-metric {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.metric-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.metric-value.warning {
    color: #FF9800;
}

.no-data {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Performance Grid */
.performance-grid {
    display: grid;
    gap: 15px;
}

.perf-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.perf-category h6 {
    font-size: 13px;
    color: #ffffff;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.perf-stats {
    display: grid;
    gap: 5px;
}

.perf-stats div {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: space-between;
}

.perf-stats strong {
    color: #ffffff;
    font-weight: 600;
}

/* Security Items */
.security-items {
    display: grid;
    gap: 10px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.security-item.good {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.2);
}

.security-item.warning {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.2);
}

.security-item:hover {
    transform: translateX(5px);
}

.security-icon {
    font-size: 16px;
}

.security-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    flex: 1;
}

.security-details {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

/* Meta Status */
.meta-status {
    display: grid;
    gap: 10px;
}

.meta-item {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.meta-item.warning {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.2);
}

.meta-item:hover {
    transform: translateX(5px);
}

.meta-item strong {
    color: #ffffff;
}

/* Scripts Stats */
.scripts-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.script-stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.stat-value.good {
    color: #4CAF50;
}

/* Links Stats */
.links-stats {
    display: grid;
    gap: 10px;
    margin-bottom: 15px;
}

.link-stat {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.link-stat.warning {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.2);
}

.link-stat:hover {
    transform: translateX(5px);
}

.link-stat strong {
    color: #ffffff;
}

.link-types h6 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px 0;
    font-weight: 600;
}

.type-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.type-tag {
    background: rgba(33, 150, 243, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.type-tag strong {
    color: #ffffff;
    font-weight: 600;
}

/* Accessibility */
.a11y-stats {
    display: grid;
    gap: 10px;
    margin-bottom: 15px;
}

.a11y-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.a11y-stat.warning {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.2);
}

.a11y-stat:hover {
    transform: translateX(5px);
}

.a11y-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.a11y-value {
    font-size: 13px;
    font-weight: 600;
    color: #FF9800;
}

.a11y-details {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

.a11y-landmarks h6 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px 0;
    font-weight: 600;
}

.landmark-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.landmark-tag {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #ffffff;
    font-weight: 500;
    border: 1px solid;
}

.landmark-tag.good {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.3);
}

.landmark-tag.bad {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.3);
}

/* SEO Items */
.seo-items {
    display: grid;
    gap: 10px;
}

.seo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.seo-item.good {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.2);
}

.seo-item.warning {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.2);
}

.seo-item:hover {
    transform: translateX(5px);
}

.seo-icon {
    font-size: 16px;
}

.seo-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    flex: 1;
}

.seo-details {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .structure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .schema-stats,
    .scripts-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .semantic-tags,
    .type-tags,
    .landmark-tags {
        justify-content: center;
    }
    
    .performance-grid {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .structure-grid,
    .schema-stats,
    .scripts-stats {
        grid-template-columns: 1fr;
    }
    
    .technical-sections {
        gap: 15px;
    }
}

/* Security Section Styles */
#security-section {
    display: none;
}

#security-section.active {
    display: block;
}

/* Security Sections */
.security-sections {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

/* Section Card Status Variants */
.section-card.good {
    border-left: 4px solid #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.section-card.warning {
    border-left: 4px solid #FF9800;
    background: rgba(255, 152, 0, 0.05);
}

.section-card.bad {
    border-left: 4px solid #F44336;
    background: rgba(244, 67, 54, 0.05);
}

/* Mixed Content Stats */
.mixed-content-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.mixed-total {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.mixed-total strong {
    color: #4CAF50;
    font-weight: 600;
}

.no-issues {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 14px;
    color: #4CAF50;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

/* Headers Stats */
.headers-stats {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.headers-stats strong {
    color: #FF9800;
    font-weight: 600;
}

.headers-list {
    display: grid;
    gap: 8px;
}

.header-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.header-item.implemented {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.2);
}

.header-item.missing {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.2);
}

.header-item:hover {
    transform: translateX(5px);
}

.header-name {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-family: 'Courier New', monospace;
    flex: 1;
}

.header-status {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.header-item.implemented .header-status {
    color: #4CAF50;
}

.header-item.missing .header-status {
    color: #F44336;
}

.header-value {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    flex: 1;
}

/* Forms Stats */
.forms-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.forms-stats div {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.forms-stats strong {
    color: #4CAF50;
    font-weight: 600;
    display: block;
    margin-top: 4px;
    font-size: 16px;
}

/* Resources Stats */
.resources-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.resources-stats div {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.resources-stats strong {
    color: #4CAF50;
    font-weight: 600;
    display: block;
    margin-top: 4px;
    font-size: 14px;
}

.resources-breakdown h6 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px 0;
    font-weight: 600;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.resource-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.resource-type {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(33, 150, 243, 0.3);
    min-width: 60px;
    text-align: center;
}

.resource-url {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Courier New', monospace;
    word-break: break-all;
    flex: 1;
}

/* Cookies Stats */
.cookies-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.cookies-stats div {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookies-stats div:nth-child(2),
.cookies-stats div:nth-child(3),
.cookies-stats div:nth-child(4) {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.2);
}

.cookies-stats strong {
    color: #FF9800;
    font-weight: 600;
    display: block;
    margin-top: 4px;
    font-size: 16px;
}

/* Vulnerabilities */
.no-vulnerabilities {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 20px;
    font-size: 14px;
    color: #4CAF50;
    font-weight: 500;
    text-align: center;
}

/* Security Recommendations */
.security-recommendations {
    display: grid;
    gap: 10px;
}

.security-recommendation {
    padding: 12px 15px;
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 35px;
}

.security-recommendation::before {
    content: '💡';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.security-recommendation:hover {
    background: rgba(33, 150, 243, 0.15);
    transform: translateX(5px);
}

/* Color coding for security metric cards */
#security-section .metric-card.good .metric-value {
    color: #4CAF50;
}

#security-section .metric-card.warning .metric-value {
    color: #FF9800;
}

#security-section .metric-card.bad .metric-value {
    color: #F44336;
}

/* Responsive Design */
@media (max-width: 768px) {
    .forms-stats,
    .resources-stats,
    .cookies-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .header-name,
    .header-value {
        text-align: center;
        flex: none;
    }
    
    .resource-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .security-recommendation {
        padding-left: 15px;
        text-align: center;
    }
    
    .security-recommendation::before {
        position: static;
        transform: none;
        display: block;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .forms-stats,
    .resources-stats,
    .cookies-stats {
        grid-template-columns: 1fr;
    }
    
    .security-sections {
        gap: 15px;
    }
    
    .section-card {
        padding: 15px;
    }
}

/* Special pulse animation for good status */
.section-card.good {
    animation: goodPulse 2s ease-in-out infinite;
}

@keyframes goodPulse {
    0%, 100% { border-left-color: #4CAF50; }
    50% { border-left-color: #8BC34A; }
}

/* Warning pulse animation */
.section-card.warning {
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { border-left-color: #FF9800; }
    50% { border-left-color: #FFC107; }
}
/* Recommendations Section Styles */
#recommendations-section {
    display: none;
}

#recommendations-section.active {
    display: block;
}

/* Recommendations Stats */
.recommendations-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    justify-content: center;
}

.recommendations-stats span {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid;
}

.stat-critical {
    background: rgba(244, 67, 54, 0.15);
    color: #F44336;
    border-color: rgba(244, 67, 54, 0.3);
}

.stat-warning {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
    border-color: rgba(255, 152, 0, 0.3);
}

.stat-info {
    background: rgba(33, 150, 243, 0.15);
    color: #2196F3;
    border-color: rgba(33, 150, 243, 0.3);
}

/* Priority Headers */
.priority-critical,
.priority-warning,
.priority-info {
    margin: 30px 0 15px 0;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
}

.priority-critical {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.2);
    border-left: 4px solid #F44336;
}

.priority-warning {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-left: 4px solid #FF9800;
}

.priority-info {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-left: 4px solid #2196F3;
}

/* Recommendations Lists */
.recommendations-list {
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
}

/* Recommendation Items */
.recommendation-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recommendation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.recommendation-item.critical {
    background: rgba(244, 67, 54, 0.05);
    border-color: rgba(244, 67, 54, 0.2);
}

.recommendation-item.critical::before {
    background: linear-gradient(180deg, #F44336, #E91E63);
}

.recommendation-item.warning {
    background: rgba(255, 152, 0, 0.05);
    border-color: rgba(255, 152, 0, 0.2);
}

.recommendation-item.warning::before {
    background: linear-gradient(180deg, #FF9800, #FFC107);
}

.recommendation-item.info {
    background: rgba(33, 150, 243, 0.05);
    border-color: rgba(33, 150, 243, 0.2);
}

.recommendation-item.info::before {
    background: linear-gradient(180deg, #2196F3, #03A9F4);
}

.recommendation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Recommendation Header */
.rec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 15px;
}

.rec-header strong {
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
    flex: 1;
    line-height: 1.4;
}

.rec-impact {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.recommendation-item.critical .rec-impact {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border-color: rgba(244, 67, 54, 0.3);
}

.recommendation-item.warning .rec-impact {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border-color: rgba(255, 152, 0, 0.3);
}

.recommendation-item.info .rec-impact {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    border-color: rgba(33, 150, 243, 0.3);
}

/* Recommendation Content */
.rec-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 12px;
}

.rec-solution {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.rec-solution strong {
    color: #4CAF50;
    font-weight: 600;
}

.rec-solution {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.rec-examples {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.rec-examples strong {
    color: #ffffff;
    font-weight: 600;
    font-family: inherit;
}

.rec-category {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Score Summary */
.score-summary {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin-top: 30px;
}

.score-summary h5 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: center;
}

.score-breakdown {
    display: grid;
    gap: 12px;
}

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.score-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.score-item.total {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    margin-top: 8px;
    font-weight: 600;
}

.score-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.score-value {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid;
}

.score-value.good {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-color: rgba(76, 175, 80, 0.3);
}

.score-value.warning {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border-color: rgba(255, 152, 0, 0.3);
}

.score-value.bad {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border-color: rgba(244, 67, 54, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .recommendations-stats {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .rec-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .rec-impact {
        align-self: flex-start;
    }
    
    .recommendation-item {
        padding: 16px;
    }
    
    .score-summary {
        padding: 20px;
    }
    
    .score-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .recommendations-stats span {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .priority-critical,
    .priority-warning,
    .priority-info {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .recommendations-list {
        gap: 12px;
    }
}

/* Critical item pulse animation */
.recommendation-item.critical {
    animation: criticalPulse 2s ease-in-out infinite;
}

@keyframes criticalPulse {
    0%, 100% { 
        border-color: rgba(244, 67, 54, 0.2);
        box-shadow: 0 0 0 rgba(244, 67, 54, 0);
    }
    50% { 
        border-color: rgba(244, 67, 54, 0.4);
        box-shadow: 0 0 20px rgba(244, 67, 54, 0.2);
    }
}

/* Scroll behavior for long lists */
.recommendations-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.recommendations-list::-webkit-scrollbar {
    width: 6px;
}

.recommendations-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.recommendations-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Improvement Tips Styles - Glassmorphism */
.improvement-tips {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
    position: relative;
    transition: all 0.3s ease;
}

.improvement-tips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #4CAF50, #8BC34A);
    border-radius: 12px 0 0 12px;
}

.improvement-tips:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.improvement-tips strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.improvement-tips ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.improvement-tips li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    transition: all 0.3s ease;
}

.improvement-tips li::before {
    content: '💡';
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 14px;
    filter: brightness(1.2);
}

.improvement-tips li:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.improvement-tips li:hover::before {
    animation: tipPulse 1s ease-in-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .improvement-tips {
        padding: 16px;
        margin: 12px 0;
    }
    
    .improvement-tips strong {
        font-size: 13px;
    }
    
    .improvement-tips li {
        font-size: 12px;
        padding: 6px 0 6px 20px;
    }
}

@media (max-width: 480px) {
    .improvement-tips {
        padding: 14px;
        border-radius: 10px;
    }
    
    .improvement-tips::before {
        width: 3px;
    }
    
    .improvement-tips li {
        padding-left: 18px;
    }
    
    .improvement-tips li::before {
        font-size: 12px;
    }
}

/* Animation for improvement tips appearance */
.improvement-tips {
    animation: tipsSlideIn 0.5s ease-out;
}

@keyframes tipsSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Export Actions Styles */
.export-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    justify-content: center;
}

.export-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.export-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.export-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.export-btn:hover::before {
    left: 100%;
}

.export-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Specific styles for different export formats */
.export-btn[data-format="json"] {
    background: rgba(33, 150, 243, 0.15);
    border-color: rgba(33, 150, 243, 0.3);
    color: #2196F3;
}

.export-btn[data-format="json"]:hover {
    background: rgba(33, 150, 243, 0.25);
    box-shadow: 
        0 8px 25px rgba(33, 150, 243, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.export-btn[data-format="html"] {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.export-btn[data-format="html"]:hover {
    background: rgba(76, 175, 80, 0.25);
    box-shadow: 
        0 8px 25px rgba(76, 175, 80, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Loading state */
.export-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.export-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: exportSpin 1s linear infinite;
}

@keyframes exportSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success state */
.export-btn.success {
    background: rgba(76, 175, 80, 0.25);
    border-color: rgba(76, 175, 80, 0.4);
    color: #4CAF50;
}

.export-btn.success::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .export-actions {
        flex-direction: column;
        gap: 10px;
        padding: 16px;
    }
    
    .export-btn {
        min-width: auto;
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .export-actions {
        margin-top: 15px;
        padding: 12px;
    }
    
    .export-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* Animation for export actions appearance */
.export-actions {
    animation: exportSlideIn 0.5s ease-out 0.3s both;
}

@keyframes exportSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Integration with existing dashboard */
.seo-dashboard + .export-actions {
    margin-top: 25px;
}

/* Optional: Add icons to buttons */
.export-btn[data-format="json"]::before {
    content: '{ }';
    display: inline-block;
    margin-right: 8px;
    font-weight: bold;
    font-size: 12px;
}

.export-btn[data-format="html"]::before {
    content: '</>';
    display: inline-block;
    margin-right: 8px;
    font-weight: bold;
    font-size: 12px;
}

/* Focus states for accessibility */
.export-btn:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(255, 255, 255, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.15);
}

.export-btn[data-format="json"]:focus {
    box-shadow: 
        0 0 0 3px rgba(33, 150, 243, 0.2),
        0 8px 25px rgba(33, 150, 243, 0.15);
}

.export-btn[data-format="html"]:focus {
    box-shadow: 
        0 0 0 3px rgba(76, 175, 80, 0.2),
        0 8px 25px rgba(76, 175, 80, 0.15);
}
/* Code Example Styles - Glassmorphism */
.code-example {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 16px;
    margin: 12px 0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    position: relative;
    transition: all 0.3s ease;
}

.code-example::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2196F3, #03A9F4);
    border-radius: 10px 0 0 10px;
}

.code-example:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.code-example code {
    background: none;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

/* Scrollbar styling for code blocks */
.code-example::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.code-example::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.code-example::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.code-example::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .code-example {
        padding: 14px;
        font-size: 12px;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .code-example {
        padding: 12px;
        font-size: 11px;
        border-radius: 8px;
    }
    
    .code-example::before {
        width: 3px;
    }
}

/* Animation for code example appearance */
.code-example {
    animation: codeSlideIn 0.4s ease-out;
}

@keyframes codeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}