/* BLM Pro frontend styles */

.blm-pro-cta {
    margin: 2.2rem 0;
    padding: 1.6rem 1.8rem;
    border: 1px solid #d1fae5;
    border-left: 5px solid #22c55e;
    border-radius: 12px;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.08);
}

.blm-pro-cta-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 1.15rem;
    color: #0f172a;
}

.blm-pro-status {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.blm-pro-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.blm-pro-dot-ok { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.blm-pro-dot-warn { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.18); }

.blm-pro-cta-sub {
    margin: 0.6rem 0 1.1rem;
    color: #475569;
}

.blm-pro-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #22c55e;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.02rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

.blm-pro-wa-btn:hover {
    background: #16a34a;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(34, 197, 94, 0.42);
}

.blm-pro-cta-note {
    margin: 0.7rem 0 0;
    font-size: 0.82rem;
    color: #94a3b8;
}

.blm-pro-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.45);
    transition: transform .15s ease;
}

.blm-pro-float:hover {
    transform: scale(1.08);
    color: #fff;
}

@media (max-width: 600px) {
    .blm-pro-cta { padding: 1.2rem; }
    .blm-pro-wa-btn { width: 100%; justify-content: center; }
}

/* ---------- BLM Pro premium templates ---------- */

.blm-pro-body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
    color: #0f172a;
    background: #f8fafc;
    line-height: 1.6;
}

.blm-wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* Nav */
.blm-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.blm-nav-inner { display: flex; align-items: center; gap: 2rem; height: 66px; }
.blm-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none !important; }
.blm-logo-mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #22c55e);
    color: #fff; font-weight: 800; font-size: 1.1rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.blm-logo-text { color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: .2px; }
