/* ============================================================
   RapziEats V3 — Modern Editorial Landing Page
   Standalone CSS — no dependency on main.css
   Font: Plus Jakarta Sans (loaded via Google Fonts in HTML)
   ============================================================ */

/* ----------------------------------------------------------
   0. CSS Custom Properties
   ---------------------------------------------------------- */
:root {
    --rz-primary: #E23744;
    --rz-primary-dark: #c9202e;
    --rz-secondary: #FF6B6B;
    --rz-dark: #0F172A;
    --rz-surface: #F8FAFC;
    --rz-white: #FFFFFF;
    --rz-text: #0F172A;
    --rz-text-secondary: #64748B;
    --rz-hint: #94A3B8;
    --rz-border: rgba(0, 0, 0, 0.06);
    --rz-radius-sm: 12px;
    --rz-radius-md: 20px;
    --rz-radius-lg: 24px;
    --rz-radius-pill: 50px;
    --rz-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
    --rz-shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
    --rz-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --rz-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
    --rz-transition: 0.3s ease;
}

/* ----------------------------------------------------------
   1. Base / Reset
   ---------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--rz-text);
    background: var(--rz-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--rz-transition);
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

/* Selection */
::selection {
    background: var(--rz-primary);
    color: var(--rz-white);
}

::-moz-selection {
    background: var(--rz-primary);
    color: var(--rz-white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--rz-surface);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 var(--rz-surface);
}

/* ----------------------------------------------------------
   2. Preloader
   ---------------------------------------------------------- */
#landing-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.rz-preloader {
    position: fixed;
    inset: 0;
    background: var(--rz-white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}

.rz-preloader__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #F1F5F9;
    border-top-color: var(--rz-primary);
    border-radius: 50%;
    animation: rz-spin 0.7s linear infinite;
}

@keyframes rz-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ----------------------------------------------------------
   3. Header — Frosted Glass with Animated Underlines
   ---------------------------------------------------------- */

/* Red accent strip at very top */
.rz-header__accent {
    height: 3px;
    background: linear-gradient(90deg, var(--rz-primary), var(--rz-secondary), var(--rz-primary));
    background-size: 200% 100%;
    animation: rz-accent-shift 4s ease infinite;
}

@keyframes rz-accent-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.rz-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Deeper shadow on scroll */
.rz-header.active {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 24px rgba(0, 0, 0, 0.06);
}

.rz-header__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 20px;
    max-width: 1320px;
    margin: 0 auto;
}

.rz-header__logo {
    display: flex;
    align-items: center;
}

.rz-header__logo img {
    max-height: 42px;
    width: auto;
    transition: transform 0.3s ease;
}

.rz-header__logo:hover img {
    transform: scale(1.04);
}

.rz-header__nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.rz-header__nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--rz-text);
    position: relative;
    padding: 6px 14px;
    border-radius: 8px;
    transition: color 0.25s ease, background 0.25s ease;
}

/* Animated underline */
.rz-header__nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--rz-primary);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rz-header__nav a:hover {
    color: var(--rz-primary);
    background: rgba(226, 55, 68, 0.04);
}

.rz-header__nav a:hover::after {
    transform: scaleX(1);
}

.rz-header__nav a.active {
    color: var(--rz-primary);
    font-weight: 600;
    background: rgba(226, 55, 68, 0.06);
}

.rz-header__nav a.active::after {
    transform: scaleX(1);
}

.rz-header__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

/* Hamburger Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    border-radius: 10px;
    transition: background 0.2s;
}

.nav-toggle:hover {
    background: rgba(0, 0, 0, 0.04);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--rz-text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
}

.nav-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.nav-toggle span:nth-child(2) {
    transform: translateY(0);
    width: 14px;
}

.nav-toggle span:nth-child(3) {
    transform: translateY(6px);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
    width: 20px;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
    width: 20px;
}

.nav-toggle.active {
    z-index: 1001;
}

/* Mobile overlay backdrop */
.rz-header__overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Show overlay when mobile nav is open — toggled by main.js .menu.active */
.rz-header:has(.menu.active) .rz-header__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Language Dropdown */
.rz-header__lang {
    position: relative;
}

