/* ═══════════════════════════════════════════
   REVQUO CRM v3.1 — Premium SaaS Design 2026
   Linear / Stripe aesthetic · SVG-first · Zero deps
   ═══════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
    --rq-primary: #2bb673;
    --rq-primary-light: #34d88a;
    --rq-primary-glow: rgba(43,182,115,.4);
    --rq-secondary: #7c5cfc;
    --rq-secondary-glow: rgba(124,92,252,.35);
    --rq-dark: #0a0a0f;
    --rq-dark-card: #111117;
    --rq-dark-surface: #16161e;
    --rq-light: #f8f9fc;
    --rq-white: #ffffff;
    --rq-text-primary: #f1f5f9;
    --rq-text-dark: #0f172a;
    --rq-text-body: #334155;
    --rq-muted: #94a3b8;
    --rq-muted-dark: #64748b;
    --rq-border-glass: rgba(255,255,255,.08);
    --rq-border-light: #e2e8f0;
    --rq-radius: 16px;
    --rq-radius-lg: 24px;
    --rq-radius-pill: 999px;
    --rq-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --rq-ease: cubic-bezier(.22,1,.36,1);
    --rq-ease-out: cubic-bezier(.16,1,.3,1);
    --rq-shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --rq-shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
    --rq-shadow-lg: 0 12px 40px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
    --rq-shadow-xl: 0 24px 64px rgba(0,0,0,.1), 0 8px 20px rgba(0,0,0,.06);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body.rq-body {
    font-family: var(--rq-font);
    background: var(--rq-light);
    color: var(--rq-text-body);
    line-height: 1.7;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Layout ── */
.rq-container { width: min(1200px, 92vw); margin: 0 auto; }
.rq-container--narrow { max-width: 760px; }
.rq-section { padding: 6rem 0; position: relative; overflow: hidden; }
.rq-section--dark { background: var(--rq-dark); color: var(--rq-text-primary); }
.rq-section--light { background: var(--rq-light); color: var(--rq-text-dark); }
.rq-main { padding-bottom: 0; }

/* ── Typography ── */
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .75rem; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
p { margin: 0; }
.rq-section--light p { color: var(--rq-text-body); }
.rq-section--light h2, .rq-section--light h3 { color: var(--rq-text-dark); }
.rq-section--dark h2, .rq-section--dark h3 { color: var(--rq-text-primary); }
.rq-section--dark p { color: var(--rq-muted); }

.rq-display {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.05;
    color: #fff;
    margin-bottom: .8rem;
}

.rq-gradient-text {
    background: linear-gradient(135deg, #7df5b4 0%, var(--rq-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* ── Section Header ── */
.rq-section-header { margin-bottom: 3rem; }
.rq-section-header--center { text-align: center; }
.rq-section-header--center h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.rq-section-sub { max-width: 50ch; margin: 0 auto; color: var(--rq-muted); font-size: 1.05rem; margin-top: -.25rem; }

.rq-overline {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--rq-primary);
    margin-bottom: .75rem;
}
.rq-overline--light { color: var(--rq-primary-light); }

/* ── Buttons ── */
.rq-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    text-decoration: none; border-radius: 12px; border: 1.5px solid transparent;
    padding: .75rem 1.5rem; font-weight: 600; font-size: .93rem;
    cursor: pointer; transition: all .25s var(--rq-ease);
    font-family: var(--rq-font); white-space: nowrap;
    line-height: 1.4;
}
.rq-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.rq-btn:hover { transform: translateY(-2px); }
.rq-btn--primary {
    background: linear-gradient(135deg, var(--rq-primary), #1f9a62);
    color: #fff;
    box-shadow: 0 4px 20px var(--rq-primary-glow);
}
.rq-btn--primary:hover {
    box-shadow: 0 8px 32px var(--rq-primary-glow), 0 0 60px rgba(43,182,115,.15);
}
.rq-btn--glow { animation: glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 4px 20px var(--rq-primary-glow); }
    50% { box-shadow: 0 8px 40px var(--rq-primary-glow), 0 0 60px rgba(43,182,115,.12); }
}
.rq-btn--outline {
    background: transparent;
    border-color: rgba(255,255,255,.2);
    color: rgba(255,255,255,.9);
    backdrop-filter: blur(4px);
}
.rq-btn--outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.rq-btn--outline-light {
    background: transparent;
    border-color: rgba(255,255,255,.15);
    color: rgba(255,255,255,.85);
}
.rq-btn--outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.rq-btn--lg { padding: 1rem 2rem; font-size: 1rem; border-radius: 14px; }
.rq-btn--sm { padding: .5rem .9rem; font-size: .85rem; border-radius: 10px; }
.rq-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.rq-actions--center { justify-content: center; }

