/* =====================================================
   AIMatric Resources Page - Namespaced CSS (res- prefix)
   Avoids conflicts with base styles.css
   ===================================================== */

/* Hero Section */
.res-hero {
    padding: 120px 0 42px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1000px 600px at 15% 20%, rgba(32, 178, 200, .18), transparent 65%),
        radial-gradient(900px 520px at 90% 10%, rgba(249, 115, 22, .14), transparent 62%),
        linear-gradient(180deg, var(--teal-50), transparent 62%);
}

.res-hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(60% 55% at 30% 30%, rgba(0, 0, 0, 1), transparent);
    pointer-events: none;
}

.res-hero-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.res-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 146, 164, 0.10);
    border: 1px solid rgba(18, 146, 164, 0.18);
    color: var(--teal-800);
    padding: 7px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.res-hero h1 {
    font-size: 46px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-top: 16px;
    color: var(--gray-900);
}

.res-hero p {
    margin-top: 18px;
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 56ch;
}

.res-hero-cta {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.res-hero-meta {
    margin-top: 28px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.res-mini {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.res-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--teal-500);
    box-shadow: 0 0 0 6px rgba(18, 146, 164, .14);
    margin-top: 6px;
    flex-shrink: 0;
}

.res-dot-orange {
    background: var(--orange-500);
    box-shadow: 0 0 0 6px rgba(249, 115, 22, .14);
}

.res-mini strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--gray-900);
}

.res-mini span {
    display: block;
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 2px;
}

/* Hero Visual */
.res-visual {
    position: relative;
    min-height: 420px;
}

.res-spark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(32, 178, 200, .25), transparent 60%);
    animation: res-sparkPulse 4s ease-in-out infinite;
}

@keyframes res-sparkPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.res-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border: 2px solid rgba(32, 178, 200, .35);
    border-radius: 50%;
    animation: res-ringPulse 3s ease-out infinite;
}

.res-ring.res-r2 {
    width: 220px;
    height: 220px;
    animation-delay: 0.5s;
}

@keyframes res-ringPulse {
    0% { transform: translate(-50%, -50%) scale(.9); opacity: .7; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.res-orb-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
    box-shadow: 0 0 60px rgba(32, 178, 200, .5);
}

.res-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--gray-200);
    box-shadow: 0 12px 40px rgba(15, 23, 42, .10);
    font-size: 14px;
    font-weight: 800;
    color: var(--gray-900);
    animation: res-float 5s ease-in-out infinite;
}

.res-chip small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    margin-top: 2px;
}

.res-ico {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(18, 146, 164, .12);
    border: 1px solid rgba(18, 146, 164, .20);
    font-size: 18px;
}

.res-chip.orange .res-ico { background: rgba(249, 115, 22, .12); border-color: rgba(249, 115, 22, .20); }
.res-chip.purple .res-ico { background: rgba(139, 92, 246, .12); border-color: rgba(139, 92, 246, .20); }
.res-chip.green .res-ico { background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .20); }

.res-chip.c1 { left: 5%; top: 10%; animation-delay: 0s; }
.res-chip.c2 { right: 5%; top: 15%; animation-delay: 0.5s; }
.res-chip.c3 { left: 10%; bottom: 20%; animation-delay: 1s; }
.res-chip.c4 { right: 10%; bottom: 25%; animation-delay: 1.5s; }

@keyframes res-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Section styles */
.res-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.res-section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 10px;
}

.res-section-head h2 {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--gray-900);
}

.res-section-head p {
    margin-top: 10px;
    font-size: 16px;
    color: var(--gray-600);
}

/* Why Section */
.res-why {
    padding: 80px 0;
    background:
        radial-gradient(800px 400px at 80% 0%, rgba(32, 178, 200, .12), transparent 60%),
        linear-gradient(180deg, var(--white), var(--gray-50));
}

.res-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.res-bullet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.res-bullet {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.res-bullet:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, .10);
}

.res-bullet-ic {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(18, 146, 164, .10);
    border: 1px solid rgba(18, 146, 164, .18);
    font-size: 18px;
    flex-shrink: 0;
}

.res-bullet strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--gray-900);
}

.res-bullet span {
    display: block;
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 4px;
}

/* Find Box */
.res-find-box {
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--gray-200);
    box-shadow: 0 12px 40px rgba(15, 23, 42, .10);
    position: relative;
    overflow: hidden;
}