.rz-header__lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--rz-radius-pill);
    background: var(--rz-surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--rz-text);
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.25s ease;
}

.rz-header__lang-btn svg {
    opacity: 0.5;
    flex-shrink: 0;
}

.rz-header__lang-btn:hover {
    background: #EEF0F4;
    border-color: rgba(0, 0, 0, 0.1);
}

/* Join Dropdown */
.rz-header__join {
    position: relative;
}

/* ----------------------------------------------------------
   4. Common Buttons
   ---------------------------------------------------------- */
.rz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--rz-primary);
    color: var(--rz-white);
    padding: 12px 28px;
    border-radius: var(--rz-radius-pill);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--rz-transition);
    text-decoration: none;
    line-height: 1.4;
}

.rz-btn:hover {
    background: var(--rz-primary-dark);
    color: var(--rz-white);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(226, 55, 68, 0.3);
}

.rz-btn--sm {
    padding: 8px 20px;
    font-size: 14px;
}

.rz-btn--outline {
    background: transparent;
    border: 2px solid var(--rz-primary);
    color: var(--rz-primary);
}

.rz-btn--outline:hover {
    background: var(--rz-primary);
    color: var(--rz-white);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(226, 55, 68, 0.2);
}

.rz-btn--white {
    background: var(--rz-white);
    color: var(--rz-text);
}

.rz-btn--white:hover {
    background: #F1F5F9;
    color: var(--rz-text);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ----------------------------------------------------------
   5. Section Headers
   ---------------------------------------------------------- */
.rz-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.rz-section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--rz-text);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 0;
}

.rz-section-subtitle {
    font-size: 16px;
    color: var(--rz-text-secondary);
    max-width: 600px;
    margin: 12px auto 0;
    line-height: 1.7;
}

/* ----------------------------------------------------------
   6. Hero Section
   ---------------------------------------------------------- */
.rz-hero {
    background: var(--rz-white);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
}

.rz-hero__inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.rz-hero__content {
    flex: 1;
    max-width: 600px;
}

.rz-hero__badge {
    display: inline-block;
    background: rgba(226, 55, 68, 0.08);
    color: var(--rz-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--rz-radius-pill);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.rz-hero__title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--rz-text);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.rz-hero__text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--rz-text-secondary);
    max-width: 500px;
}

.rz-hero__actions {
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rz-hero__visual {
    flex: 1;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rz-hero__shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E23744 0%, #FF6B6B 100%);
    opacity: 0.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rz-hero__shape--2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FEB2B2 100%);
    opacity: 0.2;
    top: 30%;
    left: 60%;
}

/* ----------------------------------------------------------
   7. Stats Section
   ---------------------------------------------------------- */
.rz-stats {
    background: var(--rz-dark);
    padding: 60px 0;
}

.rz-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.rz-stats__item {
    text-align: center;
    padding: 24px;
}

.rz-stats__number {
    font-size: 48px;
    font-weight: 900;
    color: var(--rz-white);
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.rz-stats__number::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--rz-primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

.rz-stats__plus {
    color: var(--rz-primary);
}

.rz-stats__label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

/* Odometer override for stats */
.rz-stats .odometer {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--rz-white);
}

.odometer.odometer-auto-theme,
.odometer.odometer-theme-default {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ----------------------------------------------------------
   8. Why Choose Us
   ---------------------------------------------------------- */
.rz-whyus {
    background: var(--rz-surface);
    padding: 100px 0;
}

.rz-whyus__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.rz-whyus__card {
    background: var(--rz-white);
    border-radius: var(--rz-radius-md);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--rz-shadow-sm);
    transition: transform var(--rz-transition), box-shadow var(--rz-transition);
}

.rz-whyus__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rz-shadow-lg);
}

