/* ============================================
   WAFFENDYN — Global Design System v2.0
   Hardware-first. Cinematic. Authoritative.
   ============================================ */

/* 1. DESIGN TOKENS */
:root {
    --bg:           #08090b;
    --bg-2:         #0d0e12;
    --bg-card:      rgba(255, 255, 255, 0.03);
    --border:       rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    --text:         #ffffff;
    --text-muted:   #6b7280;
    --text-subtle:  #9ca3af;
    --accent:       #63563B;
    --accent-light: #8a7650;
    --glass-bg:     rgba(8, 9, 11, 0.85);
    --nav-h:        72px;
    --radius:       4px;
    --radius-lg:    8px;
    --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background-color: var(--bg); color: var(--text); font-family: 'Outfit', sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { 
    max-width: 100%; 
    display: block; 
    -webkit-user-drag: none; 
    -khtml-user-drag: none; 
    -moz-user-drag: none; 
    -o-user-drag: none; 
    user-drag: none; 
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
    -webkit-touch-callout: none; 
}
a { color: inherit; text-decoration: none; }

/* 3. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--text); }
.display-xl { font-size: clamp(3rem, 8vw, 7.5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; text-transform: uppercase; }
.display-lg { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; text-transform: uppercase; }
.display-md { font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; text-transform: uppercase; }
.label { font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.label-accent { color: var(--accent-light); }

/* 4. LAYOUT */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 2.5rem; }
.container-wide { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

/* 5. TOP NAVIGATION */
.top-nav { position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-h); z-index: 1000; display: flex; align-items: center; transition: background var(--transition), border-color var(--transition); border-bottom: 1px solid transparent; }
.top-nav.scrolled { background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 2.5rem; }
.nav-logo img { height: 26px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin-left: auto; margin-right: 2rem; }
.nav-links a { font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); transition: color var(--transition); position: relative; padding-bottom: 2px; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--accent-light); transition: width var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px; background: var(--accent); color: #fff; font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border: none; border-radius: var(--radius); cursor: pointer; transition: background var(--transition), transform var(--transition); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px; background: transparent; color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--border-hover); border-radius: var(--radius); cursor: pointer; transition: all var(--transition); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.05); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--bg); z-index: 999; flex-direction: column; align-items: flex-start; justify-content: center; padding: 80px 1.25rem 40px 1.25rem; gap: 1.5rem; text-align: left; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-subtle); transition: color var(--transition); }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--text); }
.mobile-nav-close { display: none; }
.mobile-nav-close:hover { transform: rotate(90deg); color: var(--accent-light); }
.mobile-nav-cta { margin-top: 1.5rem; align-self: flex-start; }

