/* ==========================================================================
   Expert CV Review - logged-out landing page. Scoped under .cvrx.
   Rendered by routes/candidate/resume-reviews/index.php (logged-out branch).
   ========================================================================== */

.cvrx {
    --ink: #0a0a0a;
    --slate-900: #0b1220;
    --slate-800: #0f172a;
    --slate-700: #1e293b;
    --line: #e4e4e7;
    --line-soft: #f1f1f4;
    --muted: #52525b;
    --muted-2: #71717a;
    --sky: #0284c7;
    --sky-soft: #e0f2fe;
    --good: #16a34a;
    --maxw: 1080px;
    display: block;
    width: 100%;
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
.cvrx *, .cvrx *::before, .cvrx *::after { box-sizing: border-box; }
.cvrx a { color: inherit; }

/* ---- buttons ---- */
.cvrx .cvrx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: 12px; font-size: 0.96rem; font-weight: 600;
    text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
    white-space: nowrap;
}
.cvrx .cvrx-btn:hover { transform: translateY(-1px); }
.cvrx .cvrx-btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.cvrx .cvrx-btn-light:hover { box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.cvrx .cvrx-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cvrx .cvrx-btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.cvrx .cvrx-btn-dark { background: var(--ink); color: #fff; }
.cvrx .cvrx-btn-dark:hover { box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.cvrx .cvrx-btn-block { display: flex; width: 100%; }

.cvrx .cvrx-kicker { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }

/* ---- HERO ---- */
.cvrx .cvrx-hero {
    width: 100%;
    background:
        radial-gradient(1000px 440px at 50% -10%, rgba(56,189,248,.18), transparent 60%),
        radial-gradient(760px 360px at 86% 8%, rgba(99,102,241,.15), transparent 55%),
        linear-gradient(180deg, var(--slate-900) 0%, var(--slate-800) 60%, var(--slate-700) 100%);
    color: #fff; padding: 112px 20px 64px; position: relative; overflow: hidden;
}
.cvrx .cvrx-hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(860px 400px at 50% 0%, #000 35%, transparent 80%);
    mask-image: radial-gradient(860px 400px at 50% 0%, #000 35%, transparent 80%);
    pointer-events: none;
}
.cvrx .cvrx-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cvrx .cvrx-eyebrow {
    display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600;
    letter-spacing: .03em; color: #cbd5e1; background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14); padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.cvrx .cvrx-h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.07; margin: 0 0 18px; color: #fff; }
.cvrx .cvrx-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.65; color: #cbd5e1; max-width: 660px; margin: 0 auto 30px; }
.cvrx .cvrx-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 42px; }
.cvrx .cvrx-proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 38px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.cvrx .cvrx-stat { display: flex; flex-direction: column; align-items: center; min-width: 90px; }
.cvrx .cvrx-stat-n { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.cvrx .cvrx-stat-l { font-size: 0.76rem; color: #94a3b8; margin-top: 5px; }

/* ---- sections ---- */
.cvrx .cvrx-section { max-width: var(--maxw); margin: 0 auto; padding: 56px 20px; }
.cvrx .cvrx-head { max-width: 680px; margin: 0 auto 30px; text-align: center; }
.cvrx .cvrx-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.05rem); font-weight: 800; letter-spacing: -0.02em; color: var(--slate-800); margin: 0 0 10px; line-height: 1.15; }
.cvrx .cvrx-head p { font-size: 1.02rem; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- reviewer ---- */
.cvrx .cvrx-reviewer { display: flex; gap: 26px; align-items: center; background: linear-gradient(180deg,#fafafa,#fff); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.cvrx .cvrx-reviewer-avatar { flex: none; width: 96px; height: 96px; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, var(--slate-800), var(--slate-700)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; letter-spacing: 0.02em; box-shadow: 0 12px 28px rgba(2,6,23,.2); }
.cvrx .cvrx-reviewer-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cvrx .cvrx-reviewer-proof { margin-top: 16px; display: flex; align-items: flex-start; gap: 9px; font-size: 0.92rem; line-height: 1.55; color: #166534; background: #ecfdf5; border: 1px solid #bbf7d0; border-radius: 12px; padding: 12px 15px; }
.cvrx .cvrx-reviewer-proof i { color: var(--good); margin-top: 3px; flex: none; }
.cvrx .cvrx-reviewer-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--slate-800); margin: 0 0 8px; }
.cvrx .cvrx-reviewer-role { font-size: 1rem; line-height: 1.6; color: var(--slate-700); margin: 0 0 8px; }
.cvrx .cvrx-reviewer-note { font-size: 0.92rem; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- feature grid ---- */
.cvrx .cvrx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cvrx .cvrx-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.cvrx .cvrx-card:hover { border-color: #d4d4d8; box-shadow: 0 10px 30px rgba(2,6,23,.07); transform: translateY(-2px); }
.cvrx .cvrx-card-ico { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--sky-soft); color: var(--sky); font-size: 1.1rem; margin-bottom: 14px; }
.cvrx .cvrx-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--slate-800); margin: 0 0 8px; }
.cvrx .cvrx-card p { font-size: 0.93rem; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- steps ---- */
.cvrx .cvrx-steps-section { background: linear-gradient(180deg,#fafafa,#fff); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); max-width: none; }
.cvrx .cvrx-steps-section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.cvrx .cvrx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cvrx .cvrx-step { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.cvrx .cvrx-step-n { flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--ink); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cvrx .cvrx-step-t { display: block; font-size: 1.02rem; font-weight: 700; color: var(--slate-800); margin-bottom: 5px; }
.cvrx .cvrx-step-d { display: block; font-size: 0.92rem; line-height: 1.55; color: var(--muted); }

/* ---- compare ---- */
.cvrx .cvrx-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cvrx .cvrx-compare-col { border-radius: 18px; padding: 26px; border: 1px solid var(--line); }
.cvrx .cvrx-compare-col h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 16px; }
.cvrx .cvrx-compare-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.cvrx .cvrx-compare-col li { font-size: 0.94rem; line-height: 1.5; padding-left: 26px; position: relative; }
.cvrx .cvrx-compare-bad { background: #fff; }
.cvrx .cvrx-compare-bad h3 { color: var(--muted-2); }
.cvrx .cvrx-compare-bad li { color: var(--muted); }
.cvrx .cvrx-compare-bad li::before { content: "\00d7"; position: absolute; left: 4px; top: -1px; color: #ef4444; font-weight: 700; }
.cvrx .cvrx-compare-good { background: linear-gradient(180deg, #0f172a, #1e293b); border-color: #0f172a; color: #fff; }
.cvrx .cvrx-compare-good h3 { color: #fff; }
.cvrx .cvrx-compare-good li { color: #e2e8f0; }
.cvrx .cvrx-compare-good li::before { content: "\2713"; position: absolute; left: 2px; top: 0; color: #4ade80; font-weight: 700; }

/* ---- fineprint (honest, trust-building small print under sections) ---- */
.cvrx .cvrx-fineprint { max-width: 760px; margin: 26px auto 0; text-align: center; font-size: 0.88rem; line-height: 1.65; color: var(--muted-2); }

/* ---- guarantee / two promises ---- */
.cvrx .cvrx-promises { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.cvrx .cvrx-promise { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.cvrx .cvrx-promise-ico { display: inline-flex; width: 46px; height: 46px; border-radius: 13px; align-items: center; justify-content: center; background: var(--sky-soft); color: var(--sky); font-size: 1.15rem; margin-bottom: 14px; }
.cvrx .cvrx-promise h3 { font-size: 1.18rem; font-weight: 700; color: var(--slate-800); margin: 0 0 10px; }
.cvrx .cvrx-promise p { font-size: 0.95rem; line-height: 1.65; color: var(--muted); margin: 0; }
.cvrx .cvrx-promise-lead { background: linear-gradient(180deg, #0f172a, #1e293b); border-color: #0f172a; color: #fff; box-shadow: 0 16px 36px rgba(2,6,23,.18); }
.cvrx .cvrx-promise-lead .cvrx-promise-ico { background: rgba(56,189,248,.18); color: #7dd3fc; }
.cvrx .cvrx-promise-lead h3 { color: #fff; }
.cvrx .cvrx-promise-lead p { color: #cbd5e1; }

/* ---- pricing ---- */
.cvrx .cvrx-pricing { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; background: linear-gradient(180deg,#fafafa,#fff); border: 1px solid var(--line); border-radius: 20px; padding: 34px; }
.cvrx .cvrx-pricing-copy h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 800; letter-spacing: -0.02em; color: var(--slate-800); margin: 0 0 10px; line-height: 1.2; }
.cvrx .cvrx-pricing-copy > p { font-size: 0.98rem; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.cvrx .cvrx-pricing-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.cvrx .cvrx-pricing-list li { font-size: 0.95rem; line-height: 1.5; color: var(--slate-700); display: flex; gap: 10px; align-items: flex-start; }
.cvrx .cvrx-pricing-list i { color: var(--good); margin-top: 3px; flex: none; }
.cvrx .cvrx-pricing-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; text-align: center; box-shadow: 0 14px 34px rgba(2,6,23,.08); }
.cvrx .cvrx-price-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 20px; }
.cvrx .cvrx-price-plan { display: flex; align-items: baseline; gap: 2px; position: relative; }
.cvrx .cvrx-price-amt { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--slate-800); }
.cvrx .cvrx-price-per { font-size: 0.9rem; color: var(--muted-2); }
.cvrx .cvrx-price-or { font-size: 0.82rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; }
.cvrx .cvrx-price-save { position: absolute; top: -16px; right: -8px; font-size: 0.66rem; font-weight: 700; color: #166534; background: #ecfdf5; border: 1px solid #bbf7d0; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.cvrx .cvrx-price-fine { font-size: 0.82rem; color: var(--muted-2); margin: 14px 0 0; }
.cvrx .cvrx-price-fine a { color: var(--sky); font-weight: 600; }

/* ---- faq ---- */
.cvrx .cvrx-faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 780px; margin: 0 auto; }
.cvrx .cvrx-faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.cvrx .cvrx-faq-item summary { font-size: 1rem; font-weight: 600; color: var(--slate-800); cursor: pointer; padding: 15px 28px 15px 0; list-style: none; position: relative; }
.cvrx .cvrx-faq-item summary::-webkit-details-marker { display: none; }
.cvrx .cvrx-faq-item summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font-size: 1.3rem; font-weight: 400; color: var(--muted-2); }
.cvrx .cvrx-faq-item[open] summary::after { content: "\2212"; }
.cvrx .cvrx-faq-item p { font-size: 0.95rem; line-height: 1.7; color: var(--muted); margin: 0 0 16px; }

/* ---- final cta ---- */
.cvrx .cvrx-final { text-align: center; padding: 70px 20px; background: linear-gradient(180deg, var(--slate-900), var(--slate-800)); color: #fff; }
.cvrx .cvrx-final h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.cvrx .cvrx-final p { font-size: 1.05rem; color: #cbd5e1; margin: 0 0 26px; }

/* ---- responsive ---- */
@media (max-width: 900px) {
    .cvrx .cvrx-grid { grid-template-columns: repeat(2, 1fr); }
    .cvrx .cvrx-steps { grid-template-columns: 1fr; }
    .cvrx .cvrx-compare { grid-template-columns: 1fr; }
    .cvrx .cvrx-pricing { grid-template-columns: 1fr; }
    .cvrx .cvrx-promises { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .cvrx .cvrx-hero { padding: 96px 18px 48px; }
    .cvrx .cvrx-section { padding: 42px 18px; }
    .cvrx .cvrx-grid { grid-template-columns: 1fr; }
    .cvrx .cvrx-reviewer { flex-direction: column; text-align: center; }
    .cvrx .cvrx-proof { gap: 14px 24px; }
    .cvrx .cvrx-price-row { flex-direction: column; gap: 10px; }
}
