/**
 * Homepage — pink premium mobile-app shell
 */
html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    background: #fff5f9;
}

body.rx-landing {
    overflow-x: hidden;
    max-width: 430px;
    margin: 0 auto;
    padding: 0;
    box-shadow: 0 0 0 1px rgba(236, 72, 153, 0.08), 0 0 48px rgba(236, 72, 153, 0.06);
}

.rx-landing-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(236, 72, 153, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(236, 72, 153, 0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

.rx-landing-wrap {
    position: relative;
    z-index: 1;
    min-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Sticky compact header — logo left, name right */
.rx-home-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 0;
    margin: 0;
}

.rx-home-nav__inner {
    width: 100%;
}

.rx-nav-card {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 12px;
    padding-top: max(6px, env(safe-area-inset-top));
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(236, 72, 153, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 18px rgba(236, 72, 153, 0.1);
}

.rx-home-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.rx-home-site-title {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.rx-logo-tile {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    padding: 4px;
    background: linear-gradient(135deg, #ffffff, #ffe8f2);
    border: 1px solid rgba(236, 72, 153, 0.18);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.rx-nav-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.95rem, 4vw, 1.15rem);
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: linear-gradient(90deg, #db2777, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hero — compact mobile */
.rx-hero-area {
    position: relative;
    z-index: 2;
    padding: 0.85rem 0.75rem 1rem;
    text-align: center;
}

.rx-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    line-height: 1;
    letter-spacing: -1px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(90deg, #db2777 0%, #ec4899 48%, #f472b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rx-hero-urdu {
    max-width: 100%;
    margin: 0 auto 0.85rem;
    padding: 0 0.15rem;
    font-family: 'Noto Nastaliq Urdu', 'Urdu Typesetting', 'Jameel Noori Nastaleeq', serif;
    text-align: center;
}

/* Premium Urdu card — old gradient-border style, pink theme */
.rx-urdu-card {
    position: relative;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(236, 72, 153, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 10px 28px rgba(236, 72, 153, 0.12);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.rx-urdu-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.5), rgba(244, 114, 182, 0.5));
    -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.9;
}

.rx-urdu-card:hover {
    transform: translateY(-2px);
    border-color: rgba(244, 114, 182, 0.45);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 14px 32px rgba(236, 72, 153, 0.16);
}

.rx-urdu-paragraph {
    margin: 0;
    font-size: clamp(0.95rem, 3.8vw, 1.1rem);
    font-weight: 600;
    line-height: 2;
    color: #5c2045;
    text-align: justify;
    text-align-last: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.rx-urdu-halal {
    margin: 0.75rem 0 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-size: clamp(0.95rem, 3.8vw, 1.08rem);
    font-weight: 700;
    color: #9d174d;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.14), rgba(255, 255, 255, 0.95));
    border: 2px solid rgba(236, 72, 153, 0.4);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.85) inset,
        0 8px 22px rgba(244, 114, 182, 0.16);
    position: relative;
}

.rx-urdu-halal i {
    font-size: 0.9em;
    color: #ec4899;
}

.rx-urdu-halal::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    padding: 3px;
    background: linear-gradient(90deg, #ec4899, #f472b6, #fda4af, #f472b6, #ec4899);
    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-hero-buttons {
    width: 100%;
    margin: 0 auto 0.85rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rx-site-btn {
    min-height: 40px;
    height: 40px;
    border-radius: 11px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rx-btn-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.rx-site-btn:active {
    transform: scale(0.96);
}

.rx-btn-login {
    color: #be185d;
    background: #ffffff;
    border: 1px solid rgba(236, 72, 153, 0.22);
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.1);
    animation: rxBtnLoginGlow 3s ease-in-out infinite;
}

.rx-btn-login .rx-btn-icon {
    background: rgba(236, 72, 153, 0.1);
    color: #db2777;
}

.rx-btn-login::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(236, 72, 153, 0.12) 50%, transparent 60%);
    transform: translateX(-120%);
    animation: rxBtnShine 4s ease-in-out infinite;
}

@keyframes rxBtnLoginGlow {
    0%, 100% { box-shadow: 0 4px 14px rgba(236, 72, 153, 0.1); }
    50% { box-shadow: 0 6px 18px rgba(236, 72, 153, 0.18); }
}

.rx-btn-register {
    color: #ffffff;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    box-shadow: 0 6px 18px rgba(236, 72, 153, 0.25);
    animation: rxBtnRegisterPulse 2.2s ease-in-out infinite;
}

.rx-btn-register .rx-btn-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

@keyframes rxBtnRegisterPulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(236, 72, 153, 0.25); }
    50% { box-shadow: 0 8px 26px rgba(236, 72, 153, 0.4); }
}

@keyframes rxBtnShine {
    0%, 75%, 100% { transform: translateX(-120%); }
    40% { transform: translateX(120%); }
}

/* Video — compact */
.rx-video-frame {
    width: 100%;
    margin: 0 auto;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(236, 72, 153, 0.12);
    box-shadow: 0 10px 28px rgba(236, 72, 153, 0.1);
}

.rx-video-box {
    min-height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #ffe8f2);
    border: 1px solid rgba(236, 72, 153, 0.12);
}

.rx-video-topbar {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(236, 72, 153, 0.1);
}

.rx-video-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #5c2045;
    font-weight: 800;
    font-size: 0.72rem;
    min-width: 0;
}

.rx-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f472b6;
    box-shadow: 0 0 0 5px rgba(244, 114, 182, 0.15);
    animation: otPulse 1.8s infinite;
    flex-shrink: 0;
}

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

.rx-video-profit {
    color: #db2777;
    font-weight: 800;
    font-size: 12px;
}

.rx-video-area {
    position: relative;
    min-height: 200px;
    background: #fff5f9;
}

.rx-trading-media {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.rx-video-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: #9d6b85;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 12px;
    background: #fff5f9;
}

.rx-video-fallback i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

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

/* Stats — 2 col mobile */
.rx-stats-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.rx-stat-box {
    border-radius: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(236, 72, 153, 0.12);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.08);
    text-align: left;
}

