/* ============================================================
   Resume Builder – Page CSS
   ============================================================ */

/* ── BUTTONS ── */
.rb-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: #fff;
    font-size: 16px; font-weight: 600; padding: 15px 32px;
    border-radius: 14px; text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,102,255,0.25);
}
.rb-btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,102,255,0.35); }
.rb-btn-primary.rb-btn-lg { font-size: 17px; padding: 17px 36px; }
.rb-btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--text-main);
    font-size: 16px; font-weight: 600; padding: 15px 32px;
    border-radius: 14px; border: 1.5px solid var(--border-color); text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.rb-btn-secondary:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,102,255,0.04); }
.rb-btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--text-secondary);
    font-size: 16px; font-weight: 600; padding: 15px 28px;
    border-radius: 14px; text-decoration: none; transition: color 0.2s;
}
.rb-btn-ghost:hover { color: var(--primary); }

/* ── HERO ── */
.rb-hero { padding: 48px 0 64px; text-align: center; position: relative; }
.rb-hero-inner { max-width: 780px; margin: 0 auto; }
.rb-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,102,255,0.08); border: 1px solid rgba(0,102,255,0.18);
    color: var(--primary); font-size: 13px; font-weight: 600;
    padding: 8px 16px; border-radius: 100px; margin-bottom: 32px;
}
.rb-hero-heading {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(42px, 5vw, 60px); font-weight: 800;
    line-height: 1.1; letter-spacing: -2px; color: var(--text-main); margin-bottom: 16px;
}
.rb-hero-accent {
    background: linear-gradient(135deg, var(--primary) 0%, #00b4ff 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.rb-hero-desc { font-size: 19px; line-height: 1.7; color: var(--text-secondary); max-width: 640px; margin: 0 auto 28px; }
.rb-hero-ctas { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.rb-hero-stats {
    display: inline-flex; align-items: center; gap: 32px;
    background: white; border: 1px solid var(--border-color);
    border-radius: 20px; padding: 20px 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.rb-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rb-stat-num { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.rb-stat-label { font-size: 12px; color: var(--text-secondary); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.rb-stat-divider { width: 1px; height: 36px; background: var(--border-color); }

/* ── SECTION HEADER ── */
.rb-section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.rb-section-header h2 {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(30px, 3.5vw, 42px); font-weight: 800;
    letter-spacing: -1.5px; color: var(--text-main); margin-bottom: 16px; line-height: 1.15;
}
.rb-section-header p { font-size: 18px; color: var(--text-secondary); line-height: 1.6; }

/* ────────────────────────────────────────────────────────────
   TEMPLATE CARDS
──────────────────────────────────────────────────────────── */
.rb-templates { padding: 100px 0; background: var(--bg-accent); }
.rb-templates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.rb-template-card {
    background: white; border-radius: 20px;
    border: 1px solid var(--border-color); overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.rb-template-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.12);
    border-color: rgba(0,102,255,0.4) !important;
}

/* Preview container – clips the scaled resume */
.rb-template-preview {
    height: 304px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    background: #f8faff;
    cursor: pointer;
    transition: filter 0.25s ease;
}
.rb-template-card:hover .rb-template-preview {
    filter: brightness(0.97);
}

/* Scaled resume inner – fills preview width exactly */
.rv-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% / 0.47);   /* visual width = 100% of parent */
    transform: scale(0.47);
    transform-origin: top left;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    line-height: 1.45;
    color: #0B1120;
    background: white;
    min-height: 480px;
}

/* ── Shared Resume Components ── */
.rv-two-col   { display: flex; height: 100%; }
.rv-single-col { padding: 0 20px; }
.rv-sidebar   { flex-shrink: 0; padding: 16px 14px; display: flex; flex-direction: column; }
.rv-sidebar-light { width: 38%; background: #f0f5ff; }
.rv-sidebar-blue  { width: 38%; background: linear-gradient(160deg, #0066FF 0%, #004fd4 100%); }
.rv-sidebar-dark  { width: 38%; background: linear-gradient(160deg, #1e3a5f 0%, #0a2240 100%); }
.rv-main-col  { flex: 1; padding: 14px 16px 0; overflow: hidden; }

.rv-avatar { width: 44px; height: 44px; border-radius: 50%; margin-bottom: 8px; }
.rv-avatar-blue  { background: linear-gradient(135deg, #0066FF, #00b4ff); }
.rv-avatar-white { background: rgba(255,255,255,0.35); border: 2px solid rgba(255,255,255,0.6); }
.rv-avatar-ring  { background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.5); width: 36px; height: 36px; }

.rv-name-sm   { font-size: 15px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 2px; }
.rv-title-sm  { font-size: 10px; font-weight: 500; color: var(--text-secondary); margin-bottom: 4px; }

.rv-section-title {
    font-size: 8px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 8px; margin: 10px 0 6px;
}
.rv-st-blue  { color: var(--primary); border-color: rgba(0,102,255,0.15); }
.rv-st-exec  { color: #0B1120; border-color: #e2e8f0; }
.rv-st-eleg  { color: #6b4c2a; border-color: #e8ddd0; font-style: italic; }
.rv-st-acad  { color: #5a3e28; border-color: #e0d4c8; }
.rv-st-mono  { color: #1a1a1a; border-color: #ddd; font-family: 'Courier New', monospace; }
.rv-st-corp  { color: #003399; border-color: rgba(0,51,153,0.15); }
.rv-st-startup { color: #6c35de; border-color: rgba(108,53,222,0.2); }

.rv-contact-line { font-size: 9px; color: var(--text-secondary); margin-bottom: 3px; }
.rv-skill-tag { display: inline-block; font-size: 8.5px; font-weight: 500; padding: 3px 7px; border-radius: 4px; margin: 0 3px 4px 0; }
.rv-skill-blue  { background: rgba(0,102,255,0.1); color: #004acc; }
.rv-skill-white { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }
.rv-skill-corp  { background: rgba(0,51,153,0.08); color: #003399; display: block; margin-bottom: 4px; }

.rv-skills-inline { display: flex; flex-wrap: wrap; gap: 3px; }

.rv-summary   { font-size: 9.5px; color: #475569; line-height: 1.6; margin-bottom: 8px; }
.rv-job-title { font-size: 10.5px; font-weight: 700; color: #0B1120; margin-bottom: 1px; }
.rv-job-company { font-size: 9px; color: var(--primary); margin-bottom: 3px; font-weight: 500; }
.rv-job-bullet { font-size: 9px; color: #475569; margin-bottom: 2px; padding-left: 0; }

/* ── Template 1: Modern Clean ── */
.rv-modern { background: white; }

/* ── Template 2: Executive Pro ── */
.rv-executive { background: white; }
.rv-exec-header { background: #0B1120; padding: 16px 20px 12px; }
.rv-exec-name  { font-size: 16px; font-weight: 900; color: white; letter-spacing: 1px; text-transform: uppercase; }
.rv-exec-title { font-size: 10px; color: rgba(255,255,255,0.65); margin: 3px 0; font-weight: 400; }
.rv-exec-contact { font-size: 8.5px; color: rgba(255,255,255,0.45); }
.rv-exec-divider-blue { height: 3px; background: var(--primary); }
.rv-executive .rv-single-col { padding: 10px 20px 0; }

/* ── Template 3: Creative Edge ── */
.rv-creative { background: white; }

/* ── Template 4: Tech Stack ── */
.rv-tech { background: #f4f8ff; flex-direction: column; }
.rv-tech-header { background: linear-gradient(135deg, #0d1f3c 0%, #1a3a6e 100%); padding: 14px 16px 12px; }
.rv-tech-skills-row { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px 16px; background: rgba(0,102,255,0.04); border-bottom: 1px solid rgba(0,102,255,0.08); }
.rv-tech-pill { font-size: 8.5px; font-weight: 600; background: rgba(0,102,255,0.12); color: #004acc; padding: 3px 8px; border-radius: 4px; }

/* ── Template 5: Compact Graduate ── */
.rv-graduate { background: white; flex-direction: column; }
.rv-grad-header { padding: 14px 16px 0; text-align: center; }
.rv-grad-contact { font-size: 8.5px; color: var(--text-secondary); margin: 4px 0; }
.rv-grad-rule { height: 2px; background: var(--primary); opacity: 0.3; margin: 8px 0 0; border-radius: 1px; }

/* ── Template 6: Elegant Serif ── */
.rv-elegant { background: #fffdf8; flex-direction: column; }
.rv-eleg-header { padding: 16px 20px 10px; text-align: center; border-bottom: 1px solid #e8ddd0; }
.rv-eleg-name { font-size: 17px; font-weight: 900; color: #2c1a0e; letter-spacing: 2px; text-transform: uppercase; }
.rv-eleg-rule { height: 1px; background: #b8924a; margin: 8px auto; width: 60%; }
.rv-eleg-title { font-size: 10px; color: #6b4c2a; font-style: italic; margin-bottom: 4px; }
.rv-eleg-contact { font-size: 8.5px; color: #9d7a5a; }
.rv-company-eleg { color: #6b4c2a !important; }

/* ── Template 7: Minimal Mono ── */
.rv-mono { background: #fafafa; flex-direction: column; }
.rv-mono-header { padding: 16px 20px 10px; border-bottom: 1px solid #e0e0e0; }
.rv-mono-name { font-size: 17px; font-weight: 800; color: #111; font-family: 'Courier New', monospace; letter-spacing: -0.5px; }
.rv-mono-rule { height: 1px; background: #111; opacity: 0.12; margin: 6px 0 5px; }
.rv-mono-subtitle { font-size: 9.5px; color: #555; font-family: 'Courier New', monospace; }
.rv-mono-contact { font-size: 8.5px; color: #888; font-family: 'Courier New', monospace; margin-top: 2px; }
.rv-mono-title { font-family: 'Courier New', monospace; font-size: 10px; }
.rv-mono-company { font-family: 'Courier New', monospace; font-size: 8.5px; color: #555 !important; }
.rv-mono-bullet { font-family: 'Courier New', monospace; font-size: 8.5px; color: #666; }
.rv-mono-tag { font-family: 'Courier New', monospace; font-size: 8px; background: #111; color: #fff; padding: 2px 6px; border-radius: 3px; margin-right: 4px; }

/* ── Template 8: Corporate Blue ── */
.rv-corporate { background: white; flex-direction: column; }
.rv-corp-header {
    background: linear-gradient(135deg, #003399 0%, #0052cc 100%);
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px;
}
.rv-corp-badge {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.2); border: 1.5px solid rgba(255,255,255,0.35);
    color: white; font-size: 9px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; letter-spacing: 0.5px;
}
.rv-corp-contact-bar {
    background: rgba(0,51,153,0.06); padding: 5px 16px;
    display: flex; gap: 12px; font-size: 8px; color: #003399;
    border-bottom: 1px solid rgba(0,51,153,0.1);
}

/* ── Template 9: Bold Impact ── */
.rv-bold { background: white; flex-direction: column; }
.rv-bold-hero { background: linear-gradient(135deg, #0B1120 0%, #1a2744 100%); padding: 18px 18px 14px; }
.rv-bold-name { font-size: 20px; font-weight: 900; color: white; letter-spacing: -0.5px; text-transform: uppercase; }
.rv-bold-underline { height: 3px; background: var(--primary); width: 50px; margin: 6px 0 4px; border-radius: 2px; }
.rv-bold-role { font-size: 10px; color: rgba(255,255,255,0.65); font-weight: 400; }
.rv-bold-contact { font-size: 8.5px; color: rgba(255,255,255,0.4); margin-top: 3px; }
.rv-bold-pills-bar { display: flex; gap: 6px; flex-wrap: wrap; padding: 7px 18px; background: rgba(0,102,255,0.04); border-bottom: 1px solid rgba(0,102,255,0.08); }
.rv-bold-pill-tag { font-size: 8px; font-weight: 600; background: rgba(0,102,255,0.1); color: #004acc; padding: 3px 8px; border-radius: 4px; }
.rv-bold-pill-alt { background: rgba(0,0,0,0.06); color: #333; }

/* ── Template 10: Infographic Pro ── */
.rv-infographic { background: white; }
.rv-info-skill-row { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.rv-info-label { font-size: 8px; color: rgba(255,255,255,0.7); width: 32px; flex-shrink: 0; }
.rv-info-bar-bg { flex: 1; height: 5px; background: rgba(255,255,255,0.15); border-radius: 3px; overflow: hidden; }
.rv-info-bar { height: 100%; background: rgba(255,255,255,0.6); border-radius: 3px; }

/* ── Template 11: Academic CV ── */
.rv-academic { background: white; flex-direction: column; border-top: 4px solid #8b5e3c; }
.rv-acad-header { background: #f9f5ef; padding: 12px 18px 10px; border-bottom: 1px solid #e0d0c0; }
.rv-acad-name { font-size: 16px; font-weight: 800; color: #2c1a0e; }
.rv-acad-title { font-size: 9.5px; color: #6b4c2a; font-style: italic; margin: 2px 0; }
.rv-acad-inst { font-size: 8.5px; color: #9d7a5a; }
.rv-acad-rule { height: 1px; background: #c8a880; margin-top: 8px; opacity: 0.5; }
.rv-acad-company { color: #8b5e3c !important; }

/* ── Template 12: Startup Hustle ── */
.rv-startup { background: white; flex-direction: column; }
.rv-startup-header { background: linear-gradient(135deg, #6c35de 0%, #4f1fbf 100%); padding: 14px 16px 12px; }
.rv-startup-name-row { display: flex; align-items: center; justify-content: space-between; }
.rv-startup-emoji { font-size: 18px; line-height: 1; }
.rv-startup-tags-bar { display: flex; gap: 5px; flex-wrap: wrap; padding: 7px 16px; background: rgba(108,53,222,0.05); border-bottom: 1px solid rgba(108,53,222,0.1); }
.rv-startup-pill { font-size: 8px; font-weight: 600; background: rgba(108,53,222,0.12); color: #5a2ac7; padding: 3px 8px; border-radius: 100px; }
.rv-startup-pill-b { background: rgba(108,53,222,0.06); }

/* ── Template card info ── */
.rb-template-info { padding: 18px 22px; }
.rb-template-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.rb-template-name { font-size: 17px; font-weight: 700; color: var(--text-main); }
.rb-template-tag {
    display: inline-flex; align-items: center;
    height: 24px; font-size: 11px; font-weight: 700;
    padding: 0 12px; border-radius: 100px;
    letter-spacing: 0.03em; text-transform: uppercase;
    white-space: nowrap;
}
.rb-tag-popular { background: rgba(0,102,255,0.1); color: var(--primary); }
.rb-tag-premium { background: rgba(130,80,255,0.1); color: #6c35de; }
.rb-tag-new     { background: rgba(0,180,80,0.1);  color: #0a8a42; }
.rb-tag-free    { background: rgba(0,180,180,0.1); color: #077474; }

/* Metadata chips */
.rb-template-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.rb-chip {
    display: inline-flex; align-items: center;
    height: 22px; font-size: 11px; font-weight: 500;
    padding: 0 10px; border-radius: 6px;
    background: var(--bg-accent); color: var(--text-secondary);
    border: 1px solid var(--border-color);
    white-space: nowrap;
}
.rb-chip-ats  { background: rgba(0,102,255,0.07); color: var(--primary); border-color: rgba(0,102,255,0.15); }
.rb-chip-role { background: rgba(0,0,0,0.03); color: var(--text-secondary); }

/* Card hover – blue border + elevation */
.rb-template-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.rb-template-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.1);
    border-color: rgba(0,102,255,0.35);
}
.rb-template-card:hover .rb-template-cta { letter-spacing: 0.02em; }

/* Selected state */
.rb-template-card.rb-tpl-selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0,102,255,0.1), 0 16px 40px rgba(0,102,255,0.15);
}
.rb-template-card.rb-tpl-selected .rb-template-cta::after { content: ' →'; }

/* Selected badge (hidden by default, shown on selected card) */
.rb-selected-badge {
    display: none;
    position: absolute;
    top: 12px; right: 12px;
    background: var(--primary); color: white;
    font-size: 11px; font-weight: 700;
    padding: 4px 12px; border-radius: 100px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,102,255,0.35);
    animation: rb-badge-pop 0.25s ease;
}
.rb-template-preview { position: relative; }
.rb-template-card.rb-tpl-selected .rb-selected-badge { display: block; }
@keyframes rb-badge-pop {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

/* SEO text block */
.rb-templates-seo {
    margin-top: 48px;
    padding: 24px 32px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.rb-templates-seo p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
}
.rb-templates-seo strong { color: var(--text-main); font-weight: 600; }

/* Sticky continue bar */
.rb-sticky-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: white;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -8px 32px rgba(0,0,0,0.08);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rb-sticky-bar.rb-sticky-visible { transform: translateY(0); }
.rb-sticky-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.rb-sticky-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.rb-sticky-check {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700;
    flex-shrink: 0;
}
.rb-sticky-info { display: flex; flex-direction: column; gap: 1px; }
.rb-sticky-label { font-size: 11px; font-weight: 500; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.rb-sticky-name  { font-size: 16px; font-weight: 700; color: var(--text-main); }
.rb-sticky-actions { display: flex; align-items: center; gap: 12px; }
.rb-sticky-change {
    background: none; border: 1.5px solid var(--border-color);
    color: var(--text-secondary); font-size: 14px; font-weight: 600;
    padding: 10px 20px; border-radius: 10px; cursor: pointer;
    font-family: inherit; transition: border-color 0.2s, color 0.2s;
}
.rb-sticky-change:hover { border-color: var(--primary); color: var(--primary); }
.rb-sticky-cta { padding: 12px 28px; font-size: 15px; border-radius: 12px; }
.rb-template-mode { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.rb-template-cta { font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; transition: letter-spacing 0.2s; }
.rb-template-cta:hover { color: var(--primary-hover); letter-spacing: 0.01em; }

/* Hover border on preview */
.rb-template-card:hover .rb-template-preview::after {
    content: '';
    position: absolute; inset: 0;
    box-shadow: inset 0 0 0 2px rgba(0,102,255,0.2);
    pointer-events: none;
    border-radius: 0;
}

/* ────────────────────────────────────────────────────────────
   FEATURES
──────────────────────────────────────────────────────────── */
.rb-features { padding: 100px 0; background: white; }
.rb-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rb-feature-card {
    background: var(--bg-accent); border-radius: 20px;
    border: 1px solid var(--border-color); padding: 36px 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.rb-feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.rb-feat-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(0,102,255,0.1); color: var(--primary); margin-bottom: 20px; }
.rb-feat-icon-coming { background: rgba(130,80,255,0.1); color: #6c35de; }
.rb-feature-card h3 { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; }
.rb-feature-card p  { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }
.rb-coming-soon { display: inline-block; font-size: 11px; font-weight: 600; background: rgba(130,80,255,0.12); color: #6c35de; border-radius: 100px; padding: 3px 9px; margin-left: 4px; vertical-align: middle; }

/* ────────────────────────────────────────────────────────────
   HOW IT WORKS
──────────────────────────────────────────────────────────── */
.rb-how { padding: 100px 0; background: var(--bg-accent); }
.rb-steps { display: flex; gap: 0; position: relative; }
.rb-step { flex: 1; position: relative; padding: 0 32px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rb-step-num { font-family: 'Sora','Inter',sans-serif; font-size: 64px; font-weight: 800; color: rgba(0,102,255,0.07); line-height: 1; margin-bottom: -16px; letter-spacing: -3px; }
.rb-step-content {
    position: relative; z-index: 1;
    background: white; border-radius: 24px; border: 1px solid var(--border-color);
    padding: 32px 28px; box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s; width: 100%;
}
.rb-step-content:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.rb-step-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(0,102,255,0.1); color: var(--primary); margin-bottom: 18px; }
.rb-step-content h3 { font-size: 20px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; }
.rb-step-content p  { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }
.rb-step-connector { position: absolute; right: -18px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; background: white; border: 1.5px solid var(--border-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.rb-step-connector::after { content: '→'; font-size: 16px; color: var(--primary); font-weight: 700; }

/* ────────────────────────────────────────────────────────────
   WHY RISEL
──────────────────────────────────────────────────────────── */
.rb-why { padding: 100px 0; background: white; }
.rb-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.rb-why-card {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 32px 28px; background: var(--bg-accent);
    border-radius: 20px; border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}
.rb-why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.rb-why-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 13px; background: rgba(0,102,255,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.rb-why-card h3 { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.rb-why-card p  { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

/* ────────────────────────────────────────────────────────────
   FAQ
──────────────────────────────────────────────────────────── */
.rb-faq { padding: 100px 0; background: var(--bg-accent); }
.rb-faq .faq-accordion { max-width: 800px; margin: 0 auto; border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.rb-faq .faq-item { border-bottom: 1px solid var(--border-color); background: white; }
.rb-faq .faq-item:last-child { border-bottom: none; }
.rb-faq .faq-question { width: 100%; text-align: left; background: none; border: none; padding: 22px 28px; font-size: 17px; font-weight: 600; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; transition: color 0.2s; }
.rb-faq .faq-question:hover { color: var(--primary); }
.rb-faq .faq-icon { font-size: 24px; font-weight: 400; color: var(--primary); transition: transform 0.3s; flex-shrink: 0; }
.rb-faq .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s ease; }
.rb-faq .faq-answer p { padding: 0 28px 22px; font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.rb-faq .faq-item.active .faq-icon   { transform: rotate(45deg); }
.rb-faq .faq-item.active .faq-answer { max-height: 400px; }

/* ────────────────────────────────────────────────────────────
   FINAL CTA
──────────────────────────────────────────────────────────── */
.rb-final-cta { padding: 80px 0 120px; background: white; }
.rb-cta-box {
    background: linear-gradient(160deg, #f0f6ff 0%, #e8f0ff 50%, #f4f8ff 100%);
    border: 1px solid rgba(0,102,255,0.15); border-radius: 32px; padding: 80px 60px;
    text-align: center; position: relative; overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,102,255,0.08);
}
.rb-cta-box::before { content: ''; position: absolute; top: -80px; right: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,102,255,0.07) 0%, transparent 70%); pointer-events: none; }
.rb-cta-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,102,255,0.1); color: var(--primary); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 100px; margin-bottom: 24px; letter-spacing: 0.04em; text-transform: uppercase; }
.rb-cta-box h2 { font-family: 'Sora','Inter',sans-serif; font-size: clamp(28px,3.5vw,44px); font-weight: 800; letter-spacing: -1.5px; color: var(--text-main); margin-bottom: 16px; line-height: 1.15; max-width: 600px; margin-left: auto; margin-right: auto; }
.rb-cta-box p  { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.rb-cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ────────────────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .rb-templates-grid,
    .rb-features-grid { grid-template-columns: repeat(2, 1fr); }
    .rb-steps { flex-direction: column; gap: 20px; max-width: 560px; margin: 0 auto; }
    .rb-step { padding: 0; }
    .rb-step-connector { display: none; }
    .rb-step-num { font-size: 48px; margin-bottom: -10px; }
}
@media (max-width: 768px) {
    .rb-hero { padding: 56px 0 80px; }
    .rb-hero-heading { font-size: 38px; letter-spacing: -1.5px; }
    .rb-hero-desc { font-size: 17px; }
    .rb-hero-ctas { flex-direction: column; align-items: stretch; }
    .rb-hero-ctas .rb-btn-primary, .rb-hero-ctas .rb-btn-secondary { justify-content: center; }
    .rb-hero-stats { flex-direction: column; gap: 16px; padding: 24px 32px; }
    .rb-stat-divider { width: 80px; height: 1px; }
    .rb-templates-grid, .rb-features-grid, .rb-why-grid { grid-template-columns: 1fr; }
    .rb-templates, .rb-features, .rb-how, .rb-why, .rb-faq { padding: 72px 0; }
    .rb-section-header { margin-bottom: 48px; }
    .rb-cta-box { padding: 56px 24px; }
    .rb-cta-box h2 { font-size: 28px; }
    .rb-why-grid { max-width: 100%; }
}
@media (max-width: 480px) {
    .rb-hero-heading { font-size: 32px; }
    .rb-template-preview { height: 180px; }
}