/* 6. HERO */
.hero { position: relative; width: 100%; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; padding-top: var(--nav-h); }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media video, .hero-media img { 
    width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.22; 
    animation: heroReconDrift 28s ease-in-out infinite alternate;
    pointer-events: none;
    will-change: transform;
}
.hero-overlay { 
    position: absolute; inset: 0; 
    background: linear-gradient(to top, rgba(8,9,11,1) 0%, rgba(8,9,11,0.45) 50%, rgba(8,9,11,0.2) 100%); 
    z-index: 1; 
    user-select: none;
    -webkit-user-select: none;
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 3rem; padding-bottom: 80px; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; }
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--accent-light); flex-shrink: 0; }
.hero-title { margin-bottom: 1.5rem; max-width: 900px; }
.hero-desc { font-size: 1.1rem; color: var(--text-subtle); max-width: 560px; line-height: 1.7; margin-bottom: 2.5rem; font-weight: 300; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); animation: bounce 2s infinite; }
.scroll-indicator span { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* 7. SECTION HEADERS */
.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-title { margin-top: 16px; margin-bottom: 20px; }
.section-desc { color: var(--text-subtle); font-size: 1.05rem; line-height: 1.7; font-weight: 300; max-width: 600px; }

/* 8. PRODUCT CARDS */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.product-card { position: relative; height: 70vh; min-height: 500px; overflow: hidden; cursor: pointer; display: block; user-select: none; -webkit-user-select: none; }
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 118, 80, 0.15), rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-25deg);
    z-index: 1;
    pointer-events: none;
}
.product-card:hover::before {
    left: 200%;
    transition: left 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-card-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.product-card-media img, .product-card-media video { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease; 
    pointer-events: none;
    will-change: transform, filter;
}
.product-card:hover .product-card-media img, .product-card:hover .product-card-media video { 
    transform: scale(1.08); 
    filter: contrast(1.08) brightness(1.06);
}
.product-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,9,11,0.92) 0%, rgba(8,9,11,0.3) 60%, transparent 100%); z-index: 1; transition: background var(--transition); user-select: none; -webkit-user-select: none; }
.product-card:hover .product-card-overlay { background: linear-gradient(to top, rgba(8,9,11,0.95) 0%, rgba(8,9,11,0.5) 60%, rgba(8,9,11,0.1) 100%); }
.product-card-content { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 3rem; }
.product-card-num { font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; color: var(--accent-light); text-transform: uppercase; margin-bottom: 0.75rem; }
.product-card-title { font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.product-card-desc { font-size: 0.95rem; color: var(--text-subtle); line-height: 1.6; max-width: 400px; margin-bottom: 1.5rem; font-weight: 300; opacity: 0; transform: translateY(10px); transition: opacity var(--transition), transform var(--transition); }
.product-card:hover .product-card-desc { opacity: 1; transform: translateY(0); }
.product-card-link { display: inline-flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); transition: gap var(--transition); }
.product-card-link:hover { gap: 16px; }
.product-card-badge { position: absolute; top: 2rem; right: 2rem; z-index: 2; padding: 6px 14px; border: 1px solid var(--border-hover); font-family: 'Inter', sans-serif; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-subtle); background: var(--glass-bg); backdrop-filter: blur(8px); }

/* 9. STATS */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); }
.stat-block { padding: 3rem 2.5rem; border-right: 1px solid var(--border); transition: background var(--transition); }
.stat-block:last-child { border-right: none; }
.stat-block:hover { background: var(--bg-card); }
.stat-number { font-family: 'Inter', sans-serif; font-size: clamp(2.5rem, 4vw, 4.5rem); font-weight: 900; letter-spacing: -0.04em; color: var(--text); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 400; }

/* 10. CAPABILITIES & SPECS */
.capabilities-specs-wrapper { display: grid; grid-template-columns: 1.8fr 1fr; gap: 40px; align-items: start; }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cap-card { background: rgba(255,255,255,0.02); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); padding: 2.5rem 2rem; border-radius: var(--radius); transition: all var(--transition); }
.cap-card:hover { background: rgba(255,255,255,0.04); border-color: var(--border-hover); transform: translateY(-4px); }
.cap-icon { width: 40px; height: 40px; margin-bottom: 1.5rem; color: var(--accent-light); font-size: 1.5rem; display: flex; align-items: center; transition: transform var(--transition); }
.cap-card:hover .cap-icon { transform: scale(1.1); }
.cap-title { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; color: var(--text); }
.cap-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

.classified-spec-sidebar { background: rgba(209, 30, 75, 0.05); border: 1px solid rgba(209, 30, 75, 0.3); padding: 3.5rem 2.5rem; border-radius: var(--radius); text-align: center; position: sticky; top: 120px; transition: all var(--transition); }
.classified-spec-sidebar:hover { background: rgba(209, 30, 75, 0.08); border-color: rgba(209, 30, 75, 0.5); }

/* 11. SPECS TABLE */
.specs-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); }
.specs-table tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:hover { background: var(--bg-card); }
.specs-table td { padding: 1.25rem 2rem; font-size: 0.9rem; }
.specs-table td:first-child { font-family: 'Inter', sans-serif; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; width: 35%; border-right: 1px solid var(--border); }
.specs-table td:last-child { color: var(--text); font-weight: 300; }

