/* ==========================================================================
   SovereignBastion - Defense Styling Sheet
   Color Palette: Sovereign Navy, Metallic Gold, Electric Cyan, Emerald Green
   ========================================================================== */

:root {
    --bg-dark: #060911;
    --bg-surface: #0b1120;
    --bg-glass: rgba(11, 17, 32, 0.85);
    
    --color-gold: #eab308;
    --color-gold-bright: #f59e0b;
    --color-gold-glow: rgba(234, 179, 8, 0.15);
    
    --border-color: rgba(234, 179, 8, 0.3);
    --border-glow: rgba(234, 179, 8, 0.6);
    
    --color-text-primary: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-cyan: #06b6d4;
    --color-emerald: #10b981;
    --color-navy: #0f172a;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--bg-dark); }
body { font-family: var(--font-body); color: var(--color-text-primary); line-height: 1.6; overflow-x: hidden; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

h1, h2 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; }
h3, h4 { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; transition: var(--transition-smooth); }

.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: var(--color-gold-glow);
}

.defense-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.badge-status {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-emerald);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 12px;
    border-radius: 50px;
}

/* Header */
.app-header {
    position: fixed;
    top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(234, 179, 8, 0.15);
    height: 76px;
}

.header-container {
    max-width: 1240px; margin: 0 auto; padding: 0 2rem;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.logo-link { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; font-weight: 800; }
.header-logo { height: 42px; width: auto; }
.logo-accent { color: var(--color-gold); }
.logo-main { color: var(--color-text-primary); }

.main-nav { display: flex; gap: 2rem; }
.nav-item { font-size: 0.88rem; color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.nav-item:hover { color: var(--color-gold); }

/* Hero */
.hero-section {
    padding: 160px 2rem 90px;
    background: radial-gradient(circle at 75% 30%, rgba(234, 179, 8, 0.12) 0%, transparent 60%);
}

.hero-container { max-width: 1240px; margin: 0 auto; }
.hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }

.hero-title { font-size: 3.8rem; line-height: 1.08; margin-bottom: 1.5rem; color: #fff; font-family: var(--font-heading); }
.hero-subtitle { font-size: 1.18rem; color: var(--color-text-muted); margin-bottom: 2.5rem; font-weight: 300; line-height: 1.6; }

.cta-group { display: flex; gap: 1rem; }
.btn { padding: 14px 28px; border-radius: 6px; font-weight: 800; font-size: 0.88rem; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; transition: var(--transition-smooth); }
.btn-primary { background: var(--color-gold); color: #060911; border: none; }
.btn-primary:hover { background: var(--color-gold-bright); box-shadow: 0 0 30px rgba(234, 179, 8, 0.4); transform: translateY(-2px); }
.btn-secondary { background: rgba(255, 255, 255, 0.03); color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--color-gold); transform: translateY(-2px); }

.hero-logo-frame {
    display: flex; justify-content: center; align-items: center;
    padding: 1.5rem; background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: 20px; box-shadow: 0 0 60px rgba(234, 179, 8, 0.15);
}
.hero-showcase-logo { max-width: 320px; height: auto; display: block; }

/* Alert Banner */
.alert-banner-section { padding: 1rem 2rem; }
.alert-banner {
    max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 16px;
    padding: 1.1rem 1.6rem; background: rgba(234, 179, 8, 0.08); border: 1px solid var(--border-color);
    border-radius: 12px; font-size: 0.9rem; color: var(--color-text-muted);
}
.alert-icon { font-size: 1.4rem; }

/* Sections */
.specifications-section, .patents-section, .compliance-section, .procurement-section, .vdp-section {
    padding: 90px 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-container { max-width: 1240px; margin: 0 auto; }
.section-title { font-size: 2.6rem; margin-bottom: 1rem; margin-top: 0.5rem; font-family: var(--font-heading); color: #fff; }
.section-subtitle { font-size: 1.1rem; color: var(--color-text-muted); max-width: 800px; margin-bottom: 3rem; font-weight: 300; }

/* Specs Grid */
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; }
.spec-card {
    background: var(--bg-surface); border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px; padding: 2rem; transition: var(--transition-smooth);
}
.spec-card:hover { border-color: var(--border-glow); transform: translateY(-3px); box-shadow: 0 0 25px rgba(234, 179, 8, 0.12); }
.spec-card h3 { color: var(--color-gold); font-size: 1.25rem; margin-bottom: 0.75rem; }
.spec-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Defense Patent Grid */
.defense-patent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 1.5rem; }

.defense-patent-card {
    background: var(--bg-surface); border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: 14px; padding: 2rem; transition: var(--transition-smooth);
    display: flex; flex-direction: column; justify-content: space-between;
}
.defense-patent-card:hover { border-color: var(--color-gold); box-shadow: 0 0 35px rgba(234, 179, 8, 0.15); transform: translateY(-3px); }

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.status-badge { font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 4px; }
.status-filed { background: rgba(16, 185, 129, 0.15); color: var(--color-emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
.status-spec { background: rgba(234, 179, 8, 0.15); color: var(--color-gold); border: 1px solid rgba(234, 179, 8, 0.3); }
.serial-code { font-family: monospace; font-size: 0.75rem; color: var(--color-text-muted); }

.defense-patent-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; line-height: 1.3; color: #fff; }
.defense-patent-card p { font-size: 0.92rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }

.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.72rem; font-weight: 600; padding: 3px 8px; background: rgba(255, 255, 255, 0.05); border-radius: 4px; color: var(--color-text-muted); }

/* Compliance */
.compliance-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.compliance-item { background: var(--bg-surface); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 1.75rem; }
.compliance-item h4 { color: var(--color-gold); margin-bottom: 0.75rem; }
.compliance-item p { color: var(--color-text-muted); font-size: 0.92rem; }

/* Procurement */
.procurement-box { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; padding: 2.5rem; }
.contact-details { margin-top: 1.5rem; color: var(--color-text-muted); }
.contact-details p { margin-bottom: 0.5rem; }
.contact-details a { color: var(--color-gold); font-weight: 600; }

/* VDP Section */
.vdp-intro { color: var(--color-text-muted); margin-bottom: 2rem; }
.vdp-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 14px; padding: 2rem; }
.pgp-box { background: #020408; padding: 1.25rem; border-radius: 8px; font-size: 0.85rem; color: var(--color-gold); margin: 1rem 0; overflow-x: auto; border: 1px solid rgba(234, 179, 8, 0.2); }
.vdp-email { color: var(--color-text-muted); font-size: 0.9rem; }
.vdp-email code { color: var(--color-emerald); }

/* Footer */
.app-footer { padding: 50px 2rem 30px; background: #03050a; border-top: 1px solid rgba(255, 255, 255, 0.04); }
.footer-container { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-info h5 { color: var(--color-gold); font-size: 1.1rem; margin-bottom: 0.5rem; }
.office-address { color: var(--color-text-muted); font-size: 0.88rem; }
.footer-copyright { color: var(--color-text-muted); font-size: 0.85rem; opacity: 0.6; }

@media (max-width: 900px) {
    .hero-split { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.7rem; }
    .hero-right { display: none; }
    .main-nav { display: none; }
}