.rz-whyus__num {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(226, 55, 68, 0.06);
    line-height: 1;
    pointer-events: none;
}

.rz-whyus__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rz-whyus__icon img {
    max-width: 100%;
    max-height: 100%;
}

.rz-whyus__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--rz-text);
    line-height: 1.4;
}

/* ----------------------------------------------------------
   9. Promos
   ---------------------------------------------------------- */
.rz-promos {
    background: var(--rz-white);
    padding: 80px 0;
}

.rz-promo__slide {
    height: 580px;
    background-size: cover;
    background-position: center;
    border-radius: var(--rz-radius-lg);
    overflow: hidden;
    position: relative;
}

.rz-promo__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.rz-promo__title {
    color: var(--rz-white);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.rz-promo__text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.5;
}

/* ----------------------------------------------------------
   10. Modules
   ---------------------------------------------------------- */
.rz-modules {
    background: var(--rz-surface);
    padding: 100px 0;
}

.rz-modules__wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.rz-modules__tabs {
    margin-bottom: 40px;
    position: relative;
}

.rz-modules__tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px 16px;
    cursor: pointer;
    transition: all 0.35s ease;
    border-radius: 20px;
    background: var(--rz-white);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rz-modules__tab-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(226, 55, 68, 0.1);
}

.rz-modules__tab-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    background: var(--rz-surface);
}

.rz-modules__tab-item:hover img {
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.rz-modules__tab-item span {
    font-size: 13px;
    font-weight: 700;
    color: var(--rz-text-secondary);
    transition: color var(--rz-transition);
}

.owl-item.synced .rz-modules__tab-item {
    background: rgba(226, 55, 68, 0.04);
    border-color: rgba(226, 55, 68, 0.18);
    box-shadow: 0 8px 28px rgba(226, 55, 68, 0.08);
    transform: translateY(-3px);
}

.owl-item.synced .rz-modules__tab-item img {
    border-color: rgba(226, 55, 68, 0.12);
    box-shadow: 0 6px 16px rgba(226, 55, 68, 0.08);
}

.owl-item.synced .rz-modules__tab-item span {
    color: var(--rz-primary);
}

.rz-modules__panel {
    padding: 20px 0;
}

.rz-modules__desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--rz-text-secondary);
    padding-right: 20px;
}

.rz-modules__img img {
    width: 100%;
    border-radius: var(--rz-radius-md);
    box-shadow: var(--rz-shadow-lg);
}

.rz-modules__tabs .owl-nav button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rz-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: var(--rz-text);
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rz-modules__tabs .owl-nav .owl-prev {
    left: -18px;
}

.rz-modules__tabs .owl-nav .owl-next {
    right: -18px;
}

/* ----------------------------------------------------------
   11. Earn Money
   ---------------------------------------------------------- */
.rz-earn {
    background: var(--rz-white);
    padding: 100px 0;
}

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

.rz-earn__card {
    border-radius: var(--rz-radius-lg);
    overflow: hidden;
    background: var(--rz-white);
    box-shadow: var(--rz-shadow-md);
    transition: transform var(--rz-transition), box-shadow var(--rz-transition);
}

.rz-earn__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rz-shadow-lg);
}

.rz-earn__img {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.rz-earn__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
}

.rz-earn__info {
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rz-earn__role-label {
    font-size: 13px;
    color: var(--rz-text-secondary);
    margin-bottom: 4px;
    display: block;
}

.rz-earn__role-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--rz-text);
    line-height: 1.2;
}

/* ----------------------------------------------------------
   12. Features Grid
   ---------------------------------------------------------- */
.rz-grid {
    background: var(--rz-surface);
    padding: 100px 0;
}

.rz-grid__intro {
    padding-right: 40px;
}

.rz-grid__cards {
    display: flex;
    gap: 20px;
}

.rz-grid__col-offset {
    margin-top: 40px;
}

.rz-grid__card {
    background: var(--rz-white);
    border-radius: var(--rz-radius-md);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--rz-shadow-sm);
    transition: transform var(--rz-transition), box-shadow var(--rz-transition);
}

