/* =========================================================================
   Developers > Browser Extension tanitim sayfasi (E-20260703-09).
   Mobile uyumlu + light/dark theme destegi (html.theme-dark).
   Public layout icin tam-bagimsiz tasarim — bd-* class'lara referans yok.
   Tum custom isimlendirme bext-* prefix'i ile (developers-embed.css dev-*
   ile ayni desen; iki sayfa da bagimsiz oldugu icin ayri prefix secildi).
   ========================================================================= */

.bext-page {
    --bext-card-bg: #ffffff;
    --bext-card-border: #e2e8f0;
    --bext-sunken: #f8fafc;
    --bext-text: #0f172a;
    --bext-text-muted: #64748b;
    --bext-brand: #4f46e5;
    --bext-brand-hover: #4338ca;
    --bext-brand-soft: #eef2ff;
    --bext-shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
    --bext-shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.18);

    color: var(--bext-text);
}

html.theme-dark .bext-page {
    --bext-card-bg: #1e293b;
    --bext-card-border: #334155;
    --bext-sunken: #0f172a;
    --bext-text: #f1f5f9;
    --bext-text-muted: #94a3b8;
    --bext-brand: #6366f1;
    --bext-brand-hover: #818cf8;
    --bext-brand-soft: #312e81;
    --bext-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
    --bext-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.bext-page .container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============== BUTONLAR ============== */
.bext-page .bext-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
    white-space: nowrap;
}

.bext-page .bext-btn--lg {
    padding: 13px 24px;
    font-size: 15px;
    border-radius: 12px;
}

.bext-page .bext-btn--primary {
    background: var(--bext-brand);
    color: #ffffff;
    border-color: var(--bext-brand);
    box-shadow: 0 1px 2px rgba(79, 70, 229, 0.2);
}
.bext-page .bext-btn--primary:hover {
    background: var(--bext-brand-hover);
    border-color: var(--bext-brand-hover);
    color: #ffffff;
}

.bext-page .bext-btn--ghost {
    background: transparent;
    color: var(--bext-text);
    border-color: var(--bext-card-border);
}
.bext-page .bext-btn--ghost:hover {
    background: var(--bext-sunken);
    color: var(--bext-text);
}

.bext-page .bext-btn--disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============== HERO ============== */
.bext-hero {
    padding: 72px 0 56px;
    text-align: center;
    background: linear-gradient(180deg, var(--bext-brand-soft) 0%, transparent 100%);
}

.bext-hero__inner {
    max-width: 720px;
    margin: 0 auto;
}

.bext-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--bext-brand);
    background: var(--bext-brand-soft);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.bext-hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--bext-text);
}

.bext-hero__lead {
    font-size: 16px;
    color: var(--bext-text-muted);
    margin: 0 0 28px;
    line-height: 1.6;
}

.bext-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============== SECTION ============== */
.bext-section {
    padding: 56px 0;
}

.bext-section__title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 32px;
    color: var(--bext-text);
}

/* ============== FEATURE GRID ============== */
.bext-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bext-feature-card {
    background: var(--bext-card-bg);
    border: 1px solid var(--bext-card-border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: var(--bext-shadow-md);
}

.bext-feature-card--pro {
    border-color: var(--bext-brand);
}

.bext-feature-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bext-brand-soft);
    color: var(--bext-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.bext-feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--bext-text);
}

.bext-feature-card p {
    font-size: 14px;
    color: var(--bext-text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ============== STEPS ============== */
.bext-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bext-step {
    text-align: center;
}

.bext-step__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bext-brand-soft);
    color: var(--bext-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 14px;
}

.bext-step h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--bext-text);
}

.bext-step p {
    font-size: 14px;
    color: var(--bext-text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ============== UPSELL ============== */
.bext-upsell__card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bext-card-bg);
    border: 1px solid var(--bext-card-border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--bext-shadow-lg);
}

.bext-upsell__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--bext-brand-soft);
    color: var(--bext-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.bext-upsell__body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--bext-text);
}

.bext-upsell__body p {
    margin: 0 0 14px;
    color: var(--bext-text-muted);
    line-height: 1.6;
}

/* ============== MOBIL (breakpoint'ler: 1024px / 768px / 375px) ============== */
@media (max-width: 1024px) {
    .bext-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bext-hero {
        padding: 48px 0 36px;
    }

    .bext-feature-grid,
    .bext-steps {
        grid-template-columns: 1fr;
    }

    .bext-upsell__card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 375px) {
    .bext-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .bext-hero__actions .bext-btn {
        width: 100%;
    }
}
