/* ── Questing RL Website Styles ──────────────────────────────────────── */

:root {
    --qrl-green:       #1F6B3A;
    --qrl-green-light: #E8F5ED;
    --qrl-green-dark:  #155028;
    --qrl-gold:        #F59E0B;
    --qrl-text:        #1A1A2E;
    --qrl-muted:       #6B7280;
    --qrl-border:      #E5E7EB;
    --qrl-surface:     #F9FAFB;
    --qrl-white:       #FFFFFF;
    --qrl-radius:      12px;
    --qrl-radius-lg:   20px;
    --max-width:       1100px;
    --nav-height:      64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--qrl-text);
    background: var(--qrl-white);
}

a { color: var(--qrl-green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ──────────────────────────────────────────────────────────── */
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--qrl-border);
    height: var(--nav-height);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    display: flex; align-items: center; gap: 8px;
    font-size: 20px; font-weight: 800;
    color: var(--qrl-text);
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo-icon { font-size: 24px; }
.nav-logo-rl   { color: var(--qrl-green); }

.nav-links { display: flex; align-items: center; gap: 24px; flex: 1; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--qrl-muted); }
.nav-links a:hover { color: var(--qrl-text); text-decoration: none; }

.btn-nav {
    background: var(--qrl-green);
    color: white !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.15s;
}
.btn-nav:hover { background: var(--qrl-green-dark); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    background: var(--qrl-green);
    color: white;
    padding: 14px 28px;
    border-radius: var(--qrl-radius);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--qrl-green-dark); text-decoration: none; color: white; }
.btn-primary:active { transform: scale(0.98); }
.btn-primary.btn-large { padding: 18px 36px; font-size: 18px; }
.btn-primary.w-100 { display: block; width: 100%; text-align: center; }

