/* =========================================
   Research Page — White Theme
   ========================================= */

/* ---------- Variables ---------- */
.research-page {
    --r-bg: #ffffff;
    --r-bg-alt: #f7f9fc;
    --r-text: #1a1a2e;
    --r-text-light: #4a5568;
    --r-text-muted: #718096;
    --r-blue: #0066ff;
    --r-blue-dark: #0047ab;
    --r-border: #e2e8f0;
    --r-card-shadow: 0 1px 3px rgba(0,0,0,0.06);
    --r-card-hover: 0 8px 24px rgba(0,102,255,0.10);
    --r-radius: 12px;
    --r-radius-lg: 16px;
}

.research-page {
    background: var(--r-bg);
    color: var(--r-text);
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

/* ---------- Header overrides (navbar component) ---------- */
.research-page .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
}

.research-page .logo { color: var(--r-text); }
.research-page .nav-link { color: var(--r-text-light); }
.research-page .nav-link:hover { color: var(--r-text); }
.research-page .btn-text { color: var(--r-text); }
.research-page .btn-text:hover { background: var(--r-bg-alt); }
.research-page .mobile-menu-toggle { color: var(--r-text); }

/* ---------- Utility ---------- */
.research-main { padding-top: 0; }

/* =========================================
   S1 — HERO
   ========================================= */
.r-hero {
    padding: 5rem 0 3rem;
    background: #F0F7FF;
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.r-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 100%;
    margin: 0;
}

.r-hero-logo {
    display: block;
    height: 28px;
    width: auto;
    margin-bottom: 1.25rem;
}

.r-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.5px;
    color: var(--r-text);
    margin-bottom: 1.25rem;
}

.r-highlight { color: var(--r-blue-dark); }

.r-hero-sub {
    font-size: 1.05rem;
    color: var(--r-text-light);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 480px;
}

.r-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Buttons */
.r-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1.5px solid transparent;
}

.r-btn-dark {
    background: var(--r-text);
    color: #ffffff;
    border-color: var(--r-text);
}

.r-btn-dark:hover {
    background: #111;
}

.r-btn-outline {
    background: transparent;
    color: var(--r-text);
    border-color: var(--r-border);
}

.r-btn-outline:hover {
    border-color: var(--r-blue);
    color: var(--r-blue);
}

.r-btn-full { width: 100%; }

/* Hero image */
.r-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.r-hero-img {
    width: 100%;
    max-width: 540px;
    height: auto;
    display: block;
}

/* =========================================
   TRUST LOGOS SECTION
   ========================================= */
.r-trust-section {
    padding: 3rem 0;
    text-align: center;
    background: var(--r-bg);
    scroll-snap-align: none;
}

.r-trust-label {
    font-size: 0.9rem;
    color: var(--r-text-muted);
}

.r-trust-label strong {
    color: var(--r-text);
}

.r-logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.25rem;
}

.r-logo-item {
    width: 130px;
    height: 64px;
    background: #f1f5f9;
    border: 1px solid var(--r-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.r-logo-item span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #94a3b8;
    text-transform: uppercase;
}

/* =========================================
   STICKY SCROLLING FEATURES
   ========================================= */
.r-sticky {
    background: var(--r-bg);
    border-top: 1px solid var(--r-border);
    scroll-snap-align: start;
}

.r-sticky-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.r-sticky-left {
    position: relative;
}

.r-sticky-pin {
    position: sticky;
    top: 8rem;
    padding: 3rem 0;
}

.r-sticky-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--r-blue);
    background: rgba(0,102,255,0.08);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.r-sticky-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--r-text);
    margin-bottom: 1rem;
}

.r-sticky-desc {
    font-size: 1rem;
    color: var(--r-text-light);
    line-height: 1.65;
    margin-bottom: 1.75rem;
    max-width: 420px;
}

.r-sticky-right {
    padding: 5rem 0 5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Stacking panels */
.r-sticky-panel {
    position: sticky;
    top: 6rem;
    background: #ffffff;
    border: 1px solid var(--r-border);
    border-radius: var(--r-radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}

.r-sticky-panel:nth-child(1) { top: 6rem; z-index: 1; }
.r-sticky-panel:nth-child(2) { top: 7.5rem; z-index: 2; }
.r-sticky-panel:nth-child(3) { top: 9rem; z-index: 3; }
.r-sticky-panel:nth-child(4) { top: 10.5rem; z-index: 4; }

.r-sticky-panel:hover {
    box-shadow: 0 8px 30px rgba(0,102,255,0.12);
}

.r-sticky-panel h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--r-text);
    margin: 0;
    padding: 1.5rem 1.5rem 1rem;
}

