/* =========================================================================
 * Griffin-Unlocker Pro — Glassmorphism layer
 *
 * Loaded AFTER modern-styles.css. Adds Pro design tokens, glass surfaces,
 * neon-cyan accents (used only for focus / status / chips, never CTAs),
 * and runtime-pricing card styles. Both light and dark themes are
 * supported via [data-theme="dark"] AND body.dark-theme so existing
 * theme-switcher toggles keep working.
 * ========================================================================= */

:root {
    /* Brand — keep aliases for legacy CSS that still references --primary-color */
    --primary-color: #f89c2d;
    --primary-dark: #e36b1c;
    --secondary-color: #e36b1c;
    --ember: #c95116;
    --gold: #ffb755;

    /* Surfaces (light theme defaults) */
    --bg-color: #f7f8fb;
    --panel-color: #ffffff;
    --line: rgba(15, 18, 32, 0.08);
    --text-color: #111827;
    --muted-text: #4b5563;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(15, 18, 32, 0.12);
    --glass-blur: 8px;
    --glass-shadow: 0 14px 40px rgba(15, 18, 32, 0.08);

    /* Cyan accent (NEVER on CTAs) - light theme contrast tuned (WCAG AA) */
    --accent-neon: #0284c7;
    --accent-neon-dim: #0369a1;
    --accent-glow: rgba(2, 132, 199, 0.35);

    /* Status */
    --ok: #16a34a;
    --warn: #d97706;
    --bad: #dc2626;
}

/* Dark theme tokens — both selectors are accepted */
body.dark-theme,
[data-theme="dark"] body,
[data-theme="dark"] {
    --bg-color: #0b0e17;
    --panel-color: #11151f;
    --line: rgba(255, 255, 255, 0.08);
    --muted-text: #c9c9c9;

    --glass-bg: rgba(20, 22, 32, 0.55);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);

    --accent-neon: #22d3ee;
    --accent-neon-dim: #0ea5b7;
    --accent-glow: rgba(34, 211, 238, 0.55);
}

/* =========================================================================
 * Reusable glass surfaces
 * ========================================================================= */
.pro-glass,
.glass-card,
.pricing-runtime>.col-lg-4>.card,
.pricing-runtime>.col-lg-3>.card,
.pricing-runtime>.plan-card-col>.card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    contain: layout style;
    transform: translateZ(0);
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow);
    border-radius: 18px !important;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.pro-glass:hover,
.glass-card:hover,
.pricing-runtime>.plan-card-col>.card:hover,
.pricing-runtime>.col-lg-4>.card:hover,
.pricing-runtime>.col-lg-3>.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 60px rgba(248, 156, 45, 0.18), var(--glass-shadow);
    border-color: rgba(248, 156, 45, 0.45) !important;
}

/* =========================================================================
 * Runtime pricing — .pricing-runtime markup is built by pricing.js
 * ========================================================================= */
.pricing-runtime {
    position: relative;
    padding-top: 24px;
}

.pricing-runtime[aria-busy="true"] .pricing-skeleton {
    display: block;
}

.pricing-runtime.is-ready .pricing-skeleton {
    display: none;
}

.pricing-runtime .plan-card-col {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.pricing-runtime .card {
    position: relative !important;
    overflow: visible !important;
    border-radius: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(24, 28, 42, 0.85) 0%, rgba(15, 18, 28, 0.92) 100%) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    contain: layout style;
    transform: translateZ(0);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s ease !important;
}

.pricing-runtime .card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 22px 55px rgba(248, 156, 45, 0.24), 0 10px 30px rgba(0, 0, 0, 0.40) !important;
    border-color: rgba(248, 156, 45, 0.55) !important;
}

/* Popular Card (Hero card in center) */
.pricing-runtime .card.popular {
    background: linear-gradient(180deg, rgba(30, 32, 48, 0.94) 0%, rgba(20, 22, 34, 0.96) 100%) !important;
    border: 2px solid rgba(248, 156, 45, 0.88) !important;
    box-shadow: 0 20px 60px rgba(248, 156, 45, 0.28), 0 0 25px rgba(248, 156, 45, 0.16) !important;
}

@media (min-width: 992px) {
    .pricing-runtime .card.popular {
        transform: scale(1.035);
        z-index: 3;
    }
    .pricing-runtime .card.popular:hover {
        transform: scale(1.05) translateY(-8px) !important;
    }
}

/* Floating Top Badges — 100% Direction Agnostic (LTR & RTL Perfect) */
.pricing-runtime .popular-badge-wrap,
.pricing-runtime .plan-badge-wrap {
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.pricing-runtime .popular-flag {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 45%, #f89c2d 100%);
    color: #ffffff !important;
    font-size: 0.80rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 6px 20px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 24px rgba(255, 65, 108, 0.48), 0 2px 8px rgba(248, 156, 45, 0.40);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    animation: popularPulse 2.8s ease-in-out infinite;
}

.pricing-runtime .plan-tag-starter {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff !important;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    padding: 5px 16px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    white-space: nowrap;
}

.pricing-runtime .plan-tag-best {
    background: linear-gradient(135deg, #10b981 0%, #059669 45%, #f59e0b 100%);
    color: #ffffff !important;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    padding: 5px 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    white-space: nowrap;
}

@keyframes popularPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(255, 65, 108, 0.48), 0 2px 8px rgba(248, 156, 45, 0.40);
    }
    50% {
        box-shadow: 0 12px 32px rgba(255, 65, 108, 0.70), 0 4px 14px rgba(248, 156, 45, 0.60);
    }
}

/* Card Header */
.pricing-runtime .card-header {
    background: linear-gradient(135deg, rgba(248, 156, 45, 0.16) 0%, rgba(227, 107, 28, 0.08) 100%) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(248, 156, 45, 0.18) !important;
    border-radius: 22px 22px 0 0 !important;
    padding: 26px 20px 16px !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: inherit !important;
}

.pricing-runtime .card.popular .card-header {
    background: linear-gradient(135deg, rgba(248, 156, 45, 0.26) 0%, rgba(255, 75, 43, 0.16) 100%) !important;
    border-bottom: 1px solid rgba(248, 156, 45, 0.35) !important;
    padding-top: 30px !important;
}

.pricing-runtime .plan-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-runtime .plan-title-text {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-color, #ffffff);
    letter-spacing: -0.2px;
}

.pricing-runtime .plan-duration-badge {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--primary-color, #f89c2d);
    background: rgba(248, 156, 45, 0.12);
    border: 1px solid rgba(248, 156, 45, 0.28);
    padding: 3px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Card Body */
.pricing-runtime .card-body {
    padding: 24px 22px 22px !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* Price Box */
.pricing-runtime .plan-price-card-box {
    padding: 16px 12px;
    margin-bottom: 20px;
    background: rgba(248, 156, 45, 0.05);
    border: 1px dashed rgba(248, 156, 45, 0.25);
    border-radius: 18px;
    text-align: center;
}

.pricing-runtime .plan-price-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.pricing-runtime .plan-old-price-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pricing-runtime .plan-old-price {
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 2px;
    font-weight: 800;
    font-size: 1.15rem;
    color: #94a3b8;
}

.pricing-runtime .plan-save-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff !important;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    line-height: 1.2;
}

.pricing-runtime .plan-hero-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    line-height: 1;
    margin: 8px 0;
}

.pricing-runtime .plan-currency {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color, #f89c2d);
}

.pricing-runtime .plan-amount {
    font-size: clamp(2.8rem, 4.5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #f89c2d 0%, #ff6b1c 60%, #ff3d00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pricing-runtime .plan-period {
    font-size: 0.95rem;
    font-weight: 700;
    color: #94a3b8;
    margin-inline-start: 4px;
}

.pricing-runtime .plan-save-note {
    font-size: 0.80rem;
    font-weight: 700;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
}

/* Features List (Buy.html full mode) */
.pricing-runtime .plan-feat-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.pricing-runtime .plan-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-color, #e2e8f0);
    transition: background 0.2s ease, transform 0.2s ease;
}

.pricing-runtime .plan-feat-item:hover {
    background: rgba(248, 156, 45, 0.12);
    transform: translateX(4px);
}

[dir="rtl"] .pricing-runtime .plan-feat-item:hover {
    transform: translateX(-4px);
}

.pricing-runtime .feat-icon-bubble {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(248, 156, 45, 0.20), rgba(227, 107, 28, 0.15));
    color: var(--primary-color, #f89c2d);
    font-size: 0.85rem;
    flex-shrink: 0;
    border: 1px solid rgba(248, 156, 45, 0.35);
}

.pricing-runtime .feat-text {
    flex-grow: 1;
    line-height: 1.4;
}

/* Compact perks (index.html compact mode) */
.pricing-runtime .plan-compact-perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
    padding: 0 4px;
    flex-grow: 1;
}

.pricing-runtime .compact-perk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-color, #cbd5e1);
    text-align: start;
}

.pricing-runtime .compact-perk-item i {
    color: var(--primary-color, #f89c2d);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* CTA Buy Button */
.pricing-runtime .plan-cta-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f89c2d 0%, #e36b1c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(248, 156, 45, 0.40);
    border: 0 !important;
    transition: all 0.25s ease;
    text-decoration: none;
    margin-top: auto;
}

.pricing-runtime .card.popular .plan-cta-btn {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 45%, #f89c2d 100%) !important;
    box-shadow: 0 12px 30px rgba(255, 75, 43, 0.45);
}

.pricing-runtime .plan-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 36px rgba(248, 156, 45, 0.55);
    filter: brightness(1.06);
}

.pricing-runtime .plan-cta-btn .plan-btn-icon {
    transition: transform 0.25s ease;
}

.pricing-runtime .plan-cta-btn:hover .plan-btn-icon {
    transform: translateX(5px);
}

[dir="rtl"] .pricing-runtime .plan-cta-btn .plan-btn-icon {
    transform: scaleX(-1);
}

[dir="rtl"] .pricing-runtime .plan-cta-btn:hover .plan-btn-icon {
    transform: scaleX(-1) translateX(-5px);
}

/* =========================================================================
 * Light Theme Support for Pricing Cards
 * ========================================================================= */
body:not(.dark-theme) .pricing-runtime .card,
html:not([data-theme="dark"]) .pricing-runtime .card {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

body:not(.dark-theme) .pricing-runtime .card:hover,
html:not([data-theme="dark"]) .pricing-runtime .card:hover {
    box-shadow: 0 20px 45px rgba(248, 156, 45, 0.20), 0 8px 25px rgba(15, 23, 42, 0.10) !important;
    border-color: rgba(248, 156, 45, 0.60) !important;
}

body:not(.dark-theme) .pricing-runtime .card.popular,
html:not([data-theme="dark"]) .pricing-runtime .card.popular {
    background: #ffffff !important;
    border: 2px solid rgba(248, 156, 45, 0.95) !important;
    box-shadow: 0 18px 50px rgba(248, 156, 45, 0.22) !important;
}

body:not(.dark-theme) .pricing-runtime .plan-title-text,
html:not([data-theme="dark"]) .pricing-runtime .plan-title-text {
    color: #0f172a !important;
}

body:not(.dark-theme) .pricing-runtime .plan-feat-item,
html:not([data-theme="dark"]) .pricing-runtime .plan-feat-item {
    background: rgba(248, 156, 45, 0.04) !important;
    border-color: rgba(226, 232, 240, 0.85) !important;
    color: #1e293b !important;
}

body:not(.dark-theme) .pricing-runtime .compact-perk-item,
html:not([data-theme="dark"]) .pricing-runtime .compact-perk-item {
    color: #334155 !important;
}

body:not(.dark-theme) .pricing-runtime .plan-period,
html:not([data-theme="dark"]) .pricing-runtime .plan-period {
    color: #64748b !important;
}

body:not(.dark-theme) .pricing-runtime .plan-old-price,
html:not([data-theme="dark"]) .pricing-runtime .plan-old-price {
    color: #94a3b8 !important;
}

/* Pricing skeleton (visible while waiting for plans_public) */
.pricing-runtime .pricing-skeleton {
    width: 100%;
    color: var(--muted-text);
    background: var(--glass-bg);
    border: 1px dashed var(--glass-border);
    border-radius: 18px;
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
}

.pricing-disclaimer {
    color: var(--muted-text);
    font-size: .9rem;
    font-weight: 500;
}

/* =========================================================================
 * Resellers — runtime-rendered list (when wired up)
 * ========================================================================= */
.reseller-runtime .reseller-card,
.reseller-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    contain: layout style;
    transform: translateZ(0);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 24px 20px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.reseller-runtime .reseller-card:hover,
.reseller-card:hover {
    transform: translateY(-4px);
    border-color: rgba(248, 156, 45, 0.40);
    box-shadow: 0 22px 50px rgba(248, 156, 45, 0.16), var(--glass-shadow);
}

.reseller-runtime .reseller-card img,
.reseller-card img {
    border-radius: 12px;
    object-fit: cover;
    max-width: 110px;
    max-height: 110px;
}

.reseller-runtime .featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.reseller-runtime .social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 14px 0 12px;
    flex-wrap: wrap;
}

.reseller-runtime .social-links a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-text);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.reseller-runtime .social-links a:hover {
    color: var(--accent-neon);
    border-color: var(--accent-neon);
    background: rgba(34, 211, 238, 0.08);
}

/* =========================================================================
 * Cyan accents for focus, online dots, chips, links underline
 * ========================================================================= */
:focus-visible,
.btn:focus-visible,
.form-control:focus,
.matrix-search.form-control:focus,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-neon) !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--accent-glow) !important;
}

a.pro-link {
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 100% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: color .2s ease, background-size .2s ease;
}

a.pro-link:hover {
    color: var(--accent-neon-dim);
    background-size: 100% 2px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
    margin-right: 6px;
}

.status-dot.online {
    background: var(--accent-neon);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.status-dot.warn {
    background: var(--warn);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.status-dot.bad {
    background: var(--bad);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    background: rgba(34, 211, 238, 0.10);
    color: var(--accent-neon-dim);
    border: 1px solid rgba(34, 211, 238, 0.28);
}

/* =========================================================================
 * Hero section subtle improvements (no override of layout, just polish)
 * ========================================================================= */
.hero-section {
    position: relative;
    isolation: isolate;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(60% 40% at 80% 20%, rgba(248, 156, 45, 0.18), transparent 60%),
        radial-gradient(40% 35% at 15% 85%, rgba(34, 211, 238, 0.12), transparent 65%);
    z-index: 0;
}

.hero-section>.container {
    position: relative;
    z-index: 1;
}

.hero-section .btn-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 12px 30px rgba(248, 156, 45, 0.35);
}

.hero-section .btn-outline-light {
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background .2s ease, border-color .2s ease;
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff !important;
    color: #fff !important;
}

/* =========================================================================
 * Header shell on scroll — lightweight glass strip
 * ========================================================================= */
.header-modern {
    background: var(--glass-bg) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 6px 20px rgba(15, 18, 32, 0.06);
}

body.dark-theme .header-modern,
[data-theme="dark"] .header-modern {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.40);
}

