/* ==========================================================================
   SovereignBastion™ - High-Assurance Defense Styling Sheet
   Color Palette: Sovereign Navy, Steel Slate, Platinum White, Gold Alert
   ========================================================================== */

:root {
    --bg-dark: #050814;
    --bg-surface: #0c1125;
    --bg-card-highlight: #121a36;
    --bg-glass: rgba(5, 8, 20, 0.8);
    
    --color-primary: #1e3a8a; /* Sovereign Navy */
    --color-primary-hover: #2563eb;
    --color-accent: #475569; /* Steel Slate */
    --color-accent-hover: #64748b;
    --color-gold: #eab308; /* Gold Alert */
    --color-gold-hover: #facc15;
    --color-platinum: #f1f5f9; /* Platinum Text */
    
    --border-color: rgba(148, 163, 184, 0.12);
    --border-highlight: rgba(234, 179, 8, 0.25);
    --border-navy-glow: rgba(59, 130, 246, 0.25);
    
    --color-text-primary: #f8fafc;
    --color-text-muted: #94a3b8;
    
    --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);
}

/* Reset and Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #111827;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 750;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.text-center {
    text-align: center;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid var(--border-highlight);
    border-radius: 50px;
    background: rgba(234, 179, 8, 0.05);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.05);
    margin-bottom: 1.5rem;
}

/* Header Styling */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    height: 75px;
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-accent {
    font-weight: 800;
    color: var(--color-gold);
    font-size: 1.35rem;
    letter-spacing: 0.05em;
}

.logo-main {
    font-weight: 800;
    color: var(--color-platinum);
    font-size: 1.35rem;
    letter-spacing: 0.05em;
}

.main-nav {
    display: flex;
    gap: 2.2rem;
}

.nav-item {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.nav-item:hover {
    color: var(--color-gold);
}

/* Hero Section */
.hero-section {
    min-height: 92vh;
    padding-top: 75px;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(30, 58, 138, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(234, 179, 8, 0.03) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 1.75rem;
    background: linear-gradient(135deg, var(--color-platinum) 40%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 350;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto 3.2rem auto;
    line-height: 1.75;
}

/* Buttons */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.25);
    border: 1px solid var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(234, 179, 8, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-muted);
    transform: translateY(-2px);
}

/* Alert Banner Section */
.alert-banner-section {
    padding: 1.5rem 0;
}

.alert-banner {
    background: rgba(234, 179, 8, 0.04);
    border: 1px solid var(--border-highlight);
    border-radius: 8px;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-text {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.alert-text strong {
    color: var(--color-gold);
    font-weight: 700;
}

/* Sections General styling */
.specifications-section, 
.compliance-section, 
.procurement-section, 
.vdp-section {
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.01);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

/* Specifications Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.spec-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 3rem 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary-hover);
    opacity: 0;
    transition: var(--transition-smooth);
}

.spec-card:hover {
    border-color: var(--border-navy-glow);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.spec-card:hover::before {
    opacity: 1;
}

.spec-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.spec-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    font-weight: 350;
    line-height: 1.65;
}

.spec-card strong {
    color: var(--color-gold);
    font-weight: 600;
}

/* Compliance Details */
.compliance-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.compliance-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2.5rem;
}

.compliance-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.compliance-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-weight: 350;
}

.compliance-item strong {
    color: #ffffff;
    font-weight: 600;
}

/* Procurement Grid */
.procure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.procure-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.procure-card:hover {
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.procure-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}

.procure-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    font-weight: 350;
}

.procure-card strong {
    color: var(--color-gold);
    font-weight: 600;
}

/* VDP Section */
.vdp-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.vdp-intro {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-bottom: 2.5rem;
    max-width: 850px;
    font-weight: 350;
}

.pgp-box {
    background: #03050c;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.pgp-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-gold);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.pgp-box h6 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.pgp-key {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.8rem;
    color: #cbd5e1;
    overflow-x: auto;
    white-space: pre;
    line-height: 1.5;
}

.vdp-submission-note {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.vdp-submission-note p {
    margin-bottom: 1.5rem;
}

.vdp-submission-note strong {
    color: #ffffff;
}

.triage-contact {
    font-size: 1.05rem;
    color: #ffffff;
    margin-top: 2rem;
}

.triage-contact a {
    color: var(--color-gold);
    text-decoration: underline;
    font-weight: 600;
}

.triage-contact a:hover {
    color: var(--color-gold-hover);
}

/* Footer Styling */
.app-footer {
    background: #03050c;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.office-info {
    font-size: 0.8rem;
}

.office-info a {
    color: #ffffff;
    text-decoration: underline;
}

.office-info a:hover {
    color: var(--color-gold);
}

/* Responsiveness Rules */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .procure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }
    .main-nav {
        gap: 1.25rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 3rem;
    }
    .specifications-section, 
    .compliance-section, 
    .procurement-section, 
    .vdp-section {
        padding: 5rem 0;
    }
    .procure-grid {
        grid-template-columns: 1fr;
    }
    .vdp-container {
        padding: 2.5rem 1.5rem;
    }
    .pgp-box {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .app-header {
        height: auto;
        padding: 1rem 0;
    }
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-section {
        padding-top: 120px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .cta-group {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    .btn {
        text-align: center;
    }
    .alert-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
    }
}
