:root {
    --primary: #0A7360; /* Teal Accent */
    --secondary: #021E3C; /* Navy */
    --bg-white: #FCFCFC;
    --bg-alt: #FFFFFF; /* Pure white for cards */
    --text-main: #0B1120;
    --text-muted: #334155;
    --grid-color: rgba(2, 30, 60, 0.05); /* Navy grid */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* offset for fixed nav */
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Tactical Background Grid covering whole page */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* =========================================================
   NAVIGATION BAR
   ========================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(252, 252, 252, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(2, 30, 60, 0.1);
    z-index: 1000;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    height: 110px; /* Scaled up again per request */
    display: block;
    margin-left: -5px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}
.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}
.nav-links a:hover {
    color: var(--primary);
}

/* =========================================================
   SECTIONS & TYPOGRAPHY SHARED
   ========================================================= */
section {
    padding: 100px 0;
}
.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
.divider {
    width: 100px;
    height: 6px;
    background-color: var(--primary);
    margin: 30px 0 60px 0;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px; /* Push below navbar */
}
.hero-content {
    max-width: 1000px;
}
.top-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.headline {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.description {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 4rem;
}

/* Tactical Button Component */
.action-wrapper {
    display: flex;
    align-items: center;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 48px;
    background-color: var(--primary);
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    transition: all 0.2s ease;
    cursor: pointer;
}
.contact-btn:hover {
    background-color: transparent;
    color: var(--primary);
}
.contact-btn .arrow-icon {
    transition: transform 0.2s ease;
}
.contact-btn:hover .arrow-icon {
    transform: translateY(4px); /* Because it points to #contact down arrow on hero, but we'll use a standard arrow everywhere if needed */
}

/* =========================================================
   PRODUCTS SECTION
   ========================================================= */
.products-section {
    background-color: rgba(2, 30, 60, 0.02); /* Slight tint difference */
}
.product-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.product-card {
    display: flex;
    background: var(--bg-alt);
    border: 1px solid rgba(2, 30, 60, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.product-image-container {
    flex: 0 0 500px;
    background: #2C2C2C; /* Neutral dark frame for graphic */
    position: relative;
    overflow: hidden;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.img-contain .product-img {
    object-fit: contain;
    padding: 24px;
}
.product-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 6px 12px;
    margin-bottom: 30px;
    align-self: flex-start;
    letter-spacing: 1px;
}
.product-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}
.product-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
}
.text-only .product-info {
    border-left: 6px solid var(--primary);
}

/* =========================================================
   CONTACT INFO SECTION
   ========================================================= */
.contact-info-block {
    max-width: 900px;
    background: var(--bg-alt);
    border: 1px solid rgba(2, 30, 60, 0.1);
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-left: 6px solid var(--primary);
}
.contact-desc {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}
.contact-email {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}
.contact-email:hover {
    color: var(--secondary);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    padding: 50px 0;
    background-color: var(--bg-alt);
    border-top: 1px solid rgba(2, 30, 60, 0.1);
    text-align: center;
}
.footer p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
    .headline { font-size: 4rem; }
    .product-card { flex-direction: column; }
    .product-image-container { flex: 0 0 350px; }
}
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .nav-container { padding: 15px 24px; }
    .nav-links { display: none; /* simple mobile hide for now */ }
    .headline { font-size: 3rem; }
    .description { font-size: 1.2rem; }
    .form-layout { grid-template-columns: 1fr; gap: 0; }
    .form-container, .product-info { padding: 30px; }
    .section-title { font-size: 2.5rem; }
}