.r-sticky-panel p {
    font-size: 0.9rem;
    color: var(--r-text-light);
    line-height: 1.55;
    padding: 1rem 1.5rem 1.5rem;
    margin: 0;
}

/* Dashboard thumbnail area */
.r-panel-thumb {
    width: 100%;
    height: 280px;
    background: var(--r-bg-alt);
    border-top: 1px solid var(--r-border);
    border-bottom: 1px solid var(--r-border);
    overflow: hidden;
}

.r-thumb-mock {
    width: 100%;
    height: 100%;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.r-tm-bar {
    height: 14px;
    width: 40%;
    background: #d1d9e6;
    border-radius: 4px;
}

/* Screener mock */
.r-tm-row {
    display: flex;
    gap: 8px;
}

.r-tm-row span {
    flex: 1;
    height: 16px;
    background: #e2e8f0;
    border-radius: 3px;
}

.r-tm-hl span {
    background: rgba(0,102,255,0.15);
}

/* Financials mock */
.r-tm-chart-area {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-top: 0.5rem;
}

.r-tm-col {
    flex: 1;
    background: linear-gradient(180deg, var(--r-blue), #a3c4ff);
    border-radius: 4px 4px 0 0;
    min-height: 10px;
}

/* Deals mock */
.r-tm-cards {
    display: flex;
    gap: 8px;
}

.r-tm-card {
    flex: 1;
    height: 60px;
    background: #ffffff;
    border: 1px solid var(--r-border);
    border-radius: 8px;
}

.r-tm-line-chart {
    flex: 1;
}

.r-tm-line-chart svg {
    width: 100%;
    height: 100%;
}

/* Compliance mock */
.r-tm-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.r-tm-badge {
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.r-tm-green { background: #d1fae5; color: #065f46; }
.r-tm-blue  { background: #dbeafe; color: #1e40af; }
.r-tm-amber { background: #fef3c7; color: #92400e; }
.r-tm-red   { background: #fee2e2; color: #991b1b; }

/* Scroll-driven animations for sticky panels */
.r-sticky-panel {
    animation: r-fade-scale linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 25%;
}

/* =========================================
   S2 — WORKFLOW
   ========================================= */
.r-section {
    padding: 5rem 0;
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ---- Scroll-driven reveal animations ---- */
@keyframes r-fade-up {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes r-fade-scale {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

.r-hero > .container {
    animation: r-fade-up 0.6s ease both;
}

.r-section > .container {
    animation: r-fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
}

.r-audience-card,
.r-trust-card,
.r-price-card {
    animation: r-fade-scale linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
}

.r-platform-mockup {
    animation: r-fade-scale linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
}

.r-stat {
    animation: r-fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
}

.r-workflow {
    background: var(--r-bg);
    border-top: 1px solid var(--r-border);
}

.r-section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--r-text);
    margin-bottom: 24px;
    line-height: 1.25;
}

.r-section-sub {
    text-align: center;
    font-size: 1rem;
    color: var(--r-text-light);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.r-section-sub strong {
    color: var(--r-blue-dark);
}

/* Feature pills */
.r-feature-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.r-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--r-bg-alt);
    border: 1px solid var(--r-border);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--r-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.r-feature-pill:hover {
    border-color: var(--r-blue);
    box-shadow: 0 2px 8px rgba(0,102,255,0.08);
}

.r-pill-icon {
    display: flex;
    color: var(--r-blue);
}

/* Platform mockup */
.r-platform-mockup {
    max-width: 920px;
    margin: 0 auto 2.5rem;
    border: 1px solid var(--r-border);
    border-radius: var(--r-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    background: #fff;
}

.r-mockup-chrome {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--r-bg-alt);
    border-bottom: 1px solid var(--r-border);
}

.r-chrome-dots {
    display: flex;
    gap: 6px;
}

.r-chrome-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e0;
}

.r-chrome-dots span:first-child { background: #fc5753; }
.r-chrome-dots span:nth-child(2) { background: #fdbc40; }
.r-chrome-dots span:last-child { background: #33c748; }

.r-chrome-bar {
    flex: 1;
    height: 24px;
    border-radius: 6px;
    background: #e2e8f0;
    max-width: 360px;
}

.r-mockup-body {
    display: flex;
    min-height: 300px;
}

.r-mockup-sidebar {
    width: 180px;
    background: #f1f5f9;
    border-right: 1px solid var(--r-border);
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.r-mock-line {
    height: 10px;
    background: #d1d9e6;
    border-radius: 4px;
    width: 100%;
}

.r-mock-line-short { width: 60%; }

.r-mock-line-active {
    background: var(--r-blue);
    opacity: 0.7;
}

.r-mockup-content {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.r-mock-header-bar {
    height: 18px;
    width: 40%;
    background: var(--r-text);
    border-radius: 4px;
    opacity: 0.12;
}

.r-mock-cards-row {
    display: flex;
    gap: 12px;
}

.r-mock-stat-card {
    flex: 1;
    height: 54px;
    background: var(--r-bg-alt);
    border: 1px solid var(--r-border);
    border-radius: 8px;
}

.r-mock-table {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.r-mock-table-header {
    height: 16px;
    background: var(--r-bg-alt);
    border-radius: 4px;
}

.r-mock-table-row {
    height: 14px;
    background: #f1f5f9;
    border-radius: 3px;
}

.r-mock-table-row:nth-child(odd) {
    width: 92%;
}

/* Inline quote */
.r-inline-quote {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    border: none;
    padding: 0;
}

.r-inline-quote p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--r-text-light);
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.r-inline-quote cite {
    font-size: 0.88rem;
    font-style: normal;
    color: var(--r-blue-dark);
    font-weight: 500;
}

/* =========================================
   S3 — AUDIENCE
   ========================================= */
.r-audience {
    background: var(--r-bg-alt);
}

.r-audience-header {
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.r-title-left, .r-sub-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.r-sub-left {
    max-width: 420px;
}

.r-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.r-audience-card {
    background: #ffffff;
    border: 1px solid var(--r-border);
    border-radius: var(--r-radius);
    padding: 1.5rem;
    box-shadow: var(--r-card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.r-audience-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--r-card-hover);
}

.r-aud-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,102,255,0.08);
    border-radius: 10px;
    color: var(--r-blue);
    margin-bottom: 1rem;
}

.r-audience-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--r-text);
}

.r-audience-card ul {
    padding-left: 1.1rem;
}

.r-audience-card li {
    font-size: 0.87rem;
    color: var(--r-text-light);
    line-height: 1.55;
    margin-bottom: 0.3rem;
}

.r-audience-card li::marker {
    color: var(--r-blue);
}

/* =========================================
   S4 — SCALE / STATS
   ========================================= */
.r-scale {
    background: var(--r-bg);
    border-top: 1px solid var(--r-border);
    border-bottom: 1px solid var(--r-border);
    padding: 2.5rem 0;
    min-height: auto;
    scroll-snap-align: none;
}

.r-scale .r-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--r-text);
}

.r-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.r-stat {
    text-align: center;
    padding: 0.5rem 2.5rem;
    min-width: 140px;
}

.r-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--r-blue-dark);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.r-stat-label {
    font-size: 0.82rem;
    color: var(--r-text-muted);
    font-weight: 500;
}

.r-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--r-border);
}

/* =========================================
   S5 — TRUST
   ========================================= */
.r-trust {
    background: var(--r-bg);
    min-height: auto;
    padding: 3.5rem 0;
    scroll-snap-align: none;
}

.r-trust-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.r-trust-heading {
    margin-bottom: 2rem;
}

.r-trust-heading h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--r-text);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.r-trust-heading p {
    font-size: 0.92rem;
    color: var(--r-text-muted);
    line-height: 1.6;
}

.r-trust-items {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.r-trust-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    padding: 0;
}

.r-trust-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,102,255,0.08);
    border-radius: 10px;
    color: var(--r-blue);
}

.r-trust-text h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--r-text);
    margin-bottom: 0.25rem;
}