/* 12. MISSION ROLE CARDS */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.role-card { background: rgba(255,255,255,0.02); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); padding: 2.5rem 2rem; border-radius: var(--radius); transition: all var(--transition); }
.role-card:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.04); transform: translateY(-4px); }
.role-num { font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; color: var(--accent-light); text-transform: uppercase; margin-bottom: 1rem; }
.role-title { font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; color: var(--text); }
.role-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

/* 13. PAGE HERO */
.page-hero { position: relative; width: 100%; min-height: 60vh; display: flex; align-items: flex-end; overflow: hidden; padding-top: var(--nav-h); }
.page-hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-hero-media video, .page-hero-media img { 
    width: 100%; height: 100%; object-fit: cover; opacity: 0.3; 
    animation: heroReconDrift 28s ease-in-out infinite alternate;
    pointer-events: none;
    will-change: transform;
}
.page-hero-overlay { 
    position: absolute; inset: 0; 
    background: linear-gradient(to top, rgba(8,9,11,1) 0%, rgba(8,9,11,0.6) 40%, rgba(8,9,11,0.1) 100%); 
    z-index: 1; 
    user-select: none;
    -webkit-user-select: none;
}
.page-hero-content { position: relative; z-index: 2; width: 100%; padding-top: 2rem; padding-bottom: 80px; }
.itar-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(209,30,75,0.4); background: rgba(209,30,75,0.08); font-family: 'Inter', sans-serif; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #e05c7a; margin-bottom: 1.5rem; }

/* 14. TWO-COLUMN */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* 15. DIVIDERS & ACCENTS */
.divider { width: 100%; height: 1px; background: var(--border); }
.accent-line { width: 48px; height: 2px; background: var(--accent); margin-bottom: 1.5rem; }