/* Tag the 5 language flags + theme button so they stay legible on glass */
.header-modern .nav-link,
.header-modern .navbar-brand {
    position: relative;
}

/* Dropdown menu = mini glass card */
.language-switcher .dropdown-menu {
    background: var(--glass-bg) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    padding: 6px;
}

/* =========================================================================
 * RTL niceties (Arabic) — popular chip uses logical inset-inline-end so it
 * mirrors automatically. Only the feature list keeps an explicit flip.
 * ========================================================================= */
html[dir="rtl"] .pricing-runtime .list-group-item {
    flex-direction: row-reverse;
}

/* =========================================================================
 * Reduced motion
 * ========================================================================= */
@media (prefers-reduced-motion: reduce) {

    .pricing-runtime>.plan-card-col>.card,
    .pricing-runtime>.col-lg-4>.card,
    .pricing-runtime>.col-lg-3>.card,
    .reseller-runtime .reseller-card,
    .reseller-card,
    .pro-glass {
        transition: none !important;
    }

    .pricing-runtime .card.popular {
        transform: none;
    }
}

/* =========================================================================
 * GLOBAL THEME LAYER (Light + Dark parity)
 * Applied to every public page that loads pro-glass.css. Works whether the
 * theme is signaled by [data-theme="dark"] on <html>, .dark-theme on <body>,
 * or .dark-theme on <html>. No layout reflows on theme change.
 * ========================================================================= */

/* Light-mode token re-affirmation (already in :root above, kept here as a
   guard so the explicit [data-theme="light"] selector can override anything
   that defaulted via cascade). */
[data-theme="light"],
html.light-theme,
body.light-theme {
    --bg-color: #f4f6fb;
    --bg-elev: #ffffff;
    --panel-color: #ffffff;
    --line: rgba(15, 18, 32, 0.10);
    --muted-text: #5b6577;
    --heading-color: #14172b;
    --text-color: #2a2f3d;
    --card-border: rgba(15, 18, 32, 0.08);
    --muted-bg: #f0f2f7;

    --glass-bg: rgba(255, 255, 255, 0.66);
    --glass-border: rgba(15, 18, 32, 0.10);
    --glass-shadow: 0 14px 40px rgba(15, 18, 32, 0.08);

    --footer-bg: #0e1018;
    --footer-text: rgba(255, 255, 255, 0.78);
}

/* Dark-mode token re-affirmation (and bridge into modern-styles.css legacy
   variables like --card-border, --muted-bg, --text-color so its rules use
   the same palette as the new pro-glass surfaces). */
[data-theme="dark"],
html.dark-theme,
body.dark-theme {
    --bg-color: #0b0e17;
    --bg-elev: #131826;
    --panel-color: #11151f;
    --line: rgba(255, 255, 255, 0.08);
    --muted-text: #c9c9c9;
    --heading-color: #f4f5fb;
    --text-color: #e7e9f0;
    --card-border: rgba(255, 255, 255, 0.08);
    --muted-bg: #161a26;

    --glass-bg: rgba(20, 22, 32, 0.55);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);

    --accent-glow: rgba(34, 211, 238, 0.55);

    --footer-bg: #07080d;
    --footer-text: rgba(255, 255, 255, 0.78);
}

/* Smooth theme transition on body-level surfaces. Excluded from individual
   transitions to avoid jank — only applied to the few global wrappers. */
html {
    color-scheme: light dark;
}

html,
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color .35s ease, color .35s ease;
}

.section,
main,
footer,
.footer,
.header-modern,
.navbar,
.feature-box,
.pricing-table .card,
.reseller-card,
.download-card,
.visiting-card-container,
.modal-content,
.dropdown-menu,
.alert {
    transition: background-color .35s ease, border-color .35s ease,
        color .35s ease, box-shadow .35s ease;
}

/* Section spacing baseline */
.section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }
}

/* Headings adopt token color in both themes */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
}

/* Generic glass card upgrade (modern-styles.css feature-box, download-card) */
.feature-box,
.download-card,
.visiting-card-container {
    background: var(--glass-bg) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border) !important;
    border-radius: 18px !important;
    box-shadow: var(--glass-shadow) !important;
    color: var(--text-color);
}

.feature-box h3,
.feature-box h4,
.download-card h2,
.download-card h3,
.visiting-card-container h2 {
    color: var(--heading-color);
}

.feature-box:hover {
    transform: translateY(-4px);
    border-color: rgba(248, 156, 45, 0.45) !important;
    box-shadow: 0 22px 60px rgba(248, 156, 45, 0.18), var(--glass-shadow) !important;
}

/* Theme switcher button — visible on both themes, never blue */
#theme-switcher-btn,
[data-theme-toggle] {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    margin-left: 8px;
    padding: 0;
}

#theme-switcher-btn:hover,
[data-theme-toggle]:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: rotate(-12deg) scale(1.05);
    background: rgba(248, 156, 45, 0.08);
}

#theme-switcher-btn i,
[data-theme-toggle] i {
    font-size: 16px;
    line-height: 1;
}

/* Light-mode header is a soft glass shell (not a solid white) */
[data-theme="light"] .header-modern {
    background: rgba(255, 255, 255, 0.72) !important;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 6px 20px rgba(15, 18, 32, 0.06);
}

[data-theme="light"] .header-modern .nav-link {
    color: var(--heading-color) !important;
    font-weight: 500;
}

[data-theme="light"] .header-modern .nav-link.active,
[data-theme="light"] .header-modern .nav-link:hover {
    color: var(--primary-dark) !important;
}

/* Dropdown menu in both themes */
.dropdown-menu {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    color: var(--text-color);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    padding: 6px;
}

.dropdown-item {
    color: var(--text-color) !important;
    border-radius: 8px;
    transition: background .15s ease, color .15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(248, 156, 45, 0.10) !important;
    color: var(--primary-dark) !important;
}

/* Buttons — primary CTA is always Fire Dragon orange, both themes */
.btn-gradient,
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 12px 26px;
    font-weight: 700 !important;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(248, 156, 45, 0.28);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.btn-gradient:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(248, 156, 45, 0.42);
    filter: brightness(1.05);
    color: #fff !important;
}

.btn-gradient:focus-visible,
.btn-primary:focus-visible {
    outline: 2px solid var(--accent-neon);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* Secondary / ghost buttons */
.btn-outline-primary,
.btn-secondary {
    background: transparent !important;
    border: 1.5px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    border-radius: 999px;
    padding: 11px 24px;
    font-weight: 600 !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.btn-outline-primary:hover,
.btn-secondary:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Forms — readable in both themes, Fire Dragon focus */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
    background: var(--panel-color);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-control:focus,
.form-select:focus,
textarea:focus,
select:focus,
input:focus {
    background: var(--panel-color);
    color: var(--text-color);
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(248, 156, 45, 0.18) !important;
    outline: none;
}

.form-control::placeholder {
    color: var(--muted-text);
    opacity: .8;
}

/* Alerts — themed surfaces, no Bootstrap default blue/green */
.alert {
    background: var(--panel-color);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
}

.alert-info {
    border-left-color: var(--accent-neon);
}

.alert-success {
    border-left-color: var(--ok);
}

.alert-warning {
    border-left-color: var(--warn);
}

.alert-danger {
    border-left-color: var(--bad);
}

/* Cards (Bootstrap fallback when not glass-modified) */
.card:not(.popular):not(.no-glass) {
    background: var(--panel-color);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: var(--glass-shadow);
}

/* Footer in both themes — dark band keeps brand consistency */
footer.footer,
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

footer.footer h5,
.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: .3px;
}

footer.footer a,
.footer a {
    color: rgba(255, 255, 255, 0.72);
    transition: color .2s ease;
}

footer.footer a:hover,
.footer a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

/* Hero section — keep banner image but layer brand glow */
.hero-section {
    background: linear-gradient(135deg, rgba(11, 14, 23, 0.92), rgba(20, 23, 43, 0.92)),
        url('https://griffin-unlocker.com/img/banner.png') center/cover no-repeat;
    color: #fff;
    padding: 120px 0;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

/* Hero-pro: layer the original Pro poster behind a brand-tinted scrim */
.hero-section.hero-pro {
    background:
        linear-gradient(135deg, rgba(11, 14, 23, 0.62), rgba(20, 23, 43, 0.55)),
        url('Image/Griffin-Unlocker_Poster.jpg') center/cover no-repeat;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-section.hero-pro h1 {
    font-size: clamp(2rem, 4.5vw, 4rem);
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}

.hero-section.hero-pro p {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

/* "What's new" peek cards on index */
.home-whatsnew .whatsnew-card {
    color: var(--text-color);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    height: 100%;
}

.home-whatsnew .whatsnew-card:hover {
    transform: translateY(-4px);
    border-color: rgba(248, 156, 45, 0.45);
    box-shadow: 0 18px 40px rgba(248, 156, 45, 0.16);
    color: var(--text-color);
}

.home-whatsnew .whatsnew-card h5 {
    color: var(--heading-color);
}

.hero-section h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    max-width: 720px;
    margin: 0 auto 28px;
}

/* Reusable section heading style */
.section-title,
.text-center>h2 {
    font-weight: 800;
    letter-spacing: .3px;
    margin-bottom: .35em;
}

.section-subtitle {
    color: var(--muted-text);
    max-width: 720px;
    margin: 0 auto 2rem;
}

/* Tables — admin-leaning but useful on Reseller / models too */
.table {
    color: var(--text-color);
    border-color: var(--glass-border);
}

.table thead th {
    background: var(--muted-bg);
    color: var(--heading-color);
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .6px;
}

.table tbody tr {
    transition: background .15s ease;
}

.table tbody tr:hover {
    background: rgba(248, 156, 45, 0.06);
}

/* Loading overlay on both themes */
.loading-overlay {
    background: var(--bg-color);
}

.loading-overlay .spinner {
    border-color: var(--glass-border);
    border-top-color: var(--primary-color);
}

.loader-text {
    color: var(--muted-text);
}

/* Dark-mode polish for legacy modern-styles.css feature-box hover state
   so cyan stays a focus accent and ember orange stays the brand glow. */
[data-theme="dark"] .feature-box:hover {
    background: linear-gradient(145deg, #20212a, #15161c) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 25px rgba(248, 156, 45, 0.45) !important;
}

/* Light-mode body-text override on hero-only sections to keep contrast */
[data-theme="light"] .hero-section,
[data-theme="light"] .hero-section h1,
[data-theme="light"] .hero-section p {
    color: #fff;
}

/* Section bg in light mode = bg-color so it never clashes with white panels */
[data-theme="light"] .section {
    background: var(--bg-color);
}

[data-theme="dark"] .section {
    background: var(--bg-color);
}

/* =========================================================================
 * Mobile nav — bulletproof collapsed dropdown
 * Bootstrap 5 by default lets `.navbar-collapse` take the FULL row width which,
 * combined with negative .container gutters and .ms-auto on the inner <ul>,
 * pushes nav-links off-screen on phones (< 992px). The block below pins the
 * collapsed panel inside the viewport, gives it readable padding, and makes
 * link items full-width with proper alignment in BOTH LTR and RTL.
 * ========================================================================= */
.navbar-collapse {
    background: transparent;
}

@media (max-width: 991.98px) {
    .header-modern .navbar-collapse {
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        max-width: calc(100vw - 24px);
        margin: 0;
        padding: 14px 16px;
        border-radius: 14px;
        box-shadow: 0 18px 50px rgba(15, 18, 32, 0.18),
            0 0 0 1px var(--glass-border);
        z-index: 60;
    }

    [data-theme="light"] .header-modern .navbar-collapse {
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    [data-theme="dark"] .header-modern .navbar-collapse {
        background: rgba(15, 18, 32, 0.96);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    /* Reset Bootstrap's flex-row + .ms-auto so items stack and align cleanly. */
    .header-modern .navbar-collapse .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        margin: 0 !important;
        gap: 2px;
    }

    .header-modern .navbar-collapse .nav-item {
        width: 100%;
    }

    .header-modern .navbar-collapse .nav-link {
        display: block;
        width: 100%;
        padding: 12px 14px !important;
        border-radius: 10px;
        font-weight: 600;
        text-align: start;
    }

    .header-modern .navbar-collapse .nav-link:hover,
    .header-modern .navbar-collapse .nav-link:focus-visible,
    .header-modern .navbar-collapse .nav-link.active {
        background: rgba(248, 156, 45, 0.10);
    }

    /* Language dropdown: keep menu within the panel, not floating off-edge. */
    .header-modern .navbar-collapse .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 4px;
        box-shadow: none;
        background: transparent;
        border: 1px dashed var(--glass-border);
    }

    /* Theme switcher button stays full-width too. */
    .header-modern .navbar-collapse .theme-switcher-btn {
        width: 100%;
        text-align: start;
        padding: 12px 14px !important;
    }

    /* RTL mirror — collapsed panel still hugs both edges, links keep alignment. */
    html[dir="rtl"] .header-modern .navbar-collapse .nav-link {
        text-align: start;
    }
}

/* Prevent body horizontal scroll caused by ambient blobs when the navbar
   collapse animates open on tiny screens. */
@media (max-width: 575.98px) {
    body {
        overflow-x: hidden;
    }
}

/* Selection color */
::selection {
    background: rgba(248, 156, 45, 0.45);
    color: #fff;
}

/* =========================================================================
 * Reseller runtime grid (Reseller.html)
 * ========================================================================= */
.reseller-toolbar .form-control,
.reseller-toolbar .form-select {
    background: var(--panel-color);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.reseller-toolbar #reseller-featured-toggle.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.reseller-counter {
    letter-spacing: .3px;
}

.reseller-card-clickable {
    cursor: pointer;
    position: relative;
}

.reseller-card-clickable:focus-visible {
    outline: 2px solid var(--accent-neon);
    outline-offset: 3px;
    border-radius: 16px;
}

.reseller-card-clickable .featured-badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    inset-inline-start: auto;
    right: 12px;
    /* fallback for older engines */
    background: linear-gradient(135deg, var(--gold), var(--primary-color));
    color: #1b1306;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 3px 9px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(248, 156, 45, 0.35);
    z-index: 2;
}

html[dir="rtl"] .reseller-card-clickable .featured-badge,
[dir="rtl"] .reseller-card-clickable .featured-badge {
    right: auto !important;
    left: 12px !important;
}

html[dir="rtl"] .reseller-flag-wrap,
[dir="rtl"] .reseller-flag-wrap {
    left: auto !important;
    right: 14px !important;
}

@media (max-width: 480px) {

    html[dir="rtl"] .reseller-flag-wrap,
    [dir="rtl"] .reseller-flag-wrap {
        left: auto !important;
        right: 12px !important;
    }
}

/* Flag plate sits in the top-start corner of the partner card. Sized
 * generously enough that the country is identifiable at a glance even on
 * a high-density phone screen, and bordered with a thin inset highlight
 * so it reads as a "plate" rather than a flat sticker.
 *
 * The wrap uses a 4:3-ish ratio (44 × 32) which matches every flag SVG
 * in vendor/flag-svgs.js (those use viewBox="0 0 30 20" with
 * preserveAspectRatio="xMidYMid slice", so they slice cleanly at any
 * outer aspect ratio without distortion).
 */
.reseller-flag-wrap {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    /* respects RTL layouts (Arabic) */
    width: 44px;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    background: var(--panel-color, #11151f);
    line-height: 0;
    /* kills the inline-baseline gap */
    z-index: 2;
}

@media (max-width: 480px) {
    .reseller-flag-wrap {
        width: 38px;
        height: 28px;
        top: 12px;
        inset-inline-start: 12px;
    }
}

/* Inline-SVG flag (default + always-works path).
   The flag bank ships an <svg viewBox="0 0 30 20"> so we only need to
   make it fill the wrap; preserveAspectRatio="xMidYMid slice" inside the
   SVG handles the cropping if the wrap aspect-ratio drifts. */
.reseller-flag-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.reseller-flag-svg>svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Last-resort emoji path (used only if a partner's country has no SVG
   in the bank). Centered, slightly enlarged so even Windows-10's split
   regional-indicator rendering looks intentional rather than broken. */
.reseller-flag-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
        "Twemoji Mozilla", "Android Emoji", emoji;
    font-size: 18px;
    line-height: 1;
    user-select: none;
}

/* No-ISO partners (e.g. region-only entries) get a unicode globe glyph
   sized to fill the wrap. We deliberately do NOT use an FA icon here —
   if FA's CDN flakes, the fallback would disappear; emoji is universal. */
.reseller-flag-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--muted-text);
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
        "Twemoji Mozilla", "Android Emoji", emoji;
    font-size: 22px;
    line-height: 1;
}

.reseller-card-clickable .reseller-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    padding: 8px;
    border: 1px solid var(--glass-border);
    margin: 6px auto 12px;
    display: block;
}

