/* * THYLACO SYSTEMS CORPORATE STYLESHEET
 * Theme: Tier-1 Defence Prime (Stark Utility)
 */

:root {
    /* Color Palette */
    --corporate-black: #0a0a0a;
    --corporate-gray: #1a1a1a;
    --corporate-light-gray: #2a2a2a;
    --text-primary: #e5e5e5;
    --text-dim: #888888;
    --tech-amber: #FFB800;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    
    /* Spacing */
    --container-width: 1280px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

.logo-img {
    height: 150px;
    display: block;
}

/* Turn a black logo WHITE */
.invert-on-dark {
    filter: invert(1);
}

/* To force a logo of ANY color to pure white */
.force-white {
    filter: brightness(0) invert(1);
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--corporate-black);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Utilities */
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* --------------------
   NAVIGATION 
   -------------------- */
.navbar {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    z-index: 100;
    height: 200px; 
    display: flex;
    align-items: center;
}

.navbar-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.025em;
}

.brand-suffix {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}

.nav-links {
    display: none; /* Mobile hidden by default */
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--text-dim);
    }
}

.nav-item:hover {
    color: white;
}

.nav-btn {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background-color: white;
    color: black;
}

/* Keep header small on mobile, only go big on desktop */
@media (max-width: 768px) {
    .navbar {
        height: 100px;
    }
    .logo-img {
        height: 60px; /* Smaller logo for phone screens */
    }
    .hero-section {
        padding-top: 140px;
    }
}

/* --------------------
   HERO SECTION 
   -------------------- */
.hero-section {
    position: relative;
    padding-top: 280px; 
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-content {
    max-width: 48rem; /* approx 3xl tailwind */
}

.sovereign-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.amber-line {
    height: 1px;
    width: 2rem;
    background-color: var(--tech-amber);
}

.tag-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--tech-amber);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-title { font-size: 4.5rem; }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-dim);
    max-width: 36rem;
    line-height: 1.6;
}

/* --------------------
   CAPABILITIES INDEX 
   -------------------- */
.capabilities-section {
    padding: 5rem 0;
    background-color: rgba(26, 26, 26, 0.2);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.ref-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
    display: none;
}

@media (min-width: 640px) {
    .ref-code { display: block; }
}

.capabilities-table {
    border-top: 1px solid var(--border-color);
}

.cap-row {
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
    transition: background-color 0.2s ease;
}

.cap-row:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

@media (min-width: 768px) {
    .cap-row {
        grid-template-columns: 2fr 3fr 5fr 2fr;
    }
}

.col-domain {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
    padding-top: 0.25rem;
}

.col-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.cap-row:hover .col-title h3 {
    color: white;
}

.col-desc {
    font-size: 0.875rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.col-tag {
    text-align: left;
}

@media (min-width: 768px) {
    .col-tag { text-align: right; }
}

.tech-tag {
    display: inline-block;
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.75rem;
    font-size: 0.625rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --------------------
   FOOTER 
   -------------------- */
footer {
    background-color: black;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.025em;
}

.footer-location {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.badge {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.625rem;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    display: inline-block;
    margin-top: 1.5rem;
}

.footer-block.links {
    display: flex;
    gap: 3rem;
    font-size: 0.875rem;
    color: var(--text-dim);
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-header {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.link-col a:hover {
    color: white;
}

.footer-block.ack {
    max-width: 24rem;
    text-align: left;
}

@media (min-width: 768px) {
    .footer-block.ack { text-align: right; }
}

.ack-text {
    font-size: 0.625rem;
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.6;
}

.highlight {
    color: rgba(255, 255, 255, 0.6);
}

.ack-formal {
    font-size: 0.625rem;
    color: var(--text-dim);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    color: var(--text-dim);
}