/* ============================================================
   RAVIZI — Homepage CSS
   Layout: matches original screenshot structure
   Typography: modern Web3 — tight tracking, heavy weight
   Black #0b0b0b · Accent #ffcc00
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

body:not(.user-app),
body:not(.user-app) .flex-fill {
    background: #0b0b0b !important;
    color: #fff;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
    body:not(.user-app),
    body:not(.user-app) .flex-fill {
        background: #0b0b0b !important;
    }
}

.rz-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;
}

.rz-accent {
    color: #ffcc00;
}

.rz-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffcc00;
    margin-bottom: 8px;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.rz-btn {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
    cursor: pointer;
    font-size: 12px;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
}

.rz-btn:hover {
    opacity: .85;
    transform: translateY(-1px);
    text-decoration: none;
}

.rz-btn--primary {
    background: #ffcc00;
    color: #000;
    border: none;
}

.rz-btn--primary:hover {
    background: #e6b800;
    color: #000;
}

.rz-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid #3a3a3a;
}

.rz-btn--ghost:hover {
    border-color: #ffcc00;
    color: #ffcc00;
}

.rz-btn--lg {
    font-size: 14px;
    padding: 15px 36px;
    border-radius: 8px;
    letter-spacing: 2px;
}


/* ============================================================
   NAV
   ============================================================ */
.rz-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 60px;
    background: rgba(11, 11, 11, .95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #1a1a1a;
    margin-top: 10px;
}

.rz-nav__logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 3px;
    color: #fff;
    text-decoration: none;
}

.rz-nav__logo-mark {
    width: 28px;
    height: 28px;

    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rz-nav__links {
    display: flex;
    gap: 28px;
}

.rz-nav__link {
    font-size: 13px;
    font-weight: 500;
    color: #777;
    text-decoration: none;
    letter-spacing: .5px;
    transition: color .2s;
}

.rz-nav__link:hover,
.rz-nav__link--active {
    color: #fff;
}

.rz-nav__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.rz-nav__auth-inline {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Sign in / sign up only in mobile burger menu */
.rz-nav__link--menu-auth {
    display: none;
}

.rz-nav-wrap {
    position: relative;
}

.rz-nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.rz-nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}


/* ============================================================
   HERO — video full-width top, content centered below
   ============================================================ */
.rz-hero {
    width: 100%;
    margin-top: 40px;
    /* increase a bit for better spacing */
    padding: 0 16px;
    /* optional: adds side breathing space */
}

.rz-hero__media {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 0 0 0 0;
}

.rz-hero__video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.rz-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 11, 11, 0.1) 0%, rgba(11, 11, 11, 0.5) 100%);
}

.rz-hero__content {
    text-align: center;
    padding: 48px 32px 60px;
}

.rz-hero__title {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 16px;
}

.rz-hero__sub {
    font-size: 15px;
    color: #888;
    margin-bottom: 6px;
    font-weight: 500;
}

.rz-hero__sub2 {
    font-size: 13px;
    color: #555;
    margin-bottom: 32px;
}


/* ============================================================
   KNOW RAVIZI
   ============================================================ */
.rz-know {
    margin: 0 0 80px;
    padding: 48px 32px;
    background: #111;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.rz-know__intro {
    margin-bottom: 36px;
}

.rz-know__heading {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: -2px;
    color: #ffcc00;
    line-height: 1.0;
    margin-bottom: 10px;
}

.rz-know__sub {
    font-size: 16px;
    color: #ccc;
    font-weight: 600;
    margin-bottom: 4px;
}

.rz-know__sub2 {
    font-size: 13px;
    color: #555;
}

.rz-know__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rz-know__stat {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rz-know__stat--outline {
    background: transparent;
    border: 2px solid #ffcc00;
}

.rz-know__num {
    font-size: 35px;
    font-weight: 900;
    color: #ffcc00;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.rz-know__label {
    font-size: 20px;
    font-weight: 700;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rz-know__payout-label {
    font-size: 16px;
    font-weight: 900;
    color: #ffcc00;
    letter-spacing: 1px;
}

.rz-know__stat p {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    margin-top: 4px;
}

.rz-know__stat--outline .rz-know__num {
    color: #ffcc00;
}


/* ============================================================
   HOW IT WORKS — 4-col grid matching screenshot
   ============================================================ */
.rz-hiw {
    padding: 0 32px 80px;
}

.rz-hiw .rz-eyebrow {
    margin-bottom: 6px;
}

.rz-hiw__title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 48px;
}

.rz-hiw__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 24px;
    text-align: center;
}