.blm-nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.blm-nav-links a { color: #cbd5e1; text-decoration: none !important; font-size: .95rem; font-weight: 500; }
.blm-nav-links a:hover { color: #fff; }
.blm-nav-cta {
    background: #22c55e; color: #fff !important; font-weight: 700; font-size: .9rem;
    padding: .55rem 1.1rem; border-radius: 999px; text-decoration: none !important;
    white-space: nowrap;
}
.blm-nav-cta:hover { background: #16a34a; }

/* Hero */
.blm-hero {
    background: radial-gradient(1000px 500px at 20% 0%, #1e3a8a 0%, #0f172a 60%);
    color: #fff; padding: 5rem 0 4rem; text-align: center;
}
.blm-hero-badge {
    display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: #86efac;
    border: 1px solid rgba(134,239,172,.35); border-radius: 999px;
    padding: .35rem 1rem; margin-bottom: 1.2rem;
}
.blm-hero h1 { font-size: 2.9rem; line-height: 1.15; margin: 0 0 1rem; font-weight: 800; letter-spacing: -0.5px; }
.blm-hero h1 span {
    background: linear-gradient(90deg, #60a5fa, #34d399);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.blm-hero-sub { color: #cbd5e1; font-size: 1.12rem; max-width: 720px; margin: 0 auto 2rem; }
.blm-hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.6rem; }
.blm-hero-stats { display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; }
.blm-hero-stats div { display: flex; flex-direction: column; }
.blm-hero-stats strong { font-size: 1.7rem; color: #fff; }
.blm-hero-stats span { color: #94a3b8; font-size: .88rem; }

/* Buttons */
.blm-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 700; border-radius: 10px; text-decoration: none !important;
    padding: .7rem 1.3rem; font-size: .95rem; border: 1px solid transparent;
    cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.blm-btn-primary { background: #2563eb; color: #fff !important; box-shadow: 0 8px 20px rgba(37,99,235,.35); }
.blm-btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }
.blm-btn-ghost { background: rgba(255,255,255,.08); color: #fff !important; border-color: rgba(255,255,255,.25); }
.blm-btn-ghost:hover { background: rgba(255,255,255,.16); }
.blm-btn-wa { background: #22c55e; color: #fff !important; padding: .55rem .95rem; font-size: .88rem; }
.blm-btn-wa:hover { background: #16a34a; }
.blm-btn-lg { padding: .95rem 1.9rem; font-size: 1.05rem; }
.blm-card .blm-btn-ghost { background: #f1f5f9; color: #0f172a !important; border-color: #e2e8f0; }
.blm-card .blm-btn-ghost:hover { background: #e2e8f0; }

/* Sections */
.blm-section { padding: 4rem 0; }
.blm-section-alt { background: #fff; border-top: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; }
.blm-h2 { font-size: 2rem; margin: 0 0 .5rem; letter-spacing: -0.3px; }
.blm-lead { color: #64748b; margin: 0 0 2.2rem; font-size: 1.05rem; }

/* Niche grid */
.blm-niche-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; }
.blm-niche-card {
    display: flex; align-items: center; gap: 1rem;
    background: #fff; border: 1px solid #e8eef5; border-radius: 14px;
    padding: 1rem 1.2rem; text-decoration: none !important; color: #0f172a;
    transition: transform .12s ease, box-shadow .12s ease;
}
.blm-niche-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,23,42,.10); }
.blm-niche-card img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.blm-niche-fallback {
    width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
    background: linear-gradient(135deg, #dbeafe, #dcfce7);
    color: #1d4ed8; font-weight: 800; font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
}
.blm-niche-info strong { display: block; font-size: 1rem; }
.blm-niche-info span { color: #64748b; font-size: .85rem; }

/* Listing cards */
.blm-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.2rem; }
.blm-card {
    background: #fff; border: 1px solid #e8eef5; border-radius: 16px;
    padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .9rem;
    transition: transform .12s ease, box-shadow .12s ease;
}
.blm-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15,23,42,.10); }
.blm-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.blm-card-domain { font-weight: 800; font-size: 1.12rem; color: #0f172a !important; text-decoration: none !important; word-break: break-all; }
.blm-card-domain:hover { color: #2563eb !important; }
.blm-badge { font-size: .72rem; font-weight: 700; padding: .28rem .65rem; border-radius: 999px; white-space: nowrap; }
.blm-badge-ok { background: #dcfce7; color: #15803d; }
.blm-badge-warn { background: #fef3c7; color: #b45309; }
.blm-card-metrics { display: flex; flex-wrap: wrap; gap: .5rem; }
.blm-metric {
    font-size: .8rem; color: #475569; background: #f1f5f9;
    border-radius: 8px; padding: .3rem .6rem;
}
.blm-metric strong { color: #0f172a; }
.blm-metric-country { background: #eff6ff; color: #1d4ed8; }
.blm-card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .4rem; border-top: 1px dashed #e8eef5; }
.blm-card-price { font-size: 1.5rem; font-weight: 800; color: #0f172a; }
.blm-card-price span { font-size: .78rem; font-weight: 500; color: #94a3b8; }
.blm-card-actions { display: flex; gap: .55rem; }

/* Steps */
.blm-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.blm-step { background: #fff; border: 1px solid #e8eef5; border-radius: 16px; padding: 1.8rem; }
.blm-step-n {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #22c55e);
    color: #fff; font-weight: 800; font-size: 1.15rem;
    display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.blm-step h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.blm-step p { margin: 0; color: #64748b; font-size: .95rem; }

/* FAQ */
.blm-faq details {
    background: #f8fafc; border: 1px solid #e8eef5; border-radius: 12px;
    padding: 1rem 1.3rem; margin-bottom: .8rem;
}
.blm-faq summary { font-weight: 700; cursor: pointer; font-size: 1rem; }
.blm-faq details p { color: #475569; margin: .6rem 0 0; }

/* CTA band */
.blm-cta-band { background: linear-gradient(120deg, #1e3a8a, #0f172a); color: #fff; text-align: center; padding: 3.6rem 0; }
.blm-cta-band h2 { margin: 0 0 .5rem; font-size: 1.9rem; }
.blm-cta-band p { color: #cbd5e1; margin: 0 0 1.6rem; }

/* Footer */
.blm-footer { background: #0f172a; color: #cbd5e1; padding: 3.4rem 0 0; margin-top: 2rem; }
.blm-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.4rem; }
.blm-footer h4 { color: #fff; margin: 0 0 1rem; font-size: .95rem; text-transform: uppercase; letter-spacing: 1px; }
.blm-footer ul { list-style: none; margin: 0; padding: 0; }
.blm-footer li { margin-bottom: .55rem; font-size: .93rem; }
.blm-footer ul a { color: #94a3b8; text-decoration: none !important; }
.blm-footer ul a:hover { color: #fff; }
.blm-footer-brand p { color: #94a3b8; font-size: .93rem; margin: 1rem 0 1.2rem; max-width: 300px; }
.blm-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 22px; font-size: .85rem; color: #64748b; }

/* Category page */
.blm-cat-hero { background: radial-gradient(900px 420px at 15% 0%, #1e3a8a 0%, #0f172a 62%); color: #fff; padding: 3.2rem 0; }
.blm-cat-hero-inner { display: flex; gap: 1.8rem; align-items: center; }
.blm-cat-img { width: 110px; height: 110px; border-radius: 22px; object-fit: cover; border: 3px solid rgba(255,255,255,.2); }
.blm-crumb { color: #94a3b8; font-size: .85rem; margin-bottom: .6rem; }
.blm-crumb a { color: #cbd5e1; text-decoration: none !important; }
.blm-cat-hero h1 { margin: 0 0 .6rem; font-size: 2.2rem; letter-spacing: -.4px; }
.blm-cat-hero h1 span { color: #86efac; font-weight: 600; font-size: 1.4rem; display: block; }
.blm-cat-desc { color: #cbd5e1; max-width: 640px; margin: 0 0 .8rem; }
.blm-cat-count { color: #86efac; font-size: .95rem; }
.blm-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; color: #64748b; }
.blm-sort { display: flex; align-items: center; gap: .6rem; }
.blm-sort select { padding: .5rem .8rem; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; font-size: .9rem; }
.blm-empty { background: #fff; border: 1px dashed #cbd5e1; border-radius: 16px; padding: 3rem; text-align: center; }
.blm-empty h3 { margin: 0 0 .5rem; }
.blm-empty p { color: #64748b; margin: 0 0 1.4rem; }

@media (max-width: 760px) {
    .blm-hero h1 { font-size: 2rem; }
    .blm-nav-links { display: none; }
    .blm-footer-grid { grid-template-columns: 1fr 1fr; }
    .blm-cat-hero-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Single listing page ---------- */
.blm-single { padding: 2.2rem 0 3rem; }
.blm-crumb-dark { color: #94a3b8; margin-bottom: 1.2rem; }
.blm-crumb-dark a { color: #64748b; }
.blm-single-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.8rem;
}
.blm-single-domain {
    margin: 0 0 0.7rem; font-size: 2.1rem; letter-spacing: -0.4px;
    word-break: break-all;
}
.blm-single-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.blm-tag {
    font-size: 0.8rem; font-weight: 600; color: #1d4ed8;
    background: #eff6ff; border-radius: 999px; padding: 0.28rem 0.75rem;
    text-decoration: none !important;
}
.blm-tag:hover { background: #dbeafe; }
.blm-btn-dark { background: #0f172a; color: #fff !important; border-color: #0f172a; }
.blm-btn-dark:hover { background: #1e293b; }
.blm-single-grid {
    display: grid; grid-template-columns: 1fr 320px;
    gap: 1.4rem; align-items: start;
}
.blm-panel-card {
    background: #fff; border: 1px solid #e8eef5; border-radius: 16px;
    padding: 1.6rem 1.7rem; margin-bottom: 1.4rem;
}
.blm-panel-card h2 { margin: 0 0 1.1rem; font-size: 1.15rem; letter-spacing: -0.2px; }
.blm-stat-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.8rem;
}
.blm-stat {
    background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px;
    padding: 0.8rem 1rem; display: flex; flex-direction: column; gap: 0.15rem;
}
.blm-stat-label { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.6px; }
.blm-stat-val { font-size: 1.25rem; color: #0f172a; }
.blm-dl { margin: 0; display: grid; gap: 0.7rem; }
.blm-dl > div {
    display: flex; justify-content: space-between; gap: 1rem;
    padding-bottom: 0.7rem; border-bottom: 1px dashed #eef2f7;
}
.blm-dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.blm-dl dt { color: #64748b; font-size: 0.92rem; }
.blm-dl dd { margin: 0; font-weight: 700; color: #0f172a; font-size: 0.95rem; text-align: right; }
.blm-desc { color: #334155; }
.blm-desc p { margin: 0 0 1rem; }
.blm-price-card {
    background: #0f172a; color: #fff; border-radius: 18px;
    padding: 1.8rem; position: sticky; top: 90px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}
.blm-price-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.2px; color: #94a3b8; }
.blm-price-big { font-size: 2.6rem; font-weight: 800; margin: 0.3rem 0 0.1rem; }
.blm-price-note { color: #94a3b8; font-size: 0.85rem; display: block; margin-bottom: 1.3rem; }
.blm-wa-full { width: 100%; justify-content: center; box-sizing: border-box; }
.blm-wa-note { color: #94a3b8; font-size: 0.82rem; margin: 0.9rem 0 0; line-height: 1.5; }
.blm-wa-note strong { color: #e2e8f0; }

@media (max-width: 860px) {
    .blm-single-grid { grid-template-columns: 1fr; }
    .blm-price-card { position: static; }
    .blm-single-domain { font-size: 1.6rem; }
}