.res-find-box::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(600px 240px at 20% 10%, rgba(32, 178, 200, .20), transparent 60%);
    pointer-events: none;
}

.res-find-box h3 {
    position: relative;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.res-find-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.res-find-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(249, 250, 251, .85);
    border: 1px solid var(--gray-200);
}

.res-find-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.res-badge {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 6px 10px;
    border-radius: 100px;
    background: rgba(18, 146, 164, .10);
    border: 1px solid rgba(18, 146, 164, .18);
    color: var(--teal-900);
    text-transform: uppercase;
}

.res-find-title {
    font-weight: 800;
    font-size: 14px;
    color: var(--gray-900);
}

.res-find-desc {
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 2px;
}

.res-tiny-btn {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    color: var(--gray-700);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.res-tiny-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .10);
}

.res-find-footer {
    margin-top: 20px;
    position: relative;
}

.res-find-note {
    margin-top: 10px;
    color: var(--gray-600);
    font-size: 13px;
}

/* Hub Section */
.res-hub {
    padding: 60px 0 80px;
}

.res-hub-tools {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: sticky;
    top: 60px;
    z-index: 100;
}

.res-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(249, 250, 251, .9);
    border: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .10);
}

.res-tab {
    border: 1px solid transparent;
    background: transparent;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--gray-700);
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
    text-transform: uppercase;
}

.res-tab:hover { transform: translateY(-1px); }

.res-tab.active {
    background: rgba(18, 146, 164, .12);
    border-color: rgba(18, 146, 164, .22);
    color: var(--teal-900);
}

.res-search {
    flex: 1 1 320px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .10);
    min-width: 280px;
}

.res-search-icon { font-weight: 900; color: var(--gray-500); }

.res-search input {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 14px;
    background: transparent;
    color: var(--gray-800);
    font-weight: 600;
}

.res-kbd {
    font-size: 11px;
    font-weight: 900;
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    padding: 4px 8px;
    border-radius: 8px;
}

/* Cards Grid */
.res-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.res-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .10);
    padding: 18px;
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.res-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, .12);
    border-color: var(--gray-300);
}

.res-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(480px 220px at 20% 0%, rgba(32, 178, 200, .16), transparent 58%);
    opacity: 0;
    transition: opacity .18s ease;
    pointer-events: none;
}

.res-card:hover::before { opacity: 1; }

.res-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    position: relative;
}

.res-type {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 900;
    color: var(--navy-800);
}

.res-ticon {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(249, 115, 22, .12);
    border: 1px solid rgba(249, 115, 22, .20);
    font-size: 16px;
}

.res-type[data-kind="video"] .res-ticon { background: rgba(18, 146, 164, .12); border-color: rgba(18, 146, 164, .20); }
.res-type[data-kind="guide"] .res-ticon { background: rgba(99, 102, 241, .12); border-color: rgba(99, 102, 241, .20); }
.res-type[data-kind="roi"] .res-ticon { background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .20); }
.res-type[data-kind="compare"] .res-ticon { background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .20); }
.res-type[data-kind="playbook"] .res-ticon { background: rgba(168, 85, 247, .12); border-color: rgba(168, 85, 247, .20); }

.res-card h3 {
    position: relative;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.3;
    margin-top: 12px;
    color: var(--gray-900);
    min-height: 42px;
}

.res-card p {
    position: relative;
    margin-top: 8px;
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    min-height: 44px;
}

.res-covers {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.res-chiplet {
    font-size: 11px;
    font-weight: 800;
    color: var(--gray-700);
    background: rgba(243, 244, 246, .9);
    border: 1px solid var(--gray-200);
    padding: 6px 10px;
    border-radius: 100px;
}

.res-card-actions {
    position: relative;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.res-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 700;
}

.res-meta strong { color: var(--gray-700); }

.res-external-link{
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    background: rgba(22, 158, 249, 0.12);
    color: var(--teal-900);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.res-external-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .10);
    background: rgba(22, 158, 249, 0.18);
}
.res-dl-btn {
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(249, 115, 22, .22);
    background: rgba(249, 115, 22, .12);
    color: var(--orange-600);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.res-dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .10);
    background: rgba(249, 115, 22, .18);
}

.res-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
    font-size: 16px;
}