.rz-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.rz-step__icon {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 🔥 THIS IS THE MAIN FIX */
.rz-step__icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.rz-step__icon--pct span {
    font-size: 28px;
    font-weight: 900;
    color: #000;
    line-height: 1;
}

.rz-step h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.rz-step p {
    font-size: 12px;
    color: #ccc;
    line-height: 1.5;
}


/* ============================================================
   EARN NOW
   ============================================================ */
.rz-earn {
    padding: 0 32px 80px;
}

.rz-earn .rz-eyebrow {
    margin-bottom: 6px;
}

.rz-earn__title {
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.0;
    color: #fff;
    margin-bottom: 20px;
}

.rz-earn__split {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.rz-earn__sub {
    font-size: 16px;
    color: #888;
    font-weight: 500;
}

.rz-earn__calcs {
    text-align: right;
}

.rz-earn__calcs p {
    font-size: 14px;
    color: #ffcc00;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: -0.3px;
}

.rz-earn__media {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    margin-bottom: 40px;
    border: 1px solid #1a1a1a;
}

.rz-earn__media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.rz-earn__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.rz-earn__cta p {
    font-size: 13px;
    color: #444;
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.rz-testi {
    padding: 0 32px 80px;
}

.rz-testi__title {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.0;
    margin-bottom: 36px;
}

.rz-testi__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.rz-tcard {
    background: #0f0f0f;
    border: 1px solid #1e1e1e;
    border-radius: 14px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rz-tcard p {
    font-size: 14px;
    color: #bbb;
    line-height: 1.65;
    flex: 1;
}

.rz-tcard--accent {
    border-color: #ffcc00;
    border-width: 1.5px;
}

.rz-tcard--img {
    padding: 0;
    overflow: hidden;
    min-height: 220px;
    border: none;
}

.rz-tcard--img img,
.rz-tcard--img video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.rz-tcard__stars {
    color: #ffcc00;
    font-size: 13px;
    letter-spacing: 2px;
}

.rz-nav__logo-mark img {
    height: 32px;
    /* control size */
    width: auto;
    /* keep ratio */
    display: block;
}

.rz-tcard__user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rz-tcard__av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.rz-tcard__user span {
    font-size: 13px;
    color: #555;
    font-weight: 600;
}


/* ============================================================
   FOOTER
   ============================================================ */
.rz-footer {
    background: #121212;
    border-top: 2px solid #ffcc00;
    padding: 44px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.rz-footer__links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 14px 44px;
    justify-content: center;
}

.rz-footer__links a {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    text-decoration: none;
    transition: color .2s;
}

.rz-footer__links a:hover {
    color: #ffcc00;
}

/* 🔥 FORCE SOCIAL ICON COLOR TO YELLOW */
.rz-footer svg,
.rz-footer i {
    color: #ffcc00 !important;
    fill: #ffcc00 !important;
}

.rz-footer a:hover svg,
.rz-footer a:hover i {
    color: #ffffff !important;
    fill: #ffffff !important;
    transform: scale(1.1);
    transition: 0.2s ease;
}

.rz-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rz-footer__c {
    width: 34px;
    height: 34px;
    border: 1.5px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #555;
}

.rz-footer__brand span {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffcc00;
    font-style: italic;
}

.rz-footer__brand em {
    font-style: normal;
    color: #555;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .rz-hiw__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px 12px;
    }

    .rz-know__stats {
        grid-template-columns: 1fr;
    }

    .rz-nav__links {
        display: none;
    }

    .rz-nav__burger {
        display: flex;
    }

    .rz-nav__links.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #0f0f0f;
        border-bottom: 1px solid #1a1a1a;
        padding: 16px 20px 20px;
        gap: 4px;
        z-index: 199;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    }

    .rz-nav__links.open .rz-nav__link {
        display: block;
        padding: 14px 12px;
        font-size: 15px;
        font-weight: 600;
        color: #e8e8e8;
        border-radius: 10px;
    }

    .rz-nav__links.open .rz-nav__link:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.06);
    }

    .rz-nav__links.open .rz-nav__link--menu-auth {
        display: block;
    }

    .rz-nav__links.open .rz-nav__link--menu-auth:first-of-type {
        margin-top: 8px;
        padding-top: 18px;
        border-top: 1px solid #2a2a2a;
    }

    .rz-nav__links.open .rz-nav__link--accent {
        margin-top: 6px;
        text-align: center;
        color: #000 !important;
        background: linear-gradient(135deg, #ffcc00 0%, #ffb020 45%, #e6b800 100%);
        font-weight: 800;
    }

    .rz-nav__links.open .rz-nav__link--accent:hover {
        filter: brightness(1.05);
        background: linear-gradient(135deg, #ffcc00 0%, #ffb020 45%, #e6b800 100%);
    }

    .rz-nav__actions--guest {
        display: none !important;
    }

    .rz-nav__burger.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .rz-nav__burger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .rz-nav__burger.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .rz-nav__burger span {
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
}

@media (max-width: 768px) {
    .rz-nav {
        padding: 0 20px;
    }

    .rz-hero__media {
        height: 280px;
    }

    .rz-hero__content {
        padding: 36px 20px 48px;
    }

    .rz-know,
    .rz-hiw,
    .rz-earn,
    .rz-testi {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rz-hiw__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }

    .rz-earn__split {
        flex-direction: column;
    }

    .rz-earn__calcs {
        text-align: left;
    }

    .rz-testi__grid {
        grid-template-columns: 1fr;
    }

    .rz-footer {
        padding: 36px 20px;
    }

    .rz-footer__links {
        grid-template-columns: repeat(2, auto);
        gap: 14px 28px;
    }
}

@media (max-width: 480px) {
    .rz-hiw__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rz-hero__title {
        letter-spacing: -1px;
    }

    .rz-earn__title {
        letter-spacing: -2px;
    }

    .rz-know__heading {
        letter-spacing: -1px;
    }
}