/* ── Badge / Shimmer ── */
.rq-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .85rem; border-radius: var(--rq-radius-pill);
    background: rgba(43,182,115,.1);
    border: 1px solid rgba(43,182,115,.2);
    font-size: .78rem; font-weight: 700;
    color: #7df5b4; margin-bottom: 1.25rem;
}
.rq-badge svg { width: 14px; height: 14px; }
.rq-shimmer {
    position: relative; overflow: hidden;
}
.rq-shimmer::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ── Grid ── */
.rq-grid { display: grid; gap: 1.5rem; }
.rq-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ── Card (Light) ── */
.rq-card {
    background: var(--rq-white);
    border: 1px solid var(--rq-border-light);
    border-radius: var(--rq-radius);
    padding: 1.75rem;
    transition: all .35s var(--rq-ease);
}
.rq-card--elevated {
    box-shadow: var(--rq-shadow-md);
}
.rq-card--elevated:hover {
    transform: translateY(-4px);
    box-shadow: var(--rq-shadow-xl);
}
.rq-card h3 { font-size: 1.1rem; }
.rq-card p { color: var(--rq-muted-dark); font-size: .93rem; line-height: 1.65; }

/* ── Card Icon ── */
.rq-card__icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; flex-shrink: 0;
}
.rq-card__icon svg { width: 22px; height: 22px; }
.rq-card__icon--green { background: rgba(43,182,115,.1); color: var(--rq-primary); }
.rq-card__icon--purple { background: rgba(124,92,252,.1); color: var(--rq-secondary); }

/* ── Glass Card (Dark sections) ── */
.rq-glass-card {
    background: rgba(255,255,255,.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--rq-border-glass);
    border-radius: var(--rq-radius);
    padding: 1.75rem;
    transition: all .4s var(--rq-ease);
}
.rq-glass-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.14);
    box-shadow: 0 20px 48px rgba(0,0,0,.2);
}

/* ── Feature Card ── */
.rq-feature-card {
    border-left: 3px solid var(--accent, var(--rq-primary));
    position: relative;
}
.rq-feature-card__icon {
    width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06); margin-bottom: .85rem;
}
.rq-feature-card__icon svg {
    width: 20px; height: 20px;
    stroke: var(--accent, var(--rq-primary));
}
.rq-feature-card h3 { color: var(--rq-text-primary); font-size: 1.05rem; }
.rq-feature-card p { color: var(--rq-muted); font-size: .9rem; line-height: 1.6; }

/* ── Check List ── */
.rq-check-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .6rem; }
.rq-check-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--rq-text-body); line-height: 1.5; }
.rq-check-icon {
    width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; background: rgba(43,182,115,.1); color: var(--rq-primary);
}
.rq-check-icon svg { width: 14px; height: 14px; }

/* ── SVG Illustrations ── */
.rq-illust { width: 100%; height: auto; border-radius: var(--rq-radius); }
.rq-illust--dash { max-width: 580px; }
.rq-float-icon { animation: iconFloat 4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.rq-illust--chat { max-width: 340px; }
.rq-illust--phone { max-width: 260px; }

/* ═══════════════════════════════════════════
   DECORATIVE — Waves, Orbs, Dots
   ═══════════════════════════════════════════ */
.rq-wave {
    position: relative; z-index: 2; line-height: 0; margin: 0; padding: 0;
    overflow: hidden; width: 100%;
}
.rq-wave svg { display: block; width: 100%; height: 60px; }

.rq-orb {
    position: absolute; border-radius: 50%; pointer-events: none;
    filter: blur(80px); opacity: .5; z-index: 0;
    animation: orbFloat 8s ease-in-out infinite alternate;
}
@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, -20px) scale(1.1); }
}
.rq-orb--1 { width: 500px; height: 500px; top: -15%; left: -5%; background: rgba(43,182,115,.15); }
.rq-orb--2 { width: 400px; height: 400px; top: -10%; right: -5%; background: rgba(124,92,252,.18); animation-delay: -3s; }
.rq-orb--3 { width: 300px; height: 300px; bottom: 5%; left: 30%; background: rgba(43,182,115,.1); animation-delay: -5s; }
.rq-orb--4 { width: 350px; height: 350px; top: 10%; right: -10%; background: rgba(124,92,252,.12); animation-delay: -2s; }
.rq-orb--5 { width: 280px; height: 280px; bottom: 10%; left: -5%; background: rgba(43,182,115,.12); animation-delay: -4s; }
.rq-orb--6 { width: 400px; height: 400px; top: -20%; left: 10%; background: rgba(43,182,115,.15); animation-delay: -1s; }
.rq-orb--7 { width: 350px; height: 350px; bottom: -10%; right: 5%; background: rgba(124,92,252,.15); animation-delay: -6s; }