.r-trust-text p {
    font-size: 0.88rem;
    color: var(--r-text-light);
    line-height: 1.55;
}

/* =========================================
   S6 — PRICING
   ========================================= */

/* --- Pricing Strip --- */
.r-pricing-strip {
    background: var(--r-bg);
    border-top: 1px solid var(--r-border);
    border-bottom: 1px solid var(--r-border);
    padding: 2rem 0;
    min-height: auto;
    scroll-snap-align: none;
}

.r-pricing-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.r-pricing-strip-text h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--r-text);
    margin: 0 0 0.25rem;
}

.r-pricing-strip-text p {
    font-size: 0.88rem;
    color: var(--r-text-muted);
    margin: 0;
}

.r-pricing-strip-text p strong {
    color: var(--r-text);
}

.r-pricing-strip-plans {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.r-strip-plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.r-strip-plan-name {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--r-text-muted);
}

.r-strip-plan-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--r-text);
    line-height: 1;
}

.r-strip-plan-price small {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--r-text-muted);
}

.r-strip-divider {
    width: 1px;
    height: 32px;
    background: var(--r-border);
}

.r-pricing-strip-cta {
    white-space: nowrap;
    padding: 0.65rem 1.5rem;
    font-size: 0.88rem;
}

/* --- Pricing Modal (CSS :target) --- */
.r-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 2rem;
}