/* 16. MADE IN INDIA */
.mii-block { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.mii-tag-img { height: 30px !important; object-fit: contain; opacity: 0.85; }
.mii-text { font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }

/* 17. CONTACT FORM */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.form-field { position: relative; margin-bottom: 2rem; }
.form-field input, .form-field textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--border); color: var(--text); font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 300; padding: 1rem 0; outline: none; transition: border-color var(--transition); resize: none; }
.form-field textarea { min-height: 100px; }
.form-field input:focus, .form-field textarea:focus { border-bottom-color: var(--accent-light); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-muted); font-size: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* 18. FOOTER */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; }
.footer-top-row { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; max-width: 640px; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.footer-tagline { color: var(--text-subtle); font-size: 0.9rem; line-height: 1.6; font-weight: 300; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); font-weight: 300; }
.footer-copy a { color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.footer-copy a:hover { color: var(--text); }
.footer-links-inline { white-space: nowrap; }
.footer-itar { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(200,80,80,0.6); border: 1px solid rgba(200,80,80,0.2); padding: 4px 12px; }

/* 19. SCROLL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* 20. WAVE CANVAS */
#wave-canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; pointer-events: none; opacity: 0.3; }

/* 21. UTILITIES */
.text-muted { color: var(--text-muted); }
.text-subtle { color: var(--text-subtle); }
.text-accent { color: var(--accent-light); }
.bg-dark { background: var(--bg-2); }

/* 22. RESPONSIVE */
@media (max-width: 1024px) {
    .container, .container-wide { padding: 0 2rem; }
    .hero { min-height: 90vh; }
    .hero-content { padding-top: 2rem; padding-bottom: 60px; }
    .section { padding: 80px 0; }
    .section-sm { padding: 60px 0; }
    .nav-links { gap: 1.5rem; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card { height: 60vw; min-height: 380px; }
    .two-col { gap: 50px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
    .role-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 768px) { .nav-inner { padding: 0 1.25rem; } 
    :root { --nav-h: 60px; }
    .container, .container-wide { padding: 0 1.25rem; }
    .section { padding: 48px 0; }
    .section-sm { padding: 36px 0; }
    .nav-links { display: none; }
    .nav-cta .btn-primary { display: none; }
    .hamburger { display: flex; }

    /* Home Hero (index.html) */
    .hero { 
        min-height: 85svh; 
        display: flex; 
        align-items: center; 
        padding-top: calc(var(--nav-h) + 1rem); 
        padding-bottom: 0;
    }
    .hero::after {
        content: '';
        position: absolute;
        top: calc(var(--nav-h) + 2rem); left: 1.25rem; right: 1.25rem; bottom: 20%;
        border-left: 1px solid rgba(255,255,255,0.15);
        border-right: 1px solid rgba(255,255,255,0.15);
        background: 
            linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
        background-size: 40px 40px;
        z-index: 1;
        pointer-events: none;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%);
    }
    .hero-content { 
        padding-top: 1.5rem; 
        padding-bottom: 2.75rem;
        position: relative;
        z-index: 2;
    }
    .hero-eyebrow { margin-bottom: 1rem; }
    .hero-title { 
        font-size: clamp(2.2rem, 8vw, 3.2rem); 
        line-height: 1.05; 
        margin-bottom: 1rem; 
    }
    .hero-desc { 
        font-size: 0.92rem; 
        line-height: 1.6; 
        margin-bottom: 1.5rem; 
        max-width: 100%;
    }
    .hero-actions { 
        flex-direction: column; 
        align-items: stretch; 
        gap: 0.75rem; 
        width: 100%;
        max-width: 320px;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    .scroll-indicator { display: none; }

    /* Inner Page Hero — all inner pages (Platforms, About, Research, Industries, Tactical, Marine) */
    .page-hero { 
        min-height: 65svh;
        padding-top: var(--nav-h);
        align-items: center;
    }
    .page-hero::after {
        content: '';
        position: absolute;
        top: calc(var(--nav-h) + 1.5rem); left: 1.25rem; right: 1.25rem; bottom: 10%;
        border-left: 1px solid rgba(255,255,255,0.15);
        border-right: 1px solid rgba(255,255,255,0.15);
        background: 
            linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
        background-size: 40px 40px;
        z-index: 1;
        pointer-events: none;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%);
    }
    .page-hero-content { 
        padding-top: 1.25rem; 
        padding-bottom: 2.25rem;
        position: relative;
        z-index: 2;
    }
    .page-hero .display-lg,
    .page-hero .display-xl,
    .display-xl,
    .display-lg { 
        font-size: clamp(1.9rem, 7vw, 2.6rem); 
        line-height: 1.08; 
    }
    .display-md { 
        font-size: clamp(1.4rem, 5vw, 1.9rem); 
        line-height: 1.15; 
    }
    .itar-badge {
        font-size: 0.55rem;
        padding: 5px 10px;
        gap: 6px;
        margin-bottom: 0.85rem;
    }

    /* Product Cards & Showcase Grid */
    .product-grid { grid-template-columns: 1fr; gap: 2px; }
    .product-card { 
        height: auto;
        min-height: 300px;
        max-height: 440px;
    }
    .product-card-badge {
        top: 1rem;
        right: 1rem;
        padding: 4px 10px;
        font-size: 0.56rem;
    }
    .product-card-content { 
        padding: 1.1rem 1.1rem 1.25rem; 
    }
    .product-card-num { margin-bottom: 0.3rem; font-size: 0.6rem; }
    .product-card-title { 
        font-size: clamp(1.5rem, 5.5vw, 2rem); 
        margin-bottom: 0.4rem; 
        line-height: 1.1; 
    }
    .product-card-desc { 
        font-size: 0.82rem; 
        line-height: 1.5; 
        opacity: 1; 
        transform: none; 
        margin-bottom: 0.85rem; 
        max-width: 100%;
    }
    .product-card-link { font-size: 0.7rem; }

    /* Product showcase image */
    .product-showcase img { height: 220px; }
    .product-showcase { margin-top: 1.5rem; margin-bottom: 1rem; }

    /* Layout & Grids */
    .two-col { grid-template-columns: 1fr; gap: 1.75rem; }
    .section-header { margin-bottom: 24px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-block { 
        padding: 1.5rem 1.1rem; 
        border-right: none; 
        border-bottom: 1px solid var(--border); 
    }
    .stat-block:last-child { border-bottom: none; }
    .stat-number { font-size: 2.5rem; margin-bottom: 0.3rem; }

    /* Capabilities & Specs */
    .capabilities-specs-wrapper { grid-template-columns: 1fr; gap: 1.75rem; }
    .cap-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .cap-card { padding: 1.5rem 1.1rem; }
    .cap-icon { margin-bottom: 0.85rem; font-size: 1.25rem; }
    .classified-spec-sidebar { 
        position: static; 
        padding: 2rem 1.1rem; 
    }
    .role-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .role-card { padding: 1.5rem 1.1rem; }

    /* Research methodology steps */
    .research-step { padding: 1.25rem 1rem !important; }

    /* Comparison Table Responsive */
    .specs-table td { padding: 0.65rem 0.75rem; font-size: 0.78rem; }
    .specs-table td:first-child { width: 36%; font-size: 0.66rem; padding-left: 0.65rem; }
    .specs-table-container { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* Footer Responsive */
    .site-footer { padding: 1.75rem 0 1.25rem; }
    .footer-top-row { margin-bottom: 1rem; padding-bottom: 1rem; gap: 0.5rem; }
    .footer-tagline { font-size: 0.8rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .footer-copy { font-size: 0.73rem; }
    .footer-itar { 
        font-size: clamp(0.5rem, 2.2vw, 0.62rem); 
        white-space: nowrap; 
        max-width: 100%; 
        overflow: hidden; 
        text-overflow: ellipsis; 
        display: inline-block; 
        letter-spacing: 0.04em;
        padding: 4px 8px;
    }

    /* Cookie consent widget & modal mobile adjustments */
    .cookie-widget-btn { bottom: 20px; right: 20px; left: auto; width: 42px; height: 42px; font-size: 1rem; }
    .cookie-modal { 
        bottom: 15px; 
        left: 15px; 
        right: 15px; 
        width: auto; 
        max-width: none; 
        padding: 1.5rem 1.25rem; 
        gap: 1rem; 
        max-height: 85vh; 
        overflow-y: auto; 
        -webkit-overflow-scrolling: touch; 
    }
    .cookie-title { font-size: 1rem; }
    .cookie-desc { font-size: 0.78rem; line-height: 1.4; }
    .cookie-options { gap: 0.75rem; }
    .cookie-opt-info h4 { font-size: 0.82rem; }
    .cookie-opt-info p { font-size: 0.7rem; }
    .cookie-btn { padding: 0.7rem; font-size: 0.75rem; }

    /* MII tag — enforce proper size on mobile */
    .mii-tag-img { height: 22px !important; }

    /* Industries info cards */
    .industries-info-card { padding: 1.25rem !important; }
}

@media (max-width: 480px) {
    .container, .container-wide { padding: 0 1rem; }
    .hero-title { font-size: clamp(2rem, 7.5vw, 2.6rem); }
    .hero-content { padding-bottom: 2.25rem; }
    .product-card { height: auto; min-height: 320px; max-height: 420px; }
    .footer-top-row { display: none; }
    .site-footer { padding: 1.25rem 0 1rem; }
    .footer-bottom { padding-top: 0; }
    .footer-itar { 
        font-size: clamp(0.44rem, 2.5vw, 0.58rem); 
        letter-spacing: 0.02em; 
        padding: 3px 6px; 
        white-space: nowrap; 
    }
}

/* PLATFORM TEASER GRID */
.platform-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.platform-teaser-card { background: var(--bg); }
.teaser-card-bordered { border-right: 1px solid var(--border); }
@media (max-width: 768px) { .nav-inner { padding: 0 1.25rem; } 
    .platform-teaser-grid { grid-template-columns: 1fr; }
    .teaser-card-bordered { border-right: none; border-bottom: 1px solid var(--border); }
    .platform-teaser-card { padding: 2rem 1.5rem !important; }
}

/* PRODUCT SHOWCASE */
.product-showcase { 
    position: relative; 
    width: 100%; 
    border-radius: var(--radius); 
    overflow: hidden; 
    border: 1px solid var(--border); 
    margin-top: 2rem; 
    margin-bottom: 2rem; 
    background: var(--bg-2);
    user-select: none;
    -webkit-user-select: none;
}
.product-showcase::before,
.product-showcase::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 3;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-showcase::before {
    top: 16px;
    left: 16px;
    border-top: 2px solid var(--accent-light);
    border-left: 2px solid var(--accent-light);
}
.product-showcase::after {
    bottom: 16px;
    right: 16px;
    border-bottom: 2px solid var(--accent-light);
    border-right: 2px solid var(--accent-light);
}
.product-showcase:hover::before {
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    border-color: #ffffff;
}
.product-showcase:hover::after {
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-color: #ffffff;
}
.product-showcase img { 
    width: 100%; 
    height: 500px; 
    object-fit: cover; 
    display: block; 
    animation: showcaseAmbientMotion 18s ease-in-out infinite;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease; 
    pointer-events: none;
    will-change: transform;
}
.product-showcase:hover img { 
    transform: scale(1.06); 
    filter: contrast(1.08) brightness(1.06);
}
.product-showcase-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to top, rgba(8,9,11,0.65) 0%, rgba(8,9,11,0.1) 50%, transparent 100%); 
    pointer-events: none; 
    z-index: 2;
}
.product-showcase-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(0,0,0,0.12) 0px, rgba(0,0,0,0.12) 1px, transparent 1px, transparent 3px);
    opacity: 0.4;
    pointer-events: none;
}

/* 15. COOKIE CONSENT */
.cookie-widget-btn { position: fixed; bottom: 30px; left: 30px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 9998; color: var(--text); font-size: 1.2rem; transition: all var(--transition); box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.cookie-widget-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--border-hover); transform: scale(1.05); }
.cookie-modal { position: fixed; bottom: 30px; left: 30px; width: 380px; max-width: calc(100vw - 60px); background: rgba(10,10,12,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border-hover); border-radius: var(--radius); z-index: 9999; padding: 2rem; transform: translateY(120%); opacity: 0; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease; box-shadow: 0 10px 40px rgba(0,0,0,0.8); display: flex; flex-direction: column; gap: 1.5rem; pointer-events: none; }
.cookie-modal.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-header { display: flex; justify-content: space-between; align-items: flex-start; }
.cookie-title { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--text); letter-spacing: 0.05em; text-transform: uppercase; }
.cookie-close { background: none; border: none; color: var(--text-subtle); cursor: pointer; font-size: 1.2rem; transition: color var(--transition); }
.cookie-close:hover { color: var(--accent-light); }
.cookie-desc { font-size: 0.85rem; color: var(--text-subtle); line-height: 1.5; font-weight: 300; }
.cookie-options { display: flex; flex-direction: column; gap: 1rem; }
.cookie-option { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cookie-option:last-child { border-bottom: none; padding-bottom: 0; }
.cookie-opt-info h4 { font-size: 0.9rem; font-weight: 500; color: var(--text); margin-bottom: 0.2rem; }
.cookie-opt-info p { font-size: 0.75rem; color: var(--text-muted); }

/* Toggle Switch */
.cookie-toggle { position: relative; width: 44px; height: 24px; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,0.1); transition: .4s; border-radius: 34px; }
.cookie-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: var(--text-muted); transition: .4s; border-radius: 50%; }
.cookie-toggle input:checked + .cookie-slider { background-color: var(--accent); }
.cookie-toggle input:checked + .cookie-slider:before { transform: translateX(20px); background-color: var(--bg); }
.cookie-toggle input:disabled + .cookie-slider { opacity: 0.5; cursor: not-allowed; }
.cookie-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.cookie-btn { padding: 0.8rem; border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; transition: all var(--transition); text-align: center; }
.cookie-btn-primary { background: var(--accent); color: var(--bg); border: none; }
.cookie-btn-primary:hover { background: var(--accent-light); }
.cookie-btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.cookie-btn-secondary:hover { border-color: var(--text-subtle); }




