/**
 * NextSole homepage — Olympic Trade style
 */
body.rx-landing {
    overflow-x: hidden;
}

.rx-landing-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(21, 142, 232, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 142, 232, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

.rx-landing-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Nav card */
.rx-home-nav {
    position: relative;
    z-index: 2;
    padding: 1.1rem 1rem 0;
}

.rx-home-nav__inner {
    max-width: 72rem;
    margin: 0 auto;
}

.rx-nav-card {
    min-height: 82px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 45px rgba(21, 142, 232, 0.13);
}

.rx-home-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.rx-logo-tile {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    padding: 8px;
    background: linear-gradient(135deg, #ffffff, #e8fbff);
    border: 1px solid rgba(21, 142, 232, 0.16);
    box-shadow: 0 12px 28px rgba(21, 142, 232, 0.16);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rx-logo-tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
}

.rx-logo-tile .rx-brand-fallback {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    font-size: 0.75rem;
}

.rx-nav-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: linear-gradient(90deg, #0b79c6, #16c784);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 720px;
}

.rx-nav-line {
    margin-top: 5px;
    color: #56879f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero */
.rx-hero-area {
    position: relative;
    z-index: 2;
    max-width: 72rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 1.5rem;
    text-align: center;
}

.rx-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(21, 142, 232, 0.18);
    color: #167eb5;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(21, 142, 232, 0.1);
    margin-bottom: 18px;
}

.rx-hero-badge i { color: var(--ot-green, #16c784); }

.rx-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    max-width: 920px;
    margin: 0 auto 13px;
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -2px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(90deg, #0b7fc6 0%, #18b9e8 48%, #16c784 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 12px 22px rgba(21, 142, 232, 0.15));
}

.rx-hero__lead {
    max-width: 730px;
    margin: 0 auto 26px;
    color: #4d687d;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 800;
}

/* Premium Urdu hero block */
.rx-hero-urdu {
    max-width: 34rem;
    margin: 0 auto 1.65rem;
    padding: 0 0.35rem;
    font-family: 'Noto Nastaliq Urdu', 'Urdu Typesetting', 'Jameel Noori Nastaleeq', serif;
}

.rx-urdu-brand {
    margin: 0 0 0.15rem;
    font-size: clamp(2rem, 7vw, 2.85rem);
    font-weight: 700;
    line-height: 1.35;
    background: linear-gradient(135deg, #0b7fc6 0%, #158ee8 45%, #16c784 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 18px rgba(21, 142, 232, 0.18));
}

.rx-urdu-tagline {
    margin: 0 0 1rem;
    font-size: clamp(1.05rem, 4.2vw, 1.35rem);
    font-weight: 600;
    color: #1a3a52;
    line-height: 1.6;
}

.rx-urdu-lines {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.rx-urdu-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.62rem 1rem;
    border-radius: 0.85rem;
    font-size: clamp(0.92rem, 3.6vw, 1.08rem);
    font-weight: 600;
    line-height: 1.55;
    color: #163347;
    background: rgba(255, 255, 255, 0.88);
    border: 2px solid rgba(21, 142, 232, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 8px 22px rgba(21, 142, 232, 0.1);
    position: relative;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.rx-urdu-line::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(21, 142, 232, 0.45), rgba(22, 199, 132, 0.45));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.85;
}

.rx-urdu-line:hover {
    transform: translateY(-2px);
    border-color: rgba(22, 199, 132, 0.45);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 12px 28px rgba(21, 142, 232, 0.16);
}

.rx-urdu-star {
    flex-shrink: 0;
    font-size: 0.95em;
    line-height: 1;
}

.rx-urdu-halal {
    margin: 1rem 0 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    font-size: clamp(1rem, 4vw, 1.2rem);
    font-weight: 700;
    color: #0f5132;
    background: linear-gradient(135deg, rgba(22, 199, 132, 0.14), rgba(255, 255, 255, 0.95));
    border: 2px solid rgba(22, 199, 132, 0.45);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.85) inset,
        0 10px 26px rgba(22, 199, 132, 0.18);
    position: relative;
}

.rx-urdu-halal::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    padding: 3px;
    background: linear-gradient(90deg, #158ee8, #16c784, #fbbf24, #16c784, #158ee8);
    background-size: 200% 100%;
    animation: rxUrduHalalBorder 4s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes rxUrduHalalBorder {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.rx-urdu-halal-icon,
.rx-urdu-halal-badge {
    flex-shrink: 0;
    line-height: 1;
}

.rx-hero-buttons {
    width: min(520px, 100%);
    margin: 0 auto 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.rx-site-btn {
    min-height: 58px;
    border-radius: 19px;
    padding: 15px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: 0.25s ease;
    white-space: nowrap;
}

.rx-site-btn:hover { transform: translateY(-4px); }

.rx-btn-login {
    color: #0874af;
    background: #ffffff;
    box-shadow: 0 15px 34px rgba(21, 142, 232, 0.14);
    border: 1px solid rgba(21, 142, 232, 0.16);
}

.rx-btn-register {
    color: #ffffff;
    background: linear-gradient(135deg, #158ee8, #16c784);
    box-shadow: 0 17px 38px rgba(22, 199, 132, 0.22);
}

/* Video frame */
.rx-video-frame {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 15px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 55px rgba(21, 142, 232, 0.15);
    position: relative;
    overflow: hidden;
}

.rx-video-frame::before {
    content: "";
    position: absolute;
    left: 9%;
    right: 9%;
    bottom: 0;
    height: 6px;
    border-radius: 99px 99px 0 0;
    background: linear-gradient(90deg, transparent, #27c2ff, #16c784, transparent);
    box-shadow: 0 0 24px rgba(22, 199, 132, 0.38);
}

.rx-video-box {
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, #ffffff, #eefaff 54%, #eafff6);
    border: 1px solid rgba(21, 142, 232, 0.14);
}

.rx-video-topbar {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(21, 142, 232, 0.14);
}

.rx-video-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #17384d;
    font-weight: 900;
    min-width: 0;
    font-size: 0.9rem;
}

.rx-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #16c784;
    box-shadow: 0 0 0 8px rgba(22, 199, 132, 0.12), 0 0 20px rgba(22, 199, 132, 0.7);
    animation: otPulse 1.8s infinite;
    flex-shrink: 0;
}

@keyframes otPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.72); }
}

.rx-video-profit {
    color: #0cab68;
    font-weight: 900;
    font-size: 15px;
    white-space: nowrap;
}

.rx-video-area {
    position: relative;
    min-height: 332px;
    background: linear-gradient(135deg, rgba(21, 142, 232, 0.08), rgba(22, 199, 132, 0.08)), #ffffff;
}

.rx-trading-media {
    width: 100%;
    height: 332px;
    object-fit: cover;
    display: block;
    background: #eefaff;
}

.rx-video-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    color: #486477;
    font-weight: 800;
    padding: 20px;
    background: linear-gradient(135deg, rgba(21, 142, 232, 0.06), rgba(22, 199, 132, 0.06)), #ffffff;
}

.rx-video-fallback i {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    background: linear-gradient(135deg, #158ee8, #16c784);
    box-shadow: 0 15px 35px rgba(21, 142, 232, 0.18);
}

.rx-video-area.is-missing .rx-trading-media {
    display: none;
}

.rx-video-area.is-missing .rx-video-fallback {
    display: flex;
}

/* Stats strip */
.rx-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 18px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.rx-stat-box {
    border-radius: 22px;
    padding: 18px 15px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(21, 142, 232, 0.14);
    box-shadow: 0 14px 34px rgba(21, 142, 232, 0.1);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.rx-stat-box::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -28px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(22, 199, 132, 0.1);
}

.rx-stat-box small {
    display: block;
    color: #6a8295;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.rx-stat-box strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #14344d;
    font-size: 18px;
    font-weight: 900;
    position: relative;
    z-index: 2;
}

.rx-stat-box i { color: #16c784; }

/* Plans section */
.rx-plans-section {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
}

.rx-plans-head {
    text-align: center;
    margin-bottom: 1.75rem;
}

.rx-plans-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(90deg, #0b79c6, #16c784);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 0.5rem;
}

.rx-plans-head p {
    margin: 0;
    color: #6a8295;
    font-size: 0.9rem;
    font-weight: 700;
}

.rx-home-plans .shop-page {
    max-width: none;
    padding: 0;
}

.rx-home-plans .shop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Footer */
.rx-home-footer {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    padding: 32px 1.25rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.82);
    border-top: 1px solid rgba(21, 142, 232, 0.14);
    box-shadow: 0 -12px 36px rgba(21, 142, 232, 0.08);
}

.rx-footer-logo {
    width: 62px;
    height: 62px;
    border-radius: 21px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: #ffffff;
    border: 1px solid rgba(21, 142, 232, 0.15);
    box-shadow: 0 12px 28px rgba(21, 142, 232, 0.12);
    overflow: hidden;
}

.rx-footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
}

.rx-home-footer h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 7px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #0b7fc6, #16c784);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rx-home-footer p {
    margin: 0;
    color: #6c8294;
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 991px) {
    .rx-stats-strip { grid-template-columns: repeat(2, 1fr); }
    .rx-video-box { min-height: 300px; }
    .rx-video-area { min-height: 300px; }
    .rx-trading-media { height: 300px; }
}

@media (max-width: 767px) {
    .rx-nav-card {
        border-radius: 22px;
        min-height: 72px;
        padding: 12px;
    }

    .rx-logo-tile {
        width: 50px;
        height: 50px;
        border-radius: 17px;
    }

    .rx-nav-line {
        font-size: 10px;
        letter-spacing: 1.3px;
    }

    .rx-hero-area { padding-top: 2rem; }

    .rx-hero-urdu {
        margin-bottom: 1.35rem;
    }

    .rx-urdu-line {
        padding: 0.55rem 0.75rem;
        font-size: 0.88rem;
    }

    .rx-hero-buttons {
        gap: 10px;
        margin-bottom: 26px;
    }

    .rx-site-btn {
        min-height: 54px;
        border-radius: 16px;
        font-size: 14px;
    }

    .rx-video-frame {
        padding: 10px;
        border-radius: 26px;
    }

    .rx-video-box { min-height: 280px; border-radius: 19px; }
    .rx-video-topbar { height: 52px; padding: 0 12px; font-size: 12px; }
    .rx-video-area { min-height: 280px; }
    .rx-trading-media { height: 280px; }

    .rx-stats-strip {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .rx-stat-box {
        border-radius: 18px;
        padding: 14px 12px;
    }

    .rx-stat-box strong { font-size: 15px; }
}

@media (min-width: 640px) {
    .rx-home-plans .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rx-home-plans .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
