/* ===================================================
   JAESWIFT.XYZ — Section Pages
   Landing pages + subpage templates
   =================================================== */

/* --- Section Header --- */
.section-header {
    padding: calc(var(--nav-height) + 3rem) 2rem 2rem;
    text-align: center;
    position: relative;
}

.section-header-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--status-green);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.section-header-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.section-header-title .accent {
    color: var(--status-green);
}

.section-header-sub {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* --- Section Grid (Landing Pages) --- */
.section-grid-container {
    max-width: clamp(900px, 85vw, 2000px);
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.section-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem 1.8rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--status-green-dim), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-card:hover {
    border-color: var(--status-green-dim);
    background: var(--bg-panel-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 204, 51, 0.05);
}

.section-card:hover::before {
    opacity: 1;
}

.section-card-icon {
    font-size: 1.4rem;
    color: var(--status-green);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.section-card:hover .section-card-icon {
    opacity: 1;
}

.section-card-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
}

.section-card-desc {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.7;
    letter-spacing: 0.3px;
}

.section-card-arrow {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--status-green);
    letter-spacing: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: auto;
}

.section-card:hover .section-card-arrow {
    opacity: 0.7;
}

/* --- Subpage Content (Placeholder) --- */
.subpage-content {
    max-width: clamp(700px, 80vw, 1600px);
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.subpage-placeholder {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.subpage-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--status-green-dim), transparent);
}

.placeholder-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.placeholder-status {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--warning);
    margin-bottom: 0.8rem;
}

.placeholder-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.placeholder-classification {
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* --- Breadcrumb --- */
.breadcrumb {
    max-width: clamp(900px, 85vw, 2000px);
    margin: 0 auto;
    padding: calc(var(--nav-height) + 1.5rem) 1.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--status-green);
}

.breadcrumb .separator {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

.breadcrumb .current {
    color: var(--status-green);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .section-header {
        padding: calc(var(--nav-height) + 2rem) 1rem 1.5rem;
    }
    .section-grid {
        grid-template-columns: 1fr;
    }
    .section-card {
        padding: 1.5rem;
    }
}