.premium-mii-flag { width: 120px; height: 6px; background: linear-gradient(to right, #B46A2A 33.3%, #D9D9D9 33.3%, #D9D9D9 66.6%, #5A7D45 66.6%); transform: skewX(-40deg); opacity: 0.9; margin-left: 5px; }

/* Logo Animation */
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(138, 118, 80, 0.1)) brightness(1); transform: scale(1); }
  50% { filter: drop-shadow(0 0 10px rgba(138, 118, 80, 0.4)) brightness(1.1); transform: scale(1.02); }
}
.nav-logo img, .footer-top-row img {
  animation: logoPulse 4s infinite ease-in-out;
  transform-origin: left center;
  transition: all var(--transition);
}
.nav-logo:hover img, .footer-top-row img:hover {
  animation: none;
  filter: drop-shadow(0 0 12px rgba(138, 118, 80, 0.6)) brightness(1.2);
  transform: scale(1.03);
}

/* --- PREMIUM EDITORIAL CLASSES --- */
.tech-micro-label { font-family: monospace; font-size: 0.75rem; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; margin-bottom: 1rem; display: block; }
.cinematic-hero { min-height: 70vh !important; display: flex; align-items: flex-end; padding-bottom: 4rem; }
.cinematic-hero .display-lg { font-size: clamp(3rem, 8vw, 6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 0; }
.glass-panel { background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.05); border-left: 2px solid var(--accent); padding: 3rem; position: relative; overflow: hidden; }
.glass-panel::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, var(--accent) 0%, transparent 100%); opacity: 0.5; }
.asymmetric-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .asymmetric-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } .asymmetric-grid > *:nth-child(2) { margin-top: 6rem; } }
.tech-text { color: var(--text-subtle); line-height: 1.8; font-weight: 300; font-size: 1.05rem; }
.tech-heading { font-size: 1.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.5rem; color: var(--text); }