[data-theme="dark"] .reseller-card-clickable .reseller-logo {
    background: rgba(20, 22, 32, 0.6);
}

.reseller-card-clickable .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 4px;
}

.reseller-card-clickable .social-links a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--muted-text);
    border: 1px solid var(--glass-border);
    background: transparent;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.reseller-card-clickable .social-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(248, 156, 45, 0.08);
    transform: translateY(-2px);
}

.reseller-card-clickable .social-links a .fa-whatsapp:hover {
    color: #25d366;
}

/* =========================================================================
 * Reseller detail modal — opens after clicking a partner card.
 * The layout is centred, breathy, and responsive: large logo at top,
 * centred social-icon row that gets bigger on desktop, then a 2-column
 * key/value table on wide screens collapsing to a single column on phones.
 * ========================================================================= */
#reseller-modal .modal-dialog {
    max-width: min(560px, calc(100vw - 24px));
}

#reseller-modal .modal-content {
    background: var(--glass-bg) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45),
        0 0 0 1px var(--glass-border);
}

#reseller-modal .modal-header {
    background: linear-gradient(135deg,
            rgba(248, 156, 45, 0.10),
            rgba(248, 156, 45, 0) 70%);
    border-bottom: 1px solid var(--glass-border);
    padding: 18px 22px;
}

#reseller-modal .modal-header .modal-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-color);
    letter-spacing: .2px;
}

#reseller-modal .modal-body {
    color: var(--text-color);
    padding: 24px 24px 14px;
}

/* ---- Logo plate ------------------------------------------------------ */
.reseller-modal-logo {
    display: block;
    width: 132px;
    height: 132px;
    margin: 0 auto;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    padding: 14px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .reseller-modal-logo {
    background: rgba(20, 22, 32, 0.7);
}

/* ---- Centered social row inside the modal ---------------------------- *
 * Three concerns this CSS owns:
 *   1. ALWAYS centred horizontally (justify-content) and visually centred
 *      vertically inside each circle (display:inline-flex on the <a>).
 *   2. Responsive: 44 px circles on phones (touch-target safe), 52 px on
 *      tablets, 56 px on desktop.
 *   3. Brand-coloured hover for each network so the user gets the same
 *      feedback they'd see on the card itself.
 * ---------------------------------------------------------------------- */
#reseller-modal .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 22px auto 8px;
    padding: 0;
    list-style: none;
}

#reseller-modal .social-links a {
    --rs-soc-size: 48px;
    width: var(--rs-soc-size);
    height: var(--rs-soc-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    font-size: calc(var(--rs-soc-size) * 0.42);
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease,
        background .2s ease, transform .2s ease,
        box-shadow .2s ease;
}

#reseller-modal .social-links a:hover,
#reseller-modal .social-links a:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(248, 156, 45, 0.18);
    outline: none;
}

/* Brand-true hover colours per network */
#reseller-modal .social-links a:hover .fa-whatsapp {
    color: #25d366;
}

#reseller-modal .social-links a:hover .fa-telegram {
    color: #29a9eb;
}

#reseller-modal .social-links a:hover .fa-facebook {
    color: #1877f2;
}

#reseller-modal .social-links a:hover .fa-facebook-messenger {
    color: #00b2ff;
}

#reseller-modal .social-links a:hover .fa-youtube {
    color: #ff0000;
}

#reseller-modal .social-links a:hover .fa-envelope,
#reseller-modal .social-links a:hover .fa-globe {
    color: var(--primary-color);
}

#reseller-modal .social-links a:hover {
    border-color: var(--primary-color);
    background: rgba(248, 156, 45, 0.08);
}

/* ---- Detail key/value list ------------------------------------------ */
.reseller-modal-dl {
    display: grid;
    grid-template-columns: 110px 1fr;
    column-gap: 16px;
    row-gap: 6px;
    margin: 18px 0 0;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.reseller-modal-dl dt {
    color: var(--muted-text);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .6px;
    font-weight: 700;
    margin: 0;
    align-self: center;
}

.reseller-modal-dl dd {
    margin: 0;
    word-break: break-word;
    color: var(--text-color);
    align-self: center;
}

.reseller-modal-dl dd a {
    color: var(--primary-color);
}

.reseller-modal-dl dd a:hover {
    text-decoration: underline;
}

/* ---- Responsive sizing ---------------------------------------------- */
@media (min-width: 576px) {
    #reseller-modal .social-links a {
        --rs-soc-size: 52px;
        gap: 16px;
    }
}

@media (min-width: 768px) {
    #reseller-modal .social-links a {
        --rs-soc-size: 56px;
    }

    #reseller-modal .social-links {
        gap: 18px;
    }
}

@media (max-width: 480px) {
    #reseller-modal .modal-body {
        padding: 18px 16px 8px;
    }

    .reseller-modal-logo {
        width: 108px;
        height: 108px;
        padding: 10px;
        border-radius: 18px;
    }

    #reseller-modal .social-links {
        gap: 10px;
        margin-top: 18px;
    }

    #reseller-modal .social-links a {
        --rs-soc-size: 44px;
    }

    .reseller-modal-dl {
        grid-template-columns: 1fr;
        gap: 2px 0;
        padding: 12px;
    }

    .reseller-modal-dl dt {
        padding-top: 8px;
    }

    .reseller-modal-dl dt:first-child {
        padding-top: 0;
    }
}

/* =========================================================================
 * Reseller self-service form (rendered inline inside Reseller.html when
 * ?t=<token> is present in the URL). Uses a single shell for both onboard
 * (new-partner) and edit (existing-partner) flows; the server picks the
 * mode based on the temp link's purpose.
 * ========================================================================= */
.reseller-form-shell {
    max-width: 920px;
    margin: 0 auto;
}

.reseller-form-shell .form-control,
.reseller-form-shell .form-select,
.reseller-form-shell textarea {
    background: var(--panel-color);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

.reseller-form-shell label.form-label {
    color: var(--heading-color);
    font-weight: 600;
    font-size: .92rem;
}

.reseller-form-shell .form-text {
    color: var(--muted-text);
}

.logo-preview-img {
    max-width: 96px;
    max-height: 96px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.reseller-status {
    padding: 10px 14px;
    border-radius: 10px;
    margin: 0 0 14px;
    font-size: .92rem;
}

.reseller-status:empty {
    display: none;
}

.reseller-status--info {
    background: rgba(34, 211, 238, .10);
    color: var(--accent-neon-dim, #0e7490);
    border: 1px solid rgba(34, 211, 238, .28);
}

.reseller-status--ok {
    background: rgba(34, 197, 94, .10);
    color: #1e7c3a;
    border: 1px solid rgba(34, 197, 94, .28);
}

.reseller-status--warn {
    background: rgba(245, 158, 11, .10);
    color: #8a4d00;
    border: 1px solid rgba(245, 158, 11, .30);
}

.reseller-status--bad {
    background: rgba(239, 68, 68, .10);
    color: #8a1f1f;
    border: 1px solid rgba(239, 68, 68, .30);
}

.success-card,
.error-card {
    max-width: 720px;
    margin: 0 auto;
}

/* =========================================================================
 * Reseller tier section headers (Reseller.html public page)
 * Matches the 3-tier hierarchy used by the admin and the api.php ordering:
 *   Distributors → Master Resellers → Resellers
 * Each header is a full-width Bootstrap col-12 row inside #reseller-grid,
 * placed above the cards that belong to that tier.
 * ========================================================================= */
.reseller-tier-head {
    margin-top: 28px;
    margin-bottom: 6px;
}

.reseller-tier-head:first-child {
    margin-top: 4px;
}

.reseller-tier-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--heading-color);
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(90deg,
            rgba(248, 156, 45, 0.14),
            rgba(248, 156, 45, 0) 70%);
    border-inline-start: 4px solid var(--primary-color);
    margin: 0;
}

.reseller-tier-title i {
    color: var(--primary-color);
    font-size: 1.1em;
}

.reseller-tier-count {
    margin-inline-start: auto;
    background: rgba(248, 156, 45, 0.18);
    color: var(--primary-color);
    font-size: .8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(248, 156, 45, 0.30);
    letter-spacing: .04em;
}

[data-theme="dark"] .reseller-tier-title {
    background: linear-gradient(90deg,
            rgba(248, 156, 45, 0.18),
            rgba(248, 156, 45, 0) 70%);
}

/* On smaller screens drop the inline count to its own line for breathing room */
@media (max-width: 575.98px) {
    .reseller-tier-title {
        font-size: 1.1rem;
        flex-wrap: wrap;
    }

    .reseller-tier-count {
        margin-inline-start: 0;
    }
}

/* =========================================================================
 * Changelog accordion (download.html)
 * Bootstrap's default is built for white surfaces only — without these
 * overrides each entry renders illegible in dark mode and washed-out
 * in light. We rebind it to the theme tokens so it stays sharp in both.
 * ========================================================================= */
#changelogAccordion .accordion-item {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 12px;
    color: var(--text-color);
}

#changelogAccordion .accordion-button {
    background: transparent;
    color: var(--heading-color);
    font-weight: 600;
    padding: 16px 20px;
    box-shadow: none;
    border-radius: 14px !important;
}

#changelogAccordion .accordion-button:not(.collapsed) {
    background: linear-gradient(180deg,
            rgba(248, 156, 45, 0.10),
            rgba(248, 156, 45, 0.02));
    color: var(--primary-color);
}

#changelogAccordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(248, 156, 45, 0.18);
    border-color: transparent;
}

#changelogAccordion .accordion-button::after {
    /* Replace Bootstrap's hardcoded SVG (always dark) with a theme-aware
       FontAwesome chevron sourced from a CSS mask so we never ship an
       inline SVG with hardcoded colour. */
    background-image: none;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.2 5.2a1 1 0 0 1 1.4 0L8 8.6l3.4-3.4a1 1 0 1 1 1.4 1.4l-4.1 4.1a1 1 0 0 1-1.4 0L3.2 6.6a1 1 0 0 1 0-1.4z"/></svg>') no-repeat center / 16px 16px;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.2 5.2a1 1 0 0 1 1.4 0L8 8.6l3.4-3.4a1 1 0 1 1 1.4 1.4l-4.1 4.1a1 1 0 0 1-1.4 0L3.2 6.6a1 1 0 0 1 0-1.4z"/></svg>') no-repeat center / 16px 16px;
    background-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

#changelogAccordion .accordion-body {
    background: transparent;
    color: var(--text-color);
    padding: 14px 20px 20px;
    line-height: 1.7;
}

#changelogAccordion .accordion-body :is(h1, h2, h3, h4, h5, h6) {
    color: var(--heading-color);
    margin-top: 12px;
}

#changelogAccordion .accordion-body :is(ul, ol) {
    padding-inline-start: 22px;
}

#changelogAccordion .accordion-body li {
    margin-bottom: 4px;
}

#changelogAccordion .accordion-body code {
    background: rgba(248, 156, 45, 0.10);
    color: var(--primary-color);
    padding: 1px 6px;
    border-radius: 5px;
    font-size: .9em;
}

#changelogAccordion .accordion-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

#changelogAccordion .accordion-body strong {
    color: var(--heading-color);
}

#changelogAccordion .accordion-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    font-size: .92em;
}

#changelogAccordion .accordion-body th,
#changelogAccordion .accordion-body td {
    border: 1px solid var(--glass-border);
    padding: 6px 10px;
    text-align: start;
}

#changelogAccordion .accordion-body th {
    background: rgba(248, 156, 45, 0.08);
    color: var(--heading-color);
}

/* Light-mode tweak: the dim ink of the body needs a hair more contrast */
[data-theme="light"] #changelogAccordion .accordion-body {
    color: #1f2533;
}

[data-theme="light"] #changelogAccordion .accordion-button {
    color: #1f2533;
}

