﻿/* DEFINITION BOXES */
.nri-definition-wrapper {
    padding: 60px 0;
    background-color: #ffffff;
}

.definition-box {
    border-left: 5px solid var(--nri-accent);
    padding: 25px 40px;
    background: var(--nri-bg-light);
    border-radius: 0 var(--radius-main) var(--radius-main) 0;
}

.nri-h2-sub {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--nri-blue);
    margin-bottom: 15px;
}

/* RULE CARDS */
.rules-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.rule-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

    .rule-card:hover {
        border-color: var(--nri-accent);
    }

.rule-number {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--nri-accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.rule-card h4 {
    font-size: 1.3rem;
    color: var(--nri-blue);
    margin-bottom: 12px;
}

.rule-card ul {
    list-style: none;
    padding: 0;
}

    .rule-card ul li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 8px;
        font-size: 1rem;
        color: var(--nri-text);
    }

        .rule-card ul li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #10b981;
            font-weight: bold;
        }

.example-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #cbd5e1;
    font-size: 0.95rem;
    color: var(--nri-muted);
    margin-top: 15px;
}

/* COMPARISON BLOCKS */
.comparison-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 35px;
}

.comp-card {
    padding: 35px;
    border-radius: var(--radius-main);
    height: 100%;
}

.comp-card-negative {
    background: #fff5f5;
    border: 1px solid #fee2e2;
}

.comp-card-positive {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
}

.comp-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.comp-card-negative h4 {
    color: #b91c1c;
}

.comp-card-positive h4 {
    color: #15803d;
}

/* CONTRAST TABLE */
.contrast-container {
    margin-top: 35px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-main);
    overflow: hidden;
    background: #fff;
}

.contrast-row {
    display: flex;
}

.contrast-col {
    flex: 1;
    padding: 35px;
}

    .contrast-col:first-child {
        border-right: 1px solid #f1f5f9;
        background-color: #fcfcfd;
    }

.contrast-header {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--nri-blue);
    margin-bottom: 20px;
    display: block;
}

.contrast-footer-note {
    text-align: center;
    padding: 25px;
    background: #f1faf3;
    font-size: 1.05rem;
    border-top: 1px solid #e2e8f0;
}

/* VALUE PROPOSITION GRID */
.value-box-wrapper {
    background: #ffffff;
    border-radius: var(--radius-main);
    padding: 40px;
    border: 1px solid #e2e8f0;
}

.value-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
}

.value-icon {
    width: 20px;
    height: 20px;
    background-color: var(--nri-blue);
    flex-shrink: 0;
    margin-top: 4px;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
}

/* FINAL CTA */
.cta-banner-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-main);
    padding: 60px 30px;
    color: #ffffff;
    text-align: center;
}

.cta-btn-premium {
    background-color: var(--nri-accent);
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 12px;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s;
}

    .cta-btn-premium:hover {
        transform: translateY(-2px);
    }

/* ==========================================
   MOBILE MEDIA QUERIES (The Improvements)
========================================== */
@media (max-width: 768px) {
    /* Hero scaling */
    .nri-hero-premium {
        padding: 60px 0 90px;
    }

    .nri-hero-title {
        font-size: 1.85rem;
    }

    .nri-hero-sub {
        font-size: 1rem;
    }

    /* Typography */
    .nri-h2-sub {
        font-size: 1.4rem;
    }

    .definition-box {
        padding: 20px;
        border-left-width: 4px;
    }

    /* Responsive Stacking */
    .rule-card {
        padding: 20px;
    }

    .comparison-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contrast-row {
        flex-direction: column;
    }

    .contrast-col {
        padding: 25px 20px;
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9;
    }

    .value-box-wrapper {
        padding: 25px 20px;
    }

    /* CTA Mobile */
    .cta-banner-box {
        padding: 40px 20px;
    }

        .cta-banner-box h2 {
            font-size: 1.6rem;
        }

    .cta-btn-premium {
        width: 100%;
        box-sizing: border-box;
    }
}



/* --- POA TIMELINE (PAGE SPECIFIC) --- */
.poa-step-container {
    position: relative;
    padding-left: 40px;
}

.poa-step-item {
    position: relative;
    padding-bottom: 30px;
}

    .poa-step-item::before {
        content: '';
        position: absolute;
        left: -31px;
        top: 0;
        width: 2px;
        height: 100%;
        background: #e2e8f0;
    }

    .poa-step-item:last-child::before {
        display: none;
    }

.poa-step-number {
    position: absolute;
    left: -45px;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--nri-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    z-index: 2;
}
