:root {
    --primary: #1a3c5e;
    --primary-light: #2563a8;
    --accent: #e8a020;
    --accent-light: #fef3e2;
    --success: #16a34a;
    --surface: #f8fafc;
    --surface-2: #eef2f7;
    --text: #0f172a;
    --text-muted: #080a0e;
    --border: #dde3ec;
    --white: #ffffff;
}

.rg-section {
    color: var(--text);
    background: var(--white);
}

/* ── WHY CHOOSE US ──────────────────────────────────── */
.rg-why {
    background: var(--surface);
    padding: 40px 0;
}

.rg-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.rg-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 14px;
}

.rg-section-sub {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
}

.rg-advantage-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px 28px;
    height: 100%;
    transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.rg-advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    opacity: 0;
    transition: opacity 0.25s;
}

.rg-advantage-card:hover {
    box-shadow: 0 12px 40px rgba(26, 60, 94, 0.1);
    transform: translateY(-4px);
    border-color: transparent;
}

.rg-advantage-card:hover::before {
    opacity: 1;
}

.rg-advantage-card .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.rg-advantage-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.rg-advantage-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}

.icon-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.icon-amber {
    background: #fef3c7;
    color: #b45309;
}

.icon-violet {
    background: #ede9fe;
    color: #7c3aed;
}

.icon-rose {
    background: #ffe4e6;
    color: #e11d48;
}

.icon-teal {
    background: #ccfbf1;
    color: #0d9488;
}

/* ── ATS SECTION ────────────────────────────────────── */
.rg-ats {
    background: linear-gradient(135deg, #0d2942 0%, var(--primary) 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.rg-ats::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 160, 32, 0.1) 0%, transparent 70%);
    top: -200px;
    left: -100px;
}

.rg-ats h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.25;
}

.rg-ats .ats-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 300;
    max-width: 520px;
}

.rg-ats .ats-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(22, 163, 74, 0.2);
    color: #4ade80;
    border: 1px solid rgba(22, 163, 74, 0.4);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.rg-ats-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 26px 24px;
    height: 100%;
    transition: background 0.2s;
}

.rg-ats-card:hover {
    background: rgba(255, 255, 255, 0.11);
}

.rg-ats-card i {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.rg-ats-card h4 {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 10px;
}

.rg-ats-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    font-weight: 300;
}

/* ── COMPARE TABLE ──────────────────────────────────── */
.rg-compare {
    background: var(--surface);
    padding: 40px 0;
}

.rg-compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(26, 60, 94, 0.08);
}

.rg-compare-table thead th {
    padding: 20px 28px;
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary);
    text-align: center;
    border: none;
}

.rg-compare-table thead th:first-child {
    text-align: left;
    background: #0d2942;
}

.rg-compare-table thead th.highlight-col {
    background: var(--primary-light);
    position: relative;
}

.rg-compare-table tbody tr {
    background: var(--white);
    transition: background 0.15s;
}

.rg-compare-table tbody tr:hover {
    background: var(--surface);
}

.rg-compare-table tbody td {
    padding: 17px 28px;
    border-bottom: 1px solid var(--border);
    font-size: 0.93rem;
    color: var(--text);
    text-align: center;
    vertical-align: middle;
}

.rg-compare-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text);
}

.rg-compare-table tbody td.highlight-col {
    background: rgba(37, 99, 168, 0.04);
    font-weight: 600;
    color: var(--primary-light);
}

.rg-compare-table .bi-check-circle-fill {
    color: var(--success);
    font-size: 1.2rem;
}

.rg-compare-table .bi-x-circle-fill {
    color: #dc2626;
    font-size: 1.2rem;
}

.rg-compare-table .bi-dash-circle-fill {
    color: #94a3b8;
    font-size: 1.2rem;
}

/* ── AI SECTION ─────────────────────────────────────── */
.rg-ai {
    background: var(--white);
    padding: 40px 0;
}

.rg-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #dbeafe, #ede9fe);
    color: var(--primary-light);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.rg-ai-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

.rg-ai-card:hover {
    box-shadow: 0 8px 28px rgba(26, 60, 94, 0.09);
    transform: translateY(-3px);
}

.rg-ai-card i {
    font-size: 1.6rem;
    color: var(--primary-light);
    margin-bottom: 14px;
    display: block;
}

.rg-ai-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.rg-ai-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .rg-feature-row {
        padding: 40px 0;
    }

    .rg-feature-visual {
        min-height: 160px;
        margin-top: 24px;
    }

    .rg-compare-table thead th,
    .rg-compare-table tbody td {
        padding: 14px 14px;
        font-size: 0.82rem;
    }
}