/* Sitemap Page Styles (extracted from inline <style> for maintainability) */

.sitemap-hero {
    position: relative;
    padding: 6rem 0 3rem;
    background: transparent; /* Ultra bg handles this */
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.sitemap-hero::before {
    display: none; /* Ultra bg handles this */
}

.sitemap-hero .container,
.sitemap-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 0 0 1rem;
    background: linear-gradient(135deg, var(--neon-teal) 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.search-box {
    max-width: 600px;
    margin: 2rem auto 0;
    position: relative;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-teal);
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
}

.search-input::placeholder {
    color: var(--text-dim);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.sitemap-content {
    padding: 4rem 0;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.sitemap-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-out both;
}

.sitemap-section:hover {
    transform: translateY(-5px);
    border-color: var(--neon-teal);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.1);
}

.section-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.sitemap-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Different colors for different sections */
.services-section .section-icon,
.services-section h2 {
    color: var(--neon-teal);
}

.company-section .section-icon,
.company-section h2 {
    color: var(--neon-blue);
}

.industries-section .section-icon,
.industries-section h2 {
    color: #bd93f9;
}

.legal-section .section-icon,
.legal-section h2 {
    color: #f1fa8c;
}

.sitemap-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-section li {
    margin-bottom: 0.75rem;
}

.sitemap-section a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.sitemap-section a:hover {
    color: var(--text-primary);
    background: rgba(100, 255, 218, 0.05);
    transform: translateX(5px);
}

.sitemap-section a::before {
    content: '→';
    color: var(--neon-teal);
    font-weight: bold;
}

.xml-sitemap {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 4rem;
}

.xml-sitemap h3 {
    color: var(--neon-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.xml-sitemap p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.xml-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--neon-teal);
    color: var(--neon-teal);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.xml-link:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

/* Interactive features */
.highlight {
    background: rgba(100, 255, 218, 0.2) !important;
    border-color: var(--neon-teal) !important;
}

.sitemap-section[hidden] {
    display: none;
}

.sitemap-section li[hidden] {
    display: none;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.no-results[hidden] {
    display: none;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dim);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content h1,
    .hero-content p,
    .search-box,
    .sitemap-section {
        animation: none !important;
    }

    .sitemap-section,
    .sitemap-section a,
    .xml-link,
    .search-input {
        transition: none !important;
    }

    .sitemap-section:hover,
    .sitemap-section a:hover,
    .xml-link:hover {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
    .sitemap-hero .container,
    .sitemap-content .container {
        padding: 0 1rem;
    }
}