/* The "Loading changelog…" placeholder + the/* Pro: bg-light section */
.section.bg-light {
    background: var(--bg-color) !important;
}

[data-theme="dark"] .section.bg-light,
body.dark-theme .section.bg-light {
    background: #0a0d14 !important;
}

/* =========================================================================
 * Home v2 — premium landing page (index.html redesign)
 * -------------------------------------------------------------------------
 * Everything below is scoped to .home-pro so we don't bleed styles into
 * other pages that may share component class-names. Uses the same brand
 * palette as the rest of the site (fire orange + ember + cyan accent on
 * deep navy) and leans on the existing pro-glass surfaces.
 *
 * The visual hierarchy is:
 *   1. Ambient backdrop (drifting blobs + dot grid)
 *   2. Hero with split copy-+-orb layout, hovering chips, animated rings
 *   3. Stats strip with tabular counters
 *   4. Premium section heads (eyebrow + title + sub)
 *   5. Feature cards, how-it-works steps, compare table
 *   6. Testimonials, FAQ, CTA card
 *   7. Pro footer with brand block + social
 * Reveal-on-scroll animations are driven by inline JS at the end of body
 * by toggling the .is-revealed class on every [data-reveal] element.
 * ========================================================================= */

/* ---------- 0. Reveal-on-scroll primitives ---------- */
.home-pro [data-reveal] {
    opacity: 0;
    transition: opacity 700ms cubic-bezier(.22, .61, .36, 1),
        transform 700ms cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

.home-pro [data-reveal="up"] {
    transform: translateY(28px);
}

.home-pro [data-reveal="left"] {
    transform: translateX(-28px);
}

.home-pro [data-reveal="right"] {
    transform: translateX(28px);
}

.home-pro [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .home-pro [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ---------- 1. Ambient backdrop ---------- */
.home-pro .ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    contain: strict;
    isolation: isolate;
    transform: translateZ(0);
}

.home-pro .ambient-blob {
    position: absolute;
    width: 60vmax;
    height: 60vmax;
    border-radius: 50%;
    filter: none;
    opacity: 0.45;
    will-change: transform;
    pointer-events: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.home-pro .ambient-blob-1 {
    background: radial-gradient(circle,
            rgba(248, 156, 45, 0.42) 0%,
            rgba(248, 156, 45, 0.22) 28%,
            rgba(248, 156, 45, 0.07) 54%,
            rgba(248, 156, 45, 0) 72%);
    top: -20vmax;
    left: -15vmax;
    animation: ambientFloat1 24s ease-in-out infinite alternate;
}

.home-pro .ambient-blob-2 {
    background: radial-gradient(circle,
            rgba(34, 211, 238, 0.32) 0%,
            rgba(34, 211, 238, 0.17) 28%,
            rgba(34, 211, 238, 0.05) 54%,
            rgba(34, 211, 238, 0) 72%);
    bottom: -25vmax;
    right: -20vmax;
    animation: ambientFloat2 30s ease-in-out infinite alternate;
}

.home-pro .ambient-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.6;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 78%);
}

[data-theme="light"] .home-pro .ambient-grid,
body:not(.dark-theme) .home-pro .ambient-grid {
    background-image:
        radial-gradient(rgba(15, 18, 32, 0.06) 1px, transparent 1px);
}

@keyframes ambientFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(8vmax, 6vmax) scale(1.08);
    }
}

@keyframes ambientFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-6vmax, -8vmax) scale(1.12);
    }
}

/* ---------- 2. HERO ---------- */
.home-pro .hero-pro.hero-v2 {
    position: relative;
    padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 10vh, 120px);
    text-align: start;
    background: transparent;
    /* Ambient backdrop shows through */
    overflow: hidden;
}

.home-pro .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

@media (max-width: 991px) {
    .home-pro .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

.home-pro .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(34, 211, 238, 0.10);
    border: 1px solid rgba(34, 211, 238, 0.32);
    color: var(--accent-neon, #22d3ee);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
    backdrop-filter: blur(6px);
}

.home-pro .hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-neon, #22d3ee);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
    animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(34, 211, 238, 0);
    }
}

.home-pro .hero-title {
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 22px;
    color: var(--text-color, #f5f7fb);
}

.home-pro .hero-title>span {
    display: block;
}

.home-pro .hero-title .hero-title-accent {
    background: linear-gradient(120deg, var(--primary-color), var(--ember), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: titleShift 8s ease-in-out infinite;
}

@keyframes titleShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.home-pro .hero-sub {
    max-width: 580px;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.65;
    color: var(--muted-text);
    margin: 0 0 32px;
}

.home-pro .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.home-pro .hero-trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    color: var(--muted-text);
    font-size: 0.88rem;
}

.home-pro .hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-pro .hero-trust i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Hero visual — orb + rings + floating chips */
.home-pro .hero-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 480px;
    min-height: 460px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-pro .hero-orb {
    position: absolute;
    inset: 8%;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: radial-gradient(circle at 35% 35%,
            rgba(248, 156, 45, 0.40),
            rgba(248, 156, 45, 0.08) 60%,
            rgba(11, 14, 23, 0.35));
    box-shadow:
        0 0 0 1px rgba(248, 156, 45, 0.30),
        0 30px 80px -20px rgba(248, 156, 45, 0.45),
        inset 0 0 50px rgba(255, 150, 40, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    padding: 16px;
    animation: orbBreath 6s ease-in-out infinite;
}

.home-pro .hero-orb img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.45));
    transition: opacity .6s ease, transform .6s ease;
}

.home-pro .hero-orb img.hero-orb-rotating {
    will-change: opacity, transform;
}

.home-pro .hero-orb img.hero-orb-fade-in {
    animation: heroOrbFadeIn .8s ease-out both;
}

@keyframes heroOrbFadeIn {
    0% {
        opacity: 0;
        transform: scale(.94);
        filter: drop-shadow(0 12px 30px rgba(248, 156, 45, 0.20));
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 12px 30px rgba(248, 156, 45, 0.45));
    }
}

@keyframes orbBreath {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

.home-pro .hero-rings {
    position: absolute;
    inset: 0;
}

.home-pro .hero-rings span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(248, 156, 45, 0.30);
    animation: ringSpin 32s linear infinite;
}

.home-pro .hero-rings span:nth-child(2) {
    inset: 8%;
    border-color: rgba(34, 211, 238, 0.30);
    animation-direction: reverse;
    animation-duration: 24s;
}

.home-pro .hero-rings span:nth-child(3) {
    inset: 16%;
    border-color: rgba(255, 255, 255, 0.10);
    animation-duration: 40s;
}

@keyframes ringSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.home-pro .hero-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 22, 32, 0.78);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #f5f7fb;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
    white-space: nowrap;
    animation: chipFloat 7s ease-in-out infinite;
}

.home-pro .hero-chip i {
    color: var(--primary-color);
}

.home-pro .hero-chip-1 {
    top: 6%;
    left: -4%;
    animation-delay: 0s;
}

.home-pro .hero-chip-2 {
    top: 48%;
    right: -6%;
    animation-delay: 1.5s;
}

.home-pro .hero-chip-3 {
    bottom: 4%;
    left: 14%;
    animation-delay: 3s;
}

@keyframes chipFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 575px) {
    .home-pro .hero-chip {
        font-size: 0.7rem;
        padding: 6px 10px;
    }

    .home-pro .hero-chip-1 {
        left: 0;
    }

    .home-pro .hero-chip-2 {
        right: 0;
    }
}

/* ---------- 3. PRO BUTTONS ---------- */
.home-pro .btn-primary-pro,
.home-pro .btn-ghost-pro {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    padding: 13px 26px;
    border-radius: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 220ms ease, box-shadow 220ms ease,
        background 220ms ease, color 220ms ease, border-color 220ms ease;
    will-change: transform;
}

.home-pro .btn-primary-pro {
    background: linear-gradient(135deg, var(--primary-color), var(--ember));
    color: #1b1306;
    box-shadow: 0 14px 32px -10px rgba(248, 156, 45, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.home-pro .btn-primary-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px -12px rgba(248, 156, 45, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.40);
    color: #1b1306;
}

.home-pro .btn-primary-pro:focus-visible {
    outline: 3px solid rgba(34, 211, 238, 0.55);
    outline-offset: 3px;
}

.home-pro .btn-ghost-pro {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--text-color, #f5f7fb);
    backdrop-filter: blur(8px);
}

.home-pro .btn-ghost-pro:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(248, 156, 45, 0.06);
}

.home-pro .btn-primary-pro-lg,
.home-pro .btn-ghost-pro-lg {
    padding: 16px 30px;
    font-size: 1rem;
    border-radius: 16px;
}

.home-pro .btn-ghost-pro-sm {
    padding: 9px 16px;
    font-size: 0.82rem;
    border-radius: 10px;
}

/* ---------- 4. STATS STRIP ---------- */
.home-pro .stats-strip {
    padding: clamp(40px, 6vw, 72px) 0;
}

.home-pro .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 991px) {
    .home-pro .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-pro .stats-grid {
        grid-template-columns: 1fr;
    }
}

.home-pro .stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    contain: layout style;
    transform: translateZ(0);
    border-radius: 18px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: var(--glass-shadow);
    transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.home-pro .stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(248, 156, 45, 0.30);
    box-shadow: 0 28px 60px -22px rgba(248, 156, 45, 0.30);
}

.home-pro .stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(248, 156, 45, 0.18), rgba(227, 107, 28, 0.10));
    color: var(--primary-color);
    font-size: 1.2rem;
    border: 1px solid rgba(248, 156, 45, 0.24);
}

.home-pro .stat-row {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    color: var(--text-color, #f5f7fb);
    font-variant-numeric: tabular-nums;
}

.home-pro .stat-suffix {
    color: var(--primary-color);
}

.home-pro .stat-label {
    margin-top: 8px;
    color: var(--muted-text);
    font-size: 0.86rem;
    font-weight: 500;
}

/* ---------- 5. SECTION HEADS ---------- */
.home-pro .section {
    padding: clamp(64px, 9vw, 110px) 0;
}

.home-pro .section-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.home-pro .section-head-row {
    max-width: none;
    text-align: start;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.home-pro .section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 2.4px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.home-pro .section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
    color: var(--text-color, #f5f7fb);
}

.home-pro .section-sub {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--muted-text);
    margin: 0 auto;
    max-width: 640px;
}

/* ---------- 6. FEATURE CARDS ---------- */
.home-pro .features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 1199px) {
    .home-pro .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .home-pro .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-pro .features-grid {
        grid-template-columns: 1fr;
    }
}

.home-pro .feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    contain: layout style;
    transform: translateZ(0);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: var(--glass-shadow);
    transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
    position: relative;
    overflow: hidden;
}

.home-pro .feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(248, 156, 45, 0.10), rgba(34, 211, 238, 0.05));
    opacity: 0;
    transition: opacity 320ms ease;
    pointer-events: none;
}

.home-pro .feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(248, 156, 45, 0.30);
    box-shadow: 0 32px 70px -28px rgba(248, 156, 45, 0.35);
}

.home-pro .feature-card:hover::before {
    opacity: 1;
}

.home-pro .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(248, 156, 45, 0.20), rgba(227, 107, 28, 0.12));
    border: 1px solid rgba(248, 156, 45, 0.28);
    color: var(--primary-color);
    font-size: 1.35rem;
    box-shadow: 0 10px 24px -10px rgba(248, 156, 45, 0.4);
    position: relative;
    z-index: 1;
}

.home-pro .feature-card h3 {
    font-size: 1.06rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-color, #f5f7fb);
    position: relative;
    z-index: 1;
}

.home-pro .feature-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--muted-text);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ---------- 7. HOW-IT-WORKS ---------- */
.home-pro .how-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    counter-reset: step;
    position: relative;
}

.home-pro .how-steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(248, 156, 45, 0.35), transparent);
    z-index: 0;
}

@media (max-width: 991px) {
    .home-pro .how-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-pro .how-steps::before {
        display: none;
    }
}

@media (max-width: 575px) {
    .home-pro .how-steps {
        grid-template-columns: 1fr;
    }
}

.home-pro .how-step {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    contain: layout style;
    transform: translateZ(0);
    border-radius: 18px;
    padding: 24px 22px 22px;
    text-align: start;
    box-shadow: var(--glass-shadow);
    position: relative;
    transition: transform 320ms ease, border-color 320ms ease;
}

.home-pro .how-step:hover {
    transform: translateY(-4px);
    border-color: rgba(248, 156, 45, 0.30);
}

.home-pro .how-step-num {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--ember));
    color: #1b1306;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 14px 26px -10px rgba(248, 156, 45, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    margin-bottom: 14px;
}

.home-pro .how-step h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-color, #f5f7fb);
}

.home-pro .how-step p {
    font-size: 0.88rem;
    color: var(--muted-text);
    line-height: 1.6;
    margin: 0;
}

/* ---------- 8. COMPARE TABLE ---------- */
.home-pro .compare-table {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    contain: layout style;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.home-pro .compare-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: center;
}

.home-pro .compare-row+.compare-row {
    border-top: 1px solid var(--glass-border);
}