.rx-stat-box small {
    display: block;
    color: #9d6b85;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 3px;
}

.rx-stat-box strong {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #5c2045;
    font-size: 13px;
    font-weight: 800;
}

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

/* Plans */
.rx-plans-section {
    padding: 1rem 0.75rem 1.25rem;
}

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

.rx-plans-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(90deg, #db2777, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 0.25rem;
}

.rx-plans-head p {
    margin: 0;
    color: #9d6b85;
    font-size: 0.78rem;
    font-weight: 700;
}

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

.rx-home-plans .shop-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* Homepage pricing cards — full premium layout */
.rx-home-plans .shop-card--home {
    border-radius: 1.15rem;
    background: linear-gradient(180deg, #ffffff 0%, #fff5f9 55%, #ffe8f2 100%);
    border: 1.5px solid rgba(236, 72, 153, 0.22);
    box-shadow: 0 16px 40px rgba(236, 72, 153, 0.16);
    animation: rxPlanFadeUp 0.45s ease both;
    overflow: hidden;
}

.rx-home-plans .shop-card--home:nth-child(2) { animation-delay: 0.06s; }
.rx-home-plans .shop-card--home:nth-child(3) { animation-delay: 0.12s; }
.rx-home-plans .shop-card--home:nth-child(4) { animation-delay: 0.18s; }

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

.rx-home-plans .shop-card-top {
    height: 6px;
    background: linear-gradient(90deg, #ec4899, #fda4af, #f472b6, #ec4899);
    background-size: 220% 100%;
    animation: rxPlanBarMove 2.4s linear infinite;
}

@keyframes rxPlanBarMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

.rx-home-plans .shop-card-body {
    padding: 0.65rem 0.7rem 0.75rem;
    padding-top: 0.4rem;
}

.rx-home-plans .shop-price-hero {
    padding: 0.42rem 3rem 0.42rem 0.45rem;
    margin-bottom: 0.35rem;
    margin-top: 0.55rem;
}

.rx-home-plans .shop-vip-badge {
    display: inline-flex;
    top: 0.15rem;
    right: 0.35rem;
}

.rx-home-plans .shop-price-pkr-amt,
.rx-home-plans .shop-price-cur,
.rx-home-plans .shop-price-num {
    opacity: 1 !important;
    visibility: visible !important;
}

.rx-home-plans .shop-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    padding: 0.35rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(236, 72, 153, 0.12);
}

.rx-home-plans .shop-stat {
    padding: 0.5rem;
    border-radius: 0.65rem;
    background: #fff;
    border: 1px solid rgba(236, 72, 153, 0.1);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.06);
}

.rx-home-plans .shop-stat-value {
    font-size: 0.82rem;
    font-weight: 900;
    color: #db2777;
}

.rx-home-plans .shop-ref-commission {
    margin-top: 0.45rem;
    padding: 0.55rem 0.6rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.06), rgba(244, 114, 182, 0.08));
    border: 1px solid rgba(236, 72, 153, 0.14);
}

.rx-home-plans .shop-ref-levels li {
    background: #fff;
    border: 1px solid rgba(236, 72, 153, 0.08);
}

.rx-home-plans .shop-buy-btn--home {
    min-height: 44px;
    margin-top: 0.15rem;
    font-size: 0.82rem;
    border-radius: 0.85rem;
    animation: rxPlanBtnPulse 2.4s ease-in-out infinite;
}

@keyframes rxPlanBtnPulse {
    0%, 100% { box-shadow: 0 10px 28px rgba(244, 114, 182, 0.24); }
    50% { box-shadow: 0 14px 36px rgba(236, 72, 153, 0.36); }
}

.rx-plans-head::after {
    content: '';
    display: block;
    width: 3rem;
    height: 4px;
    margin: 0.45rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ec4899, #f472b6);
}

/* Footer */
.rx-home-footer {
    padding: 1rem 0.75rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(236, 72, 153, 0.12);
}

.rx-footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    background: #fff;
    border: 1px solid rgba(236, 72, 153, 0.14);
    overflow: hidden;
}

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

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

.rx-home-footer p {
    margin: 0;
    color: #9d6b85;
    font-size: 11px;
    font-weight: 700;
}