.rz-grid__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rz-shadow-lg);
}

.rz-grid__card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rz-grid__card-icon img {
    max-width: 100%;
    max-height: 100%;
}

.rz-grid__card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--rz-text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.rz-grid__card-text {
    font-size: 14px;
    color: var(--rz-text-secondary);
    line-height: 1.6;
}

/* ----------------------------------------------------------
   13. Testimonials
   ---------------------------------------------------------- */
.rz-testimonials {
    background: var(--rz-surface);
    padding: 100px 0;
}

.rz-testimonial__card {
    background: var(--rz-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--rz-radius-md);
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--rz-transition), box-shadow var(--rz-transition);
}

.rz-testimonial__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rz-shadow-lg);
    border-color: transparent;
}

/* Quote icon — larger, tinted */
.rz-testimonial__quote {
    margin-bottom: 12px;
}

.rz-testimonial__quote svg {
    width: 36px;
    height: auto;
}

.rz-testimonial__quote svg path {
    fill: var(--rz-primary);
    opacity: 0.2;
}

/* Review text */
.rz-testimonial__text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--rz-text);
    margin-bottom: 20px;
    flex: 1;
    min-height: 0;
}

/* Author footer — pinned to bottom */
.rz-testimonial__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

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

.rz-testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.06);
}

.rz-testimonial__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--rz-text);
    line-height: 1.3;
    margin-bottom: 1px;
}

.rz-testimonial__role {
    font-size: 12px;
    color: var(--rz-hint);
    font-weight: 500;
}

.rz-testimonial__company {
    max-height: 28px;
    max-width: 64px;
    border-radius: 4px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.rz-testimonial__card:hover .rz-testimonial__company {
    opacity: 1;
}

/* Force equal-height testimonial cards in Owl Carousel */
.testimonial-slider .owl-stage {
    display: flex !important;
}

.testimonial-slider .owl-item {
    display: flex;
    height: auto;
}

/* ----------------------------------------------------------
   14. Delivery Zones
   ---------------------------------------------------------- */
.rz-zones {
    background: var(--rz-dark);
    padding: 100px 0;
}

.rz-zones .rz-section-title {
    color: var(--rz-white);
}

.rz-zones .rz-section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.rz-zones__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.rz-zones__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--rz-radius-pill);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: default;
}

.rz-zones__pill:hover {
    background: rgba(226, 55, 68, 0.2);
    color: var(--rz-white);
}

.rz-zones__visual img {
    width: 100%;
    border-radius: var(--rz-radius-lg);
}

/* ----------------------------------------------------------
   15. Referral CTA
   ---------------------------------------------------------- */
