/* Shared Dedup Styles */

/* Hero Overrides */
.hero.hero-small {
    min-height: 30vh;
}

.hero.hero-medium {
    min-height: 40vh;
}

.hero-content.centered {
    top: 50%;
}

/* Feature Grid (index) */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    color: #F0F5FF;
}

.feature-card {
    background: rgba(5, 8, 20, 0.4);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(110, 122, 153, 0.1);
}

.feature-card h3 {
    color: #00E5FF;
    margin-bottom: 0.5rem;
}

.feature-card ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.feature-card-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

/* Split Lists (index) */
.split-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.split-list-column h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.split-list-column ul {
    list-style: disc inside;
    color: #F0F5FF;
    font-size: 1.1rem;
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    .split-lists {
        grid-template-columns: 1fr;
    }
}

/* Button Group (index) */
.button-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.action-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    border: 2px solid #00E5FF;
    color: #00E5FF;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
}

.github-btn {
    border-color: #F0F5FF;
    color: #F0F5FF;
}

.github-btn:hover {
    background-color: rgba(240, 245, 255, 0.1);
    box-shadow: 0 0 15px rgba(240, 245, 255, 0.4);
    border-color: #ffffff;
    color: #ffffff;
}

.cta-section {
    min-height: initial;
    padding: 4rem 2rem;
}

/* Bottom CTA Layout */
.bottom-cta-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.bottom-cta-container.arch-page {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.return-link {
    color: #6E7A99;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.return-link:hover {
    color: #00E5FF;
    text-decoration: underline;
}


/* Architecture Page Styles */
.arch-content {
    max-width: 1000px;
    margin: 0 auto;
    color: #F0F5FF;
    text-align: left;
}

.arch-content h2 {
    color: #00E5FF;
    font-family: 'Source Serif Pro', serif;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    padding-bottom: 0.5rem;
}

.arch-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.arch-content ul {
    list-style: disc inside;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.arch-content li {
    margin-bottom: 0.5rem;
}

.diagram-container {
    background: rgba(255, 255, 255, 0.05);
    /* Light background to make transparent SVGs visible */
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.diagram-container img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.diagram-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6E7A99;
    font-style: italic;
}

.active-link {
    color: #00E5FF;
}

/* Hero Dedup Banner */
.hero.hero-dedup {
    min-height: 0;
    height: auto;
    background-image: none;
    padding-top: 0;
    margin-top: var(--header-height, 100px);
    /* Push down to clear fixed header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
}

.hero-graphic {
    max-height: 25vh;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
}

/* Ensure content floats nicely below the image */
.hero.hero-dedup .hero-content {
    background: transparent;
    padding: 0;
    border-radius: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    width: auto;
    max-width: 90%;
    position: static;
    /* Override absolute positioning from landing.css */
    transform: none;
    text-align: center;
}