/* ==========================================================================
   1. GLOBAL SYSTEM STYLES & RESET (The Foundation)
   ========================================================================== */
:root {
    --bg-main: #0B0E11;        /* Deep matte black background */
    --bg-card: #151A20;        /* Subtle elevation card background */
    --text-primary: #FFFFFF;   /* Pure white text */
    --text-secondary: #9AA1A9; /* Muted tech grey for sub-paragraphs */
    --accent-color: #E2B13C;   /* Premium institutional gold/yellow tone */
    --accent-hover: #C5982D;   /* Darker accent state for smooth hover action */
    --border-color: #262E38;   /* Clean, tight line dividers */
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Hard locks rogue layout elements from creating janky side scrolling */
}

body {
    background: linear-gradient(-45deg, #0b0e11, #12161a, #07090b, #151b22);
    background-size: 400% 400%;
    animation: liveGradient 15s ease infinite;
    color: var(--text-primary);
    font-family: var(--font-stack);
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

/* The Live Animation Engine */
@keyframes liveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================================================
   2. REUSABLE ATOMIC UTILITIES (Highly Compact Layout Framework)
   ========================================================================== */
/* Retained for text hierarchy balance to keep typography readable */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 🌟 CRITICAL FIX: Add this helper class to any section containing your sliders */
.full-bleed {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Hard-locked tight buffer clearance for all structural blocks */
.section-padding {
    padding: 24px 0 !important;
}

/* Unification Engine: Solid Filled Gold Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    background-color: var(--accent-color) !important; /* Force solid gold fill */
    color: #000000 !important;                        /* High contrast dark text */
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(226, 177, 60, 0.15);
}

.btn:hover {
    background-color: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 177, 60, 0.3);
}

.btn:active {
    transform: translateY(0);
}

/* Secondary Button Reset (Ensures Login matching state) */
.btn-secondary {
    padding: 10px 20px;
    font-size: 13px;
}

/* Typography Hierarchy */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 8px; /* Tighter layout padding */
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 20px auto; /* Slashed from 60px down to 20px */
}

/* ==========================================================================
   3. SECTION SPECIFIC COMPONENT STYLES (Your Blocks)
   ========================================================================== */

/* Core Assets Layout Grid */
.assets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.asset-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px; /* Balanced interior padding */
    border-radius: 8px;
    transition: border-color 0.2s ease-in-out;
}

.asset-card:hover {
    border-color: rgba(226, 177, 60, 0.3);
}

.asset-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.asset-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Hard Evidence & Proof Gallery Grid */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.proof-column {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Tight vertical block stack spacing */
}

.proof-column h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 4px;
}

.image-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(15%);
    transition: filter 0.2s ease;
}

.image-container img:hover {
    filter: grayscale(0%);
}

/* Institutional Footer & Disclaimer */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 32px 0; /* Compacted footing blocks */
    margin-top: 40px;
}

.disclaimer-text {
    font-size: 11px;
    color: #5F666E;
    text-align: justify;
    line-height: 1.7;
}

/* ==========================================================================
   4. CROSS-PLATFORM SYSTEM SCALING (PC, Tablet & Mobile Fluidity)
   ========================================================================== */

/* 📑 TABLET ORIENTATION MODE (Viewports under 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    .section-padding {
        padding: 20px 0 !important;
    }
    .assets-grid {
        gap: 16px;
    }
    .proof-grid {
        gap: 16px;
    }
}

/* 📱 SMARTPHONE MOBILE ENGINE (Viewports under 768px - Full Display, Zero Content Loss) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .full-bleed {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .section-padding {
        padding: 16px 0 !important; /* Extremely tight stack padding for small glass interfaces */
    }
    .section-title {
        font-size: 24px;
    }
    .section-subtitle {
        font-size: 13px;
        margin-bottom: 24px;
        padding: 0 16px; /* Protects text tracking from clipping screen bezels */
    }
    /* Force grids into single columns so items stack gracefully on mobile screens */
    .assets-grid, .proof-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .asset-card {
        padding: 20px;
    }
    .proof-column h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .image-container {
        border-radius: 6px;
    }
    .image-container img {
        filter: grayscale(0%); /* Full clarity display for mobile viewers */
    }
    .disclaimer-text {
        font-size: 10px;
        text-align: left;
    }
}