.rq-dot-grid {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transition: opacity .7s var(--rq-ease-out), transform .7s var(--rq-ease-out);
}
[data-reveal="fadeUp"] { transform: translateY(32px); }
[data-reveal="fadeLeft"] { transform: translateX(-32px); }
[data-reveal="scaleIn"] { transform: scale(.85); }
[data-reveal="drawLine"] { transform: scaleX(0); transform-origin: left; }

[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.rq-header {
    position: sticky; top: 0; z-index: 100;
    background: transparent;
    border-bottom: none;
    transition: background .4s var(--rq-ease), box-shadow .4s var(--rq-ease),
                backdrop-filter .4s var(--rq-ease);
    margin-bottom: -68px;
}
.rq-inner .rq-header {
    background: rgba(10,10,15,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,.3);
    margin-bottom: 0;
}
body.admin-bar .rq-header { top: 32px; }
.rq-header.is-shrunk {
    background: rgba(10,10,15,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.rq-header__inner {
    min-height: 68px; display: flex; align-items: center; gap: 1rem;
}
.rq-brand { display: flex; align-items: center; text-decoration: none; }
.rq-logo { height: 32px; width: auto; max-width: 180px; }
.rq-menu-toggle {
    display: none !important; width: 40px; height: 36px;
    border: 1px solid rgba(255,255,255,.12); background: transparent;
    border-radius: 10px; cursor: pointer; padding: 0;
}
.rq-menu-toggle span {
    display: block; width: 16px; height: 1.5px; background: rgba(255,255,255,.8);
    margin: 3.5px auto; border-radius: 2px; transition: all .3s var(--rq-ease);
}
.rq-nav {
    display: flex; align-items: center; gap: .15rem; margin-left: auto;
}
.rq-nav a {
    padding: .45rem .75rem; border-radius: 8px;
    text-decoration: none; color: rgba(255,255,255,.65);
    font-size: .87rem; font-weight: 500;
    transition: background .2s, color .2s;
    position: relative;
}
.rq-nav a:hover,
.rq-nav a.is-active { color: #fff; background: rgba(255,255,255,.06); }
.rq-nav a.is-active::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 16px; height: 2px; border-radius: 2px;
    background: var(--rq-primary);
}
/* Login link in nav */
.rq-nav__login {
    border: 1px solid rgba(255,255,255,.15) !important;
    border-radius: 8px;
    font-weight: 600 !important;
    color: rgba(255,255,255,.75) !important;
    margin-left: .25rem;
}
.rq-nav__login:hover {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.25) !important;
    color: #fff !important;
}
.rq-header-cta { margin-left: .75rem; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.rq-hero {
    padding: 8rem 0 0; overflow: hidden;
    background: var(--rq-dark); color: var(--rq-text-primary);
    position: relative;
}
.rq-hero__grid {
    display: grid; grid-template-columns: 1fr 1.15fr;
    align-items: center; gap: 3rem;
    min-height: 520px; position: relative; z-index: 2;
}
.rq-hero__copy { position: relative; z-index: 2; }
.rq-hero__sub {
    max-width: 44ch; color: rgba(255,255,255,.6); font-size: 1.08rem; line-height: 1.7;
}
.rq-hero__visual { position: relative; z-index: 1; }

/* Typing cursor */
.rq-typing { min-height: 1.2em; }
.rq-typing::after {
    content: '|'; animation: blink .7s step-end infinite;
    color: var(--rq-primary); font-weight: 300; margin-left: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Dashboard wrap */
.rq-dash-wrap {
    position: relative;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,.3));
    animation: dashFloat 6s ease-in-out infinite;
}
@keyframes dashFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Photo */
.rq-hero-photo-wrap {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,.3));
    animation: dashFloat 6s ease-in-out infinite;
}
.rq-hero-photo {
    width: 100%;
    height: auto;
    border-radius: var(--rq-radius-lg);
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.08);
    box-shadow: 0 0 0 4px rgba(43,182,115,.1), 0 0 60px rgba(43,182,115,.08);
}

