/* ============================================================
   RevelationFX — Converter Page Styles
   Add this to css/extra.css or a new css/converter-page.css
   ============================================================ */

/* ── Page Hero ──────────────────────────────────────────────── */
.rfx-page-hero {
    position: relative;
    padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px);
    text-align: center;
    overflow: hidden;
}

.rfx-page-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.rfx-page-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.rfx-page-hero__orb {
    position: absolute;
    width: 500px;
    height: 500px;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
    filter: blur(60px);
}

.rfx-page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.rfx-page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rfx-gold);
    margin-bottom: 18px;
}

.rfx-page-hero__title {
    font-family: var(--rfx-font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--rfx-white);
    line-height: 1.1;
    margin-bottom: 16px;
}

.rfx-page-hero__sub {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: var(--rfx-text-soft);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Tool Section ───────────────────────────────────────────── */
.rfx-converter-page__tool {
    padding: 0 0 clamp(40px, 6vw, 80px);
}

.rfx-converter-page__tool-inner {
    max-width: 680px;
}

/* Expand converter card to fill nicely */
.rfx-converter-page__tool .rg-cc-wrapper {
    max-width: 100%;
    padding: 0;
}

.rfx-converter-page__tool .rg-cc-card {
    padding: 36px 32px 32px;
}

/* ── Explainer Section ──────────────────────────────────────── */
.rfx-explainer {
    background: var(--rfx-dark-2);
    border-top: 1px solid var(--rfx-border);
    border-bottom: 1px solid var(--rfx-border);
}

.rfx-section__head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.rfx-explainer__intro {
    font-size: 1rem;
    color: var(--rfx-text-soft);
    line-height: 1.7;
    max-width: 560px;
    margin-top: 12px;
}

/* Steps grid */
.rfx-explainer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--rfx-gap);
    margin-bottom: clamp(40px, 6vw, 72px);
}

.rfx-explainer__card {
    background: var(--rfx-dark-3);
    border: 1px solid var(--rfx-border);
    border-radius: var(--rfx-radius);
    padding: 28px 24px;
    transition: border-color var(--rfx-ease), box-shadow var(--rfx-ease);
    position: relative;
}

.rfx-explainer__card:hover {
    border-color: rgba(201,168,76,0.35);
    box-shadow: 0 0 24px rgba(201,168,76,0.06);
}

/* Gold top line on hover */
.rfx-explainer__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rfx-gold), transparent);
    opacity: 0;
    transition: opacity var(--rfx-ease);
    border-radius: var(--rfx-radius) var(--rfx-radius) 0 0;
}
.rfx-explainer__card:hover::before { opacity: 0.6; }

.rfx-explainer__icon {
    width: 52px;
    height: 52px;
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.rfx-explainer__card-title {
    font-family: var(--rfx-font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--rfx-white);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.rfx-explainer__card-text {
    font-size: 0.88rem;
    color: var(--rfx-text-soft);
    line-height: 1.7;
}

/* Divider */
.rfx-explainer__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rfx-border-light), transparent);
    margin-bottom: clamp(40px, 6vw, 72px);
}

/* FAQ grid */
.rfx-explainer__faq-title {
    font-family: var(--rfx-font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 800;
    color: var(--rfx-white);
    letter-spacing: -0.02em;
    margin-bottom: clamp(24px, 4vw, 40px);
    text-align: center;
}

.rfx-explainer__faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 3vw, 28px);
}

.rfx-explainer__faq-item {
    background: var(--rfx-dark-3);
    border: 1px solid var(--rfx-border);
    border-radius: var(--rfx-radius);
    padding: 22px 20px;
    transition: border-color var(--rfx-ease);
}
.rfx-explainer__faq-item:hover {
    border-color: var(--rfx-border-light);
}

.rfx-explainer__faq-q {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--rfx-gold);
    margin-bottom: 10px;
    line-height: 1.3;
}

.rfx-explainer__faq-a {
    font-size: 0.86rem;
    color: var(--rfx-text-soft);
    line-height: 1.7;
}

.rfx-explainer__faq-a strong { color: var(--rfx-text); }
.rfx-explainer__faq-a em     { font-style: italic; color: var(--rfx-text); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
    .rfx-explainer__grid     { grid-template-columns: 1fr; }
    .rfx-explainer__faq-grid { grid-template-columns: 1fr; }
    .rfx-converter-page__tool .rg-cc-card { padding: 24px 18px; }
}

@media (max-width: 520px) {
    .rfx-page-hero__inner { text-align: left; }
    .rfx-page-hero__eyebrow { justify-content: flex-start; }
}