@media (max-width: 768px) { .nav-inner { padding: 0 1.25rem; }  .cinematic-hero { min-height: 40vh !important; padding-bottom: 2rem; } }

/* --- NEW DROPDOWN NAVIGATION --- */
.dropdown { position: relative; }
.dropdown-menu { 
    position: absolute; top: 100%; left: -20px; 
    background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.5rem; min-width: 260px; display: flex; flex-direction: column; gap: 1rem;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--transition);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); z-index: 100;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-category { font-family: 'Inter', sans-serif; font-size: 0.65rem; color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.5rem; }
.dropdown-menu a { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.85rem; padding: 0.2rem 0; color: var(--text-subtle); transition: color var(--transition); letter-spacing: 0.05em; text-transform: none; }
.dropdown-menu a:hover { color: var(--text); }
.dropdown-menu a::after { display: none !important; }

/* ============================================
   23. MEDIA ANIMATIONS & DEFENSE-GRADE PROTECTION
   Ambient Recon Loiter, Showcase Motion, and
   Anti-Extraction Direct Access Restrictions
   ============================================ */

/* Continuous Ambient Recon Loiter Drift */
@keyframes heroReconDrift {
    0% {
        transform: scale(1.0) translate(0, 0);
    }
    50% {
        transform: scale(1.055) translate(-0.8%, -0.4%);
    }
    100% {
        transform: scale(1.0) translate(0, 0);
    }
}

/* Hardware Showcase Ambient Loiter */
@keyframes showcaseAmbientMotion {
    0% {
        transform: scale(1.0);
    }
    50% {
        transform: scale(1.025) translateY(-2px);
    }
    100% {
        transform: scale(1.0);
    }
}

/* Comprehensive Image & Media Anti-Extraction Rules */
.hero-media img,
.hero-media video,
.page-hero-media img,
.page-hero-media video,
.product-card-media img,
.product-card-media video,
.product-showcase img,
.product-showcase video,
.nav-logo img,
.footer-top-row img,
.site-footer img {
    pointer-events: none !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* Glass & Overlay Container Protections */
.hero-overlay,
.page-hero-overlay,
.product-card-overlay,
.product-showcase-overlay,
.product-card,
.product-showcase {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