/* Floating CRM Elements */
.rq-floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}
.rq-float-el {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    opacity: .85;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.rq-float-el svg { display: block; }

.rq-float-el--kanban {
    width: 160px;
    top: 2%;
    right: -5%;
    animation: floatSlow 7s ease-in-out infinite;
}
.rq-float-el--funnel {
    width: 100px;
    bottom: 15%;
    left: -8%;
    animation: floatSlow 8s ease-in-out infinite;
    animation-delay: -2s;
}
.rq-float-el--chat-notif {
    width: 140px;
    top: 12%;
    left: -10%;
    animation: floatSlow 6s ease-in-out infinite;
    animation-delay: -1s;
}
.rq-float-el--lead-card {
    width: 130px;
    bottom: 8%;
    right: -3%;
    animation: floatSlow 9s ease-in-out infinite;
    animation-delay: -3s;
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(0.5deg); }
    75% { transform: translateY(4px) rotate(-0.5deg); }
}

/* Social Proof */
.rq-social-proof {
    display: flex; align-items: center; gap: .75rem;
    margin-top: 2rem; font-size: .85rem; color: rgba(255,255,255,.5);
}
.rq-avatars {
    display: flex;
}
.rq-avatars span {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .65rem; font-weight: 700; color: #fff;
    border: 2px solid var(--rq-dark);
    margin-left: -8px;
}
.rq-avatars span:first-child { margin-left: 0; }
.rq-avatars span:nth-child(1) { background: var(--rq-primary); }
.rq-avatars span:nth-child(2) { background: var(--rq-secondary); }
.rq-avatars span:nth-child(3) { background: #f59e0b; }
.rq-avatars span:nth-child(4) { background: rgba(255,255,255,.15); color: rgba(255,255,255,.6); font-size: .7rem; }

/* ═══════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════ */
.rq-trust {
    margin-top: 3rem; position: relative; z-index: 2;
    background: rgba(0,0,0,.3);
    border-top: 1px solid var(--rq-border-glass);
    border-bottom: 1px solid var(--rq-border-glass);
    overflow: hidden;
}
.rq-trust .rq-container { padding: .85rem 0; text-align: center; }
.rq-trust__label {
    display: block; color: rgba(255,255,255,.35);
    font-size: .72rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .1em; margin-bottom: .5rem;
}
.rq-marquee { overflow: hidden; position: relative; }
.rq-marquee__track {
    display: flex; gap: 3.5rem; width: max-content;
    animation: marquee 28s linear infinite;
}
.rq-marquee__track span {
    font-size: .78rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: rgba(255,255,255,.2); white-space: nowrap;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════ */
.rq-stats { padding: 4.5rem 0; }
.rq-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.rq-stat-card {
    text-align: center; padding: 2rem 1rem; border-radius: var(--rq-radius);
    position: relative; overflow: hidden;
    transition: all .4s var(--rq-ease);
}
/* Gradient border effect */
.rq-stat-card::before {
    content: ''; position: absolute; inset: 0;
    border-radius: var(--rq-radius);
    padding: 1px;
    background: conic-gradient(from 180deg, rgba(43,182,115,.3), rgba(124,92,252,.3), rgba(43,182,115,.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0; transition: opacity .4s;
}
.rq-stat-card:hover::before { opacity: 1; }
.rq-stat-card:hover { background: rgba(255,255,255,.03); }

.rq-stat-icon {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(43,182,115,.08); margin: 0 auto .8rem;
}
.rq-stat-icon svg { width: 20px; height: 20px; stroke: var(--rq-primary); }

.rq-stat-num {
    display: block;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
    background: linear-gradient(135deg, #7df5b4, #c4b5fd);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: .3rem;
}
.rq-stat-label {
    font-size: .85rem; color: var(--rq-muted); font-weight: 500;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.rq-how__grid {
    display: flex; align-items: flex-start; justify-content: center;
}
.rq-how__step {
    flex: 1; max-width: 280px; text-align: center; padding: 1rem 1.25rem;
}
.rq-how__num-ring {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; position: relative;
    background: var(--rq-light);
}
.rq-how__num-ring::before {
    content: ''; position: absolute; inset: -2px; border-radius: 50%;
    background: linear-gradient(135deg, var(--rq-primary), var(--rq-secondary));
    z-index: -1;
}
.rq-how__num-ring span {
    font-size: .85rem; font-weight: 800; color: var(--rq-text-dark);
    position: relative; z-index: 1;
}
.rq-how__icon {
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto .75rem;
}
.rq-how__icon svg { width: 24px; height: 24px; stroke: var(--rq-primary); }
.rq-how__step h3 { color: var(--rq-text-dark); font-size: 1.05rem; margin-bottom: .35rem; }
.rq-how__step p { color: var(--rq-muted-dark); font-size: .9rem; line-height: 1.6; }

.rq-how__connector {
    width: 60px; height: 2px; margin-top: 28px; flex-shrink: 0;
    background: linear-gradient(90deg, var(--rq-border-light), rgba(124,92,252,.25), var(--rq-border-light));
    transform-origin: left;
}

/* ═══════════════════════════════════════════
   SHOWCASE (B2B / IA Section)
   ═══════════════════════════════════════════ */
.rq-showcase__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: center;
}
.rq-showcase__copy h2 { max-width: 18ch; }
.rq-showcase__desc { color: var(--rq-muted-dark); font-size: 1rem; line-height: 1.7; margin-bottom: .5rem; }
.rq-showcase__visual {
    display: flex; justify-content: center;
    position: relative;
}
.rq-showcase__visual::before {
    content: ''; position: absolute; width: 320px; height: 320px;
    border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(43,182,115,.08) 0%, transparent 60%);
    z-index: 0;
}
.rq-showcase__visual .rq-illust { position: relative; z-index: 1; filter: drop-shadow(0 20px 40px rgba(0,0,0,.15)); }

/* ═══════════════════════════════════════════
   INTEGRATIONS HUB v2 (SVG-based)
   ═══════════════════════════════════════════ */
.rq-hub-v2 {
    position: relative;
    max-width: 560px;
    margin: 2.5rem auto 0;
}
.rq-hub-svg {
    width: 100%;
    height: auto;
}
.rq-hub-node {
    cursor: pointer;
    transition: transform .3s var(--rq-ease);
}
.rq-hub-node:hover {
    filter: brightness(1.2);
}
.rq-hub-node circle {
    transition: stroke-width .3s var(--rq-ease), filter .3s var(--rq-ease);
}
.rq-hub-node:hover circle {
    stroke-width: 3;
}
@keyframes hubOrbitSpin {
    to { stroke-dashoffset: -72; }
}
.rq-hub-orbit {
    animation: hubOrbitSpin 8s linear infinite;
}
@keyframes hubPulse {
    0%, 100% { opacity: .6; r: 3; }
    50% { opacity: 1; r: 5; }
}
.rq-hub-pulses circle {
    animation: hubPulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   SECTORS
   ═══════════════════════════════════════════ */
.rq-sectors__grid {
    display: grid; grid-template-columns: 1.1fr .9fr;
    gap: 3rem; align-items: center;
}
.rq-sectors__copy h2 { max-width: 16ch; }
.rq-sector-list { display: grid; gap: .75rem; }
.rq-sector-item {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.25rem;
}
.rq-sector-item .rq-card__icon { margin-bottom: 0; }
.rq-sector-item h3 { margin-bottom: .2rem; }
.rq-sector-item p { font-size: .88rem; }

.rq-sectors__visual {
    display: flex; justify-content: center; position: relative;
}
.rq-sectors__visual::before {
    content: ''; position: absolute; width: 300px; height: 300px;
    border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(124,92,252,.08) 0%, transparent 60%);
}
.rq-sectors__visual .rq-illust {
    position: relative; z-index: 1;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,.15));
}

/* ═══════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════ */
.rq-plan-card {
    background: var(--rq-dark-surface);
    border: 1px solid var(--rq-border-glass);
    border-radius: var(--rq-radius-lg);
    padding: 2rem;
    display: flex; flex-direction: column;
    transition: all .35s var(--rq-ease);
    position: relative;
}
.rq-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,.25);
}
.rq-plan-card--featured {
    border-color: var(--rq-primary);
    box-shadow: 0 0 40px var(--rq-primary-glow), 0 20px 48px rgba(0,0,0,.3);
    z-index: 1;
}
.rq-plan-card--featured::before {
    content: ''; position: absolute; inset: -1px; border-radius: var(--rq-radius-lg);
    background: linear-gradient(135deg, var(--rq-primary), var(--rq-secondary));
    z-index: -1; opacity: .15;
}
.rq-plan-badge {
    display: inline-flex; padding: .3rem .7rem;
    background: linear-gradient(135deg, var(--rq-primary), #1f9a62);
    color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; border-radius: var(--rq-radius-pill);
    margin-bottom: .75rem; align-self: flex-start;
}
.rq-plan-card h3 { font-size: 1.4rem; color: var(--rq-text-primary); margin-bottom: .5rem; }
.rq-plan-desc { color: var(--rq-muted); font-size: .9rem; margin-bottom: 1.5rem; line-height: 1.6; }

.rq-plan-features {
    list-style: none; padding: 0; margin: 0 0 2rem;
    display: grid; gap: .5rem; flex-grow: 1;
}
.rq-plan-features li {
    display: flex; align-items: center; gap: .5rem;
    font-size: .88rem; color: var(--rq-muted);
}
.rq-plan-features .rq-check-icon {
    background: rgba(43,182,115,.1);
}
.rq-plan-card .rq-btn { width: 100%; margin-top: auto; }

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.rq-testimonial-card {
    background: var(--rq-white);
    border: 1px solid var(--rq-border-light);
    border-radius: var(--rq-radius);
    padding: 1.75rem;
    margin: 0;
    display: flex; flex-direction: column;
    transition: all .35s var(--rq-ease);
    box-shadow: var(--rq-shadow-sm);
}
.rq-testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--rq-shadow-lg);
}
.rq-testimonial-stars {
    display: flex; gap: 2px; margin-bottom: .75rem;
}
.rq-testimonial-stars svg {
    width: 16px; height: 16px; fill: #f59e0b; stroke: #f59e0b;
}
.rq-testimonial-card > p {
    font-style: italic; color: var(--rq-text-body);
    font-size: .95rem; line-height: 1.7; flex-grow: 1;
    margin-bottom: 1.25rem;
}
.rq-testimonial-card footer {
    display: flex; align-items: center; gap: .75rem;
    border-top: 1px solid var(--rq-border-light);
    padding-top: 1rem;
}
.rq-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--bg, var(--rq-primary));
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 700; color: #fff;
    flex-shrink: 0;
}
.rq-testimonial-card footer strong {
    display: block; font-size: .88rem; color: var(--rq-text-dark);
}
.rq-testimonial-card footer div span {
    display: block; font-size: .78rem; color: var(--rq-muted-dark); font-weight: 500;
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.rq-faq { display: grid; gap: .5rem; }
.rq-faq__item {
    background: var(--rq-white);
    border: 1px solid var(--rq-border-light);
    border-radius: 14px; padding: 0; overflow: hidden;
    transition: all .3s var(--rq-ease);
}
.rq-faq__item:hover { box-shadow: var(--rq-shadow-md); }
.rq-faq__item[open] { border-left: 3px solid var(--rq-primary); }
.rq-faq__item summary {
    cursor: pointer; font-weight: 600; font-size: .95rem;
    padding: 1.1rem 1.25rem; display: flex; align-items: center;
    justify-content: space-between; gap: 1rem;
    list-style: none; color: var(--rq-text-dark);
    transition: color .2s;
}
.rq-faq__item summary::-webkit-details-marker { display: none; }
.rq-faq__item summary:hover { color: var(--rq-primary); }
.rq-faq__icon {
    width: 20px; height: 20px; flex-shrink: 0; position: relative;
}
.rq-faq__icon::before, .rq-faq__icon::after {
    content: ''; position: absolute; background: var(--rq-muted-dark);
    border-radius: 2px; transition: transform .3s var(--rq-ease);
}
.rq-faq__icon::before { width: 12px; height: 2px; top: 9px; left: 4px; }
.rq-faq__icon::after { width: 2px; height: 12px; top: 4px; left: 9px; }
.rq-faq__item[open] .rq-faq__icon::after { transform: rotate(90deg); opacity: 0; }
.rq-faq__body { padding: 0 1.25rem 1.25rem; }
.rq-faq__body p { color: var(--rq-muted-dark); line-height: 1.75; font-size: .93rem; }

/* ═══════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════ */
.rq-cta-final { padding: 6rem 0; }
.rq-cta-panel {
    position: relative; z-index: 1;
    text-align: center; padding: 4rem 2.5rem;
    border: 1px solid var(--rq-border-glass);
    border-radius: var(--rq-radius-lg);
    background: linear-gradient(135deg, rgba(43,182,115,.06), rgba(124,92,252,.06));
    backdrop-filter: blur(12px);
}
.rq-cta-panel h2 { color: #fff; max-width: 24ch; margin: 0 auto 1rem; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.rq-cta-panel > p { color: var(--rq-muted); max-width: 40ch; margin: 0 auto; font-size: 1.05rem; }

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.rq-contact-grid {
    display: grid; grid-template-columns: 1.2fr .8fr;
    gap: 1.5rem; align-items: flex-start;
}
.rq-form { display: grid; gap: .75rem; margin-top: 1.25rem; }
.rq-field label {
    display: block; font-weight: 600; font-size: .88rem;
    color: var(--rq-text-dark); margin-bottom: .3rem;
}
.rq-field input, .rq-field textarea {
    width: 100%; border: 1.5px solid var(--rq-border-light); border-radius: 12px;
    padding: .75rem 1rem; font: inherit; font-size: .93rem;
    background: var(--rq-white);
    transition: border-color .2s, box-shadow .2s;
}
.rq-field input:focus, .rq-field textarea:focus {
    outline: none; border-color: var(--rq-primary);
    box-shadow: 0 0 0 3px rgba(43,182,115,.12);
}
.rq-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 1px !important; width: 1px !important; }
.rq-alert { border-radius: 12px; padding: .75rem 1rem; font-weight: 600; font-size: .9rem; margin-bottom: .75rem; }
.rq-alert--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.rq-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.rq-contact-info { margin-bottom: 1rem; }
.rq-contact-row {
    display: flex; align-items: center; gap: .6rem;
    padding: .5rem 0; color: var(--rq-text-body); font-size: .93rem;
}
.rq-contact-row svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--rq-primary); }
.rq-social-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.rq-social-links a {
    text-decoration: none; font-weight: 600; font-size: .9rem;
    color: var(--rq-secondary); transition: color .2s;
}
.rq-social-links a:hover { color: var(--rq-primary); }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.rq-footer {
    background: var(--rq-dark); color: var(--rq-text-primary);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--rq-primary), var(--rq-secondary)) 1;
    padding: 3rem 0 2rem;
}
.rq-footer__inner {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}
.rq-footer__brand p {
    color: var(--rq-muted); font-size: .88rem;
    margin-top: .5rem; max-width: 28ch; line-height: 1.6;
}
.rq-footer__col h4 {
    font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 1rem;
}
.rq-footer__col a {
    display: block; padding: .25rem 0; text-decoration: none;
    color: var(--rq-muted); font-size: .88rem;
    transition: color .2s;
}
.rq-footer__col a:hover { color: var(--rq-primary); }
.rq-footer__bottom {
    margin-top: 2.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: .75rem;
}
.rq-footer__bottom p { color: rgba(255,255,255,.35); font-size: .82rem; }
.rq-footer__social { display: flex; gap: .75rem; }
.rq-footer__social a {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
    color: var(--rq-muted); text-decoration: none;
    transition: all .2s var(--rq-ease);
}
.rq-footer__social a:hover {
    background: rgba(255,255,255,.1); color: #fff;
    border-color: rgba(255,255,255,.15);
}
.rq-footer__social a svg { width: 16px; height: 16px; }