.rz-referral {
    background: linear-gradient(135deg, #E23744 0%, #FF6B6B 100%);
    padding: 80px 0 100px;
}

.rz-referral__inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.rz-referral__title {
    font-size: 36px;
    font-weight: 800;
    color: var(--rz-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.rz-referral__text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ----------------------------------------------------------
   16. Download App
   ---------------------------------------------------------- */
.rz-download {
    background: var(--rz-white);
    padding: 100px 0 140px; /* extra bottom padding for floating newsletter card */
}

.rz-download__content {
    padding-right: 40px;
}

.rz-download__btns {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rz-download__btns a {
    transition: transform var(--rz-transition), opacity var(--rz-transition);
}

.rz-download__btns a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.rz-download__visual img {
    width: 100%;
    border-radius: var(--rz-radius-lg);
    box-shadow: var(--rz-shadow-xl);
}

/* ----------------------------------------------------------
   17. Footer — Advanced UI with Floating Newsletter
   ---------------------------------------------------------- */
.rz-footer {
    background: var(--rz-dark);
    position: relative;
    padding-top: 100px;
}

/* Subtle radial gradient overlay on footer background */
.rz-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(226, 55, 68, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 100%, rgba(255, 107, 107, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* ---- Newsletter: Floating Card ---- */
.rz-newsletter {
    position: relative;
    z-index: 2;
    padding: 0;
    margin-top: -50px;
    margin-bottom: 56px;
}

.rz-newsletter__card {
    background: linear-gradient(135deg, var(--rz-primary) 0%, #c9202e 100%);
    border-radius: 24px;
    padding: 48px 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(226, 55, 68, 0.25);
}

/* Decorative floating circles */
.rz-newsletter__decor {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    top: -40px;
    right: -40px;
}

.rz-newsletter__decor--2 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.04);
    top: auto;
    right: auto;
    bottom: -30px;
    left: -30px;
}

.rz-newsletter__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.rz-newsletter__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.rz-newsletter__title {
    font-size: 26px;
    font-weight: 800;
    color: var(--rz-white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.rz-newsletter__text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.6;
}

.rz-newsletter__form {
    flex-shrink: 0;
    min-width: 420px;
}

.rz-newsletter__input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--rz-radius-pill);
    overflow: hidden;
    padding: 5px;
    align-items: center;
    transition: border-color 0.3s, background 0.3s;
}

.rz-newsletter__input-group:focus-within {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
}

.rz-newsletter__input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--rz-white);
    padding: 12px 20px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
}

.rz-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.rz-newsletter__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--rz-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: var(--rz-primary);
}

.rz-newsletter__btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.rz-newsletter__btn svg {
    width: 18px;
    height: 18px;
}

/* ---- Footer Bottom ---- */
.rz-footer__bottom {
    padding: 56px 0 24px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rz-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.rz-footer__logo {
    display: inline-block;
}

.rz-footer__logo img {
    max-height: 42px;
    transition: opacity 0.2s;
}

.rz-footer__logo:hover img {
    opacity: 0.8;
}

.rz-footer__desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0;
    max-width: 320px;
}

.rz-footer__socials {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.rz-footer__social-link {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.rz-footer__social-link:hover {
    background: var(--rz-primary);
    border-color: var(--rz-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 55, 68, 0.3);
}

.rz-footer__social-link img {
    width: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.rz-footer__social-link:hover img {
    opacity: 1;
}

.rz-footer__appbtns {
    display: flex;
    gap: 10px;
}

.rz-footer__appbtn {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px 10px;
    transition: all 0.25s ease;
}

.rz-footer__appbtn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.rz-footer__appbtn img {
    height: 32px;
    width: auto;
}

/* Footer Headings with accent */
.rz-footer__heading {
    color: var(--rz-white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 12px;
}

.rz-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--rz-primary);
    border-radius: 1px;
}

.rz-footer__links ul,
.rz-footer__contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rz-footer__links li {
    margin-bottom: 10px;
}

.rz-footer__links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    padding-left: 0;
    position: relative;
}

.rz-footer__links a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--rz-primary);
    transform: translateY(-50%) scale(0);
    transition: transform 0.2s ease;
}

.rz-footer__links a:hover {
    color: var(--rz-white);
    padding-left: 12px;
}

.rz-footer__links a:hover::before {
    transform: translateY(-50%) scale(1);
}

/* Contact items with icon circles */
.rz-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.6;
}

.rz-footer__contact-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 10px;
    background: rgba(226, 55, 68, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: background 0.2s;
}

.rz-footer__contact li:hover .rz-footer__contact-icon {
    background: rgba(226, 55, 68, 0.25);
}

.rz-footer__contact-icon svg {
    width: 14px;
    height: 14px;
}

.rz-footer__contact a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.rz-footer__contact a:hover {
    color: var(--rz-white);
}

.rz-footer__contact span {
    color: rgba(255, 255, 255, 0.55);
}

/* Copyright with gradient line */
.rz-footer__copyright {
    text-align: center;
    padding-top: 24px;
    margin-top: 40px;
    position: relative;
}

.rz-footer__copyright-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), rgba(226, 55, 68, 0.2), rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 24px;
}