.home-pro .compare-cell {
    padding: 18px 22px;
    color: var(--muted-text);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-pro .compare-row.compare-head .compare-cell {
    background: rgba(248, 156, 45, 0.06);
    font-weight: 700;
    color: var(--text-color, #f5f7fb);
    font-size: 0.95rem;
    padding-block: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.home-pro .compare-row.compare-head .compare-griffin {
    color: var(--primary-color);
}

.home-pro .compare-row.compare-head .compare-griffin i {
    color: var(--primary-color);
    margin-right: 8px;
}

.home-pro .compare-cell.compare-label {
    color: var(--text-color, #f5f7fb);
    font-weight: 600;
}

.home-pro .compare-cell .ok,
.home-pro .compare-cell .bad {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.home-pro .compare-cell .ok {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
}

.home-pro .compare-cell .bad {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
}

.home-pro .compare-cell.compare-griffin {
    color: var(--text-color, #f5f7fb);
    font-weight: 600;
}

.home-pro .compare-cell.compare-others {
    color: var(--muted-text);
}

@media (max-width: 767px) {
    .home-pro .compare-row {
        grid-template-columns: 1fr;
    }

    .home-pro .compare-row.compare-head {
        display: none;
    }

    .home-pro .compare-row .compare-cell {
        padding: 12px 18px;
    }

    .home-pro .compare-cell.compare-label {
        background: rgba(248, 156, 45, 0.08);
    }

    .home-pro .compare-cell.compare-griffin::before {
        content: "Griffin: ";
        font-weight: 700;
        color: var(--primary-color);
    }

    .home-pro .compare-cell.compare-others::before {
        content: "Others: ";
        font-weight: 700;
        color: var(--muted-text);
    }
}

/* ---------- 9. WHATS NEW (re-uses existing styles, adds spacing) ---------- */
.home-pro .section-whatsnew {
    padding-block: clamp(48px, 6vw, 80px);
}

/* ---------- 10. TESTIMONIALS ---------- */
.home-pro .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 991px) {
    .home-pro .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.home-pro .testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    contain: layout style;
    transform: translateZ(0);
    border-radius: 18px;
    padding: 28px 26px;
    margin: 0;
    box-shadow: var(--glass-shadow);
    position: relative;
    transition: transform 320ms ease, border-color 320ms ease;
}

.home-pro .testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: -10px;
    left: 18px;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.18;
}

.home-pro .testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(248, 156, 45, 0.30);
}

.home-pro .testimonial-rating {
    display: flex;
    gap: 2px;
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.home-pro .testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color, #e8ecf3);
    margin: 0 0 18px;
    font-style: italic;
}

.home-pro .testimonial-card footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--glass-border);
    padding-top: 14px;
}

.home-pro .testimonial-card footer .testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(248, 156, 45, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    flex: 0 0 auto;
}

.home-pro .testimonial-card footer strong {
    font-size: 0.95rem;
    color: var(--text-color, #f5f7fb);
    display: block;
    line-height: 1.2;
}

.home-pro .testimonial-card footer span {
    font-size: 0.8rem;
    color: var(--muted-text);
    display: block;
    line-height: 1.3;
}

.home-pro .testimonial-card footer>strong+span,
.home-pro .testimonial-card footer .testimonial-avatar+strong {
    margin-top: 2px;
}

/* When the avatar is present, name+role stack vertically next to it. */
.home-pro .testimonial-card footer:has(.testimonial-avatar) {
    align-items: center;
}

.home-pro .testimonial-card footer:has(.testimonial-avatar)>strong,
.home-pro .testimonial-card footer:has(.testimonial-avatar)>span {
    display: block;
}

/* ---------- 11. FAQ ---------- */
.home-pro .faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.home-pro .faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    contain: layout style;
    border-radius: 14px;
    box-shadow: var(--glass-shadow);
    transition: border-color 320ms ease, box-shadow 320ms ease;
    overflow: hidden;
}

.home-pro .faq-item[open] {
    border-color: rgba(248, 156, 45, 0.32);
    box-shadow: 0 18px 42px -22px rgba(248, 156, 45, 0.40);
}

.home-pro .faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-color, #f5f7fb);
    user-select: none;
}

.home-pro .faq-item summary::-webkit-details-marker {
    display: none;
}

.home-pro .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(248, 156, 45, 0.15);
    color: var(--primary-color);
    font-size: 0.75rem;
    transition: transform 280ms ease, background 280ms ease;
    flex-shrink: 0;
}

.home-pro .faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: #1b1306;
}

.home-pro .faq-item p {
    margin: 0;
    padding: 0 22px 20px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--muted-text);
}

.home-pro .faq-item p a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- 12. FINAL CTA ---------- */
.home-pro .section-cta {
    padding-bottom: clamp(64px, 9vw, 120px);
}

.home-pro .cta-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(248, 156, 45, 0.30), transparent 60%),
        radial-gradient(ellipse at 100% 100%, rgba(34, 211, 238, 0.20), transparent 60%),
        linear-gradient(180deg, rgba(20, 22, 32, 0.78), rgba(20, 22, 32, 0.92));
    border: 1px solid rgba(248, 156, 45, 0.30);
    border-radius: 28px;
    padding: clamp(48px, 7vw, 84px) clamp(28px, 5vw, 60px);
    box-shadow: 0 40px 100px -40px rgba(248, 156, 45, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateZ(0);
    contain: layout style;
}

.home-pro .cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%) translateZ(0);
    background: radial-gradient(circle, rgba(248, 156, 45, 0.42) 0%, rgba(248, 156, 45, 0.16) 35%, transparent 68%);
    filter: none;
    z-index: 0;
    pointer-events: none;
    animation: ctaPulse 5s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.home-pro .cta-title,
.home-pro .cta-sub,
.home-pro .cta-actions {
    position: relative;
    z-index: 1;
}

.home-pro .cta-title {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
    color: #f5f7fb;
}

.home-pro .cta-sub {
    font-size: 1.05rem;
    color: rgba(245, 247, 251, 0.78);
    margin: 0 0 32px;
}

.home-pro .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ---------- 13. PRO FOOTER ---------- */
.home-pro .footer-pro {
    background: linear-gradient(180deg, rgba(11, 14, 23, 0.0), rgba(11, 14, 23, 0.85) 30%);
    padding: 64px 0 0;
    border-top: 1px solid var(--glass-border);
}

.home-pro .footer-pro h5 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.home-pro .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color, #f5f7fb);
    margin-bottom: 16px;
}

.home-pro .footer-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(248, 156, 45, 0.55));
}

.home-pro .footer-brand strong {
    font-size: 1.05rem;
    font-weight: 700;
}

.home-pro .footer-blurb {
    color: var(--muted-text);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 18px;
    max-width: 360px;
}

.home-pro .footer-pro ul.list-unstyled li,
.home-pro .footer-pro .footer-contact-list li {
    margin-bottom: 10px;
}

