/* =========================================================
   bdix-hosting.css  (rewritten, loads AFTER style.css)
   Built against the real style.css: every pricing rule is
   prefixed with .pricing-card so it beats style.css specificity.
   No overflow-x:hidden !important hacks, no container override.
   Breakpoints: 1200 / 1024 / 992 / 768 / 576 / 380 / 340 / 300
========================================================= */
body {
    --bx-primary: var(--primary-blue, #0d6efd);
    --bx-primary-dark: #0b5ed7;
    --bx-soft: var(--secondary-blue, #e3effd);
    --bx-dark: var(--text-dark, #1e293b);
    --bx-gray: var(--text-gray, #64748b);
    --bx-border: var(--border-color, #e2e8f0);
    --bx-light: var(--bg-light, #f8fafc);
    --bx-green: #10b981;
    --bx-orange: #f59e0b;
    --bx-red: #ef4444;
    --bx-ink: #0a1530;
    --bx-line: #e3e9f3;
}
/* clip (not hidden) keeps the sticky header and dropdowns working */
@supports (overflow: clip) {
    body { overflow-x: clip; }
    .bx-main, .footer, .top-banner { overflow-x: clip; }
}
img, svg, video, iframe { max-width: 100%; }
.logo { min-width: 0; flex: 0 1 auto; }
.logo img { width: auto; max-width: 100%; object-fit: contain; }
html { scroll-behavior: smooth; }

.bx-main, .bx-main *, .bx-main *::before, .bx-main *::after,
.bx-sticky, .bx-sticky * { box-sizing: border-box; }
.bx-main { color: var(--bx-dark); }
.bx-main img { height: auto; }
.bx-main [id] { scroll-margin-top: 90px; }
#pricing { height: 0; scroll-margin-top: 80px; }
.bx-main .container {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}
:where(.bx-main) :is(h1, h2, h3, h4, p, ul) { margin: 0; }
:where(.bx-main) ul { padding: 0; list-style: none; }

/* ---------- Header drawer: hidden completely when closed ---------- */
@media (max-width: 992px) {
    .navbar { visibility: hidden; transition: right .4s cubic-bezier(.4,0,.2,1), visibility 0s linear .4s; }
    .navbar:not(.active) { box-shadow: none; }
    .navbar.active { visibility: visible; transition-delay: 0s; }
    .mobile-menu-btn { min-width: 44px; min-height: 44px; padding: 0; }
}
@media (min-width: 993px) and (max-width: 1100px) {
    .nav-links { gap: 14px; }
    .nav-links > li > a, .login-btn { font-size: 14px; white-space: nowrap; }
    .nav-actions { gap: 12px; }
    .nav-actions .btn { padding: 9px 16px; white-space: nowrap; }
}

/* ---------- Reveal ---------- */
.js .bx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .bx-reveal.in-view { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.bx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 13px 28px; border: 2px solid transparent; border-radius: 12px;
    font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center;
    cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.bx-btn:focus-visible, .btn-apply:focus-visible, .toggle-option:focus-visible, .faq-header:focus-visible {
    outline: 3px solid rgba(13,110,253,.45); outline-offset: 2px;
}
.bx-btn-primary { background: linear-gradient(135deg, var(--bx-primary), #3b82f6); color: #fff; box-shadow: 0 8px 22px rgba(13,110,253,.35); }
.bx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(13,110,253,.45); color: #fff; }
.bx-btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #fff; }
.bx-btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.bx-btn-light { background: #fff; color: var(--bx-primary); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.bx-btn-light:hover { transform: translateY(-2px); color: var(--bx-primary-dark); }
.bx-btn-outline { background: #fff; border-color: var(--bx-line); color: var(--bx-ink); }
.bx-btn-outline:hover { background: var(--bx-primary); border-color: var(--bx-primary); color: #fff; box-shadow: 0 6px 16px rgba(13,110,253,.25); }
.bx-btn.full-width { display: flex; width: 100%; }

/* ---------- Hero ---------- */
.bx-hero {
    position: relative; overflow: hidden; isolation: isolate; padding: 84px 0 116px; color: #fff;
    background: linear-gradient(135deg, #071127 0%, #0b2455 55%, #0d3b8f 100%);
}
.bx-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.bx-hero::after {
    content: ""; position: absolute; top: -160px; right: -140px; width: 520px; height: 520px;
    border-radius: 50%; z-index: -1; pointer-events: none;
    background: radial-gradient(circle, rgba(16,185,129,.32), transparent 65%);
}
.bx-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 48px; align-items: center; }
.bx-hero-copy, .bx-hero-visual { min-width: 0; }
.bx-badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 16px;
    border: 1px solid rgba(16,185,129,.45); border-radius: 50px; background: rgba(16,185,129,.15);
    color: #6ee7b7; font-size: 13px; font-weight: 600; line-height: 1.3;
}
.bx-hero h1 {
    margin-bottom: 20px; font-size: clamp(28px, 5.2vw, 54px); font-weight: 900; line-height: 1.12;
    letter-spacing: -1px; color: #fff; overflow-wrap: break-word;
}
.bx-accent { color: #34d399; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .bx-accent { background: linear-gradient(90deg, #34d399, #38bdf8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.bx-hero .bx-lead { max-width: 590px; margin-bottom: 30px; font-size: clamp(15px, 2vw, 18px); line-height: 1.7; color: #cbd5e1; }
.bx-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.bx-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.bx-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #e2e8f0; }
.bx-chips i { color: #34d399; }

.bx-terminal {
    overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 16px;
    background: rgba(7,14,33,.78); box-shadow: 0 25px 60px rgba(0,0,0,.45);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.bx-term-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.06); }
.bx-term-top .dot { width: 11px; height: 11px; flex-shrink: 0; border-radius: 50%; cursor: default; }
.bx-term-top .dot.r { background: #ff5f57; }
.bx-term-top .dot.y { background: #febc2e; }
.bx-term-top .dot.g { background: #28c840; }
.bx-term-title { min-width: 0; margin-left: 8px; overflow: hidden; font-size: 12px; color: #94a3b8; white-space: nowrap; text-overflow: ellipsis; }
.bx-term-body { padding: 20px; font: 14px/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace; color: #e2e8f0; }
.bx-term-body p { overflow-wrap: anywhere; }
.t-prompt { margin-right: 6px; color: #38bdf8; }
.t-host { color: #fbbf24; }
.t-ok { margin-bottom: 8px; color: #34d399; }
.t-bad { margin-bottom: 8px; color: #f87171; }
.t-result { margin-top: 6px; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.15); }
.t-cursor { display: inline-block; width: 8px; height: 16px; margin-left: 4px; vertical-align: -2px; background: #34d399; animation: bxBlink 1s steps(1) infinite; }
@keyframes bxBlink { 50% { opacity: 0; } }
.bx-fineprint { margin-top: 12px; font-size: 12px; text-align: center; color: #94a3b8; }

/* ---------- Stats ---------- */
.bx-stats { position: relative; z-index: 5; margin-top: -60px; }
.bx-stats-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; overflow: hidden;
    border: 1px solid var(--bx-border); border-radius: 16px; background: var(--bx-border); box-shadow: 0 22px 50px rgba(15,23,42,.14);
}
.bx-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px; background: #fff; text-align: center; }
.bx-stat i { margin-bottom: 6px; font-size: 22px; color: var(--bx-primary); }
.bx-stat strong { font-size: clamp(22px, 3vw, 30px); font-weight: 900; line-height: 1.1; color: var(--bx-dark); }
.bx-stat span { font-size: 13px; font-weight: 600; color: var(--bx-gray); }

/* ---------- Sections ---------- */
.bx-section { padding: 80px 0; background: #fff; }
.bx-alt { background: var(--bx-light); }
.bx-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.bx-head-tight { margin-bottom: 30px; }
.bx-head h2, .bx-compare-text h2, .bx-migration-content h2 {
    margin-bottom: 14px; font-size: clamp(24px, 4vw, 36px); font-weight: 800; line-height: 1.2; color: #0f172a; overflow-wrap: break-word;
}
.bx-head p { font-size: 15px; line-height: 1.7; color: var(--bx-gray); }
.bx-eyebrow { display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bx-primary); }
.bx-eyebrow.green { color: var(--bx-green); }
.bx-divider { width: 54px; height: 3px; margin: 0 auto 16px; border-radius: 3px; background: var(--bx-primary); }

/* ---------- Why / latency ---------- */
.bx-compare-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.bx-compare-text, .bx-speed-box { min-width: 0; }
.bx-compare-text > p { margin-bottom: 26px; font-size: 15px; line-height: 1.75; color: #475569; }
.bx-benefits li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.bx-benefits li:last-child { margin-bottom: 0; }
.b-ico { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--bx-soft); font-size: 18px; color: var(--bx-primary); }
.bx-benefits li > div { min-width: 0; }
.bx-benefits strong { display: block; margin-bottom: 2px; font-size: 15px; font-weight: 700; color: #0f172a; overflow-wrap: anywhere; }
.bx-benefits span:not(.b-ico) { display: block; font-size: 14px; line-height: 1.55; color: var(--bx-gray); overflow-wrap: anywhere; }
.bx-speed-box { padding: 32px; border: 1px solid var(--bx-border); border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(15,23,42,.08); }
.bx-speed-box h3 { margin-bottom: 26px; font-size: 17px; font-weight: 800; line-height: 1.4; color: #0f172a; }
.bx-speed-box h3 small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--bx-gray); }
.bx-bar-row { margin-bottom: 22px; }
.bx-bar-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #334155; }
.bx-bar-label > :first-child { min-width: 0; overflow-wrap: anywhere; }
.bx-ping { font-weight: 800; white-space: nowrap; }
.bx-ping.bad { color: var(--bx-red); }
.bx-ping.warn { color: var(--bx-orange); }
.bx-ping.good { color: var(--bx-green); }
.bx-bar-track { height: 12px; overflow: hidden; border-radius: 12px; background: #eef2f7; }
.bx-bar-fill { height: 100%; width: var(--w, 50%); min-width: 8px; border-radius: 12px; }
.bx-bar-fill.bad { background: linear-gradient(90deg, #f87171, var(--bx-red)); }
.bx-bar-fill.warn { background: linear-gradient(90deg, #fbbf24, var(--bx-orange)); }
.bx-bar-fill.good { background: linear-gradient(90deg, #34d399, var(--bx-green)); }
.js .bx-bar-fill { width: 0; transition: width 1.3s cubic-bezier(.22,1,.36,1) .2s; }
.js .bx-speed-box.in-view .bx-bar-fill { width: var(--w, 50%); }
.bx-winner { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; padding: 12px 14px; border-radius: 10px; background: rgba(16,185,129,.1); font-size: 14px; font-weight: 700; text-align: center; color: #059669; }

/* ---------- Use cases ---------- */
.bx-usecase-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.bx-usecase { min-width: 0; padding: 30px 24px; border: 1px solid var(--bx-border); border-radius: 16px; background: #fff; text-align: center; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.bx-usecase:hover { transform: translateY(-6px); border-color: var(--bx-soft); box-shadow: 0 16px 34px rgba(13,110,253,.1); }
.u-ico { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 16px; border: 1px solid var(--bx-soft); border-radius: 16px; background: linear-gradient(135deg, var(--bx-soft), #fff); font-size: 24px; color: var(--bx-primary); }
.bx-usecase h3 { margin-bottom: 8px; font-size: 17px; font-weight: 800; color: #0f172a; overflow-wrap: anywhere; }
.bx-usecase p { font-size: 14px; line-height: 1.6; color: var(--bx-gray); }

/* ---------- Pricing controls ---------- */
.pricing-controls-sec { padding: 70px 0 30px; border-bottom: 0; background: var(--bx-light); }
.pricing-tables-sec { padding: 10px 0 60px; background: var(--bx-light); }
.controls-wrapper {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 20px 30px;
    border: 1px solid var(--bx-border); border-radius: 12px; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,.03);
}
.toggles-container { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; min-width: 0; }
.toggle-group { display: flex; align-items: center; gap: 15px; min-width: 0; }
.toggle-label { font-size: 15px; font-weight: 600; color: var(--bx-dark); white-space: nowrap; }
.toggle-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-width: 100%; min-width: 0; padding: 4px; border: 1px solid var(--bx-border); border-radius: 50px; background: var(--bx-light); }
.toggle-option {
    position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 0; min-height: 44px; padding: 8px 24px; border: 0; background: transparent;
    font-family: inherit; font-size: 14px; font-weight: 600; color: var(--bx-gray); cursor: pointer;
    transition: color .3s ease; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.toggle-option.active { color: #fff; }
.toggle-slider { position: absolute; top: 4px; left: 4px; z-index: 1; width: calc(50% - 4px); height: calc(100% - 8px); border-radius: 50px; background: var(--bx-primary); transition: transform .3s cubic-bezier(.4,0,.2,1); }
.billing-switch { width: max-content; max-width: 100%; }
.billing-switch .toggle-option { padding: 8px 20px; }
.discount-badge { margin-left: 5px; padding: 2px 6px; border-radius: 4px; background: var(--bx-green); font-size: 10px; color: #fff; white-space: nowrap; }
.coupon-box { position: relative; min-width: min(300px, 100%); }
.coupon-input-group { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 16px; border: 1px dashed var(--bx-primary); border-radius: 50px; background: #fff; }
.coupon-input-group i { flex-shrink: 0; color: var(--bx-primary); }
.coupon-text { flex: 1; min-width: 0; overflow: hidden; font-size: 14px; color: var(--bx-dark); white-space: nowrap; text-overflow: ellipsis; }
.btn-apply { flex-shrink: 0; min-height: 44px; padding: 8px 22px; border: 0; border-radius: 50px; background: var(--bx-dark); font-family: inherit; font-size: 14px; font-weight: 700; color: #fff; cursor: pointer; transition: background-color .25s ease; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn-apply:hover { background: var(--bx-primary); }
.coupon-msg { display: block; margin: 6px 0 0 15px; font-size: 12px; font-weight: 600; }
.coupon-msg:empty { display: none; }
.coupon-msg.success { color: var(--bx-green); }
.coupon-msg.error { color: var(--bx-red); }

/* ---------- Pricing cards (beats style.css specificity) ---------- */
.pricing-tables-sec .pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(12px, 1.8vw, 20px); align-items: stretch; }
.pricing-grid .pricing-card {
    position: relative; display: flex; flex-direction: column; min-width: 0; overflow: visible !important;
    padding: clamp(16px, 2vw, 24px); border: 1px solid var(--bx-line); border-radius: 18px; background: #fff;
    box-shadow: none; transform: none; z-index: auto; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pricing-grid .pricing-card:hover { transform: translateY(-4px); border-color: #c7d9f5; box-shadow: 0 14px 30px rgba(13,110,253,.1); }
.pricing-grid .pricing-card.featured { padding: clamp(16px, 2vw, 24px); border-color: transparent; background: linear-gradient(135deg, #071a4a, #0a2463 60%, #0d3b9e); color: #fff; box-shadow: 0 20px 46px rgba(13,110,253,.3); }
.pricing-grid .pricing-card.featured:hover { transform: translateY(-4px); box-shadow: 0 24px 52px rgba(13,110,253,.4); }
.pricing-card .popular-tag {
    position: absolute; top: -13px; left: 20px; right: auto; bottom: auto; z-index: 10; display: inline-flex; align-items: center; gap: 6px;
    width: max-content; max-width: calc(100% - 32px); padding: 4px 12px; border-radius: 50px; background: #ffc53d;
    font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--bx-ink); white-space: nowrap; transform: none; box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.pricing-card .popular-tag::before { content: "\f005"; font-family: "Font Awesome 6 Free"; font-size: 11px; font-weight: 900; }
.pricing-card .plan-header, .pricing-card.featured .plan-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-right: 0; }
.pricing-card .plan-header-text { min-width: 0; }
.pricing-card .custom-icon, .pricing-card:hover .custom-icon { width: 44px; height: 44px; border-radius: 12px; background: #e8f1ff; }
.pricing-card .custom-icon i { font-size: 18px; color: var(--bx-primary); }
.pricing-card .plan-header h3 { margin-bottom: 2px; font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: 0; color: var(--bx-ink); overflow-wrap: anywhere; }
.pricing-card .plan-header p { font-size: 13px; line-height: 1.4; color: #58688a; }
.pricing-card.featured .plan-header h3 { color: #fff; }
.pricing-card.featured .plan-header p { color: #bcd0f5; }
.pricing-card.featured .custom-icon, .pricing-card.featured:hover .custom-icon { background: rgba(255,255,255,.14); }
.pricing-card.featured .custom-icon i { color: #fde68a; }

.pricing-card .plan-price { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--bx-line); white-space: normal; }
.pricing-card .price-wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 3px; max-width: 100%; white-space: normal; }
.pricing-card .currency-symbol { margin: 0; font-size: 18px; font-weight: 700; color: var(--bx-ink); }
.pricing-card .price-amount { display: inline; margin: 0; font-size: clamp(34px, 3.4vw, 42px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--bx-ink); white-space: nowrap; }
.pricing-card .billing-term { align-self: auto; margin: 0; font-size: 14px; font-weight: 500; color: #58688a; white-space: normal; }
.pricing-card .original-price-wrap { margin-top: 8px; font-size: 14px; text-align: left; text-decoration: none; color: #8493b0; }
.pricing-card.featured .plan-price { border-bottom-color: rgba(255,255,255,.2); }
.pricing-card.featured .currency-symbol, .pricing-card.featured .price-amount { color: #fff; }
.pricing-card.featured .billing-term { color: #bcd0f5; }
.pricing-card.featured .original-price-wrap { color: #b5c8f0; }

.pricing-card .plan-features { flex: 1; margin-bottom: 18px; }
.pricing-card .plan-features li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 9px; font-size: 14px; font-weight: 400; line-height: 1.45; color: #334155; overflow-wrap: anywhere; }
.pricing-card .plan-features li i { display: inline-block; flex-shrink: 0; width: auto; height: auto; margin-top: 4px; border-radius: 0; background: none; font-size: 12px; color: #16a34a; }
.pricing-card.featured .plan-features li { color: #e8efff; }
.pricing-card.featured .plan-features li i { background: none; color: #34d399; }
.pricing-card .bx-btn { margin-top: auto; }
.pricing-card .bx-btn-outline { min-height: 46px; padding: 11px 24px; }
.pricing-card.featured .bx-btn-primary { min-height: 46px; padding: 11px 24px; background: #fff; color: #0b4fc4; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.pricing-card.featured .bx-btn-primary:hover { background: #fff; color: #0a3f9c; }

.bx-guarantee { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 40px; }
.bx-guarantee li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #334155; }
.bx-guarantee i { color: var(--bx-green); }

/* ---------- Features / steps ---------- */
.bx-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 25px; }
.bx-feature { min-width: 0; padding: 34px 26px; border: 1px solid var(--bx-border); border-radius: 16px; background: #fff; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.bx-feature:hover { transform: translateY(-5px); border-color: var(--bx-soft); box-shadow: 0 14px 30px rgba(13,110,253,.09); }
.f-ico { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 14px; background: linear-gradient(135deg, var(--bx-primary), #3b82f6); font-size: 22px; color: #fff; box-shadow: 0 8px 18px rgba(13,110,253,.25); }
.bx-feature h3 { margin-bottom: 10px; font-size: 18px; font-weight: 800; color: #0f172a; overflow-wrap: anywhere; }
.bx-feature p { font-size: 14px; line-height: 1.65; color: var(--bx-gray); overflow-wrap: anywhere; }
.bx-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.bx-step { min-width: 0; padding: 36px 26px 30px; border: 1px solid var(--bx-border); border-radius: 16px; background: #fff; text-align: center; }
.s-num { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--bx-primary); font-size: 22px; font-weight: 900; color: #fff; box-shadow: 0 0 0 7px var(--bx-soft); }
.bx-step h3 { margin-bottom: 8px; font-size: 18px; font-weight: 800; color: #0f172a; }
.bx-step p { font-size: 14px; line-height: 1.65; color: var(--bx-gray); }

/* ---------- Migration ---------- */
.bx-migration { display: flex; align-items: center; gap: 56px; }
.bx-migration-content, .bx-migration-image { flex: 1; min-width: 0; }
.bx-migration-content > p { margin-bottom: 24px; font-size: 15px; line-height: 1.7; color: #475569; }
.bx-check-list { margin-bottom: 30px; }
.bx-check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; line-height: 1.55; color: #475569; }
.bx-check-list li i { flex-shrink: 0; margin-top: 2px; font-size: 18px; color: var(--bx-green); }
.bx-check-list strong { color: #0f172a; }
.bx-migration-image { text-align: center; }
.bx-migration-image img { width: 100%; max-width: 520px; border-radius: 14px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.06)); }

/* ---------- FAQ ---------- */
.faq-section { padding: 80px 0; }
.faq-accordion { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { overflow: hidden; border: 1px solid var(--bx-border); border-radius: 12px; background: #fff; transition: border-color .3s ease, box-shadow .3s ease; }
.faq-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 16px 20px; list-style: none; text-align: left; font-weight: 600; color: var(--bx-dark); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.faq-header::-webkit-details-marker { display: none; }
.faq-header::marker { content: ""; }
.faq-header:focus-visible { outline-offset: -2px; }
.faq-header h4 { min-width: 0; margin: 0; font-size: 16px; font-weight: inherit; line-height: 1.4; overflow-wrap: anywhere; }
.faq-header i { flex-shrink: 0; color: var(--bx-primary); transition: transform .3s ease; }
details[open].faq-item { border-color: var(--bx-primary); box-shadow: 0 4px 12px rgba(13,110,253,.08); }
details[open] .faq-header i { transform: rotate(180deg); }
.faq-body { padding: 0 20px 18px; font-size: 14px; color: var(--bx-gray); }
.faq-body p { margin: 0; padding-top: 12px; border-top: 1px solid #f1f5f9; line-height: 1.65; overflow-wrap: anywhere; }

/* ---------- Final CTA / sticky ---------- */
.bx-final { padding: 70px 0 80px; background: #fff; }
.bx-final-box {
    display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 52px; border-radius: 24px; color: #fff;
    background: radial-gradient(circle at 90% 10%, rgba(52,211,153,.35), transparent 45%), linear-gradient(135deg, #071127 0%, #0b2f73 60%, #0d6efd 130%);
    box-shadow: 0 25px 55px rgba(13,110,253,.25);
}
.bx-final-text { min-width: 0; }
.bx-final-text h2 { margin-bottom: 10px; font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; line-height: 1.25; color: #fff; }
.bx-final-text p { max-width: 640px; font-size: 15px; line-height: 1.65; color: #cbd5e1; }
.bx-final-box .bx-btn { flex-shrink: 0; }
.bx-sticky { display: none; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1200px) {
    .pricing-tables-sec .pricing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 20px; max-width: 900px; margin-left: auto; margin-right: auto; }
    .controls-wrapper { flex-direction: column; justify-content: center; gap: 18px; padding: 20px; text-align: center; }
    .toggles-container { justify-content: center; }
    .coupon-box { width: 100%; max-width: 400px; }
    .coupon-msg { text-align: left; }
}
@media (max-width: 1024px) {
    .bx-hero { padding: 70px 0 106px; }
    .bx-hero-grid { gap: 32px; }
    .bx-compare-grid { gap: 36px; }
    .bx-speed-box { padding: 26px; }
    .bx-usecase-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
    .bx-feature-grid { gap: 20px; }
    .bx-feature { padding: 28px 22px; }
    .bx-migration { gap: 36px; }
    .bx-final-box { padding: 40px 36px; }
}
@media (max-width: 992px) {
    .bx-hero-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
    .bx-hero-copy { text-align: center; }
    .bx-hero .bx-lead { margin-left: auto; margin-right: auto; }
    .bx-cta-row, .bx-chips { justify-content: center; }
    .bx-hero-visual { width: 100%; max-width: 560px; margin: 0 auto; }
    .bx-feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px) {
    .bx-hero { padding: 56px 0 96px; }
    .bx-stats { margin-top: -50px; }
    .bx-stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .bx-stat { padding: 22px 12px; }
    .bx-section, .faq-section { padding: 56px 0; }
    .bx-head { margin-bottom: 34px; }
    .bx-compare-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
    .pricing-controls-sec { padding: 50px 0 24px; }
    .pricing-tables-sec { padding: 10px 0 50px; }
    .pricing-tables-sec .pricing-grid { grid-template-columns: minmax(0,1fr); max-width: 440px; }
    .toggles-container { flex-direction: column; align-items: stretch; width: 100%; max-width: 400px; gap: 14px; }
    .toggle-group { justify-content: space-between; width: 100%; }
    .bx-steps { grid-template-columns: minmax(0,1fr); max-width: 480px; margin: 0 auto; gap: 20px; }
    .bx-migration { flex-direction: column-reverse; text-align: center; gap: 28px; }
    .bx-check-list { max-width: 440px; margin: 0 auto 26px; text-align: left; }
    .bx-migration-image { width: 100%; }
    .bx-final { padding: 50px 0 calc(100px + env(safe-area-inset-bottom, 0px)); }
    .bx-final-box { flex-direction: column; text-align: center; padding: 36px 24px; gap: 24px; }
    .bx-final-text p { margin: 0 auto; }
    .bx-sticky {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
        border-top: 1px solid var(--bx-border); background: #fff; box-shadow: 0 -8px 26px rgba(15,23,42,.14);
        transform: translateY(115%); visibility: hidden; transition: transform .3s ease, visibility .3s;
    }
    .bx-sticky.show { transform: translateY(0); visibility: visible; }
    .bx-sticky-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
    .bx-sticky-text small { font-size: 11px; font-weight: 600; color: var(--bx-gray); }
    .bx-sticky-text strong { font-size: 20px; font-weight: 900; color: var(--bx-dark); white-space: nowrap; }
    .bx-sticky-text strong span { margin-left: 2px; font-size: 12px; font-weight: 600; color: var(--bx-gray); }
    .bx-sticky .bx-btn { flex-shrink: 0; min-height: 44px; padding: 10px 24px; }
}
@media (max-width: 576px) {
    .bx-main .container { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
    .bx-hero { padding: 46px 0 90px; }
    .bx-badge { padding: 7px 14px; font-size: 12px; }
    .bx-hero h1 { letter-spacing: -.5px; }
    .bx-cta-row { flex-direction: column; align-items: stretch; }
    .bx-cta-row .bx-btn { width: 100%; }
    .bx-chips { gap: 10px 16px; }
    .bx-chips li { font-size: 13px; }
    .bx-term-body { padding: 16px; font-size: 12.5px; line-height: 1.8; }
    .bx-stats { margin-top: -44px; }
    .bx-stat i { font-size: 19px; }
    .bx-section, .faq-section { padding: 46px 0; }
    .bx-speed-box { padding: 22px 18px; border-radius: 16px; }
    .bx-bar-label { font-size: 13px; }
    .bx-usecase-grid, .bx-feature-grid { grid-template-columns: minmax(0,1fr); }
    .bx-usecase { padding: 24px 20px; }
    .controls-wrapper { padding: 16px 14px; }
    .toggles-container { max-width: none; }
    .toggle-group { flex-direction: column; align-items: stretch; gap: 8px; }
    .toggle-label { text-align: center; }
    .toggle-switch, .billing-switch { width: 100%; }
    .toggle-option { padding: 8px; }
    .billing-switch .toggle-option { flex-direction: column; gap: 3px; padding: 6px 8px; font-size: 12px; }
    .discount-badge { margin-left: 0; }
    .coupon-box { max-width: none; }
    .pricing-tables-sec .pricing-grid { max-width: 100%; }
    .bx-guarantee { flex-direction: column; align-items: flex-start; gap: 12px; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }
    .bx-step { padding: 30px 20px 26px; }
    .bx-migration .bx-btn { width: 100%; }
    .faq-header { padding: 14px 16px; }
    .faq-header h4 { font-size: 15px; }
    .faq-body { padding: 0 16px 15px; }
    .bx-final-box { padding: 32px 18px; border-radius: 18px; }
    .bx-final-box .bx-btn { width: 100%; }
}
@media (max-width: 380px) {
    .bx-main .container { padding-left: 12px; padding-right: 12px; }
    .bx-hero h1 { font-size: 27px; }
    .bx-term-body { font-size: 12px; }
    .bx-term-title { display: none; }
    .bx-stat strong { font-size: 20px; }
    .bx-stat span { font-size: 12px; }
    .pricing-card .price-amount { font-size: 34px; }
    .pricing-card .plan-header h3 { font-size: 17px; }
    .toggle-option, .billing-switch .toggle-option { padding: 8px 4px; font-size: 11px; }
    .discount-badge { padding: 2px 4px; font-size: 9px; }
    .coupon-input-group { padding-left: 12px; }
    .coupon-text { font-size: 13px; }
    .btn-apply { padding: 8px 14px; }
    .bx-sticky-text strong { font-size: 18px; }
    .bx-sticky .bx-btn { padding: 10px 18px; }
}
@media (max-width: 340px) {
    .bx-main .container { padding-left: 10px; padding-right: 10px; }
    .bx-hero h1 { font-size: 24px; }
    .bx-stats-grid { grid-template-columns: minmax(0,1fr); }
    .pricing-grid .pricing-card, .pricing-grid .pricing-card.featured { padding: 22px 14px; }
    .pricing-card .price-amount { font-size: 30px; }
    .pricing-card .custom-icon { width: 40px; height: 40px; }
    .pricing-card .plan-features li { font-size: 12px; }
    .pricing-card .popular-tag { left: 12px; }
    .bx-head h2, .bx-compare-text h2, .bx-migration-content h2 { font-size: 22px; }
    .bx-final-text h2 { font-size: 20px; }
    .faq-header h4 { font-size: 14px; }
    .bx-sticky-text small { display: none; }
}
@media (max-width: 300px) {
    .bx-hero h1 { font-size: 22px; }
    .bx-btn { padding-left: 12px; padding-right: 12px; font-size: 14px; }
}
@media (max-height: 480px) and (orientation: landscape) {
    .bx-hero { padding: 36px 0 84px; }
    .navbar { overflow-y: auto; }
}
@media (min-width: 1600px) {
    .pricing-tables-sec .pricing-grid { gap: 28px; }
    .bx-feature-grid { gap: 30px; }
}
@media (min-width: 1920px) {
    .bx-main .container, .header .container, .footer .container { max-width: 1320px; }
}
@media (hover: none) {
    .pricing-grid .pricing-card:hover, .pricing-grid .pricing-card.featured:hover,
    .bx-feature:hover, .bx-usecase:hover, .bx-btn-primary:hover, .bx-btn-light:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .bx-main *, .bx-main *::before, .bx-main *::after, .bx-sticky { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .bx-reveal { opacity: 1; transform: none; }
    .js .bx-bar-fill { width: var(--w, 50%); }
    .t-cursor { animation: none; }
}
@media print {
    .bx-sticky { display: none !important; }
    .js .bx-reveal { opacity: 1; transform: none; }
    .js .bx-bar-fill { width: var(--w, 50%); }
}