.rz-footer__copyright p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
    margin: 0;
}

/* ---- Back to Top Button ---- */
.rz-back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--rz-primary);
    color: var(--rz-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(226, 55, 68, 0.3);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.rz-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rz-back-to-top:hover {
    background: var(--rz-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(226, 55, 68, 0.4);
    color: var(--rz-white);
}

/* ----------------------------------------------------------
   18. Bootstrap Dropdown Overrides
   ---------------------------------------------------------- */
.dropdown-menu {
    border: 1px solid var(--rz-border);
    border-radius: var(--rz-radius-sm);
    box-shadow: var(--rz-shadow-lg);
    overflow: hidden;
    min-width: 180px;
    padding: 4px 0;
}

.dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.dropdown-item img {
    width: 20px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(226, 55, 68, 0.06);
    color: var(--rz-primary);
}

/* ----------------------------------------------------------
   19. Owl Carousel Overrides
   ---------------------------------------------------------- */
.owl-carousel .owl-stage-outer {
    overflow: hidden;
}

.owl-dots {
    text-align: center;
    margin-top: 24px;
}

.owl-dots .owl-dot {
    display: inline-block;
    margin: 0 4px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.owl-dots .owl-dot span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    transition: all var(--rz-transition);
}

.owl-dots .owl-dot.active span {
    width: 24px;
    border-radius: 4px;
    background: var(--rz-primary);
}

.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rz-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--rz-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.owl-nav button:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.owl-nav .owl-prev {
    left: -18px;
}

.owl-nav .owl-next {
    right: -18px;
}

/* ----------------------------------------------------------
   20. Odometer Override
   ---------------------------------------------------------- */
.odometer {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--rz-white);
}

.odometer .odometer-digit {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ----------------------------------------------------------
   21. Utility & Layout Helpers
   ---------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ----------------------------------------------------------
   22. Responsive — Tablet (max-width: 991px)
   ---------------------------------------------------------- */
@media (max-width: 991px) {

    /* Header nav becomes side drawer */
    .rz-header__nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--rz-white);
        flex-direction: column;
        padding: 80px 24px 30px;
        box-shadow: -4px 0 32px rgba(0, 0, 0, 0.15);
        z-index: 999;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        gap: 0;
    }

    .rz-header__nav.active,
    .menu.active {
        right: 0;
    }

    .rz-header__nav a {
        display: block;
        padding: 14px 0;
        font-size: 15px;
        width: 100%;
        border-bottom: 1px solid var(--rz-border);
        border-radius: 0;
        background: transparent;
    }

    .rz-header__nav a::after {
        display: none;
    }

    .rz-header__nav a.active {
        background: transparent;
    }

    /* Newsletter card full width on tablet */
    .rz-newsletter {
        margin-top: -40px;
    }

    .rz-newsletter__card {
        padding: 36px 32px;
    }

    .rz-newsletter__form {
        min-width: 300px;
    }

    /* Footer 4-col to 2-col */
    .rz-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .rz-footer__brand {
        grid-column: span 2;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active {
        z-index: 1000;
    }

    /* Hero */
    .rz-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .rz-hero__inner {
        flex-direction: column;
        gap: 40px;
    }

    .rz-hero__content {
        max-width: 100%;
        text-align: center;
    }

    .rz-hero__title {
        font-size: 36px;
    }

    .rz-hero__text {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .rz-hero__actions {
        justify-content: center;
    }

    .rz-hero__visual {
        min-height: 250px;
        width: 100%;
    }

    /* Stats */
    .rz-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Earn */
    .rz-earn__grid {
        grid-template-columns: 1fr;
    }

    /* Features Grid */
    .rz-grid__intro {
        padding-right: 0;
        margin-bottom: 40px;
    }

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

    .rz-grid__col-offset {
        margin-top: 0;
    }

    /* Download */
    .rz-download__content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    /* Zones */
    .rz-zones__visual {
        margin-top: 40px;
    }
}

/* ----------------------------------------------------------
   23. Responsive — Mobile (max-width: 767px)
   ---------------------------------------------------------- */
@media (max-width: 767px) {

    /* Section titles */
    .rz-section-title {
        font-size: 28px;
    }

    /* Stats */
    .rz-stats__number {
        font-size: 36px;
    }

    .rz-stats__item {
        padding: 16px 8px;
    }

    /* Promos */
    .rz-promo__slide {
        height: 360px;
    }

    .rz-promo__overlay {
        padding: 20px;
    }

    .rz-promo__title {
        font-size: 22px;
    }

    /* Why Us */
    .rz-whyus__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .rz-whyus__card {
        padding: 24px 16px;
    }

    /* Earn */
    .rz-earn__img {
        height: 200px;
    }

    .rz-earn__role-title {
        font-size: 20px;
    }

    /* Testimonials */
    .rz-testimonial__card {
        padding: 22px;
    }

    /* Referral */
    .rz-referral {
        padding: 60px 0;
    }

    .rz-referral__title {
        font-size: 28px;
    }

    /* Newsletter */
    .rz-newsletter {
        margin-top: -30px;
    }

    .rz-newsletter__card {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .rz-newsletter__inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .rz-newsletter__icon {
        margin-left: auto;
        margin-right: auto;
    }

    .rz-newsletter__form {
        min-width: 100%;
        width: 100%;
    }

    .rz-newsletter__title {
        font-size: 22px;
    }

    .rz-newsletter__decor {
        width: 120px;
        height: 120px;
    }

    .rz-newsletter__decor--2 {
        width: 80px;
        height: 80px;
    }

    /* Footer */
    .rz-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .rz-footer__brand {
        grid-column: span 1;
    }

    .rz-footer__bottom {
        padding: 36px 0 16px;
    }

    .rz-footer__heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .rz-footer__links a:hover {
        padding-left: 0;
    }

    .rz-footer__links a::before {
        display: none;
    }

    /* Back to top */
    .rz-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    /* Download */
    .rz-download {
        padding: 60px 0;
    }

    .rz-download__btns {
        justify-content: center;
    }

    /* Hero */
    .rz-hero__badge {
        font-size: 12px;
        padding: 5px 14px;
    }

    .rz-hero__text {
        font-size: 16px;
    }

    /* Modules */
    .rz-modules__desc {
        padding-right: 0;
        margin-bottom: 24px;
    }

    /* Zones pills */
    .rz-zones__pills {
        justify-content: center;
    }
}

/* ----------------------------------------------------------
   24. Responsive — Small Mobile (max-width: 480px)
   ---------------------------------------------------------- */
@media (max-width: 480px) {

    .rz-hero__title {
        font-size: 30px;
    }

    .rz-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rz-btn {
        text-align: center;
        justify-content: center;
    }

    .rz-stats__grid {
        gap: 16px;
    }

    .rz-stats__number {
        font-size: 30px;
    }

    .rz-stats__label {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .rz-whyus__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .rz-promo__slide {
        height: 280px;
    }

    .rz-newsletter__card {
        padding: 24px 20px;
    }

    .rz-newsletter__input-group {
        flex-direction: column;
        border-radius: 16px;
        gap: 8px;
        padding: 8px;
    }

    .rz-newsletter__input {
        padding: 10px 16px;
        text-align: center;
    }

    .rz-newsletter__btn {
        width: 100%;
        border-radius: 50px;
        height: 44px;
    }

    .rz-footer__appbtns {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .rz-footer__appbtn {
        padding: 5px 8px;
    }

    .rz-footer__appbtn img {
        height: 28px;
    }
}

/* ----------------------------------------------------------
   25. Print Styles
   ---------------------------------------------------------- */
@media print {
    .rz-header,
    .rz-preloader,
    .nav-toggle {
        display: none;
    }

    .rz-hero {
        min-height: auto;
        padding: 20px 0;
    }

    body {
        color: #000;
        background: #fff;
    }
}
