/* ==========================================================================
   CSS Variables & Base Reset - DARK THEME
   ========================================================================== */
:root {
    --bg-color: #000000;
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --brand-red: #cc0000;
    --border-color: #333333;
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: "Courier New", Courier, monospace;
}

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

body {
    font-family: var(--font-primary);
    /* Increased base font size for better overall readability */
    font-size: 18px; 
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Typography & Lines
   ========================================================================== */
h1, h2, h3 {
    color: #ffffff;
    font-weight: normal;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

h2 {
    /* Increased from 1.75rem */
    font-size: 2.2rem; 
    text-transform: uppercase;
}

a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #ffffff;
}

hr {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 2.5rem auto;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header .container,
.site-footer .container {
    max-width: 900px;
}

.text-center {
    text-align: center;
}

/* Constrain text elements for readability while images go wide */
.product-title-wrap,
.product-description,
.specs-title,
.specs-list,
.buy-action,
hr {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    padding: 2.5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.logo img {
    max-width: 220px;
    margin-bottom: 1.5rem;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Product Sections 
   ========================================================================== */
.product-section {
    margin-bottom: 9rem;
}

.product-title-wrap {
    text-align: center;
    margin-bottom: 2.5rem;
}

.product-title-wrap h2 {
    margin-bottom: 0.2rem;
}

.product-tagline {
    color: var(--text-muted);
    font-family: var(--font-mono);
    /* Increased size */
    font-size: 1.1rem; 
}

/* Single Massive Hero Image */
.product-hero {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 3.5rem auto;
    display: block;
}

.product-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* Side-by-Side Split Hero Images (For XMX) */
.product-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 3.5rem auto;
}

.product-hero-split img {
    width: 100%;
    height: auto;
    display: block;
}

/* Specs & Details */
.product-description {
    /* Significantly increased text size */
    font-size: 1.3rem; 
    margin-bottom: 2.5rem;
    text-align: justify;
    color: #f5f5f5;
}

.specs-title {
    font-family: var(--font-mono);
    /* Increased size */
    font-size: 1rem; 
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.specs-list {
    list-style: none;
    font-family: var(--font-mono);
    /* Increased size */
    font-size: 1.05rem; 
    color: var(--text-muted);
}

.specs-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.specs-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-main);
}

.buy-action {
    margin-top: 3.5rem;
    text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a {
    color: var(--text-muted);
}

.footer-col a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Responsive Rules
   ========================================================================== */
@media (max-width: 900px) {
    /* Stack the side-by-side images on mobile screens so they don't get too small */
    .product-hero-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .site-nav {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
}