.r-modal-overlay:target {
    opacity: 1;
    visibility: visible;
}

.r-modal {
    background: var(--r-bg);
    border-radius: var(--r-radius-lg);
    max-width: 1080px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.r-modal-overlay:target .r-modal {
    transform: translateY(0);
}

.r-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--r-text-muted);
    text-decoration: none;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.r-modal-close:hover {
    background: var(--r-bg-alt);
    color: var(--r-text);
}

.r-modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--r-text);
    margin: 0 0 2rem;
}

.r-modal .r-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 0 2.5rem;
}

.r-modal .r-compare {
    max-width: 100%;
}

/* --- Price Cards (shared for modal) --- */
.r-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1020px;
    margin: 0 auto 3rem;
}

.r-price-card {
    border: 1px solid var(--r-border);
    border-radius: var(--r-radius-lg);
    padding: 2rem 1.5rem;
    background: var(--r-bg);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.r-price-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--r-card-hover);
}

.r-price-popular {
    border-color: var(--r-blue);
    box-shadow: 0 0 0 1px var(--r-blue);
}

.r-popular-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--r-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 14px;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

.r-price-header {
    margin-bottom: 1.25rem;
}

.r-price-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--r-text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.r-price-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 0.5rem;
}

.r-price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--r-text);
}

.r-price-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--r-text);
    line-height: 1;
}

.r-price-period {
    font-size: 0.9rem;
    color: var(--r-text-muted);
    font-weight: 400;
}

.r-price-desc {
    font-size: 0.88rem;
    color: var(--r-text-muted);
    line-height: 1.45;
}

.r-price-card .r-btn {
    margin-bottom: 1.25rem;
}

.r-price-features {
    list-style: none;
    padding: 0;
    flex: 1;
}

.r-price-features li {
    font-size: 0.88rem;
    color: var(--r-text-light);
    line-height: 1.5;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f2f5;
    padding-left: 1.25rem;
    position: relative;
}

.r-price-features li:last-child {
    border-bottom: none;
}

.r-price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--r-blue);
    font-weight: 600;
    font-size: 0.82rem;
}

.r-price-features li:first-child::before {
    content: "";
}

.r-price-features li:first-child {
    font-weight: 600;
    color: var(--r-text);
    padding-left: 0;
}

/* Comparison table */
.r-compare {
    max-width: 920px;
    margin: 0 auto;
}

.r-compare-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--r-text);
    margin-bottom: 1rem;
}

.r-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.r-compare-table th,
.r-compare-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--r-border);
}

.r-compare-table th {
    font-weight: 600;
    color: var(--r-text);
    background: var(--r-bg-alt);
}

.r-compare-table th:first-child {
    border-radius: 8px 0 0 0;
}

.r-compare-table th:last-child {
    border-radius: 0 8px 0 0;
}

.r-compare-table td {
    color: var(--r-text-light);
}

.r-compare-table td:first-child {
    font-weight: 500;
    color: var(--r-text);
}

.r-compare-table tbody tr:hover {
    background: rgba(0,102,255,0.02);
}

/* =========================================
   S7 — FAQ
   ========================================= */
.r-faq {
    background: var(--r-bg-alt);
}

.r-faq-list {
    width: 720px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.r-faq-item {
    border-bottom: 1px solid var(--r-border);
    width: 100%;
    box-sizing: border-box;
}

.r-faq-item summary {
    padding: 1.1rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--r-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.r-faq-item summary span,
.r-faq-item p {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.r-faq-item summary::-webkit-details-marker { display: none; }

.r-faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--r-text-muted);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.r-faq-item[open] summary::after {
    content: "−";
}

.r-faq-item p {
    font-size: 0.92rem;
    color: var(--r-text-light);
    line-height: 1.65;
    padding-bottom: 1.1rem;
}

/* =========================================
   FOOTER
   ========================================= */
.r-footer {
    background: #0c1222;
    color: #c8d6e5;
    padding: 3.5rem 0 2rem;
    scroll-snap-align: start;
}

.r-footer > .container {
    animation: r-fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
}

.r-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.r-footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    display: block;
    margin-bottom: 1rem;
}

.r-footer-addr {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #8899aa;
    margin-bottom: 0.75rem;
}

.r-footer-contact-info {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #8899aa;
}

.r-footer-contact-info a {
    color: #a3bffa;
}

.r-footer-contact-info a:hover {
    color: #fff;
}

.r-footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8899aa;
    margin-bottom: 1rem;
}

