/*
CHANGE LOG
File: /static/css/iverify.css
Document Type: CSS Stylesheet
Purpose: Full-width professional styling for the iVerify presentation matching refuge layout
HTML Template: iverify.html
Version History:
2025-09-23 v5.0 - Complete redesign with full-width layout matching refuge site
2025-08-08 v4.2 - Reduced all font sizes by 20% for better readability.
2025-08-08 v4.1 - FINAL CSS: Simplified hero styling to be part of the summary.
2025-08-08 v4.0 - Full-width, wider content, and larger fonts for a bold, confident presentation.
*/

/* --- Color Palette & Base Styles --- */
:root {
    --primary-purple: #4a2c6d;
    --secondary-gold: #c5a05b;
    --text-dark: #212529;
    --text-light: #6c757d;
    --background-light: #f8f9fa;
    --border-color: #dee2e6;
    --base-font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    font-size: var(--base-font-size);
    line-height: 1.6;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* --- FULL-WIDTH LAYOUT MATCHING REFUGE SITE --- */
.iverify-container {
    display: flex;
    min-height: 100vh;
}

.iverify-nav {
    width: 280px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-purple) 0%, #5a3a7d 100%);
    color: white;
    padding: 0;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.iverify-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    max-width: none;
    padding: 0;
    margin-top: 0;
}

/* --- HERO SECTION --- */
.iverify-hero {
    width: 100%;
    height: 75vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin: 0;
}

.iverify-hero h1 {
    color: white;
    font-size: 4rem;
    font-weight: 900;
    margin: 0.5rem 0;
    letter-spacing: -1px;
}

.iverify-hero p {
    color: #f2f2f2;
    font-size: 1.4rem;
    margin: 0.3rem 0;
    font-weight: 300;
}

/* --- CONTENT SECTIONS --- */
.iverify-content section {
    padding: 4rem 6%;
    max-width: 1200px;
    margin: 0 auto;
}

.iverify-content section:first-of-type {
    padding-top: 0;
}

.iverify-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--secondary-gold);
    padding-bottom: 1rem;
}

.iverify-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin: 2rem 0 1rem 0;
}

.iverify-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem 0;
}

.iverify-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: none;
}

.iverify-content ul {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* --- NAVIGATION STYLES --- */
.iverify-nav .nav-header {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.iverify-nav h4 {
    margin: 0;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
}

.iverify-nav .nav-header p {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.iverify-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.iverify-nav li a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.iverify-nav li a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-left-color: var(--secondary-gold);
}

.iverify-nav li a.active {
    background-color: rgba(255,255,255,0.15);
    color: white;
    font-weight: 700;
    border-left-color: var(--secondary-gold);
}

/* Technical section header */
.tech-nav-header {
    color: var(--secondary-gold);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    letter-spacing: 1px;
}

/* --- CARD LAYOUTS --- */
.problem-grid, .solution-grid, .feature-grid, .opportunity-grid, .revenue-grid, .objective-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.problem-card, .solution-card, .feature-card, .opportunity-card, .revenue-card, .objective-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.problem-card {
    border-left: 5px solid #dc3545;
}

.solution-card, .feature-card {
    border-left: 5px solid var(--primary-purple);
}

.opportunity-card {
    border-left: 5px solid #28a745;
}

.revenue-card, .objective-card {
    border-left: 5px solid var(--secondary-gold);
}

.problem-card:hover, .solution-card:hover, .feature-card:hover, 
.opportunity-card:hover, .revenue-card:hover, .objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.problem-card h4 {
    color: #721c24;
    margin-top: 0;
}

.solution-card h4, .feature-card h4 {
    color: var(--primary-purple);
    margin-top: 0;
}

.opportunity-card h4 {
    color: #155724;
    margin-top: 0;
}

.revenue-card h5, .objective-card h5 {
    color: var(--secondary-gold);
    margin-top: 0;
}

/* --- PROCESS LIST --- */
.process-list {
    list-style: none;
    padding-left: 0;
    counter-reset: step-counter;
}

.process-list li {
    counter-increment: step-counter;
    margin-bottom: 2rem;
    padding-left: 4rem;
    position: relative;
}

.process-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    color: white;
    background: linear-gradient(135deg, var(--primary-purple) 0%, #5a3a7d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(74, 44, 109, 0.3);
}

.process-list li strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-purple);
}

/* --- BUTTONS AND LINKS --- */
.button-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, #5a3a7d 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 44, 109, 0.3);
}

.button-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 44, 109, 0.4);
    text-decoration: none;
    color: white;
}

/* --- HIGHLIGHT BOXES --- */
.highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid var(--secondary-gold);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cta-box {
    background: linear-gradient(135deg, #f0ebf7 0%, #e6ddf0 100%);
    border: 2px solid var(--primary-purple);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 4px 15px rgba(74, 44, 109, 0.1);
}

.cta-box h4 {
    margin-top: 0;
    color: var(--primary-purple);
    font-size: 1.6rem;
}

/* --- STATUS INDICATORS --- */
.status-online {
    color: #28a745;
    font-weight: bold;
    font-size: 0.9rem;
}

.status-offline {
    color: #6c757d;
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .iverify-nav {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .iverify-content {
        margin-left: 0;
        width: 100%;
    }
    
    .iverify-hero {
        background-attachment: scroll;
        height: 60vh;
    }
    
    .iverify-hero h1 {
        font-size: 2.5rem;
    }
    
    .iverify-content section {
        padding: 2rem 4%;
    }
    
    .problem-grid, .solution-grid, .feature-grid, .opportunity-grid, .revenue-grid, .objective-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .iverify-content section {
        padding: 1.5rem 5%;
    }
    
    .iverify-hero h1 {
        font-size: 2rem;
    }
    
    .iverify-hero p {
        font-size: 1.1rem;
    }
}

/* --- PRINT STYLES --- */
@media print {
    .iverify-nav {
        display: none;
    }
    
    .iverify-content {
        margin-left: 0;
        width: 100%;
    }
    
    .iverify-hero {
        background: none;
        height: auto;
        padding: 2rem 0;
    }
    
    .iverify-hero h1, .iverify-hero p {
        color: black;
    }
}
