/* Boxley Works | Sovereign Intelligence Architecture */
:root {
    --bg-dark: #0a0a0c;
    --bg-card: rgba(20, 20, 24, 0.6);
    --text-main: #f0f0f5;
    --text-muted: #888899;
    --accent: #d0d0e0; /* Muted silver/white instead of bright neon */
    --border: rgba(255, 255, 255, 0.05);
    --glass-blur: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: var(--text-muted);
    font-weight: 300;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-muted);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(80%) contrast(120%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-dark) 20%, transparent 100%);
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.highlight {
    font-weight: 600;
    color: var(--accent);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Section Common */
section {
    padding: 8rem 10%;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Architecture / Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    backdrop-filter: blur(var(--glass-blur));
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.glass-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.glass-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Philosophy & Simulations Section */
.philosophy-section {
    display: flex;
    align-items: center;
    gap: 5rem;
    background: #08080a;
}

.philosophy-content {
    flex: 1;
}

.confidential-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 60, 60, 0.1);
    color: #ff5555;
    border: 1px solid rgba(255, 60, 60, 0.2);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.philosophy-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.philosophy-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.philosophy-content strong {
    color: var(--text-main);
    font-weight: 600;
}

.philosophy-image {
    flex: 1;
}

.philosophy-image img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    filter: grayscale(60%);
    transition: filter 0.5s ease;
}

.philosophy-image img:hover {
    filter: grayscale(0%);
}

/* Deployment Timeline */
.deployment-section {
    background: var(--bg-dark);
}

.timeline {
    border-left: 2px solid var(--border);
    padding-left: 3rem;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-item {
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 60px;
    height: 30px;
    background: var(--bg-dark);
    border: 1px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    transform: translateX(-50%);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Q&A Section */
.qa-section {
    background: #08080a;
}

.qa-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.qa-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    backdrop-filter: blur(var(--glass-blur));
    overflow: hidden;
}

.qa-item summary {
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.qa-item summary::-webkit-details-marker {
    display: none;
}

.qa-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.qa-item[open] summary::after {
    transform: rotate(45deg);
}

.qa-item[open] summary {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.qa-content {
    padding: 1.5rem 2rem;
}

.qa-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Footer & Contact */
.footer {
    padding: 6rem 10% 2rem;
    text-align: center;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.footer > p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-method .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.contact-method a, .contact-method span {
    color: var(--text-main);
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 400;
}

.contact-method a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .philosophy-section {
        flex-direction: column;
    }
    
    .navbar {
        padding: 1rem 5%;
        justify-content: center;
    }

    .nav-links {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 12, 0.95);
        border-top: 1px solid var(--border);
        padding: 1rem 5%;
        justify-content: space-between;
        align-items: center;
        backdrop-filter: blur(var(--glass-blur));
        z-index: 1000;
        margin: 0;
    }

    .nav-links li {
        list-style: none;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .nav-links .btn-primary {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
}