/* Final CTA */
.res-final {
    padding: 60px 0 80px;
    background:
        radial-gradient(900px 420px at 20% 30%, rgba(249, 115, 22, .18), transparent 60%),
        radial-gradient(900px 420px at 85% 10%, rgba(32, 178, 200, .18), transparent 60%),
        linear-gradient(180deg, rgba(15, 23, 42, .02), var(--white));
    border-top: 1px solid var(--gray-100);
}

.res-final-box {
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--gray-200);
    box-shadow: 0 12px 40px rgba(15, 23, 42, .10);
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.res-final-box::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(700px 240px at 15% 15%, rgba(18, 146, 164, .18), transparent 60%);
    pointer-events: none;
}

.res-final-left {
    position: relative;
}

.res-final-left h2 {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.res-final-left p {
    margin-top: 12px;
    color: var(--gray-600);
}

.res-final-actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Modal */
.res-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.res-modal-backdrop.open { display: flex; }

.res-modal {
    width: min(860px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 22px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--gray-200);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
    position: relative;
}

.res-modal::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(600px 200px at 30% 0%, rgba(32, 178, 200, .15), transparent 50%);
    pointer-events: none;
}

.res-modal-head {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--gray-100);
}

.res-modal-head h3 {
    font-size: 20px;
    font-weight: 900;
}

.res-modal-head p {
    margin-top: 6px;
    font-size: 14px;
    color: var(--gray-600);
}

.res-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-size: 16px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .15s ease;
}

.res-modal-close:hover { background: var(--gray-50); }

.res-modal-body {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    padding: 24px 28px;
}

.res-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.res-field label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.res-field input,
.res-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.res-field input:focus,
.res-field textarea:focus {
    outline: none;
    border-color: var(--teal-400);
    box-shadow: 0 0 0 4px rgba(18, 146, 164, .10);
}

.res-hint {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 6px;
}

.res-error {
    display: none;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(239, 68, 68, .10);
    border: 1px solid rgba(239, 68, 68, .20);
    color: #DC2626;
    font-size: 13px;
    font-weight: 700;
    margin-top: 14px;
}

.res-error.show { display: block; }

.res-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

/* Modal Sidebar */
.res-modal-side {
    padding: 20px;
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
}

.res-side-title {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.res-side-box {
    padding: 16px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    margin-bottom: 16px;
}

.res-side-box strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--gray-900);
}

.res-side-box span {
    display: block;
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 4px;
}

.res-side-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.res-side-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.res-si {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(18, 146, 164, .10);
    border: 1px solid rgba(18, 146, 164, .18);
    font-size: 16px;
    flex-shrink: 0;
}

.res-side-item strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--gray-900);
}

.res-si-desc {
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 2px;
}

.res-modal-foot {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    border-top: 1px solid var(--gray-100);
    flex-wrap: wrap;
}

.res-privacy {
    font-size: 12px;
    color: var(--gray-500);
}

.res-privacy a {
    color: var(--teal-800);
    font-weight: 900;
    text-decoration: none;
}

.res-privacy a:hover { text-decoration: underline; }

/* Toast */
.res-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: min(420px, calc(100% - 40px));
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--gray-200);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
    padding: 16px;
    display: none;
    z-index: 2200;
}

.res-toast.show {
    display: block;
    animation: res-toastIn .25s ease both;
}

@keyframes res-toastIn {
    from { transform: translateY(12px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.res-toast-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.res-toast-ok {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(16, 185, 129, .12);
    border: 1px solid rgba(16, 185, 129, .20);
    color: var(--success);
    font-weight: 900;
}

.res-toast strong {
    display: block;
    font-size: 14px;
}

.res-toast span {
    display: block;
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 4px;
}

.res-toast-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Reveal Animation */
.res-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.res-reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .res-hero-wrap { grid-template-columns: 1fr; }
    .res-visual { min-height: 360px; }
    .res-why-grid { grid-template-columns: 1fr; }
    .res-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .res-modal-body { grid-template-columns: 1fr; }

}

@media (max-width: 768px) {
    .res-hero { padding-top: 110px; }
    .res-hero h1 { font-size: 36px; }
    .res-bullet-grid { grid-template-columns: 1fr; }
    .res-cards { grid-template-columns: 1fr; }
    .res-form-grid { grid-template-columns: 1fr; }
    .res-section-head h2 { font-size: 28px; }
    .res-final-left h2 { font-size: 24px; }
    .res-hub-tools {
        position: relative;
        top: 0px;
        z-index: 100;
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .res-tabs { flex-direction: row; }
    .res-search { min-width: 100%; }
}
