/* =============================================================================
   QUOTLY - REQUEST A QUOTE FOR WOOCOMMERCE LANDING PAGE
   Devtonic Studios design system. Inter font, blue palette, hand-coded.
   Class prefix: .qtly-
   ============================================================================= */

.qtly-landing,
.qtly-landing * { box-sizing: border-box; }

.qtly-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.qtly-gradient-text {
    background: linear-gradient(90deg, #00A3FF 0%, #CCE5FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.qtly-section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }

.qtly-section-label-dark {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(0, 163, 255, 0.12);
    border: 1px solid rgba(0, 163, 255, 0.25);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    color: #00A3FF;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.qtly-section-title-dark {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.qtly-section-desc-dark {
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 760px;
    margin: 0 auto;
}

/* =============================================================================
   BUTTONS - scoped under .qtly-landing so they ONLY apply on this page.
   .btn-primary / .btn-secondary live in hero.css which doesn't load here,
   so we self-contain the styles to avoid depending on it.
   ============================================================================= */
.qtly-landing .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0066FF, #0052CC);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
    cursor: pointer;
}

.qtly-landing .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.qtly-landing .btn-primary:hover::before { left: 100%; }

.qtly-landing .btn-primary:hover {
    background: linear-gradient(135deg, #0052CC, #0066FF);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
    color: #ffffff;
}

.qtly-landing .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #CCE5FF;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(225, 204, 240, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.qtly-landing .btn-secondary:hover {
    background: rgba(225, 204, 240, 0.1);
    color: #ffffff;
    border-color: rgba(225, 204, 240, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 204, 240, 0.2);
}

.qtly-landing .btn-arrow {
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.qtly-landing .btn-primary:hover .btn-arrow,
.qtly-landing .btn-secondary:hover .btn-arrow {
    transform: translateX(4px);
}

/* "seo-tag" used in the final CTA breadcrumb row.
   Defined on the PriceWise page; scoped here too so Quotly stays self-contained. */
.qtly-landing .seo-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.qtly-landing .seo-tag:hover {
    background: rgba(0, 163, 255, 0.15);
    border-color: rgba(0, 163, 255, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

.qtly-landing .seo-tag svg { width: 14px; height: 14px; }

/* =============================================================================
   1. HERO
   ============================================================================= */
.qtly-hero {
    min-height: 100vh;
    padding: 140px 40px 80px;
    background: linear-gradient(135deg, #001429 0%, #0a1929 50%, #001429 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.qtly-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 163, 255, 0.08) 0%, transparent 40%);
    animation: qtly-bg-pulse 15s ease-in-out infinite;
    pointer-events: none;
}
@keyframes qtly-bg-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.qtly-hero-inner {
    width: 100%;
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; position: relative; z-index: 1;
}
.qtly-hero-content { max-width: 650px; }

.qtly-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 18px; border-radius: 6px;
    font-size: 12px; font-weight: 600; color: #00A3FF;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 163, 255, 0.2);
}
.qtly-hero-badge svg { width: 14px; height: 14px; }

.qtly-hero h1 {
    font-size: 60px; font-weight: 800; line-height: 1.15;
    color: #ffffff; letter-spacing: -0.02em; margin-bottom: 24px;
}

.qtly-hero-desc {
    font-size: 18px; line-height: 1.7;
    color: rgba(255, 255, 255, 0.75); margin-bottom: 32px;
}

.qtly-hero-subhead {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 32px;
    max-width: 580px;
}

.qtly-hero-trust-line {
    margin-top: 28px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.2px;
}
.qtly-built-for-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(0, 163, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: 14px;
    margin-top: 36px;
}
.qtly-built-for {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    margin-bottom: 28px;
    max-width: 520px;
}
.qtly-built-for-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.qtly-built-for-item:hover {
    background: rgba(0, 163, 255, 0.06);
    border-color: rgba(0, 163, 255, 0.25);
}
.qtly-built-for-item svg {
    width: 18px;
    height: 18px;
    color: #00A3FF;
    flex-shrink: 0;
}

/* Adjust the trust-line spacing now that built-for sits above it */
.qtly-hero-trust-line {
    margin-top: 0 !important;
}

.qtly-hero-trust-line span {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
}

.qtly-mockup-lock-svg {
    width: 10px;
    height: 10px;
    color: #64748b;
}

.qtly-hero-stats { display: flex; gap: 40px; margin-bottom: 32px; flex-wrap: wrap; }
.qtly-stat-num {
    font-size: 28px; font-weight: 700; color: #CCE5FF;
    line-height: 1; margin-bottom: 6px; letter-spacing: -0.01em;
}
.qtly-stat-label {
    font-size: 12px; color: rgba(255, 255, 255, 0.5);
    font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;
}

.qtly-hero-cta {
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 32px;
}

.qtly-hero-trust {
    display: flex; flex-wrap: wrap; gap: 20px 28px;
    color: rgba(255, 255, 255, 0.7); font-size: 13px;
}
.qtly-trust-item { display: inline-flex; align-items: center; gap: 8px; }
.qtly-trust-item svg { width: 16px; height: 16px; color: #00A3FF; }

/* Hero mockup */
.qtly-hero-visual { position: relative; }
.qtly-mockup-browser {
    background: #ffffff; border-radius: 14px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 163, 255, 0.15),
        0 0 80px rgba(0, 102, 255, 0.2);
    overflow: hidden;
}
.qtly-mockup-chrome {
    background: #f1f5f9; padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex; align-items: center; gap: 12px;
}
.qtly-mockup-dots { display: flex; gap: 6px; }
.qtly-mockup-dots span { width: 11px; height: 11px; border-radius: 50%; display: block; }
.qtly-mockup-url {
    flex: 1; background: #ffffff; padding: 5px 12px; border-radius: 6px;
    font-size: 12px; color: #64748b; font-family: -apple-system, monospace;
    display: flex; align-items: center; gap: 6px;
    border: 1px solid #e2e8f0;
}
.qtly-mockup-lock { font-size: 10px; }
.qtly-mockup-body { padding: 24px; background: #ffffff; }

.qtly-mockup-header {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 18px; padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.qtly-mockup-header h3 { font-size: 17px; font-weight: 700; color: #1a2332; margin: 0; }
.qtly-mockup-count {
    font-size: 12px; color: #64748b; background: #f1f5f9;
    padding: 3px 10px; border-radius: 12px; font-weight: 600;
}

.qtly-mockup-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.qtly-mockup-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px; border: 1px solid #e2e8f0; border-radius: 8px;
    transition: border-color 0.2s ease;
}
.qtly-mockup-item:hover { border-color: #0066FF; }

.qtly-mockup-thumb {
    width: 40px; height: 40px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.qtly-thumb-print { background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05)); }
.qtly-thumb-print svg { color: #ef4444; width: 20px; height: 20px; }
.qtly-thumb-shirt { background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05)); }
.qtly-thumb-shirt svg { color: #3b82f6; width: 20px; height: 20px; }
.qtly-thumb-card { background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05)); }
.qtly-thumb-card svg { color: #22c55e; width: 20px; height: 20px; }

.qtly-mockup-item-info { flex: 1; min-width: 0; }
.qtly-mockup-item-name {
    font-size: 13px; font-weight: 600; color: #1a2332; margin-bottom: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qtly-mockup-item-meta { font-size: 11px; color: #64748b; }

.qtly-mockup-qty {
    display: flex; align-items: center; gap: 4px;
    background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 6px; padding: 2px;
}
.qtly-mockup-qty-btn {
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    color: #64748b; font-weight: 600; user-select: none;
}
.qtly-mockup-qty-val { min-width: 28px; text-align: center; font-size: 12px; font-weight: 700; color: #1a2332; }

.qtly-mockup-form { background: #f8fafc; border-radius: 10px; padding: 16px; margin-bottom: 14px; }
.qtly-mockup-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.qtly-mockup-field { display: flex; flex-direction: column; margin-bottom: 10px; }
.qtly-mockup-field:last-child { margin-bottom: 0; }
.qtly-mockup-field label {
    font-size: 11px; font-weight: 600; color: #64748b; margin-bottom: 4px;
    display: flex; align-items: center; gap: 6px;
}
.qtly-mockup-custom-tag {
    font-size: 9px; background: linear-gradient(135deg, #0066FF, #00A3FF);
    color: #fff; padding: 2px 6px; border-radius: 3px;
    font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase;
}
.qtly-mockup-input {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 5px;
    padding: 7px 10px; font-size: 12px; color: #1a2332;
}
.qtly-mockup-submit {
    background: linear-gradient(135deg, #0066FF, #0052CC);
    color: #fff; text-align: center; padding: 11px; border-radius: 6px;
    font-size: 13px; font-weight: 700; margin-top: 12px;
    box-shadow: 0 3px 12px rgba(0, 102, 255, 0.3);
}
.qtly-mockup-status {
    display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 163, 255, 0.05));
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 8px; padding: 10px 12px;
    font-size: 12px; color: #1a2332;
}
.qtly-status-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e; flex-shrink: 0;
    animation: qtly-pulse 2s infinite;
}
@keyframes qtly-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* =============================================================================
   2. SEO INTRO
   ============================================================================= */
.qtly-seo-section { background: #ffffff; padding: 100px 40px; position: relative; }
.qtly-seo-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.2), transparent);
}
.qtly-seo-header { text-align: center; max-width: 820px; margin: 0 auto 60px; }
.qtly-seo-title {
    font-size: 44px; font-weight: 900; line-height: 1.15;
    color: #0a0a0a; letter-spacing: -0.02em; margin-bottom: 22px;
    max-width: 820px; margin-left: auto; margin-right: auto;
}
.qtly-seo-desc { font-size: 18px; line-height: 1.75; color: #475569; }

.qtly-seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 80px; }
.qtly-seo-card {
    background: #ffffff; border-radius: 18px; padding: 40px 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0; transition: all 0.3s ease;
}
.qtly-seo-card.qtly-old-way { border-top: 3px solid #ef4444; }
.qtly-seo-card.qtly-new-way {
    border-top: 3px solid #0066FF;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}
.qtly-seo-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); }

.qtly-seo-icon-wrap {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
}
.qtly-seo-icon-old { background: rgba(239, 68, 68, 0.1); }
.qtly-seo-icon-old svg { color: #ef4444; width: 28px; height: 28px; }
.qtly-seo-icon-new { background: linear-gradient(135deg, #0066FF, #00A3FF); }
.qtly-seo-icon-new svg { color: #fff; width: 28px; height: 28px; }

.qtly-seo-card h3 { font-size: 22px; font-weight: 800; color: #0a0a0a; margin: 0 0 18px; }

.qtly-seo-list { list-style: none; padding: 0; margin: 0; }
.qtly-seo-list li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 0; font-size: 15px; color: #1a2332;
    line-height: 1.5; border-bottom: 1px dashed #e2e8f0;
}
.qtly-seo-list li:last-child { border-bottom: none; }
.qtly-seo-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.qtly-old-way .qtly-seo-list svg { color: #ef4444; }
.qtly-new-way .qtly-seo-list svg { color: #0066FF; }

.qtly-seo-tags {
    background: #001429;
    border: 3px solid #0066FF;
    border-radius: 18px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.qtly-seo-tags::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 163, 255, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.qtly-seo-tags > * { position: relative; z-index: 1; }
.qtly-seo-tags h3 {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}
.qtly-seo-tags p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 28px;
}
.qtly-tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    max-width: 980px;
    margin: 0 auto;
}
.qtly-tag {
    background: rgba(0, 102, 255, 0.12);
    border: 1.5px solid rgba(0, 163, 255, 0.35);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}
.qtly-tag:hover {
    background: rgba(0, 102, 255, 0.18);
    border-color: rgba(0, 163, 255, 0.6);
    transform: translateY(-2px);
}
.qtly-tag-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #0066FF;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid #00A3FF;
}
.qtly-tag-icon svg { width: 16px; height: 16px; color: #ffffff; }
.qtly-tag-text { min-width: 0; }
.qtly-tag-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 2px;
}
.qtly-tag-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* =============================================================================
   FEATURE ECOSYSTEM - solid navy cards with solid colored pills inside.
   Replaces the prior cost-stack chart design.
   No gradients anywhere. Every fill is a solid hex.
   ============================================================================= */

.qtly-seo-accent { color: #0066FF; }

.qtly-eco-canvas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto 32px;
}

.qtly-eco-side { display: flex; flex-direction: column; }

.qtly-eco-side-label {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.qtly-eco-bad-label { background: #DC2626; color: #FFFFFF; }
.qtly-eco-good-label { background: #0066FF; color: #FFFFFF; }

.qtly-eco-card {
    background: #001429;
    border-radius: 16px;
    padding: 30px 28px;
    min-height: 540px;
    border: 3px solid #001429;
}

.qtly-eco-bad { border-color: #DC2626; }
.qtly-eco-good { border-color: #00A3FF; }

.qtly-eco-card-title {
    font-size: 19px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.qtly-eco-card-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 22px;
}

/* "Base plugin" panel (left side) and "quotly.zip" mega panel (right side) */
.qtly-eco-base,
.qtly-eco-mega {
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.qtly-eco-base { background: #1e3a5f; }
.qtly-eco-mega { background: #0066FF; }

.qtly-eco-base-icon,
.qtly-eco-mega-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qtly-eco-base-icon { background: rgba(255, 255, 255, 0.15); color: #FFFFFF; }
.qtly-eco-mega-icon { background: #FFFFFF; color: #0066FF; }
.qtly-eco-base-icon svg,
.qtly-eco-mega-icon svg { width: 18px; height: 18px; }

.qtly-eco-base-text strong,
.qtly-eco-mega-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
}

.qtly-eco-base-text span { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.qtly-eco-mega-text strong { font-family: 'Courier New', monospace; }
.qtly-eco-mega-text span { font-size: 12px; color: #BFDBFE; }

/* "+ also need to install" / "→ everything inside" divider line */
.qtly-eco-divider {
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 6px 0 14px;
    color: rgba(255, 255, 255, 0.4);
}

.qtly-eco-divider-good { color: #00A3FF; }

.qtly-eco-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Inner pills - solid color blocks */
.qtly-eco-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
}

.qtly-eco-pill-bad { background: #DC2626; }
.qtly-eco-pill-good { background: #0066FF; }

.qtly-eco-pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qtly-eco-pill-icon svg { width: 14px; height: 14px; }
.qtly-eco-pill-bad .qtly-eco-pill-icon svg { color: #DC2626; }
.qtly-eco-pill-good .qtly-eco-pill-icon svg { color: #0066FF; }

.qtly-eco-pill strong {
    font-size: 13px;
    font-weight: 700;
    flex: 1;
    color: #FFFFFF;
}

.qtly-eco-pill span {
    font-size: 10px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 3px 8px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.qtly-eco-vs {
    align-self: center;
    background: #0066FF;
    color: #FFFFFF;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-top: 220px;
}

.qtly-eco-footer {
    max-width: 900px;
    margin: 50px auto 80px;
    text-align: center;
    padding: 18px 32px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    font-size: 14px;
    color: #475569;
}

.qtly-eco-footer strong { color: #0a0a0a; font-weight: 800; }

/* Responsive */
@media (max-width: 1000px) {
    .qtly-eco-canvas {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .qtly-eco-vs { margin: 0 auto; }
    .qtly-eco-card { min-height: auto; }
}


/* =============================================================================
   3. PROBLEM - "Pain Meter" rows (Variant B Enhanced)
   Each row has a solid red number block, problem text, and a damage meter
   showing severity. Card border is faded RED (per design pick).
   ============================================================================= */
.qtly-problem {
    background: #001429;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}
.qtly-problem::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.qtly-problem-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.qtly-problem-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.qtly-problem-row {
    background: #0a1929;
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: 16px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 28px;
    align-items: start;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.qtly-problem-row:hover {
    border-color: rgba(220, 38, 38, 0.6);
    transform: translateY(-2px);
}

.qtly-problem-num-block {
    background: #DC2626;
    color: #ffffff;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    border: 2px solid #DC2626;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.qtly-problem-num-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, 0.85);
}

.qtly-problem-num-val {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.qtly-problem-body h3 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
}

.qtly-problem-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    margin: 0 0 18px;
}

.qtly-problem-meter {
    background: #001429;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 18px;
}

.qtly-problem-meter-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    gap: 12px;
    flex-wrap: wrap;
}

.qtly-problem-meter-label {
    font-size: 10px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}

.qtly-problem-meter-value {
    font-size: 18px;
    font-weight: 800;
    color: #FCA5A5;
    font-family: 'Courier New', monospace;
    letter-spacing: -0.01em;
}

.qtly-problem-meter-bar {
    background: rgba(255, 255, 255, 0.06);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.qtly-problem-meter-fill {
    background: #DC2626;
    height: 100%;
    border-radius: 4px;
    position: relative;
}

.qtly-problem-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
    animation: qtly-meter-blink 1.5s ease-in-out infinite;
}

@keyframes qtly-meter-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
    .qtly-problem-meter-fill::after { animation: none; }
}

/* Updated meter: red-tinted box, plain typography, no monospace, no bar */
.qtly-problem-meter {
    background: rgba(220, 38, 38, 0.04) !important;
    border-color: rgba(220, 38, 38, 0.18) !important;
    padding: 12px 18px !important;
}
.qtly-problem-meter-head {
    margin-bottom: 0 !important;
    align-items: center !important;
}
.qtly-problem-cost-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    font-family: inherit;
}
.qtly-problem-cost-value {
    font-size: 14px;
    font-weight: 700;
    color: #FCA5A5;
    font-family: inherit;
    text-align: right;
}

/* =============================================================================
   4. BRIDGE - solid electric blue card, the page's pivot moment
   ============================================================================= */
.qtly-bridge {
    background: #001429;
    padding: 60px 40px;
    position: relative;
}
.qtly-bridge-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: #0066FF;
    border: 2px solid #00A3FF;
    border-radius: 20px;
    padding: 44px 36px;
}
.qtly-bridge-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background: #ffffff;
    border: 2px solid #00A3FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qtly-bridge-icon svg { width: 26px; height: 26px; color: #0066FF; }
.qtly-bridge-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.qtly-bridge-card p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin: 0;
}

/* =============================================================================
   5. WORKFLOW - subway-map style track
   Five stations connected by a solid blue track line. Numbers as
   square stations on the line. All inside a contained card.
   ============================================================================= */
.qtly-workflow { background: #ffffff; padding: 100px 40px; }

.qtly-workflow-map {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    padding: 50px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.qtly-workflow-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

/* The connecting blue track line that runs through all 5 numbers */
.qtly-workflow-track::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #0066FF;
    z-index: 0;
}

.qtly-workflow-station {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 4px;
}

.qtly-workflow-station-num {
    width: 64px;
    height: 64px;
    background: #0066FF;
    color: #ffffff;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    margin: 0 auto 18px;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 2px #0066FF;
    transition: transform 0.3s ease;
}

.qtly-workflow-station:hover .qtly-workflow-station-num {
    transform: translateY(-4px);
}

.qtly-workflow-station-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 10px;
    background: #E6F0FF;
    color: #0066FF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qtly-workflow-station-icon svg {
    width: 18px;
    height: 18px;
}

.qtly-workflow-station h4 {
    font-size: 15px;
    font-weight: 800;
    color: #0a0a0a;
    margin: 0 0 8px;
    line-height: 1.3;
    padding: 0 4px;
    letter-spacing: -0.01em;
}

.qtly-workflow-station p {
    font-size: 12px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
    padding: 0 4px;
}

.qtly-workflow-note {
    max-width: 900px;
    margin: 50px auto 0;
    background: #0066FF;
    border: 2px solid #00A3FF;
    border-radius: 16px;
    padding: 32px 36px;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 22px;
    align-items: center;
    color: #ffffff;
}

.qtly-workflow-note-icon {
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qtly-workflow-note-icon svg {
    width: 32px;
    height: 32px;
    color: #0066FF;
}

.qtly-workflow-note-content h4 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    color: #ffffff;
    line-height: 1.3;
}

.qtly-workflow-note-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.55;
    margin: 0;
}

/* =============================================================================
   6. EVERYTHING IN THE BOX - solid blue premium tiles
   Each card is a solid #0066FF tile with a full-width red strip at
   the bottom showing the "Usually a $X add-on" tag.
   ============================================================================= */
.qtly-in-the-box {
    background: #001429;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}
.qtly-in-the-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(0, 163, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.qtly-itb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.qtly-itb-card {
    background: #0066FF;
    border: 2px solid #00A3FF;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qtly-itb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 102, 255, 0.35);
}

.qtly-itb-icon {
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 26px 18px;
}

.qtly-itb-icon svg {
    width: 26px;
    height: 26px;
    color: #0066FF;
}

.qtly-itb-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 26px 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.qtly-itb-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin: 0 26px 24px;
    flex: 1;
}

/* Full-width red strip at the bottom edge of the card */
.qtly-itb-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #DC2626;
    color: #ffffff;
    padding: 14px 26px;
    font-size: 11px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-top: 2px solid #B91C1C;
}

.qtly-itb-tag::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* Transition */
.qtly-transition { background: #ffffff; padding: 50px 40px; text-align: center; }
.qtly-transition h3 {
    font-size: 22px; font-weight: 700; color: #475569;
    margin: 0; letter-spacing: -0.005em;
}

/* =============================================================================
   7. FEATURES GRID - categorized into 4 groups with header bars
   Each group has a solid blue header strip with numbered tab + label,
   then a 2-column grid of feature items with icon + name + description.
   ============================================================================= */
.qtly-features { background: #ffffff; padding: 80px 40px 100px; }

.qtly-features-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 60px;
}

.qtly-features-groups {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    align-items: start;
}

.qtly-features-group {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.qtly-features-group:hover { border-color: #BFDBFE; }

.qtly-features-group-head {
    background: #0066FF;
    color: #ffffff;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 2px solid #00A3FF;
}

.qtly-features-group-num {
    background: #ffffff;
    color: #0066FF;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}

.qtly-features-group-head h3 {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0;
}

.qtly-features-group-head em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 13px;
    margin-left: auto;
    font-family: 'Courier New', monospace;
}

.qtly-features-group-body {
    display: flex;
    flex-direction: column;
}

.qtly-features-item {
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.qtly-features-item:hover { background: #F8FAFC; }
.qtly-features-item:last-child { border-bottom: none; }

.qtly-features-item-icon {
    width: 38px;
    height: 38px;
    background: #E6F0FF;
    color: #0066FF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid #B8D4FF;
}

.qtly-features-item-icon svg {
    width: 16px;
    height: 16px;
}

.qtly-features-item-text {
    min-width: 0;
}

.qtly-features-item-text strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #0a0a0a;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.qtly-features-item-text p {
    font-size: 12px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* =============================================================================
   8. COMPARISON - "The Gotchas" Pinned Documents
   Two paper-style receipt docs pinned to a navy board with thumbtacks.
   Left doc lists surprises that hit you AFTER buying other plugins (red tags).
   Right doc shows Quotly's "no surprises" version (green tags).
   ============================================================================= */
.qtly-compare {
    background: #001429;
    padding: 100px 40px;
    position: relative;
}

.qtly-compare-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.qtly-compare-intro {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 720px;
    margin: 20px auto 0;
}

.qtly-gotcha-board {
    max-width: 1100px;
    margin: 0 auto;
    background: #0a1929;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 163, 255, 0.05) 0%, transparent 50%);
    border: 2px solid rgba(0, 163, 255, 0.15);
    border-radius: 18px;
    padding: 60px 50px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    align-items: start;
}

.qtly-gotcha-doc {
    background: #f5f5dc;
    background-image: linear-gradient(180deg, #fffaf0 0%, #f5f0e0 100%);
    color: #2a2520;
    border-radius: 4px;
    padding: 28px 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: rotate(-2deg);
    font-family: 'Courier New', 'JetBrains Mono', monospace;
    position: relative;
    transition: transform 0.3s ease;
}

.qtly-gotcha-doc:hover {
    transform: rotate(-1deg) translateY(-2px);
}

.qtly-gotcha-doc-quotly {
    background: #ffffff;
    color: #001429;
    transform: rotate(0deg) scale(1.04);
    box-shadow: 0 16px 40px rgba(0, 163, 255, 0.35), 0 0 0 3px #00A3FF;
}

.qtly-gotcha-doc-quotly:hover {
    transform: rotate(0deg) scale(1.05) translateY(-2px);
}

.qtly-gotcha-pin {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 35% 35%, #ff5555 0%, #cc2222 60%, #881111 100%);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.qtly-gotcha-doc-quotly .qtly-gotcha-pin {
    background: radial-gradient(circle at 35% 35%, #66ddff 0%, #00A3FF 60%, #0052CC 100%);
}

.qtly-gotcha-stamp {
    display: inline-block;
    border: 2px solid #cc2222;
    color: #cc2222;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(-4deg);
    margin-bottom: 16px;
    border-radius: 3px;
}

.qtly-gotcha-doc-quotly .qtly-gotcha-stamp {
    border-color: #0066FF;
    color: #0066FF;
}

.qtly-gotcha-doc-header {
    border-bottom: 2px dashed #2a2520;
    padding-bottom: 14px;
    margin-bottom: 8px;
}

.qtly-gotcha-doc-quotly .qtly-gotcha-doc-header {
    border-bottom-color: #001429;
}

.qtly-gotcha-doc-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.qtly-gotcha-doc-meta {
    font-size: 11px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qtly-gotcha-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dotted rgba(42, 37, 32, 0.22);
    font-family: 'Inter', sans-serif;
}

.qtly-gotcha-doc-quotly .qtly-gotcha-line {
    border-bottom-color: rgba(0, 20, 41, 0.15);
}

.qtly-gotcha-line:last-of-type {
    border-bottom: none;
}

.qtly-gotcha-line-text {
    font-size: 13px;
    font-weight: 600;
    flex: 1;
    line-height: 1.4;
    letter-spacing: -0.005em;
}

.qtly-gotcha-doc-quotly .qtly-gotcha-line-text {
    font-weight: 700;
}

.qtly-gotcha-tag {
    font-family: 'Courier New', 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 11px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.qtly-gotcha-tag-bad {
    background: #cc2222;
    color: #ffffff;
}

.qtly-gotcha-tag-good {
    background: #16a34a;
    color: #ffffff;
}

/* =============================================================================
   9. ADMIN POWER TOUR - polished reality-based mockups
   Zig-zag layout with full-width alternating rows. Each mockup uses real
   data from the Quotly plugin source (column names, status names, KPI
   labels, custom field types).
   ============================================================================= */
.qtly-admin-tour { background: #ffffff; padding: 100px 40px; }

.qtly-admin-stack {
    display: flex;
    flex-direction: column;
    gap: 100px;
    max-width: 1300px;
    margin: 0 auto;
}

.qtly-admin-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.qtly-admin-row-flip .qtly-admin-mock-wrap { order: 2; }

/* TEXT SIDE */
.qtly-admin-text-num {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 13px;
    font-weight: 800;
    color: #0066FF;
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.qtly-admin-text h3 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    color: #0a0a0a;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.qtly-admin-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 22px;
}

.qtly-admin-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qtly-admin-text li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.55;
}

.qtly-admin-text li svg {
    width: 18px;
    height: 18px;
    color: #0066FF;
    flex-shrink: 0;
    margin-top: 2px;
    background: #E6F0FF;
    border-radius: 50%;
    padding: 3px;
}

.qtly-admin-text li code {
    background: #E6F0FF;
    color: #0066FF;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 600;
}

/* MOCKUP WRAPPER (gradient backdrop with traffic-light dots) */
.qtly-admin-mock-wrap {
    position: relative;
    padding: 28px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff5ff 100%);
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.qtly-admin-mock-wrap::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    width: 8px;
    height: 8px;
    background: #ff5f56;
    border-radius: 50%;
    box-shadow: 14px 0 0 #ffbd2e, 28px 0 0 #27c93f;
}

.qtly-admin-mock-app {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
    margin-top: 18px;
}

/* TOPBAR (breadcrumb + search) */
.qtly-admin-mock-topbar {
    padding: 14px 22px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.qtly-admin-mock-trail {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.qtly-admin-mock-trail-icon {
    width: 16px;
    height: 16px;
    color: #0066FF;
}

.qtly-admin-crumb-current {
    color: #0a0a0a;
    font-weight: 700;
}

.qtly-admin-crumb-arrow {
    color: #cbd5e1;
}

.qtly-admin-mock-search {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
}

.qtly-admin-mock-search svg {
    width: 14px;
    height: 14px;
}

/* CONTENT AREA */
.qtly-admin-mock-content {
    padding: 24px 26px;
}

.qtly-admin-mock-page-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 14px;
}

.qtly-admin-mock-page-h h3 {
    font-size: 19px;
    font-weight: 800;
    color: #0a0a0a;
    letter-spacing: -0.01em;
    margin: 0;
}

.qtly-admin-add-btn {
    background: #0066FF;
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qtly-admin-add-btn svg {
    width: 12px;
    height: 12px;
}

/* STATUS FILTER PILLS */
.qtly-admin-mock-pills {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    padding: 4px;
    background: #f8fafc;
    border-radius: 10px;
    width: fit-content;
    flex-wrap: wrap;
}

.qtly-admin-mock-pill {
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}

.qtly-admin-mock-pill.active {
    background: #ffffff;
    color: #0a0a0a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

.qtly-admin-ct {
    font-size: 10px;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 50px;
    font-weight: 700;
}

.qtly-admin-mock-pill.active .qtly-admin-ct {
    background: #E6F0FF;
    color: #0066FF;
}

/* MODERN DATA TABLE */
.qtly-admin-mock-table {
    width: 100%;
    border-collapse: collapse;
}

.qtly-admin-mock-table thead th {
    background: #f8fafc;
    padding: 11px 14px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #e2e8f0;
}

.qtly-admin-mock-table tbody td {
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 13px;
}

.qtly-admin-mock-table tbody tr:last-child td {
    border-bottom: none;
}

.qtly-admin-mock-table tbody tr:hover {
    background: #fafbfc;
}

.qtly-admin-id {
    color: #0066FF;
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 12px;
}

.qtly-admin-customer {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* GRADIENT INITIAL AVATARS */
.qtly-admin-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066FF, #00A3FF);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.qtly-admin-av-2 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.qtly-admin-av-3 { background: linear-gradient(135deg, #10b981, #34d399); }
.qtly-admin-av-4 { background: linear-gradient(135deg, #ef4444, #f87171); }
.qtly-admin-av-5 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }

.qtly-admin-customer-info strong {
    display: block;
    color: #0a0a0a;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.01em;
}

.qtly-admin-customer-info span {
    font-size: 11px;
    color: #94a3b8;
}

.qtly-admin-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.qtly-admin-total {
    font-weight: 700;
    color: #0a0a0a;
}

/* STATUS PILLS WITH DOT */
.qtly-admin-qpill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.qtly-admin-qpill::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.qtly-admin-pending { background: #fef9e7; color: #92580d; }
.qtly-admin-pending::before { background: #f59e0b; }
.qtly-admin-accepted { background: #e8f1ff; color: #1e40af; }
.qtly-admin-accepted::before { background: #3b82f6; }
.qtly-admin-converted { background: #e8f7ee; color: #15803d; }
.qtly-admin-converted::before { background: #22c55e; }
.qtly-admin-declined { background: #feeaea; color: #b91c1c; }
.qtly-admin-declined::before { background: #ef4444; }
.qtly-admin-expired { background: #f3f4f6; color: #6b7280; }
.qtly-admin-expired::before { background: #9ca3af; }

.qtly-admin-col-date {
    font-size: 12px;
    color: #64748b;
}

/* QUOTE EDIT SCREEN */
.qtly-admin-edit-grid {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 16px;
}

.qtly-admin-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}

.qtly-admin-card-h {
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qtly-admin-card-b {
    padding: 16px;
}

.qtly-admin-cust-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qtly-admin-cust-block .qtly-admin-avatar {
    width: 44px;
    height: 44px;
    font-size: 14px;
}

.qtly-admin-cust-block strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 2px;
}

.qtly-admin-cust-meta {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

/* Products table */
.qtly-admin-prod-table {
    width: 100%;
    font-size: 12px;
    border-collapse: collapse;
}

.qtly-admin-prod-table thead th {
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0 12px 8px 0;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}

.qtly-admin-prod-table thead th:not(:first-child) {
    text-align: right;
    padding: 0 0 8px 12px;
}

.qtly-admin-prod-table thead th:last-child {
    padding-right: 0;
}

.qtly-admin-prod-table tbody td {
    padding: 10px 12px 10px 0;
    border-bottom: 1px dashed #f1f5f9;
    vertical-align: middle;
}

.qtly-admin-prod-table tbody td:not(:first-child) {
    text-align: right;
    padding: 10px 0 10px 12px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.qtly-admin-prod-table tbody td:last-child {
    padding-right: 0;
}

.qtly-admin-prod-table tbody tr:last-child td {
    border-bottom: none;
}

.qtly-admin-prod-name {
    font-weight: 600;
    color: #0a0a0a;
    font-size: 12px;
    line-height: 1.3;
}

.qtly-admin-prod-name span {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 2px;
    line-height: 1.4;
}

.qtly-admin-price-input {
    background: #ffffff;
    border: 1.5px solid #BFDBFE;
    border-radius: 6px;
    padding: 4px 8px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #0066FF;
    width: 100%;
    max-width: 88px;
    text-align: right;
    transition: border-color 0.2s;
}

.qtly-admin-price-input:focus {
    border-color: #0066FF;
    outline: none;
}

.qtly-admin-prod-foot {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1.5px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qtly-admin-prod-foot-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.qtly-admin-prod-foot-total {
    font-size: 18px;
    font-weight: 800;
    color: #0066FF;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    letter-spacing: -0.02em;
}

/* Custom field response display */
.qtly-admin-cf-response {
    padding: 8px 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.qtly-admin-cf-response:last-child {
    border-bottom: none;
}

.qtly-admin-cf-lbl {
    color: #64748b;
    flex-shrink: 0;
}

.qtly-admin-cf-val {
    color: #0a0a0a;
    font-weight: 600;
    text-align: right;
}

.qtly-admin-cf-file {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0066FF;
}

.qtly-admin-cf-file svg {
    width: 12px;
    height: 12px;
}

/* Sidebar status / expiry / history */
.qtly-admin-status-cur {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 11px;
    color: #64748b;
}

.qtly-admin-status-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    color: #0a0a0a;
    background: #ffffff;
    margin-bottom: 10px;
    font-family: inherit;
}

.qtly-admin-convert-btn {
    width: 100%;
    background: linear-gradient(135deg, #0066FF, #0052CC);
    color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 102, 255, 0.25);
}

.qtly-admin-expiry-block {
    font-size: 11px;
    color: #64748b;
    line-height: 1.6;
}

.qtly-admin-expiry-block strong {
    color: #0a0a0a;
}

.qtly-admin-expiry-bar {
    margin-top: 8px;
    height: 4px;
    background: #f1f5f9;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.qtly-admin-expiry-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 60%;
    background: linear-gradient(90deg, #0066FF, #00A3FF);
    border-radius: 50px;
}

.qtly-admin-history-row {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    font-size: 11px;
    border-bottom: 1px dashed #f1f5f9;
}

.qtly-admin-history-row:last-child {
    border-bottom: none;
}

.qtly-admin-history-dot {
    width: 6px;
    height: 6px;
    background: #0066FF;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.qtly-admin-history-row strong {
    display: block;
    color: #0a0a0a;
    font-weight: 600;
}

.qtly-admin-history-row time {
    color: #94a3b8;
    font-size: 10px;
}

/* ANALYTICS DASHBOARD */
.qtly-admin-range {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #f8fafc;
    border-radius: 10px;
    width: fit-content;
    margin-bottom: 22px;
}

.qtly-admin-range a {
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: all 0.15s;
}

.qtly-admin-range a.cur {
    background: #ffffff;
    color: #0a0a0a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.qtly-admin-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.qtly-admin-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    position: relative;
}

.qtly-admin-kpi-label {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.qtly-admin-kpi-val {
    font-size: 26px;
    font-weight: 800;
    color: #0a0a0a;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    font-feature-settings: 'tnum';
}

.qtly-admin-kpi-sub {
    font-size: 11px;
    color: #94a3b8;
}

.qtly-admin-kpi-sub.good {
    color: #16a34a;
    font-weight: 600;
}

/* Status breakdown bar */
.qtly-admin-breakdown-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    margin-top: 14px;
}

.qtly-admin-breakdown-h {
    font-size: 12px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
}

.qtly-admin-breakdown-h span {
    color: #94a3b8;
    font-weight: 500;
    font-size: 11px;
}

.qtly-admin-breakdown-bar {
    display: flex;
    height: 12px;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f1f5f9;
    gap: 2px;
}

.qtly-admin-breakdown-bar > div {
    transition: opacity 0.2s;
}

.qtly-admin-breakdown-bar > div:hover {
    opacity: 0.85;
}

.qtly-admin-breakdown-legend {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.qtly-admin-breakdown-legend > div {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
}

.qtly-admin-bk-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.qtly-admin-breakdown-legend strong {
    color: #0a0a0a;
    font-weight: 700;
}

/* CUSTOM FIELDS BUILDER */
.qtly-admin-cf-intro {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.qtly-admin-cf-intro strong {
    color: #0a0a0a;
}

.qtly-admin-cf-row {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    transition: all 0.2s;
    flex-wrap: wrap;
}

.qtly-admin-cf-row:hover {
    border-color: #BFDBFE;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.06);
}

.qtly-admin-cf-handle {
    color: #cbd5e1;
    cursor: grab;
    font-size: 14px;
    padding: 0 4px;
}

.qtly-admin-cf-label {
    font-weight: 700;
    color: #0a0a0a;
    flex: 1;
    font-size: 13px;
    letter-spacing: -0.01em;
    min-width: 120px;
}

.qtly-admin-cf-id {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 10px;
    color: #0066FF;
    background: #E6F0FF;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 600;
}

.qtly-admin-cf-type {
    font-size: 10px;
    color: #475569;
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 50px;
    font-weight: 600;
}

.qtly-admin-cf-required {
    background: #fef2f2;
    color: #b91c1c;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #fecaca;
}

.qtly-admin-cf-actions {
    display: flex;
    gap: 4px;
}

.qtly-admin-cf-actions button {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 11px;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.15s;
}

.qtly-admin-cf-actions button:hover {
    border-color: #BFDBFE;
    color: #0066FF;
}
/* =============================================================================
   10. INTEGRATIONS - Logo Strip on Electric Blue
   Single horizontal row of 8 integration tiles inside a translucent frame.
   Solid #0066FF background with radial-gradient corner glows. White text.
   ============================================================================= */
.qtly-integrations {
    background: #0066FF;
    padding: 100px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.qtly-integrations::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0,163,255,0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0,82,204,0.3) 0%, transparent 50%);
    pointer-events: none;
}

.qtly-integrations .qtly-container {
    position: relative;
    z-index: 1;
}

/* Header */
.qtly-integrations-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.qtly-integrations-label {
    display: inline-block;
    padding: 7px 22px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
}

.qtly-integrations-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.qtly-integrations-title-accent {
    color: #CCE5FF;
}

.qtly-integrations-desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
    max-width: 720px;
    margin: 0 auto;
}

/* Logo strip frame */
.qtly-integrations-strip {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    padding: 28px 32px;
    backdrop-filter: blur(10px);
    max-width: 1200px;
    margin: 0 auto;
}

.qtly-integrations-strip-h {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.qtly-integrations-strip-h::before,
.qtly-integrations-strip-h::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.15);
}

/* Logo grid - 8 across on desktop */
.qtly-integrations-logos {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

.qtly-integration-logo {
    text-align: center;
    transition: transform 0.2s;
}

.qtly-integration-logo:hover {
    transform: translateY(-3px);
}

.qtly-integration-logo-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.2s;
}

.qtly-integration-logo:hover .qtly-integration-logo-icon {
    background: rgba(255,255,255,0.22);
    transform: scale(1.06);
}

.qtly-integration-logo-icon svg {
    width: 22px;
    height: 22px;
}

.qtly-integration-logo-name {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.005em;
    margin-bottom: 3px;
    line-height: 1.2;
}

.qtly-integration-logo-meta {
    font-size: 10px;
    color: rgba(255,255,255,0.65);
    font-family: 'Courier New', 'JetBrains Mono', monospace;
    letter-spacing: 0.3px;
}

/* Footer note */
.qtly-integrations-foot {
    margin-top: 50px;
    padding: 32px 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.qtly-integrations-foot strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.qtly-integrations-foot p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 18px;
}

.qtly-integrations-foot-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0066FF;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}

.qtly-integrations-foot-cta:hover {
    transform: translateY(-2px);
    color: #0066FF;
}

/* =============================================================================
   11. A LETTER FROM THE FOUNDER
   ============================================================================= */
.qtly-letter {
    background: linear-gradient(180deg, #faf6ec 0%, #f4ecd8 100%);
    padding: 110px 40px 100px;
    position: relative;
    overflow: hidden;
}
.qtly-letter::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(120, 90, 40, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(120, 90, 40, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.qtly-letter .qtly-container { max-width: 780px; position: relative; text-align: center; }

.qtly-letter-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #b08d57;
    text-transform: uppercase;
    margin: 0 0 56px;
    line-height: 1;
}
.qtly-letter-eyebrow::before,
.qtly-letter-eyebrow::after {
    content: '';
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(176, 141, 87, 0.5), transparent);
}

/* The paper */
.qtly-letter-paper {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    padding: 64px 64px 56px;
    text-align: left;
    background: #ffffff;
    border-radius: 3px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.6),
        inset 0 -1px 0 rgba(0,0,0,0.04),
        0 30px 60px -20px rgba(120, 90, 40, 0.3),
        0 12px 30px -10px rgba(120, 90, 40, 0.15);
    color: #2a2419;
}
.qtly-letter-paper::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(0,0,0,0.008) 2px, rgba(0,0,0,0.008) 3px);
    border-radius: 3px;
    pointer-events: none;
    opacity: 0.4;
}
.qtly-letter-paper::after {
    content: none;
}

/* Letterhead */
.qtly-letter-letterhead {
    padding-bottom: 24px;
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(120, 90, 40, 0.18);
    position: relative;
    z-index: 1;
}
.qtly-letter-letterhead::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, #b08d57, transparent);
}
.qtly-letter-monogram {
    display: flex;
    align-items: center;
    gap: 14px;
}
.qtly-letter-monogram-mark {
    width: 38px;
    height: 38px;
    border: 1.5px solid #b08d57;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 14px;
    font-weight: 600;
    color: #8a6b3a;
    letter-spacing: 1px;
}
.qtly-letter-wordmark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 13px;
    font-weight: 500;
    color: #5a4530;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.2;
}
.qtly-letter-wordmark small {
    display: block;
    font-size: 9px;
    font-weight: 400;
    color: #9a8467;
    letter-spacing: 1.5px;
    margin-top: 2px;
    text-transform: uppercase;
}

/* Letter body */
.qtly-letter-salutation {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    color: #2a2419;
    margin: 0 0 24px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}
.qtly-letter-body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    line-height: 1.75;
    color: #2a2419;
    font-weight: 400;
    position: relative;
    z-index: 1;
}
.qtly-letter-body p { margin: 0 0 20px; }
.qtly-letter-body p:last-of-type { margin-bottom: 0; }

/* Signature block */
.qtly-letter-signblock {
    margin-top: 44px;
    position: relative;
    z-index: 1;
}
.qtly-letter-signature {
    font-family: 'Caveat', 'Brush Script MT', cursive;
    font-size: 42px;
    color: #1a3a6e;
    line-height: 1;
    margin-bottom: 6px;
    font-weight: 600;
    transform: rotate(-2deg);
    display: inline-block;
    letter-spacing: 0.5px;
}
.qtly-letter-signname {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 13px;
    color: #5a4530;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 8px;
}
.qtly-letter-signmeta {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 12px;
    color: #8a7553;
    font-style: italic;
    margin-top: 2px;
}

/* Wax seal */
.qtly-letter-seal {
    position: absolute;
    bottom: 36px;
    right: 56px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #c89f63, #8a6b3a 70%, #6b5128);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.3),
        0 4px 12px rgba(0,0,0,0.2);
    z-index: 1;
    transform: rotate(-8deg);
}
.qtly-letter-seal::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
}
.qtly-letter-seal-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: #f4ecd8;
    letter-spacing: 1px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}

/* Footer below paper */
.qtly-letter-footer { margin-top: 52px; text-align: center; }
.qtly-letter-footer-line {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 16px;
    color: #6b5e44;
    letter-spacing: 0.2px;
    line-height: 1.5;
    margin: 0;
}
.qtly-letter-footer-line a {
    color: #0066FF;
    font-style: normal;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 102, 255, 0.45);
    padding-bottom: 2px;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.qtly-letter-footer-line a:hover,
.qtly-letter-footer-line a:focus {
    color: #0052CC;
    border-color: #0052CC;
    outline: none;
}

@media (max-width: 768px) {
    .qtly-letter { padding: 70px 18px 60px; }
    .qtly-letter-paper { padding: 40px 28px 36px; }
    .qtly-letter-body,
    .qtly-letter-salutation { font-size: 16px; }
    .qtly-letter-seal { width: 48px; height: 48px; bottom: 20px; right: 24px; }
    .qtly-letter-seal-text { font-size: 14px; }
    .qtly-letter-signature { font-size: 34px; }
    .qtly-letter-footer-line { font-size: 14px; }
}

/* =============================================================================
   12. PRICING
   ============================================================================= */
.qtly-pricing {
    background: linear-gradient(135deg, #0a1929 0%, #001429 100%);
    padding: 100px 40px;
    position: relative;
}
.qtly-pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; max-width: 1100px; margin: 0 auto 40px;
    align-items: stretch;
}
.qtly-pricing-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease;
    position: relative;
}
/* No hover state on the cards. The white wash it used to apply also sat on top
   of the featured card's gradient and dulled it. */
.qtly-pricing-card-featured {
    /* Transparent border so this card has the same box geometry as the plain
       ones. Without it the featured card is 2px taller inside and its button
       drops off the line the other two share. */
    border: 1px solid transparent;
    background: linear-gradient(150deg, #1477FF, #0066FF 45%, #0043A8);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.28);
}


.qtly-pricing-popular {
    background: #ffffff;
    color: #0047B3;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.qtly-pricing-name {
    font-size: 13px;
    font-weight: 700;
    color: #3B8BFF;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.qtly-pricing-price {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}
.qtly-pricing-price span {
    font-size: 16px; font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0;
}
.qtly-pricing-period {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.40);
    min-height: 20px;
    margin-bottom: 24px;
}
.qtly-pricing-list {
    list-style: none;
    padding: 22px 0 0;
    margin: 0 0 26px;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex: 1 0 auto;
}
.qtly-pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 0;
    margin-bottom: 13px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.5;
    border-bottom: 0;
}
.qtly-pricing-list li:last-child { border-bottom: none; }
.qtly-pricing-list svg {
    width: 17px;
    height: 17px;
    color: #3FBF7F;
    flex-shrink: 0;
    margin-top: 2px;
}

.qtly-pricing-btn {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 15px 20px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.qtly-pricing-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.38);
}
.qtly-pricing-card-featured .qtly-pricing-btn {
    background: #ffffff;
    border-color: #ffffff;
    color: #0047B3;
    box-shadow: none;
}


.qtly-pricing-info {
    max-width: 800px; margin: 0 auto;
    padding: 28px 36px;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 16px;
    text-align: center;
}
.qtly-pricing-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px; line-height: 1.6;
    margin: 0 0 10px;
}
.qtly-pricing-info p:last-child { margin-bottom: 0; }
.qtly-pricing-info strong { color: #ffffff; font-weight: 700; }
.qtly-pricing-info a {
    color: #ffffff; font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* =============================================================================
   13. FAQ - extends existing .faq from main.css
   ============================================================================= */
/* =============================================================================
   13. FAQ - LIGHT TREATMENT
   ============================================================================= */
.qtly-faq.qtly-faq-light {
    background: #ffffff;
    padding: 100px 40px;
    position: relative;
}
.qtly-faq.qtly-faq-light::before {
    /* Kill the dark-mode radial-blue glow inherited from main.css .faq::before */
    background: none !important;
}

.qtly-faq.qtly-faq-light .section-label {
    display: inline-block;
    padding: 7px 22px;
    background: rgba(0,102,255,0.08);
    border: 1px solid rgba(0,102,255,0.18);
    color: #0066FF;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.qtly-faq.qtly-faq-light .section-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    /* Override the white→blue gradient inherited from main.css */
    background: none;
    -webkit-text-fill-color: #2a2419;
    color: #2a2419;
}
.qtly-faq.qtly-faq-light .qtly-faq-title-accent {
    display: inline-block;
    background: linear-gradient(90deg, #0066FF, #00A3FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.qtly-faq.qtly-faq-light .section-description {
    color: #6b5e44;
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tabs */
.qtly-faq.qtly-faq-light .faq-tab-btn {
    background: rgba(0,102,255,0.05);
    border: 1px solid rgba(0,102,255,0.15);
    color: #5a4530;
    font-weight: 600;
}
.qtly-faq.qtly-faq-light .faq-tab-btn:hover {
    background: rgba(0,102,255,0.1);
    border-color: rgba(0,102,255,0.3);
    color: #0066FF;
}
.qtly-faq.qtly-faq-light .faq-tab-btn.active {
    background: linear-gradient(135deg, #0066FF, #0052CC);
    border-color: #0066FF;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0,102,255,0.25);
}

/* FAQ items - hairline list, not boxes */
.qtly-faq.qtly-faq-light .faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(120, 90, 40, 0.18);
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
.qtly-faq.qtly-faq-light .faq-item:first-of-type {
    border-top: 1px solid rgba(120, 90, 40, 0.18);
}

.qtly-faq.qtly-faq-light .faq-question {
    padding: 24px 4px;
    color: #2a2419;
    font-size: 17px;
    font-weight: 600;
    background: transparent;
    transition: color 0.2s ease;
}
.qtly-faq.qtly-faq-light .faq-item:hover .faq-question {
    color: #0066FF;
}
.qtly-faq.qtly-faq-light .faq-item.active-item {
    border-color: rgba(0,102,255,0.3);
}
.qtly-faq.qtly-faq-light .faq-item.active-item .faq-question {
    color: #0066FF;
}

.qtly-faq.qtly-faq-light .faq-toggle {
    color: #b08d57;
    font-size: 14px;
    transition: transform 0.3s ease, color 0.2s ease;
}
.qtly-faq.qtly-faq-light .faq-item.active-item .faq-toggle {
    color: #0066FF;
    transform: rotate(180deg);
}

.qtly-faq.qtly-faq-light .faq-answer-content {
    color: #5a4530;
    font-size: 15px;
    line-height: 1.7;
    padding: 0 4px 26px;
}

@media (max-width: 768px) {
    .qtly-faq.qtly-faq-light { padding: 60px 20px; }
    .qtly-faq.qtly-faq-light .section-title { font-size: 32px; }
    .qtly-faq.qtly-faq-light .section-description { font-size: 14px; }
    .qtly-faq.qtly-faq-light .faq-question { font-size: 15px; padding: 20px 4px; }
}

/* =============================================================================
   14. FINAL CTA
   ============================================================================= */
/* =============================================================================
   14. FINAL CTA - matches the brand CTA style used on other plugin pages
   ============================================================================= */
.qtly-final-cta {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%) !important;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}
.qtly-final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
}
.qtly-final-cta .final-cta-container {
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.qtly-final-cta .cta-content h2 {
    font-size: 52px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
    background: none;
    -webkit-text-fill-color: #ffffff;
}
.qtly-final-cta .cta-content p {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}
.qtly-final-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Primary: solid white pill, blue text - matches brand */
.qtly-final-cta .btn-primary,
.qtly-final-cta a.btn-primary {
    background: #ffffff !important;
    color: #0066FF !important;
    padding: 16px 40px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}
.qtly-final-cta .btn-primary:hover,
.qtly-final-cta a.btn-primary:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3) !important;
    background: #ffffff !important;
    color: #0066FF !important;
}

/* Secondary: translucent white outline pill - matches brand */
.qtly-final-cta .btn-secondary-dark,
.qtly-final-cta a.btn-secondary-dark {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.qtly-final-cta .btn-secondary-dark:hover,
.qtly-final-cta a.btn-secondary-dark:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* SEO nav pills (Contact Support / About Us / All Plugins) */
.qtly-final-cta .seo-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.qtly-final-cta .seo-tag svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.85);
}
.qtly-final-cta .seo-tag:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}
.qtly-final-cta .seo-tag:hover svg { color: #ffffff; }

@media (max-width: 768px) {
    .qtly-final-cta { padding: 80px 30px; }
    .qtly-final-cta .cta-content h2 { font-size: 36px; }
    .qtly-final-cta .cta-content p { font-size: 18px; }
    .qtly-final-cta .cta-buttons { flex-direction: column; align-items: stretch; }
    .qtly-final-cta .btn-primary,
    .qtly-final-cta .btn-secondary-dark {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .qtly-final-cta .cta-content h2 { font-size: 28px; }
    .qtly-final-cta .cta-content p { font-size: 16px; }
}

/* =============================================================================
   SCROLL REVEAL - controlled by quotly.js IntersectionObserver
   ============================================================================= */
.qtly-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.qtly-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
    .qtly-reveal,
    .qtly-reveal.visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Hero mockup status text fade - used by quotly.js status rotation */
.qtly-mockup-status span {
    transition: opacity 0.3s ease;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1100px) {
    .qtly-hero h1 { font-size: 48px; }
    .qtly-section-title-dark { font-size: 44px; }
    .qtly-seo-title { font-size: 38px; }
    .qtly-hero-inner { gap: 40px; }
    .qtly-itb-grid { grid-template-columns: repeat(2, 1fr); }
    .qtly-features-groups { grid-template-columns: 1fr; }
    .qtly-integrations-logos { grid-template-columns: repeat(4, 1fr); }
    .qtly-workflow-track {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 20px;
    }
    .qtly-workflow-track::before { display: none; }
    .qtly-admin-edit-grid { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 900px) {
    .qtly-hero { padding: 100px 20px 60px; }
    .qtly-hero-inner { grid-template-columns: 1fr; }
    .qtly-hero h1 { font-size: 40px; }
    .qtly-hero-content { padding-top: 0; }
    .qtly-section-title-dark { font-size: 36px; }
    .qtly-seo-title { font-size: 32px; }
    .qtly-seo-grid { grid-template-columns: 1fr; }
    .qtly-admin-row,
    .qtly-admin-row-flip { grid-template-columns: 1fr; gap: 40px; }
    .qtly-admin-row-flip .qtly-admin-mock-wrap { order: 0; }
    .qtly-admin-edit-grid { grid-template-columns: 1fr; }
    .qtly-admin-kpis { grid-template-columns: 1fr 1fr; }
    .qtly-pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .qtly-pricing-card-featured { transform: none; }

    .qtly-workflow-track { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
    .qtly-integrations-logos { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
    .qtly-container { padding: 0 20px; }
    .qtly-hero h1 { font-size: 32px; }
    .qtly-section-title-dark { font-size: 28px; }
    .qtly-seo-title { font-size: 26px; }
    .qtly-itb-grid,
    .qtly-workflow-track,
    .qtly-integrations-logos { grid-template-columns: repeat(2, 1fr); }
    .qtly-features-group-head { flex-wrap: wrap; }
    .qtly-features-group-head em { width: 100%; margin-left: 44px; }
    .qtly-workflow-map { padding: 32px 20px; }
    .qtly-problem-row {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 20px;
    }
    .qtly-problem-num-block {
        flex-direction: row;
        gap: 12px;
        padding: 12px 18px;
    }
    .qtly-problem-num-val { font-size: 32px; }
    .qtly-pricing-price { font-size: 44px; }
    .qtly-hero-stats { gap: 20px; }
    .qtly-stat-num { font-size: 22px; }
    .qtly-mockup-form-row { grid-template-columns: 1fr; }
    .qtly-admin-edit-grid { grid-template-columns: 1fr; }
    .qtly-admin-kpis { grid-template-columns: 1fr; }
    .qtly-admin-mock-content { padding: 16px 18px; }
    .qtly-admin-mock-topbar { flex-wrap: wrap; }
    .qtly-admin-mock-search { display: none; }
    .qtly-admin-text h3 { font-size: 26px; }
    .qtly-gotcha-board {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px 24px;
    }
    .qtly-gotcha-doc,
    .qtly-gotcha-doc-quotly {
        transform: none;
    }
    .qtly-gotcha-doc:hover,
    .qtly-gotcha-doc-quotly:hover {
        transform: translateY(-2px);
    }
    .qtly-gotcha-line {
        flex-wrap: wrap;
        gap: 6px;
    }
    .qtly-pricing-card { padding: 32px 24px; }
}
/* ------------------------------------------------------------------
   Pricing: yearly / lifetime toggle
   Matches the pricing cards: translucent white on dark, blue accent.
   ------------------------------------------------------------------ */

/* The plan name and its badge share one row, so the badge no longer straddles
   the card's top edge. */
.qtly-pricing-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 26px;
    margin-bottom: 20px;
}

.qtly-pricing-sites {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.qtly-pricing-card-featured .qtly-pricing-name {
    color: rgba(255, 255, 255, 0.85);
}

.qtly-pricing-card-featured .qtly-pricing-period {
    color: rgba(255, 255, 255, 0.78);
}

.qtly-pricing-card-featured .qtly-pricing-list {
    border-top-color: rgba(255, 255, 255, 0.22);
}

.qtly-pricing-card-featured .qtly-pricing-list li {
    color: rgba(255, 255, 255, 0.95);
}

.qtly-pricing-card-featured .qtly-pricing-list svg {
    color: #8FF0BE;
}

.qtly-pricing-card-featured .qtly-pricing-btn:hover {
    background: #EAF1FF;
    border-color: #EAF1FF;
}

/* Both the amount and the suffix are spans, so the older
   ".qtly-pricing-price span" rule was shrinking the big number to 16px too.
   These use two classes so they outrank it (0,2,0 beats 0,1,1). */
.qtly-pricing-price .qtly-price-amount {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
}


.qtly-price-toggle {
    display: inline-flex;
    gap: 4px;
    margin: 28px auto 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
}

.qtly-price-toggle-btn {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    padding: 10px 24px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #e2e8f0;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.qtly-price-toggle-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.qtly-price-toggle-btn.is-active {
    background: #0066FF;
    color: #ffffff;
}

.qtly-price-toggle-note {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.75;
}

.qtly-pricing-price .qtly-price-suffix {
    font-size: 17px;
    font-weight: 500;
    opacity: 0.65;
}

@media (max-width: 480px) {
    .qtly-price-toggle { width: 100%; }
    .qtly-price-toggle-btn { flex: 1; justify-content: center; padding: 10px 12px; }
}