.home-pro .footer-pro ul a {
    color: var(--muted-text);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 200ms ease, padding 200ms ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-pro .footer-pro ul a:hover {
    color: var(--primary-color);
    padding-inline-start: 4px;
}

.home-pro .footer-contact-list i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

/* ---------- 13. Universal Footer Social Channels (Official Brand Colors) ---------- */
.footer-social,
.footer-pro .footer-social,
.footer .footer-social,
.home-pro .footer-social,
.page-pro .footer-social {
    list-style: none !important;
    padding: 0 !important;
    margin: 16px 0 0 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
}

.footer-social li,
.footer-pro .footer-social li,
.footer .footer-social li,
.home-pro .footer-social li,
.page-pro .footer-social li {
    list-style: none !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-social a,
.footer-pro .footer-social a,
.footer .footer-social a,
.home-pro .footer-social a,
.page-pro .footer-social a {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    display: inline-grid !important;
    place-items: center !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-size: 1.08rem !important;
    text-decoration: none !important;
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease !important;
}

[data-theme="light"] .footer-social a,
html.light-theme .footer-social a,
body.light-theme .footer-social a {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}

/* Official brand colors for social icons */
.footer-social a i.fa-whatsapp,
.footer-social a i.fa-bullhorn {
    color: #25D366 !important; /* Official WhatsApp Green */
}
.footer-social a i.fa-telegram,
.footer-social a i.fa-robot {
    color: #229ED9 !important; /* Official Telegram Blue */
}
.footer-social a i.fa-facebook,
.footer-social a i.fa-facebook-f,
.footer-social a i.fa-users,
.footer-social a i.fa-people-group {
    color: #1877F2 !important; /* Official Facebook Blue */
}
.footer-social a i.fa-envelope {
    color: #EA4335 !important; /* Official Gmail / Email Red */
}
.footer-social a i.fa-headset,
.footer-social a i.fa-phone {
    color: #f89c2d !important; /* Brand Amber */
}

/* Hover effects with matching glows */
.footer-social a:hover {
    transform: translateY(-3px) scale(1.05) !important;
}
.footer-social a:has(i.fa-whatsapp):hover,
.footer-social a:has(i.fa-bullhorn):hover {
    border-color: #25D366 !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
    background: rgba(37, 211, 102, 0.12) !important;
}
.footer-social a:has(i.fa-telegram):hover,
.footer-social a:has(i.fa-robot):hover {
    border-color: #229ED9 !important;
    box-shadow: 0 6px 20px rgba(34, 158, 217, 0.35) !important;
    background: rgba(34, 158, 217, 0.12) !important;
}
.footer-social a:has(i.fa-facebook):hover,
.footer-social a:has(i.fa-facebook-f):hover,
.footer-social a:has(i.fa-users):hover,
.footer-social a:has(i.fa-people-group):hover {
    border-color: #1877F2 !important;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35) !important;
    background: rgba(24, 119, 242, 0.12) !important;
}
.footer-social a:has(i.fa-envelope):hover {
    border-color: #EA4335 !important;
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.35) !important;
    background: rgba(234, 67, 53, 0.12) !important;
}
.footer-social a:has(i.fa-headset):hover,
.footer-social a:has(i.fa-phone):hover {
    border-color: #f89c2d !important;
    box-shadow: 0 6px 20px rgba(248, 156, 45, 0.35) !important;
    background: rgba(248, 156, 45, 0.12) !important;
}

.home-pro .footer-bottom {
    margin-top: 48px;
    padding: 22px 0;
    border-top: 1px solid var(--glass-border);
    color: var(--muted-text);
    font-size: 0.82rem;
}

/* ---------- 14. NAV: language-mark chip (replaces flag <img>) ---------- */
.home-pro .lang-mark,
.lang-mark {
    display: inline-block;
    background: rgba(248, 156, 45, 0.18);
    color: var(--primary-color);
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-right: 8px;
    min-width: 28px;
    text-align: center;
}

/* ---------- 15. RTL fixes for Arabic ---------- */
html[dir="rtl"] .home-pro .hero-grid {
    direction: rtl;
}

html[dir="rtl"] .home-pro .footer-pro ul a:hover {
    padding-inline-start: 0;
    padding-inline-end: 4px;
}

html[dir="rtl"] .home-pro .lang-mark {
    margin-right: 0;
    margin-left: 8px;
}

/* =========================================================================
 * Home v3 — hero rotator, live ticker, op cards, brand strip
 * -------------------------------------------------------------------------
 * Layered on top of the v2 .home-pro scope. Activates when the hero
 * section carries the .hero-v3 class.
 * ========================================================================= */

/* ---------- 16. Hero rotator (cycling word in hero title) ---------- */
.home-pro .hero-title-line {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4ch;
}

.home-pro .hero-title-rotator {
    position: relative;
    display: inline-grid;
    /* Width derives from the widest child word so the line never reflows. */
    grid-template-columns: max-content;
    min-height: 1.1em;
    vertical-align: bottom;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: inherit !important;
    filter: none !important;
}

.home-pro .hero-title-rotator .rotator-word {
    grid-row: 1;
    grid-column: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.45em);
    transition: opacity 350ms cubic-bezier(.22, .61, .36, 1),
        transform 350ms cubic-bezier(.22, .61, .36, 1),
        visibility 350ms;
    will-change: opacity, transform, visibility;
    pointer-events: none;
    background: linear-gradient(120deg, var(--primary-color, #f89c2d), var(--ember, #e36b1c), var(--gold, #ffb755));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 14px rgba(248, 156, 45, 0.40));
}

.home-pro .hero-title-rotator .rotator-word.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .home-pro .hero-title-rotator .rotator-word {
        transition: none;
        transform: none;
        animation: none;
    }
}

/* Guard: the rotator container itself must NEVER hold a text-clip background */
.home-pro .hero-title-accent.hero-title-rotator,
[data-theme="light"] .home-pro .hero-title-rotator,
[data-theme="light"] .home-pro .hero-title-accent.hero-title-rotator,
body.light-theme .home-pro .hero-title-rotator,
body.light-theme .home-pro .hero-title-accent.hero-title-rotator {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    filter: none !important;
    color: inherit !important;
}

[data-theme="light"] .home-pro .hero-title-rotator .rotator-word,
body.light-theme .home-pro .hero-title-rotator .rotator-word {
    background: linear-gradient(120deg, #d96d00, #c2410c, #b45309) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    filter: drop-shadow(0 2px 6px rgba(194, 65, 12, 0.24)) !important;
}

[data-theme="light"] .home-pro .hero-title .hero-title-accent:not(.hero-title-rotator),
body.light-theme .home-pro .hero-title .hero-title-accent:not(.hero-title-rotator) {
    background: linear-gradient(120deg, #d96d00, #c2410c, #b45309) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    filter: drop-shadow(0 2px 6px rgba(194, 65, 12, 0.24)) !important;
}

/* ---------- 17. Hero live-operations ticker ---------- */
.home-pro .hero-live-ticker {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.86rem;
    color: var(--muted-text);
    border: 1px solid var(--glass-border);
}

.home-pro .live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.home-pro .live-label {
    font-weight: 600;
    color: var(--text-color, #f5f7fb);
}

.home-pro .live-count {
    font-weight: 800;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
    font-size: 0.96rem;
}

.home-pro .live-sub {
    color: var(--muted-text);
}

/* ---------- 18. Hero floating "live operation" cards (replaces chips) ---------- */
.home-pro .hero-v3 .hero-chip {
    display: none;
}

/* Old chips off when v3 active */
.home-pro .hero-op {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 22, 32, 0.90);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 0.82rem;
    box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.55);
    color: var(--text-color, #f5f7fb);
    white-space: nowrap;
    animation: opFloat 7s ease-in-out infinite;
    transform: translateZ(0);
    will-change: transform;
    contain: layout style;
}

.home-pro .hero-op-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 0.86rem;
}

.home-pro .hero-op-icon-success {
    background: rgba(34, 197, 94, 0.18);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.home-pro .hero-op-icon-flash {
    background: rgba(248, 156, 45, 0.20);
    color: var(--primary-color);
    border: 1px solid rgba(248, 156, 45, 0.40);
}

.home-pro .hero-op-icon-unlock {
    background: rgba(34, 211, 238, 0.18);
    color: var(--accent-neon, #22d3ee);
    border: 1px solid rgba(34, 211, 238, 0.40);
}

.home-pro .hero-op-body {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.home-pro .hero-op-body strong {
    font-size: 0.86rem;
}

.home-pro .hero-op-body small {
    font-size: 0.72rem;
    color: var(--muted-text);
}

.home-pro .hero-op-1 {
    top: 4%;
    left: -8%;
    animation-delay: 0s;
}

.home-pro .hero-op-2 {
    top: 44%;
    right: -10%;
    animation-delay: 1.5s;
}

.home-pro .hero-op-3 {
    bottom: 6%;
    left: 18%;
    animation-delay: 3s;
}

.home-pro .hero-op-4 {
    top: 18%;
    right: -6%;
    animation-delay: 2.2s;
}

.home-pro .hero-op-5 {
    bottom: 18%;
    left: -6%;
    animation-delay: 3.8s;
}

.home-pro .hero-op-6 {
    bottom: 2%;
    right: 12%;
    animation-delay: 4.5s;
}

@keyframes opFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 991px) {
    .home-pro .hero-op-1 {
        top: 0;
        left: 4%;
    }

    .home-pro .hero-op-2 {
        top: 36%;
        right: 0;
    }

    .home-pro .hero-op-3 {
        bottom: 4%;
        left: 22%;
    }

    .home-pro .hero-op-4 {
        top: 16%;
        right: 4%;
    }

    .home-pro .hero-op-5 {
        bottom: 16%;
        left: 4%;
    }

    .home-pro .hero-op-6 {
        bottom: 0;
        right: 15%;
    }
}

@media (max-width: 575px) {
    .home-pro .hero-op {
        font-size: 0.74rem;
        padding: 8px 11px;
    }

    .home-pro .hero-op-icon {
        width: 26px;
        height: 26px;
        font-size: 0.74rem;
    }

    .home-pro .hero-op-4,
    .home-pro .hero-op-5,
    .home-pro .hero-op-6 {
        display: none;
    }
}

/* ---------- 19. Trusted-brand marquee strip ---------- */
.brand-strip-section {
    padding: 44px 0 28px;
    overflow: hidden;
}

.brand-strip-section .brand-strip-eyebrow {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted-text);
    margin: 0 0 22px;
    opacity: 0.85;
}

.brand-strip-eyebrow {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--muted-text);
    margin-bottom: 18px;
    opacity: 0.85;
}

.brand-strip {
    position: relative;
    width: 100%;
    overflow: hidden;
    direction: ltr !important;
    /* Soft fade at both edges so logos appear out of / disappear into the void. */
    -webkit-mask-image: linear-gradient(90deg,
            transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg,
            transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.brand-strip-track {
    display: flex;
    align-items: center;
    gap: clamp(38px, 6vw, 72px);
    width: max-content;
    direction: ltr !important;
    animation: brandScroll 50s linear infinite;
    will-change: transform;
    padding: 16px 0;
}

.brand-strip-track-rev {
    direction: ltr !important;
    animation-direction: reverse;
    animation-duration: 65s;
    opacity: 0.55;
}

@keyframes brandScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.brand-strip:hover .brand-strip-track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .brand-strip-track {
        animation: none;
        transform: translateX(0);
    }
}

html[dir="rtl"] .brand-strip,
html[dir="rtl"] .brand-strip-track,
html[dir="rtl"] .brand-strip-track-rev,
[dir="rtl"] .brand-strip,
[dir="rtl"] .brand-strip-track,
[dir="rtl"] .brand-strip-track-rev {
    direction: ltr !important;
}

/* Brand-strip logos: reset modern-styles.css's brand-pill .brand-logo (24x24 with
   overflow:hidden + background) and force the wordmark SVG to scale to a
   meaningful height. Selectors carry higher specificity than the legacy rule. */
.brand-strip-track .brand-logo,
.brand-strip-track-rev .brand-logo {
    display: inline-flex;
    align-items: center;
    width: auto !important;
    height: clamp(48px, 7vw, 72px) !important;
    min-width: clamp(120px, 16vw, 200px);
    color: var(--muted-text);
    transition: color 240ms ease, transform 240ms ease, filter 240ms ease;
    flex-shrink: 0;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
}

.brand-strip-track .brand-logo svg,
.brand-strip-track-rev .brand-logo svg {
    height: 100% !important;
    width: 100% !important;
    display: block;
    max-width: none !important;
    background: transparent !important;
}

.brand-strip-track:hover .brand-logo,
.brand-strip-track-rev:hover .brand-logo {
    color: var(--muted-text);
}

.brand-strip-track .brand-logo:hover,
.brand-strip-track-rev .brand-logo:hover {
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.04);
    filter: drop-shadow(0 6px 18px rgba(248, 156, 45, 0.45));
}

/* =========================================================================
 * Models page — active brand-pill polish
 * -------------------------------------------------------------------------
 * modern-styles.css paints `.brand-pill.active .brand-logo` with a white
 * background so a tiny 24x24 avatar has enough contrast against the orange
 * gradient. But in wordmark / text-logo mode the logo container is ~88px
 * wide, which produces a jarring "pill inside a pill" effect with the
 * brand wordmark (black text) rendered on top of a white chip inside the
 * orange active chip (see user screenshots). Since every brand-logos.js
 * SVG paints with `fill="currentColor"`, we can drop the white backdrop
 * entirely and simply flip the SVG stroke/fill to white via CSS `color`,
 * so the wordmark reads cleanly on the orange gradient.
 * ========================================================================= */
.brand-pill.active .brand-logo {
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
}

.brand-pill.active .brand-logo svg {
    color: #fff !important;
    fill: currentColor !important;
}

.brand-pill.active .brand-logo svg [stroke] {
    stroke: currentColor !important;
}

/* text-logo mode ONLY: keep a soft contrast ring around the small letter
   avatar so a single-letter initial is still legible on the orange bg. */
body:not(.matrix-pill-style-wordmark):not(.matrix-pill-style-logo) .brand-pill.active .brand-logo {
    background: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) !important;
}

body:not(.matrix-pill-style-wordmark):not(.matrix-pill-style-logo) .brand-pill.active .brand-logo-letter {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Clean active-pill shell — subtle ring + slightly stronger glow */
.brand-pill.active {
    outline: 2px solid rgba(255, 255, 255, 0.22);
    outline-offset: -1px;
    box-shadow: 0 12px 28px rgba(248, 156, 45, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Count badge on an active pill: high-contrast, no colour clash */
.brand-pill.active .brand-pill-count {
    background: rgba(0, 0, 0, 0.28) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

/* Dark-theme parity */
body.dark-theme .brand-pill.active,
html[data-theme="dark"] .brand-pill.active {
    outline-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 32px rgba(248, 156, 45, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

/* RTL brand pill stability: prevents Wordmark SVGs and Latin brand letters
   from flipping or clipping text coordinates when page dir is RTL */
html[dir="rtl"] .brand-pill,
[dir="rtl"] .brand-pill {
    direction: ltr !important;
    gap: 8px !important;
}

html[dir="rtl"] .brand-logo,
[dir="rtl"] .brand-logo,
html[dir="rtl"] .brand-logo svg,
[dir="rtl"] .brand-logo svg {
    direction: ltr !important;
    unicode-bidi: isolate;
}

html[dir="rtl"] .brand-pill-grid,
[dir="rtl"] .brand-pill-grid {
    direction: rtl;
    /* keep grid layout natural while individual chips stay intact */
}

/* =========================================================================
 * Models page — Operation group accordion
 * -------------------------------------------------------------------------
 * Each `.op-tab-group` now starts collapsed (class `.is-collapsed` is set
 * by renderOperations). Clicking the `.op-tab-title` button toggles the
 * group open/closed with a smooth grid-rows animation that doesn't require
 * JS measurement. The chevron rotates 180° when the group is open.
 * ========================================================================= */
.op-tab-group {
    overflow: hidden;
    padding: 0 !important;
    transition: box-shadow 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.op-tab-group:hover {
    border-color: rgba(248, 156, 45, 0.45) !important;
    box-shadow: 0 10px 28px rgba(248, 156, 45, 0.18);
}

.op-tab-title {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    margin: 0 !important;
    padding: 16px 22px !important;
    background: transparent;
    border: 0;
    border-radius: 14px;
    color: var(--dark-color, #191c3f);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-align: start;
    cursor: pointer;
    transition: background 220ms ease, color 220ms ease;
}

.op-tab-title:hover {
    background: linear-gradient(135deg, rgba(248, 156, 45, 0.10), rgba(227, 107, 28, 0.05));
    color: var(--primary-color, #f89c2d);
}

.op-tab-title:focus-visible {
    outline: 2px solid var(--primary-color, #f89c2d);
    outline-offset: -3px;
}

.op-tab-title-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.op-tab-title-icon {
    color: var(--primary-color, #f89c2d);
    font-size: 1.05rem;
    flex: 0 0 auto;
    transition: transform 220ms ease;
}

.op-tab-title-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.op-tab-title .op-tab-count {
    margin-inline-start: 2px;
}

.op-tab-chevron {
    color: var(--primary-color, #f89c2d);
    font-size: 0.95rem;
    transition: transform 300ms cubic-bezier(.22, .61, .36, 1);
    flex: 0 0 auto;
}

.op-tab-group:not(.is-collapsed) .op-tab-chevron {
    transform: rotate(-180deg);
}

.op-tab-group:not(.is-collapsed) .op-tab-title-icon {
    transform: scale(1.05);
}

/* Collapsible body — use a grid-rows trick so the transition is smooth and
   the exact content height is never computed in JS. Outer wrapper flips
   `grid-template-rows` from `0fr` → `1fr`, inner wrapper has `min-height:0`
   and `overflow:hidden` so rows collapse cleanly. */
.op-tab-group .op-card-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    padding: 0 22px 22px;
    transition: padding 260ms cubic-bezier(.22, .61, .36, 1),
        opacity 200ms ease;
}

.op-tab-group.is-collapsed .op-card-grid {
    padding-top: 0;
    padding-bottom: 0;
    height: 0;
    min-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

.op-tab-group:not(.is-collapsed) .op-card-grid {
    height: auto;
    opacity: 1;
    visibility: visible;
    animation: opGridReveal 340ms cubic-bezier(.22, .61, .36, 1);
}

@keyframes opGridReveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .op-tab-title,
    .op-tab-chevron,
    .op-tab-group .op-card-grid {
        transition: none !important;
        animation: none !important;
    }
}

/* Dark-theme parity for the accordion */
body.dark-theme .op-tab-group,
html[data-theme="dark"] .op-tab-group {
    background: var(--panel-color, #11151f) !important;
    border-color: var(--card-border, rgba(255, 255, 255, 0.08)) !important;
}

body.dark-theme .op-tab-title,
html[data-theme="dark"] .op-tab-title {
    color: var(--text-color, #e6e8ee);
}

body.dark-theme .op-tab-title:hover,
html[data-theme="dark"] .op-tab-title:hover {
    background: linear-gradient(135deg, rgba(248, 156, 45, 0.16), rgba(227, 107, 28, 0.08));
    color: var(--primary-color, #f89c2d);
}

/* =========================================================================
 * Page shell — .page-pro
 * -------------------------------------------------------------------------
 * Shared shell applied to body of every interior page (Buy, Models,
 * Download, Reseller, Terms, 404). Reuses .home-pro tokens but adapts
 * spacing for content-heavy pages. Keep this scope tight so .home-pro
 * special-cases (hero-v3, stats-strip) don't leak in.
 * ========================================================================= */

/* ---------- 20. Page-pro hero (smaller than home, brand-driven) ---------- */
.page-pro .page-hero {
    position: relative;
    padding: clamp(72px, 10vh, 130px) 0 clamp(36px, 5vh, 60px);
    text-align: center;
    overflow: hidden;
}

.page-pro .page-hero .page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(248, 156, 45, 0.10);
    border: 1px solid rgba(248, 156, 45, 0.30);
    color: var(--primary-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.page-pro .page-hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 auto 18px;
    max-width: 880px;
    color: var(--text-color, #f5f7fb);
}

.page-pro .page-hero .page-hero-accent {
    background: linear-gradient(120deg, var(--primary-color), var(--ember, #e36b1c), var(--gold, #f5c244));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.page-pro .page-hero p.page-hero-sub {
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.65;
    color: var(--muted-text);
    max-width: 720px;
    margin: 0 auto 26px;
}

.page-pro .page-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-hero-trust,
.page-pro .page-hero-trust {
    list-style: none !important;
    padding: 0 !important;
    margin: 28px 0 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px 28px !important;
    justify-content: center !important;
    color: var(--muted-text);
    font-size: 0.86rem;
}

.page-hero-trust li,
.page-pro .page-hero-trust li {
    list-style: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.page-pro .page-hero-trust i {
    color: var(--primary-color);
}

/* Re-use the home pro buttons inside page-pro too */
.page-pro .btn-primary-pro,
.page-pro .btn-ghost-pro {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.4px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease,
        background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.page-pro .btn-primary-pro {
    background: linear-gradient(135deg, var(--primary-color), var(--ember, #e36b1c));
    color: #1b1306;
    box-shadow: 0 14px 32px -10px rgba(248, 156, 45, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.page-pro .btn-primary-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px -12px rgba(248, 156, 45, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    color: #1b1306;
}

.page-pro .btn-ghost-pro {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--text-color, #f5f7fb);
    backdrop-filter: blur(8px);
}

.page-pro .btn-ghost-pro:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(248, 156, 45, 0.06);
}

.page-pro .btn-primary-pro-lg,
.page-pro .btn-ghost-pro-lg {
    padding: 16px 30px;
    font-size: 1rem;
    border-radius: 16px;
}

/* ---------- 21. Page-pro section ---------- */
.page-pro .section-pro {
    position: relative;
    padding: clamp(48px, 7vw, 90px) 0;
}

.page-pro .section-pro-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.page-pro .section-pro-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.page-pro .section-pro-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
    color: var(--text-color, #f5f7fb);
}

.page-pro .section-pro-sub {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--muted-text);
    margin: 0;
}

/* Reveal-on-scroll primitives (reused in page-pro pages) */
.page-pro [data-reveal] {
    opacity: 0;
    transition: opacity 700ms cubic-bezier(.22, .61, .36, 1),
        transform 700ms cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

.page-pro [data-reveal="up"] {
    transform: translateY(28px);
}

.page-pro [data-reveal="left"] {
    transform: translateX(-28px);
}

.page-pro [data-reveal="right"] {
    transform: translateX(28px);
}

.page-pro [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .page-pro [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Page-pro ambient backdrop (same engine as home, lighter intensity) */
.page-pro .ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    contain: strict;
    isolation: isolate;
    transform: translateZ(0);
}

.page-pro .ambient-blob {
    position: absolute;
    width: 50vmax;
    height: 50vmax;
    border-radius: 50%;
    filter: none;
    opacity: 0.40;
    will-change: transform;
    pointer-events: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.page-pro .ambient-blob-1 {
    background: radial-gradient(circle,
            rgba(248, 156, 45, 0.38) 0%,
            rgba(248, 156, 45, 0.20) 28%,
            rgba(248, 156, 45, 0.06) 54%,
            rgba(248, 156, 45, 0) 72%);
    top: -18vmax;
    left: -12vmax;
    animation: ambientFloat1 24s ease-in-out infinite alternate;
}

.page-pro .ambient-blob-2 {
    background: radial-gradient(circle,
            rgba(34, 211, 238, 0.28) 0%,
            rgba(34, 211, 238, 0.15) 28%,
            rgba(34, 211, 238, 0.04) 54%,
            rgba(34, 211, 238, 0) 72%);
    bottom: -22vmax;
    right: -16vmax;
    animation: ambientFloat2 30s ease-in-out infinite alternate;
}

/* =========================================================================
 * 22. LIGHT THEME variants for .home-pro and .page-pro
 * -------------------------------------------------------------------------
 * The base palette is dark. When [data-theme="light"] (or the legacy
 * body:not(.dark-theme) selector used by theme-switcher.js) is active,
 * we re-tint glass, text, and ambient layers for proper contrast.
 * ========================================================================= */
[data-theme="light"],
body.light-theme,
html.light-theme {
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(15, 18, 32, 0.12);
    --glass-blur: 8px;
    --glass-shadow: 0 24px 60px -28px rgba(15, 18, 32, 0.18);
    --text-color: #111827;
    --muted-text: #4b5563;
    --accent-neon: #0284c7;
    --accent-neon-dim: #0369a1;
    --accent-glow: rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .home-pro,
body.light-theme .home-pro,
[data-theme="light"] .page-pro,
body.light-theme .page-pro {
    color: var(--text-color);
    background: linear-gradient(180deg, #f4f6fb 0%, #eef1f8 100%);
}

[data-theme="light"] .home-pro .ambient-blob-1,
[data-theme="light"] .page-pro .ambient-blob-1 {
    background: radial-gradient(closest-side,
            rgba(248, 156, 45, 0.35), rgba(248, 156, 45, 0));
    opacity: 0.45;
}

[data-theme="light"] .home-pro .ambient-blob-2,
[data-theme="light"] .page-pro .ambient-blob-2 {
    background: radial-gradient(closest-side,
            rgba(34, 211, 238, 0.25), rgba(34, 211, 238, 0));
    opacity: 0.45;
}

    [data-theme="light"] .home-pro .hero-orb,
    [data-theme="light"] .page-pro .hero-orb,
    html.light-theme .home-pro .hero-orb,
    body.light-theme .home-pro .hero-orb {
        background: radial-gradient(circle at 40% 40%, rgba(248, 156, 45, 0.20), rgba(255, 255, 255, 0.75) 70%, rgba(255, 255, 255, 0.95)) !important;
        border: 1px solid rgba(248, 156, 45, 0.30) !important;
        box-shadow: 0 24px 60px -15px rgba(248, 156, 45, 0.25), 0 8px 24px rgba(15, 23, 42, 0.08) !important;
    }

    [data-theme="light"] .home-pro .hero-op,
    html.light-theme .home-pro .hero-op,
    body.light-theme .home-pro .hero-op {
        background: rgba(255, 255, 255, 0.96) !important;
        border: 1px solid rgba(15, 23, 42, 0.14) !important;
        color: #0f172a !important;
        box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.20), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
    }

    [data-theme="light"] .home-pro .hero-op strong,
    html.light-theme .home-pro .hero-op strong,
    body.light-theme .home-pro .hero-op strong {
        color: #0f172a !important;
        font-weight: 700 !important;
    }

    [data-theme="light"] .home-pro .hero-op small,
    html.light-theme .home-pro .hero-op small,
    body.light-theme .home-pro .hero-op small {
        color: #475569 !important;
        font-weight: 500 !important;
    }

[data-theme="light"] .home-pro .feature-card,
[data-theme="light"] .home-pro .stat-card,
[data-theme="light"] .home-pro .how-step,
[data-theme="light"] .home-pro .testimonial-card,
[data-theme="light"] .home-pro .faq-item,
[data-theme="light"] .home-pro .compare-table,
[data-theme="light"] .home-pro .cta-card {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(15, 18, 32, 0.08);
    box-shadow: 0 20px 50px -28px rgba(15, 18, 32, 0.22);
}

[data-theme="light"] .home-pro .feature-card h3,
[data-theme="light"] .home-pro .how-step h3,
[data-theme="light"] .home-pro .testimonial-card footer strong,
[data-theme="light"] .home-pro .section-title,
[data-theme="light"] .home-pro .hero-title,
[data-theme="light"] .home-pro .cta-title,
[data-theme="light"] .page-pro .section-pro-title,
[data-theme="light"] .page-pro .page-hero h1 {
    color: var(--text-color);
}

[data-theme="light"] .home-pro .feature-card p,
[data-theme="light"] .home-pro .how-step p,
[data-theme="light"] .home-pro .stat-label,
[data-theme="light"] .home-pro .testimonial-card p,
[data-theme="light"] .home-pro .testimonial-card footer span,
[data-theme="light"] .home-pro .hero-sub,
[data-theme="light"] .home-pro .section-sub,
[data-theme="light"] .home-pro .cta-sub,
[data-theme="light"] .page-pro .section-pro-sub,
[data-theme="light"] .page-pro .page-hero p.page-hero-sub {
    color: var(--muted-text);
}

[data-theme="light"] .home-pro .compare-row.compare-head .compare-cell {
    background: rgba(248, 156, 45, 0.10);
}

[data-theme="light"] .home-pro .compare-row+.compare-row {
    border-top-color: rgba(15, 18, 32, 0.06);
}

[data-theme="light"] .home-pro .footer-pro,
[data-theme="light"] .page-pro .footer-pro {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.6), rgba(255, 255, 255, 0.92));
    border-top-color: rgba(15, 18, 32, 0.08);
    color: #1f2937;
}

[data-theme="light"] .home-pro .footer-pro h5,
[data-theme="light"] .page-pro .footer-pro h5 {
    color: #0b1020;
}

[data-theme="light"] .home-pro .footer-pro ul a,
[data-theme="light"] .page-pro .footer-pro ul a,
[data-theme="light"] .home-pro .footer-pro .footer-blurb,
[data-theme="light"] .page-pro .footer-pro .footer-blurb {
    color: #475569;
}

[data-theme="light"] .home-pro .footer-pro ul a:hover,
[data-theme="light"] .page-pro .footer-pro ul a:hover {
    color: var(--primary-dark);
}

[data-theme="light"] .page-pro .download-card-pro,
html.light-theme .page-pro .download-card-pro,
body.light-theme .page-pro .download-card-pro {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .page-pro .download-card-pro h3 {
    color: #0f172a !important;
}

[data-theme="light"] .page-pro .download-meta li {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: #1e293b !important;
}

[data-theme="light"] .page-pro .download-meta li strong {
    color: #64748b !important;
}

[data-theme="light"] .page-pro .download-meta li span {
    color: #0f172a !important;
}

[data-theme="light"] .page-pro .changelog-entry,
html.light-theme .page-pro .changelog-entry,
body.light-theme .page-pro .changelog-entry {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 16px 36px -15px rgba(15, 23, 42, 0.10), 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .page-pro .changelog-title,
html.light-theme .page-pro .changelog-title,
body.light-theme .page-pro .changelog-title {
    color: #0f172a !important;
}

[data-theme="light"] .page-pro .changelog-date,
html.light-theme .page-pro .changelog-date,
body.light-theme .page-pro .changelog-date {
    color: #64748b !important;
}

[data-theme="light"] .page-pro .changelog-body,
html.light-theme .page-pro .changelog-body,
body.light-theme .page-pro .changelog-body {
    color: #334155 !important;
}

[data-theme="light"] .page-hero-trust,
html.light-theme .page-hero-trust,
body.light-theme .page-hero-trust {
    color: #475569 !important;
}

/* CTA Card Ghost button: Dark Theme */
[data-theme="dark"] .cta-card .btn-ghost-pro,
html.dark-theme .cta-card .btn-ghost-pro,
body.dark-theme .cta-card .btn-ghost-pro,
.home-pro:not(.light-theme) .cta-card .btn-ghost-pro {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}
[data-theme="dark"] .cta-card .btn-ghost-pro i,
html.dark-theme .cta-card .btn-ghost-pro i,
body.dark-theme .cta-card .btn-ghost-pro i,
.home-pro:not(.light-theme) .cta-card .btn-ghost-pro i {
    color: #f89c2d !important;
}
[data-theme="dark"] .cta-card .btn-ghost-pro:hover,
html.dark-theme .cta-card .btn-ghost-pro:hover,
body.dark-theme .cta-card .btn-ghost-pro:hover,
.home-pro:not(.light-theme) .cta-card .btn-ghost-pro:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* CTA Card Ghost button: Light Theme — Crisp Charcoal on Light Card */
[data-theme="light"] .cta-card .btn-ghost-pro,
html.light-theme .cta-card .btn-ghost-pro,
body.light-theme .cta-card .btn-ghost-pro {
    background: rgba(15, 23, 42, 0.06) !important;
    border: 1px solid rgba(15, 23, 42, 0.22) !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .cta-card .btn-ghost-pro i,
html.light-theme .cta-card .btn-ghost-pro i,
body.light-theme .cta-card .btn-ghost-pro i {
    color: #ea580c !important;
}
[data-theme="light"] .cta-card .btn-ghost-pro:hover,
html.light-theme .cta-card .btn-ghost-pro:hover,
body.light-theme .cta-card .btn-ghost-pro:hover {
    background: rgba(15, 23, 42, 0.12) !important;
    border-color: rgba(15, 23, 42, 0.38) !important;
    color: #0f172a !important;
    transform: translateY(-2px) !important;
}

[data-theme="light"] .home-pro .footer-pro .footer-bottom,
[data-theme="light"] .page-pro .footer-pro .footer-bottom {
    color: #64748b;
    border-top-color: rgba(15, 18, 32, 0.08);
}

[data-theme="light"] .home-pro .footer-pro .footer-social a,
[data-theme="light"] .page-pro .footer-pro .footer-social a {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 18, 32, 0.12);
}

[data-theme="light"] .home-pro .footer-pro .footer-brand strong,
[data-theme="light"] .page-pro .footer-pro .footer-brand strong {
    color: #0b1020;
}

[data-theme="light"] .brand-logo,
[data-theme="light"] .home-pro .brand-logo,
[data-theme="light"] .page-pro .brand-logo {
    color: rgba(15, 18, 32, 0.55);
}

[data-theme="light"] .brand-logo:hover {
    color: var(--primary-color);
}

[data-theme="light"] .home-pro .hero-live-ticker {
    background: rgba(255, 255, 255, 0.85);
    color: #11151f;
}

[data-theme="light"] .home-pro .pro-glass,
[data-theme="light"] .page-pro .pro-glass {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 18, 32, 0.08);
    box-shadow: 0 22px 50px -28px rgba(15, 18, 32, 0.20);
}

/* =========================================================================
 * 23. Page-pro: pricing card grid
 * ========================================================================= */
.page-pro .pricing-pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    max-width: 1120px;
    margin: 0 auto;
}

.page-pro .pricing-pro-card {
    position: relative;
    padding: 32px 26px;
    border-radius: 22px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--glass-shadow);
    transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
    overflow: hidden;
}

.page-pro .pricing-pro-card:hover {
    transform: translateY(-6px);
    border-color: rgba(248, 156, 45, 0.30);
    box-shadow: 0 32px 70px -28px rgba(248, 156, 45, 0.30);
}

.page-pro .pricing-pro-card.is-featured {
    border-color: rgba(248, 156, 45, 0.55);
    box-shadow: 0 38px 80px -28px rgba(248, 156, 45, 0.40);
}

.page-pro .pricing-pro-card .pp-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--ember, #e36b1c));
    color: #1b1306;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
}

.page-pro .pricing-pro-card .pp-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color, #f5f7fb);
    margin-bottom: 6px;
}

.page-pro .pricing-pro-card .pp-tag {
    font-size: 0.82rem;
    color: var(--muted-text);
    margin-bottom: 18px;
}

.page-pro .pricing-pro-card .pp-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.page-pro .pricing-pro-card .pp-currency {
    font-size: 1.05rem;
    color: var(--muted-text);
    font-weight: 700;
}

.page-pro .pricing-pro-card .pp-amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.page-pro .pricing-pro-card .pp-period {
    font-size: 0.86rem;
    color: var(--muted-text);
    margin-bottom: 22px;
}

.page-pro .pricing-pro-card .pp-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    border-top: 1px solid var(--glass-border);
    padding-top: 18px;
}

.page-pro .pricing-pro-card .pp-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-color, #e8ecf3);
    line-height: 1.5;
    padding: 6px 0;
}

.page-pro .pricing-pro-card .pp-features li i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.page-pro .pricing-pro-card .pp-cta {
    display: block;
    width: 100%;
    padding: 13px 18px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-color, #f5f7fb);
    font-weight: 700;
    transition: background 220ms ease, color 220ms ease, transform 180ms ease;
}

.page-pro .pricing-pro-card .pp-cta:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--ember, #e36b1c));
    color: #1b1306;
    transform: translateY(-2px);
}

.page-pro .pricing-pro-card.is-featured .pp-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--ember, #e36b1c));
    color: #1b1306;
    border-color: transparent;
    box-shadow: 0 14px 32px -10px rgba(248, 156, 45, 0.55);
}

/* =========================================================================
 * 24. Page-pro: brand grid (models page)
 * ========================================================================= */
.page-pro .brand-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}

.page-pro .brand-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 16px;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
    color: var(--text-color, #f5f7fb);
    text-decoration: none;
    cursor: pointer;
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.page-pro .brand-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(248, 156, 45, 0.45);
    box-shadow: 0 22px 48px -22px rgba(248, 156, 45, 0.40);
    color: var(--primary-color);
}

.page-pro .brand-tile.is-active {
    border-color: var(--primary-color);
    background: rgba(248, 156, 45, 0.08);
    color: var(--primary-color);
}

.page-pro .brand-tile .brand-logo {
    width: auto !important;
    height: 52px !important;
    min-width: 120px;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
    color: inherit;
}

.page-pro .brand-tile .brand-logo svg {
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    display: block;
    background: transparent !important;
}

.page-pro .brand-tile .brand-tile-count {
    font-size: 0.74rem;
    color: var(--muted-text);
    font-weight: 600;
}

.page-pro .brand-tile.is-active .brand-tile-count {
    color: var(--primary-color);
    opacity: 0.85;
}

/* =========================================================================
 * 25. Page-pro: download / changelog timeline
 * ========================================================================= */
.page-pro .download-card-pro {
    padding: 32px;
    border-radius: 22px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--glass-shadow);
}

.download-meta,
.page-pro .download-meta {
    list-style: none !important;
    padding: 0 !important;
    margin: 22px 0 !important;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.download-meta li,
.page-pro .download-meta li {
    list-style: none !important;
    display: flex !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    font-size: 0.92rem;
    color: var(--text-color, #e8ecf3);
    border-bottom: 1px solid var(--glass-border);
}

.page-pro .download-meta li:last-child {
    border-bottom: 0;
}

.page-pro .download-meta li strong {
    color: var(--muted-text);
    font-weight: 600;
}

.page-pro .download-meta li span {
    color: var(--text-color, #f5f7fb);
    font-weight: 700;
}

.page-pro .download-counter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(248, 156, 45, 0.10);
    border: 1px solid rgba(248, 156, 45, 0.30);
    color: var(--primary-color);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.page-pro .changelog-timeline {
    position: relative;
    margin: 0 auto;
    max-width: 880px;
    padding-inline-start: 22px;
}

.page-pro .changelog-timeline::before {
    content: "";
    position: absolute;
    inset-inline-start: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
            rgba(248, 156, 45, 0.65) 0%,
            rgba(248, 156, 45, 0.18) 100%);
    border-radius: 2px;
}

.page-pro .changelog-entry {
    position: relative;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
    margin-bottom: 16px;
    box-shadow: 0 18px 42px -28px rgba(15, 18, 32, 0.40);
}

.page-pro .changelog-entry::before {
    content: "";
    position: absolute;
    inset-inline-start: -22px;
    top: 26px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--ember, #e36b1c));
    border: 3px solid var(--bg-color, #0b0e17);
    box-shadow: 0 0 0 2px rgba(248, 156, 45, 0.45);
}

.page-pro .changelog-entry-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.page-pro .changelog-version {
    background: linear-gradient(135deg, var(--primary-color), var(--ember, #e36b1c));
    color: #1b1306;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

.page-pro .changelog-date {
    font-size: 0.78rem;
    color: var(--muted-text);
}

.page-pro .changelog-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-color, #f5f7fb);
    margin: 0 0 8px;
}

.page-pro .changelog-body {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--muted-text);
}

.page-pro .changelog-body ul {
    padding-inline-start: 20px;
}

.page-pro .changelog-body li {
    margin-bottom: 4px;
}

/* =========================================================================
 * 26. Page-pro: terms / 404 hero & content blocks
 * ========================================================================= */
.page-pro .legal-prose {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-color, #e8ecf3);
    font-size: 0.95rem;
    line-height: 1.75;
}

.page-pro .legal-prose h2 {
    margin-top: 36px;
    margin-bottom: 12px;
    font-size: 1.22rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 0.4px;
}

.page-pro .legal-prose p {
    margin-bottom: 14px;
}

.page-pro .legal-prose ul {
    padding-inline-start: 22px;
    margin-bottom: 14px;
}

.page-pro .legal-prose li {
    margin-bottom: 6px;
    color: var(--muted-text);
}

.reseller-apply-link {
    color: #f89c2d !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    font-weight: 800 !important;
    transition: all 0.2s ease-in-out !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    background: rgba(248, 156, 45, 0.12) !important;
    display: inline-block !important;
}

.reseller-apply-link:hover {
    color: #ffc107 !important;
    background: rgba(248, 156, 45, 0.26) !important;
    box-shadow: 0 0 12px rgba(248, 156, 45, 0.45) !important;
    text-decoration: underline !important;
}

/* =========================================================================
 * 27. Page-pro: navbar + footer styling shared with home
 * ========================================================================= */
.page-pro .footer-bottom {
    margin-top: 48px;
    padding: 22px 0;
    border-top: 1px solid var(--glass-border);
    color: var(--muted-text);
    font-size: 0.82rem;
}

.page-pro .footer-pro {
    background: linear-gradient(180deg, rgba(11, 14, 23, 0.0), rgba(11, 14, 23, 0.85) 30%);
    padding: 64px 0 0;
    border-top: 1px solid var(--glass-border);
}

.page-pro .footer-pro h5 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.page-pro .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color, #f5f7fb);
    margin-bottom: 16px;
}

.page-pro .footer-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(248, 156, 45, 0.55));
}

.page-pro .footer-brand strong {
    font-size: 1.05rem;
    font-weight: 700;
}

.page-pro .footer-pro ul.list-unstyled li,
.page-pro .footer-pro .footer-contact-list li {
    margin-bottom: 10px;
}

.page-pro .footer-pro ul a {
    color: var(--muted-text);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 200ms ease, padding 200ms ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page-pro .footer-pro ul a:hover {
    color: var(--primary-color);
    padding-inline-start: 4px;
}

.page-pro .footer-contact-list i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

/* page-pro footer social is handled by universal rules above */

html[dir="rtl"] .page-pro .footer-pro ul a:hover {
    padding-inline-start: 0;
    padding-inline-end: 4px;
}

/* =========================================================================
 * 28. Final polish — page-pro baseline, scope extensions, RTL niceties
 * -------------------------------------------------------------------------
 * Catches anything previous sections delegated implicitly (e.g. body
 * background, navbar transparency, faq-item shared with .home-pro,
 * pricing teaser placement, hero-z fixes, whatsapp/loader z stacking).
 * ========================================================================= */

/* Body baseline — when the dark theme tokens already provide --bg-color,
   page-pro inherits it; we just re-state to flatten any stray `body { ... }`
   from modern-styles.css that might still pin a white background. */
body.page-pro,
body.home-pro {
    background: var(--bg-color, #0b0e17);
    color: var(--text-color, #e8ecf3);
    min-height: 100vh;
}

/* Navbar should sit above the ambient backdrop and below dropdowns. */
.page-pro .navbar.header-modern,
.home-pro .navbar.header-modern {
    z-index: 50;
}

.page-pro .navbar.header-modern,
.home-pro .navbar.header-modern,
[data-theme="light"] .page-pro .navbar.header-modern,
[data-theme="light"] .home-pro .navbar.header-modern {
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* Loading overlay should always cover everything. */
.page-pro .loading-overlay,
.home-pro .loading-overlay {
    z-index: 9999;
}

/* WhatsApp widget above content but below modals. */
.page-pro .floating-whatsapp,
.home-pro .floating-whatsapp {
    z-index: 60;
}

/* FAQ items: extend home-pro styling to page-pro pages so Buy.html
   inline accordion uses the same visual language without us having to
   inline every property in the markup. */
.page-pro .faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    transition: border-color 320ms ease, box-shadow 320ms ease;
    overflow: hidden;
}

.page-pro .faq-item[open] {
    border-color: rgba(248, 156, 45, 0.32);
    box-shadow: 0 18px 42px -22px rgba(248, 156, 45, 0.40);
}

.page-pro .faq-item summary {
    user-select: none;
}

.page-pro .faq-item summary::-webkit-details-marker {
    display: none;
}

.page-pro .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(248, 156, 45, 0.14);
    color: var(--primary-color);
    font-size: 0.74rem;
    transition: transform 280ms ease, background 280ms ease;
    flex-shrink: 0;
}

.page-pro .faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: #1b1306;
}

.page-pro .faq-item p a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* CTA card final polish — used on Buy.html / index.html. */
.page-pro .cta-card,
.home-pro .cta-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
}

/* Pricing-runtime cards inside .page-pro should adopt the glass surface. */
.page-pro .pricing-runtime .card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.page-pro .pricing-runtime .card:hover {
    transform: translateY(-4px);
    border-color: rgba(248, 156, 45, 0.30);
    box-shadow: 0 32px 70px -28px rgba(248, 156, 45, 0.30);
}

.page-pro .pricing-runtime .list-group-item {
    background: transparent;
    color: var(--text-color, #e8ecf3);
    border-color: var(--glass-border);
    font-size: 0.88rem;
}

.page-pro .pricing-runtime .btn-gradient,
.home-pro .pricing-runtime .btn-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--ember, #e36b1c));
    color: #1b1306;
    border: 0;
    border-radius: 12px;
    padding: 12px 22px;
    font-weight: 700;
    box-shadow: 0 14px 32px -10px rgba(248, 156, 45, 0.55);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.page-pro .pricing-runtime .btn-gradient:hover,
.home-pro .pricing-runtime .btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px -12px rgba(248, 156, 45, 0.7);
    color: #1b1306;
}

/* Light-theme refinement for pricing inside page-pro. */
[data-theme="light"] .page-pro .pricing-runtime .list-group-item {
    color: #11151f;
    border-color: rgba(15, 18, 32, 0.08);
}

/* Models page baseline — keep d3 SVG transparent in dark mode. */
.page-pro #matrix-svg,
.page-pro .matrix-view svg {
    background: transparent;
}

/* Reveal-on-scroll fall-through guard: if reveal observer isn't wired
   on a particular page (e.g. Terms / 404), make sure content still shows. */
.page-pro [data-reveal]:not(.is-revealed) {
    transition-delay: 0.4s;
}

.page-pro [data-reveal] {
    /* Soft fallback: even without IntersectionObserver, the element
       eventually becomes visible after a short delay via this rule. */
    animation: pageRevealFallback 1.4s ease-out 0.6s forwards;
}

@keyframes pageRevealFallback {
    to {
        opacity: 1;
        transform: none;
    }
}

/* RTL final fixes for direction-sensitive elements. */
html[dir="rtl"] .page-pro .download-meta li strong,
html[dir="rtl"] .home-pro .download-meta li strong {
    text-align: right;
}

/* In Arabic / RTL: Image on the LEFT and Download Info Card on the RIGHT on desktop */
@media (min-width: 992px) {
    html[dir="rtl"] .download-showcase-row,
    [dir="rtl"] .download-showcase-row {
        flex-direction: row-reverse !important;
    }
}

/* Changelog history: keep strictly LTR in Arabic / RTL because release notes are in English */
html[dir="rtl"] .page-pro .changelog-timeline,
[dir="rtl"] .changelog-timeline,
.page-pro .changelog-timeline[dir="ltr"],
.changelog-timeline[dir="ltr"] {
    direction: ltr !important;
    text-align: left !important;
    padding-left: 22px !important;
    padding-right: 0 !important;
    padding-inline-start: 22px !important;
    padding-inline-end: 0 !important;
}

html[dir="rtl"] .page-pro .changelog-timeline::before,
[dir="rtl"] .changelog-timeline::before,
.page-pro .changelog-timeline[dir="ltr"]::before,
.changelog-timeline[dir="ltr"]::before {
    left: 6px !important;
    right: auto !important;
    inset-inline-start: 6px !important;
    inset-inline-end: auto !important;
}

html[dir="rtl"] .page-pro .changelog-entry,
[dir="rtl"] .changelog-entry,
.changelog-entry[dir="ltr"] {
    direction: ltr !important;
    text-align: left !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

html[dir="rtl"] .page-pro .changelog-entry summary,
[dir="rtl"] .changelog-entry summary {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .page-pro .changelog-entry::before,
[dir="rtl"] .changelog-entry::before,
.changelog-entry[dir="ltr"]::before {
    left: -22px !important;
    right: auto !important;
    inset-inline-start: -22px !important;
    inset-inline-end: auto !important;
}

html[dir="rtl"] .page-pro .changelog-entry-head,
[dir="rtl"] .changelog-entry-head {
    direction: ltr !important;
    text-align: left !important;
    justify-content: flex-start !important;
}

html[dir="rtl"] .page-pro .changelog-version,
[dir="rtl"] .changelog-version {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .page-pro .changelog-date,
[dir="rtl"] .changelog-date {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .page-pro .changelog-title,
[dir="rtl"] .changelog-title {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .page-pro .changelog-body,
[dir="rtl"] .changelog-body,
html[dir="rtl"] .page-pro .changelog-body *,
[dir="rtl"] .changelog-body * {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
}

/* Light theme — ensure header readable */
[data-theme="light"] .page-pro .navbar.header-modern,
[data-theme="light"] .home-pro .navbar.header-modern {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(15, 18, 32, 0.06);
}

[data-theme="light"] .page-pro .nav-link,
[data-theme="light"] .home-pro .nav-link {
    color: #11151f !important;
}

[data-theme="light"] .page-pro .nav-link.active,
[data-theme="light"] .home-pro .nav-link.active {
    color: var(--primary-color) !important;
}

/* Responsive niceties for hero op cards & visual on small screens */
@media (max-width: 991px) {
    .home-pro .hero-visual {
        height: 420px;
        min-height: 380px;
        max-width: 440px;
        margin-top: 24px;
    }
}

@media (max-width: 575px) {
    .home-pro .hero-visual {
        height: 340px;
        min-height: 320px;
        max-width: 100%;
        margin-top: 16px;
    }

    .home-pro .hero-op-1 {
        top: 0;
    }

    .home-pro .hero-op-3 {
        bottom: 0;
    }
}

/* Brand strip in light theme — stronger contrast for muted glyphs. */
[data-theme="light"] .brand-strip-track,
[data-theme="light"] .brand-strip-track-rev {
    opacity: 0.85;
}

/* Final guard: make sure the global .footer (legacy) doesn't leak when
   the page is on the new shell — older modern-styles.css rules won't fire
   because the new pages use .footer-pro instead of .footer. */
.page-pro footer.footer-pro {
    color: var(--muted-text);
}

/* =========================================================================
 * Mobile performance optimization (max-width: 768px)
 * Disables continuous ambient GPU transformations and softens backdrop-blur
 * to eliminate frame drops and preserve mobile battery life.
 * ========================================================================= */
@media (max-width: 768px) {

    :root,
    [data-theme="light"],
    [data-theme="dark"] {
        --glass-blur: 6px;
    }

    .home-pro .ambient-blob,
    .page-pro .ambient-blob,
    .ambient-blob {
        animation: none !important;
        transform: none !important;
        filter: none !important;
        opacity: 0.18 !important;
        will-change: auto !important;
    }

    .home-pro .hero-ring,
    .hero-ring-1,
    .hero-ring-2,
    .hero-ring-3 {
        animation: none !important;
    }

    .pro-glass,
    .glass-card,
    .navbar,
    .header-modern,
    .pricing-runtime>.col-lg-4>.card,
    .pricing-runtime>.col-lg-3>.card,
    .pricing-runtime>.plan-card-col>.card {
        -webkit-backdrop-filter: blur(6px) !important;
        backdrop-filter: blur(6px) !important;
    }
}

/* =========================================================================
 * Accessibility: Prefers-reduced-motion
 * Respects system accessibility setting by disabling all non-essential
 * ambient loops and heavy transitions.
 * ========================================================================= */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .home-pro .ambient-blob,
    .page-pro .ambient-blob,
    .ambient-blob,
    .home-pro .hero-ring,
    .hero-ring-1,
    .hero-ring-2,
    .hero-ring-3,
    .hero-orb,
    .hero-chip {
        animation: none !important;
        transform: none !important;
        will-change: auto !important;
    }
}