:root {
    --rx2-red: #e5322d;
    --rx2-red-dark: #c92621;
    --rx2-ink: #111;
    --rx2-muted: #6b6b6b;
    --rx2-line: #e8e8e8;
    --rx2-bg: #f5f5f5;
    --rx2-green: #16a34a;
    --rx2-green-soft: #e7f8ee;
}

/* Shared */
.rx2-section { padding: 2.5rem 0; background: transparent; }
.rx2-head { margin-bottom: 1.25rem; text-align: left; }
.rx2-head h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--rx2-ink);
}
.rx2-head p { margin: 0.45rem 0 0; font-size: 0.98rem; color: var(--rx2-muted); }
.rx2-head p a { color: var(--rx2-ink); font-weight: 600; }

.rx2-card {
    background: #fff;
    border: 1px solid var(--rx2-line);
    border-radius: 18px;
}

.rx2-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}
.rx2-pill--red { background: #fde8e7; color: var(--rx2-red); }
.rx2-pill--green { background: var(--rx2-green-soft); color: var(--rx2-green); }

.rx2-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.rx2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 1.25rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.rx2-btn--red { background: var(--rx2-red); color: #fff !important; }
.rx2-btn--red:hover { background: var(--rx2-red-dark); }
.rx2-btn--white { background: #fff; color: var(--rx2-ink) !important; border-color: var(--rx2-line); }
.rx2-btn--white:hover { border-color: #cfcfcf; background: #fafafa; }
.rx2-btn--light { background: #f4f4f4; color: var(--rx2-ink) !important; }
.rx2-btn--light:hover { background: #fff; }

/* Hero */
.rx2-hero { padding: 3rem 0 2rem; }
.rx2-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 3rem; align-items: center; }
.rx2-hero__title {
    margin: 0.9rem 0 0;
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.045em;
    color: var(--rx2-ink);
}
.rx2-hero__lead { margin: 1.1rem 0 1.4rem; max-width: 34rem; font-size: 1.05rem; line-height: 1.55; color: var(--rx2-muted); }
.rx2-hero__rating { margin: 1rem 0 0; font-size: 0.85rem; color: var(--rx2-muted); }

.rx2-analytics { padding: 1.4rem 1.5rem 0.4rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); }
.rx2-analytics__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.rx2-analytics__head strong { font-size: 1.02rem; color: var(--rx2-ink); }
.rx2-analytics__sub { margin: 0.5rem 0 0.9rem; font-size: 0.82rem; color: var(--rx2-muted); }

.rx2-bars { display: flex; align-items: flex-end; gap: 0.55rem; height: 180px; padding-bottom: 1.4rem; position: relative; }
.rx2-bars__col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.rx2-bars__bar { width: 100%; min-height: 4px; background: var(--rx2-red); border-radius: 3px 3px 0 0; }
.rx2-bars__label { position: absolute; bottom: -1.35rem; font-size: 0.7rem; color: var(--rx2-muted); }

.rx2-analytics__list { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.rx2-analytics__list li { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 0; border-top: 1px solid var(--rx2-line); }
.rx2-analytics__list li > div { flex: 1; min-width: 0; }
.rx2-analytics__list strong { display: block; font-size: 0.9rem; color: var(--rx2-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rx2-analytics__list span:not(.rx2-pill):not(.rx2-analytics__icon) { font-size: 0.78rem; color: var(--rx2-muted); }
.rx2-analytics__icon { width: 34px; height: 34px; border-radius: 9px; background: var(--rx2-ink); color: #fff; display: grid; place-items: center; font-size: 0.95rem; flex: none; }

/* Releases */
.rx2-releases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.rx2-release { min-width: 0; }
.rx2-release__art { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #e9e9e9; }
.rx2-release__art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.rx2-release:hover .rx2-release__art img { transform: scale(1.04); }
.rx2-release__title { margin: 0.6rem 0 0; font-size: 0.88rem; font-weight: 600; color: var(--rx2-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rx2-release__meta { margin: 0.2rem 0 0; font-size: 0.78rem; color: var(--rx2-muted); }

/* Services */
.rx2-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.rx2-service { display: flex; gap: 1rem; padding: 1.4rem 1.4rem; text-decoration: none; color: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
a.rx2-service:hover { border-color: #d0d0d0; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05); }
.rx2-service__icon { width: 36px; height: 36px; border-radius: 9px; background: var(--rx2-ink); color: #fff; display: grid; place-items: center; font-size: 1rem; flex: none; }
.rx2-service h3 { margin: 0.15rem 0 0.35rem; font-size: 1rem; font-weight: 700; color: var(--rx2-ink); letter-spacing: -0.01em; }
.rx2-service p { margin: 0; font-size: 0.84rem; line-height: 1.5; color: var(--rx2-muted); }

.rx2-service p a { color: var(--rx2-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.rx2-service code { font-size: 0.78rem; padding: 0.05rem 0.3rem; border-radius: 5px; background: #f1f1f1; color: #333; }
.rx2-legal { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; padding: 1.1rem 1.4rem; }
.rx2-legal p { margin: 0; font-size: 0.88rem; color: var(--rx2-muted); }
.rx2-legal .rx2-btn { height: 40px; }

/* Visual Claims */
.rx2-vc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rx2-vc__panel { padding: 1.5rem 1.4rem; }
.rx2-vc__title { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.rx2-vc__title .rx2-service__icon { width: 40px; height: 40px; border-radius: 10px; }
.rx2-vc h3, .rx2-vc__type h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--rx2-ink); }
.rx2-vc__text { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.55; color: var(--rx2-muted); }
.rx2-vc__note { margin: 0; padding: 0.9rem 1rem; border-radius: 10px; background: #fdeceb; font-size: 0.84rem; line-height: 1.5; color: #333; }
.rx2-vc__steps { list-style: none; counter-reset: rx2step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.rx2-vc__steps li { counter-increment: rx2step; position: relative; padding-left: 2.1rem; }
.rx2-vc__steps li::before {
    content: counter(rx2step);
    position: absolute; left: 0; top: 0.1rem;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--rx2-ink); color: #fff;
    font-size: 0.7rem; font-weight: 700;
    display: grid; place-items: center;
}
.rx2-vc__steps strong { display: block; font-size: 0.88rem; color: var(--rx2-ink); }
.rx2-vc__steps span { display: block; font-size: 0.82rem; color: var(--rx2-muted); }
.rx2-vc__types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.rx2-vc__type { padding: 1.1rem 1rem; }
.rx2-vc__type p { margin: 0.4rem 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--rx2-muted); }

/* FAQ */
.rx2-faq { scroll-margin-top: 88px; }
.rx2-faq__list { padding: 0.4rem 1.4rem 0.9rem; }
.rx2-faq__item { border-bottom: 1px solid var(--rx2-line); }
.rx2-faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.05rem 0;
    cursor: pointer; list-style: none;
    font-size: 0.95rem; font-weight: 600; color: var(--rx2-ink);
}
.rx2-faq__item summary::-webkit-details-marker { display: none; }
.rx2-faq__item summary:hover { color: #000; }
.rx2-faq__toggle { position: relative; width: 12px; height: 12px; flex: none; }
.rx2-faq__toggle::before, .rx2-faq__toggle::after {
    content: ""; position: absolute; top: 50%; left: 0;
    width: 100%; height: 1.5px; background: #555;
    transform: translateY(-50%); transition: transform 0.2s ease, opacity 0.2s ease;
}
.rx2-faq__toggle::after { transform: translateY(-50%) rotate(90deg); }
.rx2-faq__item[open] .rx2-faq__toggle::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.rx2-faq__item .faq-answer p { margin: -0.25rem 0 1.05rem; font-size: 0.88rem; line-height: 1.6; color: var(--rx2-muted); max-width: 52rem; }

/* Pricing */
.rx2-pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.rx2-plan { padding: 1.6rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.rx2-plan h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--rx2-ink); }
.rx2-plan__price { margin-top: 1.1rem; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--rx2-ink); }
.rx2-plan__note { margin: 0.35rem 0 0; font-size: 0.82rem; color: var(--rx2-muted); }
.rx2-plan__list { list-style: none; margin: 1.1rem 0 1.4rem; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.rx2-plan__list li { font-size: 0.88rem; color: #333; padding-left: 1.4rem; position: relative; }
.rx2-plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--rx2-green); font-weight: 700; }
.rx2-plan .rx2-btn { margin-top: auto; height: 42px; }
.rx2-plan--dark { background: var(--rx2-ink); border-color: var(--rx2-ink); }
body.modern-body main .rx2-plan--dark h3, .rx2-plan.rx2-plan--dark .rx2-plan__price { color: #fff !important; }
.rx2-plan.rx2-plan--dark .rx2-plan__note, .rx2-plan.rx2-plan--dark .rx2-plan__list li { color: #d4d4d4 !important; }
.rx2-plan--dark .rx2-plan__list li::before { color: #34d399; }

/* CTA */
.rx2-cta { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; padding: 2rem 2rem; }
.rx2-cta h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; color: var(--rx2-ink); }
.rx2-cta__copy p { margin: 0.5rem 0 1.2rem; color: var(--rx2-muted); font-size: 0.98rem; }
.rx2-cta__stats { list-style: none; margin: 0; padding: 0; }
.rx2-cta__stats li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rx2-line); font-size: 0.9rem; color: #333; }

/* Responsive */
@media (max-width: 991px) {
    .rx2-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .rx2-releases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rx2-services, .rx2-pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rx2-cta { grid-template-columns: 1fr; gap: 1.5rem; }
    .rx2-vc__types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .rx2-section { padding: 1.75rem 0; }
    .rx2-hero { padding: 1.75rem 0 1rem; }
    .rx2-hero__title { font-size: 2.3rem; }
    .rx2-hero__lead { font-size: 0.98rem; }
    .rx2-actions .rx2-btn { flex: 1; }
    .rx2-analytics { padding: 1.1rem 1rem 0.2rem; }
    .rx2-bars { height: 140px; gap: 0.3rem; }
    .rx2-bars__label { font-size: 0.6rem; }
    .rx2-releases {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.75rem;
        margin: 0 -0.75rem;
        padding: 0 0.75rem 0.25rem;
        scrollbar-width: none;
    }
    .rx2-releases::-webkit-scrollbar { display: none; }
    .rx2-release { flex: 0 0 42%; scroll-snap-align: start; }
    .rx2-services, .rx2-pricing, .rx2-vc { grid-template-columns: 1fr; }
    .rx2-service { padding: 1.1rem; }
    .rx2-vc__panel { padding: 1.2rem 1.1rem; }
    .rx2-faq__list { padding: 0.2rem 1.1rem 0.6rem; }
    .rx2-faq__item summary { font-size: 0.9rem; }
    .rx2-cta { padding: 1.4rem 1.1rem; }
}