.r-footer-col ul {
    list-style: none;
    padding: 0;
}

.r-footer-col li {
    margin-bottom: 0.5rem;
}

.r-footer-col a {
    font-size: 0.9rem;
    color: #c8d6e5;
    text-decoration: none;
    transition: color 0.2s;
}

.r-footer-col a:hover {
    color: #ffffff;
}

.r-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.r-footer-bottom p {
    font-size: 0.82rem;
    color: #5a6a7a;
}

.r-footer-legal {
    display: flex;
    gap: 1.5rem;
}

.r-footer-legal a {
    font-size: 0.82rem;
    color: #5a6a7a;
    text-decoration: none;
}

.r-footer-legal a:hover {
    color: #c8d6e5;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .r-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .r-hero-sub { margin-left: auto; margin-right: auto; }

    .r-hero-actions { justify-content: center; }

    .r-hero-visual { order: -1; }

    .r-hero-illus { max-width: 400px; margin: 0 auto; }

    .r-audience-header { max-width: 100%; text-align: center; }
    .r-title-left, .r-sub-left { text-align: center; margin-left: auto; margin-right: auto; }

    .r-audience-grid { grid-template-columns: repeat(2, 1fr); }

    .r-sticky-grid { grid-template-columns: 1fr; }
    .r-sticky-pin { position: relative; top: auto; text-align: center; padding: 2rem 0 0; }
    .r-sticky-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
    .r-sticky-right { padding: 2rem 0 3rem; }
    .r-sticky-panel { position: relative; top: auto !important; }

    .r-pricing-grid { grid-template-columns: 1fr; max-width: 420px; }

    .r-pricing-strip-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .r-pricing-strip-plans { gap: 1rem; }

    .r-modal {
        padding: 1.5rem;
        max-height: 90vh;
    }

    .r-modal .r-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto 2rem;
    }

    .r-trust-items { flex-direction: column; gap: 1rem; }

    .r-faq .r-section-title { font-size: 1.4rem; }
    .r-faq-list { width: 100%; padding: 0; }
    .r-faq-item summary { font-size: 0.9rem; padding: 1rem 0; }
    .r-faq-item p { font-size: 0.88rem; line-height: 1.6; }

    .r-footer-grid { grid-template-columns: 1fr 1fr; }

    .r-compare-table { font-size: 0.82rem; }
    .r-compare-table th, .r-compare-table td { padding: 0.6rem 0.5rem; }
}

@media (max-width: 768px) {
    .research-page { scroll-snap-type: y proximity; }

    .r-hero { padding: 4rem 0 2rem; min-height: auto; }
    .r-hero-title { font-size: 2rem; }

    .r-section { padding: 3.5rem 0; min-height: auto; }
    .r-section-title { font-size: 1.6rem; }

    .r-audience-grid { grid-template-columns: 1fr; }

    .r-stats-row { flex-direction: column; gap: 0; }
    .r-stat-divider { width: 60px; height: 1px; margin: 0 auto; }

    .r-mockup-sidebar { display: none; }

    .r-feature-row { gap: 0.5rem; }
    .r-feature-pill { font-size: 0.82rem; padding: 0.4rem 0.75rem; }

    .r-sticky-title { font-size: 1.6rem; }

    .r-faq { padding: 2.5rem 0; }
    .r-faq .r-section-title { font-size: 1.25rem; margin-bottom: 1.25rem; }
    .r-faq-item summary { font-size: 0.88rem; padding: 0.9rem 0; gap: 0.75rem; }
    .r-faq-item summary::after { font-size: 1.1rem; }
    .r-faq-item p { font-size: 0.84rem; line-height: 1.55; padding-bottom: 0.9rem; }

    .r-footer-grid { grid-template-columns: 1fr; text-align: center; }
    .r-footer-bottom { flex-direction: column; text-align: center; }
    .r-footer-legal { justify-content: center; }
}