/* Fallback for old footer */
.rq-footer__links { display: flex; flex-wrap: wrap; gap: .75rem; }
.rq-footer__links a { font-size: .85rem; text-decoration: none; color: var(--rq-muted); font-weight: 600; }
.rq-footer__links a:hover { color: var(--rq-primary); }
.rq-socials { display: flex; flex-wrap: wrap; gap: .75rem; }
.rq-socials a { text-decoration: none; font-weight: 600; color: var(--rq-muted); transition: color .2s; }
.rq-socials a:hover { color: var(--rq-primary); }

/* ── Page Intro ── */
.rq-page-intro {
    padding: 3rem 0 2rem;
    background: var(--rq-dark);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.rq-page-intro h1 {
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    color: #fff; font-weight: 700;
}

/* ── Mobile CTA ── */
.rq-mobile-cta {
    display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
    background: linear-gradient(135deg, var(--rq-primary), #1f9a62);
    color: #fff; text-align: center; text-decoration: none;
    padding: .85rem 1rem; border-radius: var(--rq-radius-pill);
    font-weight: 700; font-size: .93rem;
    box-shadow: 0 8px 24px var(--rq-primary-glow);
}

/* ── Focus ── */
:focus-visible { outline: 2px solid var(--rq-primary); outline-offset: 2px; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* Large tablets / small laptops */
@media (max-width: 1120px) {
    .rq-hero__grid { grid-template-columns: 1fr; text-align: center; }
    .rq-hero__copy { display: flex; flex-direction: column; align-items: center; }
    .rq-hero__sub { margin: 0 auto; }
    .rq-hero__visual { margin-top: 2rem; }
    .rq-floating-elements { display: none; }
    .rq-actions { justify-content: center; }
    .rq-social-proof { justify-content: center; }
    .rq-showcase__grid { grid-template-columns: 1fr; }
    .rq-showcase__visual { order: -1; }
    .rq-sectors__grid { grid-template-columns: 1fr; }
    .rq-sectors__visual { order: -1; }
    .rq-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .rq-hub { width: 320px; height: 320px; }
    .rq-hub__node { transform: rotate(var(--angle)) translateY(-130px); }
    .rq-footer__inner { grid-template-columns: 1fr 1fr; }
}

/* Tablets */
@media (max-width: 900px) {
    .rq-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .rq-contact-grid { grid-template-columns: 1fr; }
    .rq-display { font-size: clamp(2rem, 8vw, 3rem); }
    .rq-hero { padding-top: 7rem; }
    .rq-how__grid { flex-direction: column; align-items: center; }
    .rq-how__connector { width: 2px; height: 40px; margin: 0; transform-origin: top; }
    .rq-how__connector[data-reveal="drawLine"] { transform: scaleY(0); }
    .rq-how__connector.is-revealed { transform: scaleY(1) !important; }
    .rq-section { padding: 4.5rem 0; }
    .rq-hub-v2 { max-width: 420px; }
    .rq-footer__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Mobile */
@media (max-width: 780px) {
    body.admin-bar .rq-header { top: 46px; }
    .rq-menu-toggle { display: block !important; margin-left: auto; order: 3; }
    .rq-header-cta { order: 2; }
    .rq-nav {
        display: none; position: absolute; left: 0; right: 0; top: 68px;
        padding: .75rem 4vw 1rem; background: rgba(10,10,15,.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--rq-border-glass);
        flex-direction: column; align-items: stretch;
    }
    .rq-nav.is-open { display: flex; }
    .rq-nav a { padding: .65rem .5rem; font-size: .92rem; }
    .rq-nav a.is-active::after { display: none; }
    .rq-header-cta { display: none; }
    .rq-grid--3, .rq-grid--2 { grid-template-columns: 1fr; }
    .rq-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .rq-section { padding: 3.5rem 0; }
    .rq-actions { flex-direction: column; }
    .rq-actions .rq-btn { width: 100%; }
    .rq-mobile-cta { display: block; }
    .rq-dash-wrap { margin: 0 -4vw; }
    .rq-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Small mobile */
@media (max-width: 480px) {
    .rq-container { width: 94vw; }
    .rq-card, .rq-glass-card { padding: 1.25rem; }
    .rq-plan-card { padding: 1.5rem; }
    .rq-stats__grid { grid-template-columns: 1fr; }
    .rq-display { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .rq-hub-v2 { max-width: 300px; }
    .rq-cta-panel { padding: 2.5rem 1.5rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
    .rq-marquee__track { animation: none; }
}