.btn-secondary {
    display: inline-block;
    background: white;
    color: var(--qrl-green);
    padding: 14px 28px;
    border-radius: var(--qrl-radius);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--qrl-green);
    cursor: pointer;
    transition: all 0.15s;
}
.btn-secondary:hover { background: var(--qrl-green-light); text-decoration: none; }
.btn-secondary.w-100 { display: block; width: 100%; text-align: center; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
    background:
        linear-gradient(135deg,
            rgba(13, 40, 24, 0.82) 0%,
            rgba(31, 107, 58, 0.72) 60%,
            rgba(45, 138, 80, 0.65) 100%),
        url('/images/hero-bg.jpg') center center / cover no-repeat;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    padding: 80px 24px;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 640px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-accent { color: var(--qrl-gold); }

.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hero-actions .btn-secondary {
    border-color: rgba(255,255,255,0.5);
    color: white;
    background: transparent;
}
.hero-actions .btn-secondary:hover { background: rgba(255,255,255,0.1); }

.hero-note { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ── Phone mockup ─────────────────────────────────────────────────────── */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.phone-mock {
    width: 260px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 16px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 2px rgba(255,255,255,0.1);
}

.phone-screen {
    background: #f0f4f8;
    border-radius: 24px;
    padding: 16px;
    min-height: 380px;
}

.mock-header {
    font-size: 22px;
    font-weight: 900;
    color: var(--qrl-green);
    margin-bottom: 20px;
    text-align: center;
}

.mock-tile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mock-tile {
    background: white;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    border: 1px solid var(--qrl-border);
}

.mock-tile span {
    font-size: 11px;
    font-weight: 700;
    color: var(--qrl-text);
    text-align: center;
    line-height: 1.2;
}

.mock-tile-green {
    background: var(--qrl-green);
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    padding: 14px;
    border: none;
}
.mock-tile-green span { color: white; font-size: 14px; }

/* ── Use cases ────────────────────────────────────────────────────────── */
.use-cases {
    padding: 80px 0;
    background: var(--qrl-surface);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    color: var(--qrl-text);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.use-case-card {
    background: white;
    border: 1px solid var(--qrl-border);
    border-radius: var(--qrl-radius-lg);
    padding: 28px;
    transition: box-shadow 0.2s;
}
.use-case-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.use-case-icon { font-size: 40px; margin-bottom: 16px; }
.use-case-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.use-case-card p { font-size: 14px; color: var(--qrl-muted); line-height: 1.6; }

/* ── Feature highlight ────────────────────────────────────────────────── */
.feature-highlight { padding: 80px 0; }

.feature-highlight-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--qrl-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.feature-highlight-text h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.feature-highlight-text p {
    color: var(--qrl-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin: 20px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li { font-size: 15px; }

.feature-highlight-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-stat-card {
    background: var(--qrl-green-light);
    border: 1px solid var(--qrl-green);
    border-radius: var(--qrl-radius);
    padding: 20px 24px;
}

.stat-big  { font-size: 48px; font-weight: 900; color: var(--qrl-green); line-height: 1; }
.stat-label { font-size: 14px; font-weight: 600; color: var(--qrl-text); margin-top: 4px; }
.stat-vs    { font-size: 12px; color: var(--qrl-muted); margin-top: 2px; }

/* ── Email capture ────────────────────────────────────────────────────── */
.email-capture {
    background: var(--qrl-green);
    padding: 64px 0;
    text-align: center;
}

.email-capture-inner h2 { font-size: 28px; font-weight: 800; color: white; margin-bottom: 8px; }
.email-capture-inner p  { color: rgba(255,255,255,0.75); margin-bottom: 24px; }

.email-form {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 240px;
    padding: 14px 16px;
    border-radius: var(--qrl-radius);
    border: none;
    font-size: 15px;
    outline: none;
}

.email-error { color: #fde68a; font-size: 13px; margin-top: 8px; }

/* ── Final CTA ────────────────────────────────────────────────────────── */
.final-cta { padding: 80px 0; text-align: center; background: var(--qrl-surface); }
.final-cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.final-cta p  { color: var(--qrl-muted); margin-bottom: 28px; }
.cta-sub { margin-top: 16px; font-size: 14px; color: var(--qrl-muted); }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.pricing-page { padding: 64px 0 80px; }

.pricing-header { text-align: center; margin-bottom: 48px; }
.pricing-header h1 { font-size: 40px; font-weight: 900; margin-bottom: 12px; }
.pricing-header p  { font-size: 18px; color: var(--qrl-muted); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.pricing-card {
    background: white;
    border: 1.5px solid var(--qrl-border);
    border-radius: var(--qrl-radius-lg);
    padding: 32px;
    position: relative;
}

.pricing-card-featured {
    border-color: var(--qrl-green);
    box-shadow: 0 8px 32px rgba(31,107,58,0.15);
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--qrl-green);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 12px;
    white-space: nowrap;
}

.pricing-tier  { font-size: 15px; font-weight: 700; color: var(--qrl-green); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pricing-price { margin-bottom: 8px; }
.price-amount  { font-size: 52px; font-weight: 900; color: var(--qrl-text); line-height: 1; }
.price-period  { font-size: 18px; color: var(--qrl-muted); }
.pricing-desc  { font-size: 16px; color: var(--qrl-muted); margin-bottom: 20px; }

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.pricing-features li { font-size: 15px; }

.pricing-note { font-size: 13px; color: var(--qrl-muted); text-align: center; margin-top: 8px; }

/* ── Compare table ────────────────────────────────────────────────────── */
.pricing-compare { margin-bottom: 64px; }
.pricing-compare h2 { font-size: 28px; font-weight: 800; margin-bottom: 24px; text-align: center; }

.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid var(--qrl-border);
}
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table thead th { font-weight: 700; background: var(--qrl-surface); }
.col-ours { color: var(--qrl-green); font-weight: 700; }
.compare-table thead .col-ours { background: var(--qrl-green-light); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.pricing-faq h2 { font-size: 28px; font-weight: 800; margin-bottom: 24px; text-align: center; }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.faq-item { background: var(--qrl-surface); border-radius: var(--qrl-radius); padding: 20px; }
.faq-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.faq-item p  { font-size: 15px; color: var(--qrl-muted); line-height: 1.6; }

/* ── Legal pages ──────────────────────────────────────────────────────── */
.legal-page { padding: 48px 0 80px; }
.legal-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}
.legal-inner h1 { font-size: 36px; font-weight: 900; margin-bottom: 8px; }
.legal-date { color: var(--qrl-muted); font-size: 14px; margin-bottom: 28px; }
.legal-inner h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: var(--qrl-text); border-bottom: 1px solid var(--qrl-border); padding-bottom: 6px; }
.legal-inner h3 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; }
.legal-inner p  { margin-bottom: 14px; color: var(--qrl-muted); line-height: 1.7; font-size: 15px; }
.legal-inner ul { margin: 0 0 14px 24px; }
.legal-inner li { margin-bottom: 6px; color: var(--qrl-muted); font-size: 15px; line-height: 1.6; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--qrl-text);
    padding: 40px 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-brand {
    display: flex; align-items: center; gap: 8px;
    font-size: 18px; font-weight: 800; color: white;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: center;
}

.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-links a:hover { color: white; text-decoration: none; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ── 404 ──────────────────────────────────────────────────────────────── */
.not-found { text-align: center; padding: 80px 24px; }
.not-found h1 { font-size: 32px; margin-bottom: 16px; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-inner            { grid-template-columns: 1fr; }
    .hero-visual           { display: none; }
    .feature-highlight-inner { grid-template-columns: 1fr; }
    .nav-links             { display: none; }
    .hero                  { padding: 48px 24px; }
}

/* ════════════════════════════════════════════════════════════════════
   ADMIN PORTAL STYLES
   ════════════════════════════════════════════════════════════════════ */

.admin-shell {
    min-height: 100vh;
    background: #f1f5f9;
    font-family: 'Inter', sans-serif;
}

/* ── Admin header ─────────────────────────────────────────────────── */
.admin-header {
    background: #1a2035;
    border-bottom: 2px solid var(--qrl-green);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.admin-logo {
    color: white;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.admin-nav { display: flex; gap: 4px; flex: 1; }

.admin-nav-link {
    color: rgba(255,255,255,0.6);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}
.admin-nav-link:hover      { color: white; background: rgba(255,255,255,0.08); text-decoration: none; }
.admin-nav-active          { color: white !important; background: rgba(255,255,255,0.12) !important; }

/* ── Admin content ────────────────────────────────────────────────── */
.admin-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.admin-loading { color: #64748b; padding: 40px 0; text-align: center; }
.admin-empty   { color: #64748b; padding: 32px; text-align: center; background: white; border-radius: 12px; border: 1px solid #e2e8f0; }

/* ── Stat cards ───────────────────────────────────────────────────── */
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.admin-stat-alert { border-color: #f59e0b; background: #fffbeb; }

.admin-stat-value {
    font-size: 40px;
    font-weight: 900;
    color: var(--qrl-green);
    line-height: 1;
    margin-bottom: 6px;
}
.admin-stat-alert .admin-stat-value { color: #d97706; }

.admin-stat-label { font-size: 13px; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }

/* ── Sections ─────────────────────────────────────────────────────── */
.admin-section { background: white; border-radius: 12px; border: 1px solid #e2e8f0; margin-bottom: 24px; overflow: hidden; }

.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-section-header h1,
.admin-section-header h2 { font-size: 18px; font-weight: 700; color: #1e293b; margin: 0; }

.admin-note { font-size: 13px; color: #64748b; }

/* ── Table ────────────────────────────────────────────────────────── */
.admin-table-wrap { overflow-x: auto; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th {
    text-align: left;
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td      { background: #f8fafc; }
.admin-row-new td             { background: #fffbeb !important; }

.admin-col-title { font-weight: 600; max-width: 200px; }
.admin-col-desc  { color: #64748b; max-width: 220px; }
.admin-col-mono  { font-family: 'Courier New', monospace; font-size: 12px; color: #64748b; }
.admin-col-date  { white-space: nowrap; color: #64748b; }

/* ── Badges ───────────────────────────────────────────────────────── */
.admin-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.admin-badge-bug      { background: #fee2e2; color: #dc2626; }
.admin-badge-crash    { background: #fce7f3; color: #be185d; }
.admin-badge-feature  { background: #dbeafe; color: #1d4ed8; }
.admin-badge-feedback { background: #d1fae5; color: #065f46; }

.admin-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
.admin-status-new       { background: #fef9c3; color: #854d0e; }
.admin-status-reviewing { background: #dbeafe; color: #1e40af; }
.admin-status-resolved  { background: #d1fae5; color: #065f46; }
.admin-status-dismissed { background: #f1f5f9; color: #64748b; }

/* ── Controls ─────────────────────────────────────────────────────── */
.admin-filter-row    { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-select        { padding: 6px 10px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 13px; background: white; cursor: pointer; }
.admin-status-select { padding: 3px 6px; border: 1px solid #e2e8f0; border-radius: 4px; font-size: 12px; background: white; }
.admin-link          { color: var(--qrl-green); font-size: 13px; font-weight: 600; text-decoration: none; }
.admin-link:hover    { text-decoration: underline; }

/* ── Detail card ──────────────────────────────────────────────────── */
.admin-back-row    { margin-bottom: 20px; }
.admin-detail-card { background: white; border-radius: 12px; border: 1px solid #e2e8f0; padding: 28px; }

.admin-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-detail-title { font-size: 22px; font-weight: 800; color: #1e293b; margin: 8px 0 0; }

.admin-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.admin-meta-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #64748b; letter-spacing: 0.4px; margin-bottom: 4px; }
.admin-meta-value { font-size: 14px; color: #1e293b; }

.admin-detail-section { margin-bottom: 24px; }
.admin-detail-label   { font-size: 13px; font-weight: 700; color: #64748b; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.4px; }
.admin-detail-body    { font-size: 15px; color: #334155; line-height: 1.7; white-space: pre-wrap; background: #f8fafc; border-radius: 8px; padding: 16px; }

.admin-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 12px;
}
.admin-textarea:focus { outline: none; border-color: var(--qrl-green); }

.admin-action-row   { display: flex; align-items: center; gap: 16px; }
.admin-btn-primary  { background: var(--qrl-green); color: white; border: none; border-radius: 8px; padding: 10px 20px; font-size: 14px; font-weight: 600; cursor: pointer; }
.admin-btn-primary:disabled { opacity: 0.5; cursor: default; }
.admin-saved-msg    { color: var(--qrl-green); font-size: 13px; font-weight: 600; }

.admin-breakdown-grid { display: flex; gap: 16px; padding: 20px; flex-wrap: wrap; }
.admin-breakdown-item { text-align: center; padding: 16px 24px; background: #f8fafc; border-radius: 8px; min-width: 80px; }
.admin-breakdown-count { font-size: 28px; font-weight: 800; color: var(--qrl-green); }
.admin-breakdown-label { font-size: 12px; color: #64748b; font-weight: 600; margin-top: 4px; }

.admin-pagination { padding: 12px 20px; color: #64748b; font-size: 13px; border-top: 1px solid #f1f5f9; }

/* ════════════════════════════════════════════════════════════════════
   ADMIN PORTAL STYLES
   ════════════════════════════════════════════════════════════════════ */

.admin-shell {
    min-height: 100vh;
    background: #f1f5f9;
    font-family: 'Inter', sans-serif;
}

/* ── Admin header ─────────────────────────────────────────────────── */
.admin-header {
    background: #1a2332;
    border-bottom: 1px solid #2d3748;
    position: sticky; top: 0; z-index: 100;
}

.admin-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.admin-brand {
    font-size: 16px;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.admin-badge {
    background: var(--qrl-green);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-nav {
    display: flex;
    gap: 4px;
    flex: 1;
}

.admin-nav-link {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s;
}

.admin-nav-link:hover  { color: white; background: rgba(255,255,255,0.08); text-decoration: none; }
.admin-nav-link.active { color: white; background: rgba(255,255,255,0.12); }

/* ── Admin content ─────────────────────────────────────────────────── */
.admin-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.admin-page-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a2332;
    margin-bottom: 24px;
}

.admin-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.admin-section-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1a2332;
    margin: 0;
}

/* ── Stats grid ────────────────────────────────────────────────────── */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
}

.admin-stat-card.admin-stat-alert { border-color: #fca5a5; background: #fff5f5; }

.admin-stat-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--qrl-green);
    line-height: 1;
    margin-bottom: 6px;
}

.admin-stat-alert .admin-stat-value { color: #dc2626; }

.admin-stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* ── Table ─────────────────────────────────────────────────────────── */
.admin-table-wrap { overflow-x: auto; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th {
    text-align: left;
    padding: 10px 12px;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.admin-table tr:hover td { background: #f8fafc; }
.admin-row-new td { background: #fffbeb; }

.admin-title-cell { font-weight: 600; max-width: 200px; }
.admin-desc-cell  { color: #64748b; max-width: 220px; }
.admin-mono       { font-family: monospace; font-size: 12px; color: #64748b; }
.admin-date       { font-size: 12px; color: #94a3b8; white-space: nowrap; }

/* ── Badges ────────────────────────────────────────────────────────── */
.admin-type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-type-bug      { background: #fee2e2; color: #dc2626; }
.admin-type-crash    { background: #fce7f3; color: #db2777; }
.admin-type-feature  { background: #e0f2fe; color: #0284c7; }
.admin-type-feedback { background: #f0fdf4; color: #16a34a; }

.admin-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.admin-status-new       { background: #fef9c3; color: #854d0e; }
.admin-status-reviewing { background: #e0f2fe; color: #0284c7; }
.admin-status-resolved  { background: #f0fdf4; color: #16a34a; }
.admin-status-dismissed { background: #f1f5f9; color: #94a3b8; }

/* ── Form controls ─────────────────────────────────────────────────── */
.admin-select, .admin-status-select {
    padding: 5px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    background: white;
    color: #334155;
    cursor: pointer;
}

.admin-filters { display: flex; gap: 8px; }

.admin-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    margin-top: 8px;
}

.admin-textarea:focus { outline: none; border-color: var(--qrl-green); }

/* ── Buttons ───────────────────────────────────────────────────────── */
.admin-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }

.admin-btn { padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: opacity 0.15s; }
.admin-btn:disabled { opacity: 0.5; cursor: default; }
.admin-btn-primary { background: var(--qrl-green); color: white; }
.admin-btn-primary:hover { opacity: 0.9; }

.admin-saved-msg { color: var(--qrl-green); font-size: 13px; font-weight: 600; }

/* ── Detail card ───────────────────────────────────────────────────── */
.admin-detail-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
}

.admin-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}

.admin-detail-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a2332;
    margin: 6px 0 0;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    margin-bottom: 24px;
}

.admin-detail-section { }
.admin-detail-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.admin-label-sub { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; color: #94a3b8; }
.admin-detail-body { color: #334155; line-height: 1.7; }

.admin-detail-meta {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.admin-meta-row {
    display: flex;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.admin-meta-row:last-child { border-bottom: none; }
.admin-meta-key { font-size: 11px; font-weight: 600; color: #94a3b8; min-width: 90px; flex-shrink: 0; }
.admin-meta-val { font-size: 12px; color: #334155; word-break: break-all; }

/* ── Breakdown ─────────────────────────────────────────────────────── */
.admin-breakdown-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-breakdown-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 20px;
    text-align: center;
    min-width: 80px;
}

.admin-breakdown-count { font-size: 24px; font-weight: 800; color: var(--qrl-green); }
.admin-breakdown-label { font-size: 12px; color: #64748b; margin-top: 2px; }

/* ── Misc ──────────────────────────────────────────────────────────── */
.admin-loading   { padding: 40px; text-align: center; color: #64748b; }
.admin-empty     { padding: 32px; text-align: center; color: #94a3b8; font-size: 14px; background: #f8fafc; border-radius: 8px; border: 1px dashed #e2e8f0; }
.admin-link      { color: var(--qrl-green); font-size: 13px; font-weight: 600; text-decoration: none; }
.admin-link:hover { text-decoration: underline; }
.admin-back-link { margin-bottom: 16px; }
.admin-back-link a { color: #64748b; font-size: 13px; }
.admin-pagination { margin-top: 12px; text-align: center; font-size: 13px; color: #94a3b8; }
.mt-4 { margin-top: 24px; }

/* ── Share preview page ───────────────────────────────────────────── */
.share-page {
    min-height: 100vh;
    background: var(--qrl-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.share-card {
    background: white;
    border: 1px solid var(--qrl-border);
    border-radius: 20px;
    padding: 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.share-error { border-color: #fca5a5; }

.share-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--qrl-green-light);
    border: 1px solid var(--qrl-green);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--qrl-green);
    margin-bottom: 16px;
}

.share-content-type {
    font-size: 13px;
    color: var(--qrl-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.share-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--qrl-text);
    margin-bottom: 12px;
}

.share-desc {
    color: var(--qrl-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.share-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    background: var(--qrl-surface);
    border-radius: 10px;
    padding: 14px;
}

.share-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--qrl-muted);
}

.share-meta-icon { font-size: 16px; }

.share-btn-open {
    display: block;
    width: 100%;
    margin-bottom: 12px;
}

.share-install-note {
    font-size: 13px;
    color: var(--qrl-muted);
}

.share-loading {
    text-align: center;
    padding: 40px;
    color: var(--qrl-muted);
}

.share-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--qrl-border);
    border-top-color: var(--qrl-green);
    border-radius: 50%;
    animation: tb-spin 0.7s linear infinite;
    margin: 0 auto 16px;
}

.share-icon { font-size: 48px; margin-bottom: 12px; }

/* ── Share link box in mobile modal ─────────────────────────────────── */
.share-link-box {
    background: var(--tb-surface-alt, #f8fafc);
    border: 1px solid var(--tb-border, #e2e8f0);
    border-radius: 8px;
    padding: 10px 14px;
    word-break: break-all;
}

.share-link-text {
    font-size: 13px;
    font-family: monospace;
    color: var(--tb-green, #1F6B3A);
}

/* ── Venue share button ──────────────────────────────────────────────── */
.vg-venue-share-btn {
    background: none;
    border: none;
    border-left: 1px solid var(--tb-border, #e2e8f0);
    font-size: 18px;
    padding: 12px 12px;
    cursor: pointer;
    opacity: 0.6;
    flex-shrink: 0;
    transition: opacity 0.15s;
}
.vg-venue-share-btn:active { opacity: 1; background: var(--qrl-green-light, #e8f5ed); }
.vg-venue-share-btn:disabled { opacity: 0.3; cursor: default; }

/* ════════════════════════════════════════════════════════════════════
   FEATURES / ABOUT / SUPPORT PAGES
   ════════════════════════════════════════════════════════════════════ */

/* ── Page hero (shared) ───────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #0d2818 0%, #1F6B3A 100%);
    padding: 80px 24px 64px;
    text-align: center;
}

.page-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 16px;
}

.page-hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Features page ────────────────────────────────────────────────── */
.features-section {
    padding: 72px 24px;
    background: white;
}

.features-section-alt {
    background: var(--qrl-surface);
}

.features-block-label {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.features-block-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--qrl-text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.features-block-sub {
    font-size: 17px;
    color: var(--qrl-muted);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-item-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 44px;
    text-align: center;
}

.feature-item-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--qrl-text);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 14px;
    color: var(--qrl-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Compare table ─────────────────────────────────────────────────── */
.compare-wrap { overflow-x: auto; }

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.compare-table th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    background: var(--qrl-text);
    color: white;
}

.compare-table th.compare-us {
    background: var(--qrl-green);
}

.compare-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--qrl-border);
    color: var(--qrl-muted);
}

.compare-table td.compare-us {
    font-weight: 700;
    color: var(--qrl-green);
    background: #f0fdf4;
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--qrl-surface); }
.compare-table tr:hover td.compare-us { background: #e8f5ed; }

/* ── CTA section ───────────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #0d2818 0%, #1F6B3A 100%);
    padding: 72px 24px;
    color: white;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
}

/* ── About page ────────────────────────────────────────────────────── */
.about-section { padding: 72px 24px; }

.about-story {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.about-story-text h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--qrl-text);
    margin-bottom: 20px;
}

.about-story-text p {
    font-size: 16px;
    color: var(--qrl-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values { display: flex; flex-direction: column; gap: 16px; }

.about-value-card {
    background: var(--qrl-surface);
    border: 1px solid var(--qrl-border);
    border-radius: 12px;
    padding: 20px;
}

.about-value-icon { font-size: 28px; margin-bottom: 8px; }

.about-value-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--qrl-text);
    margin-bottom: 6px;
}

.about-value-card p {
    font-size: 13px;
    color: var(--qrl-muted);
    line-height: 1.6;
    margin: 0;
}

.about-mission {
    background: var(--qrl-surface);
    padding: 72px 24px;
    border-top: 1px solid var(--qrl-border);
    border-bottom: 1px solid var(--qrl-border);
}

.about-tech { max-width: 800px; margin: 0 auto; }

.about-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.about-tech-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--qrl-surface);
    border: 1px solid var(--qrl-border);
    border-radius: 12px;
}

.about-tech-icon { font-size: 36px; margin-bottom: 10px; }
.about-tech-label { font-size: 14px; font-weight: 700; color: var(--qrl-text); margin-bottom: 6px; }
.about-tech-desc { font-size: 13px; color: var(--qrl-muted); line-height: 1.5; }

/* ── Support page ──────────────────────────────────────────────────── */
.support-section { padding: 72px 24px; }

.support-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.support-faq h2, .support-contact h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--qrl-text);
    margin-bottom: 24px;
}

.faq-item {
    border-bottom: 1px solid var(--qrl-border);
    padding: 20px 0;
}

.faq-item:first-of-type { padding-top: 0; }

.faq-q {
    font-size: 15px;
    font-weight: 700;
    color: var(--qrl-text);
    margin-bottom: 8px;
}

.faq-a {
    font-size: 14px;
    color: var(--qrl-muted);
    line-height: 1.7;
}

.faq-a a { color: var(--qrl-green); }

/* ── Support form ──────────────────────────────────────────────────── */
.support-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--qrl-text);
}

.form-input {
    padding: 10px 14px;
    border: 1px solid var(--qrl-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--qrl-text);
    background: white;
    transition: border-color 0.15s;
}

.form-input:focus {
    outline: none;
    border-color: var(--qrl-green);
    box-shadow: 0 0 0 3px rgba(31, 107, 58, 0.1);
}

.form-textarea { resize: vertical; }

.form-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #dc2626;
}

.support-success {
    background: #f0fdf4;
    border: 1px solid var(--qrl-green);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
}

.support-success-icon { font-size: 48px; margin-bottom: 12px; }
.support-success h3 { font-size: 20px; font-weight: 800; color: var(--qrl-green); margin-bottom: 8px; }
.support-success p { font-size: 14px; color: var(--qrl-muted); margin: 0; }

.support-contact-alt {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--qrl-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--qrl-muted);
}

.support-contact-icon { font-size: 18px; }
.support-contact-item a { color: var(--qrl-green); text-decoration: none; }
.support-contact-item a:hover { text-decoration: underline; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .about-story,
    .support-layout { grid-template-columns: 1fr; }
    .features-block-title { font-size: 28px; }
}

/* ════════════════════════════════════════════════════════════════════
   SUBSCRIBE PAGE
   ════════════════════════════════════════════════════════════════════ */

.subscribe-page {
    min-height: 100vh;
    background: var(--qrl-surface);
    padding: 40px 24px 80px;
}

.subscribe-inner {
    max-width: 680px;
    margin: 0 auto;
}

.subscribe-header {
    text-align: center;
    margin-bottom: 32px;
}

.subscribe-back {
    display: inline-block;
    color: var(--qrl-muted);
    font-size: 14px;
    margin-bottom: 16px;
    text-decoration: none;
}

.subscribe-back:hover { color: var(--qrl-green); }

.subscribe-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--qrl-green);
    margin-bottom: 8px;
}

.subscribe-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--qrl-text);
    margin-bottom: 8px;
}

.subscribe-sub {
    font-size: 16px;
    color: var(--qrl-muted);
}

/* ── Layout ────────────────────────────────────────────────────────── */
.subscribe-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Plan cards ────────────────────────────────────────────────────── */
.subscribe-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.subscribe-plan {
    background: white;
    border: 2px solid var(--qrl-border);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: border-color 0.15s;
}

.subscribe-plan:hover { border-color: var(--qrl-green); }

.subscribe-plan-active {
    border-color: var(--qrl-green);
    background: #f0fdf4;
}

.subscribe-plan-check { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

.subscribe-plan-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--qrl-text);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.subscribe-plan-badge {
    background: var(--qrl-green);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
}

.subscribe-plan-price {
    font-size: 20px;
    font-weight: 900;
    color: var(--qrl-green);
}

.subscribe-plan-desc {
    font-size: 12px;
    color: var(--qrl-muted);
    margin-top: 2px;
}

/* ── Features ──────────────────────────────────────────────────────── */
.subscribe-features {
    background: white;
    border: 1px solid var(--qrl-border);
    border-radius: 12px;
    padding: 20px;
}

.subscribe-features h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--qrl-text);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subscribe-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.subscribe-feature-list li {
    font-size: 13px;
    color: var(--qrl-muted);
}

.subscribe-guarantee {
    font-size: 13px;
    font-weight: 600;
    color: var(--qrl-green);
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid var(--qrl-border);
}

/* ── Checkout form ─────────────────────────────────────────────────── */
.subscribe-checkout {
    background: white;
    border: 1px solid var(--qrl-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.subscribe-checkout h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--qrl-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.subscribe-field-note {
    font-size: 12px;
    color: var(--qrl-muted);
    margin-top: 4px;
}

.subscribe-btn {
    background: var(--qrl-green);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.15s;
}

.subscribe-btn:hover:not(:disabled) { opacity: 0.9; }
.subscribe-btn:disabled { opacity: 0.6; cursor: default; }

.subscribe-stripe-note {
    text-align: center;
    font-size: 13px;
    color: var(--qrl-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.subscribe-legal {
    text-align: center;
    font-size: 12px;
    color: var(--qrl-muted);
}

.subscribe-legal a { color: var(--qrl-green); }

/* ── Success state ─────────────────────────────────────────────────── */
.subscribe-success {
    background: white;
    border: 1px solid var(--qrl-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.subscribe-success-icon { font-size: 64px; margin-bottom: 16px; }

.subscribe-success h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--qrl-green);
    margin-bottom: 12px;
}

.subscribe-success p {
    font-size: 15px;
    color: var(--qrl-muted);
    line-height: 1.7;
    margin-bottom: 12px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-success-note {
    font-size: 13px;
    color: var(--qrl-muted);
}

.subscribe-activate-box {
    background: #f0fdf4;
    border: 1px solid var(--qrl-green);
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    max-width: 420px;
    margin: 20px auto;
}

.subscribe-activate-box h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--qrl-green);
    margin-bottom: 12px;
}

.subscribe-activate-steps {
    font-size: 14px;
    color: var(--qrl-muted);
    padding-left: 20px;
    margin: 0;
    line-height: 2;
}

@media (max-width: 560px) {
    .subscribe-plans { grid-template-columns: 1fr; }
    .subscribe-feature-list { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════════════
   LOGIN DISPLAY — site nav bar sign in / sign out
   Add to end of wwwroot/css/site.css
   ════════════════════════════════════════════════════════════════════ */

.login-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-display__name {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.login-display__btn {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.15s;
}

    .login-display__btn:hover {
        opacity: 0.85;
    }

.login-display__btn--in {
    background: white;
    color: var(--qrl-green);
}

.login-display__btn--out {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}
