/* ============================================================
   STRIKORE DEFENSE SYSTEMS — Inner Page Styles
   Imported after index.css on all subpages.
   ============================================================ */

/* --- Page Hero Banner --- */
.page-hero {
    position: relative;
    padding: calc(var(--section-pad) + 4rem) 0 var(--section-pad);
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(42, 127, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 127, 255, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--color-bg-primary));
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero__title {
    font-size: var(--fs-h1);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.page-hero__subtitle {
    font-size: var(--fs-body);
    color: var(--color-text-secondary);
    max-width: 680px;
    line-height: 1.8;
}

/* --- Page Content Area --- */
.page-content {
    padding: var(--section-pad) 0;
    background: var(--color-bg-primary);
}

.page-content .container {
    max-width: 860px;
}

/* --- Status Banner (top of legal pages) --- */
.page-status {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-accent);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 3rem;
    font-size: var(--fs-small);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* --- Prose typogaphy --- */
.prose h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose p {
    color: var(--color-text-secondary);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.prose ul,
.prose ol {
    color: var(--color-text-secondary);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    margin-bottom: 0.4rem;
}

.prose li::marker {
    color: var(--color-accent);
}

.prose a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

.prose a:hover {
    color: #5ba3ff;
    text-decoration: underline;
}

.prose strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.prose em {
    font-style: italic;
}

.prose blockquote {
    border-left: 3px solid var(--color-accent-dim);
    padding: 0.75rem 1.25rem;
    margin: 1.25rem 0;
    background: var(--color-surface);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--color-text-secondary);
    font-size: var(--fs-small);
    line-height: 1.7;
}

/* --- Contact block (used in legal pages) --- */
.prose .contact-block {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin: 0.5rem 0 1.25rem;
}

.prose .contact-block a {
    font-weight: 500;
}

/* --- Labs / Tools Table --- */
.tools-table-wrap {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.tools-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-small);
    min-width: 800px;
}

.tools-table thead {
    background: var(--color-surface);
}

.tools-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: var(--fs-caption);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap;
}

.tools-table td {
    padding: 1rem 1.25rem;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
    line-height: 1.6;
}

.tools-table tbody tr:last-child td {
    border-bottom: none;
}

.tools-table tbody tr {
    transition: background var(--duration) var(--ease);
}

.tools-table tbody tr:hover {
    background: var(--color-surface-hover);
}

/* --- Labs intro note --- */
.labs-note {
    font-size: var(--fs-small);
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    line-height: 1.7;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .page-hero {
        padding: calc(var(--section-pad) + 2rem) 0 calc(var(--section-pad) * 0.6);
    }

    .prose h2 {
        margin-top: 2rem;
    }

    .tools-table-wrap {
        margin: 1rem -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}