/* =========================================================
   Ecommerce Hosting Page - assets/css/ecommerce-hosting.css
   Loads AFTER style.css. Pricing cards match bdix-hosting design.
   Breakpoints: 1200 / 992 / 768 / 576 / 380 / 340 / 300
========================================================= */
body {
    --ec-primary: var(--primary-blue, #0d6efd);
    --ec-primary-dark: #0a58ca;
    --ec-soft: var(--secondary-blue, #e7f1ff);
    --ec-dark: var(--text-dark, #0f172a);
    --ec-gray: var(--text-gray, #64748b);
    --ec-border: var(--border-color, #e2e8f0);
    --ec-light: var(--bg-light, #f8fafc);
    --ec-green: #10b981;
    --ec-orange: #f59e0b;
    --ec-red: #ef4444;
    --ec-ink: #0a1530;
    --ec-line: #e3e9f3;
    --ec-sec: clamp(36px, 5.5vw, 60px);
    --ec-head-gap: clamp(20px, 3vw, 32px);
    --ec-gap: clamp(14px, 2vw, 20px);
    --ec-pad: clamp(16px, 2vw, 22px);
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
/* clip (not hidden): keeps sticky header + dropdowns working */
@supports (overflow: clip) {
    body { overflow-x: clip; }
    .ec-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; }

.ec-main, .ec-main *, .ec-main *::before, .ec-main *::after, .ec-sticky, .ec-sticky * { box-sizing: border-box; }
.ec-main { position: relative; font-family: inherit; color: var(--ec-dark); }
.ec-main img { height: auto; }
.ec-main [id] { scroll-margin-top: 84px; }
.ec-main [hidden] { display: none !important; }
:where(.ec-main) :is(h1, h2, h3, h4, p, ul, figure, output) { margin: 0; }
:where(.ec-main) ul { padding: 0; list-style: none; }
.ec-main :is(h1, h2, h3, h4, p, li):last-child { margin-bottom: 0; }
.ec-main .container, .footer .container {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.ec-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.js .ec-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .ec-reveal.in-view { opacity: 1; transform: none; }

/* ---------- Header drawer: fully hidden 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; }
}

/* ---------- Buttons ---------- */
.ec-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 24px;
    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;
}
.ec-btn:focus-visible, .ec-pick:focus-visible, .ec-opt:focus-visible, .ec-apply:focus-visible { outline: 3px solid rgba(13,110,253,.45); outline-offset: 2px; }
.ec-btn-block { display: flex; width: 100%; }
.ec-btn-primary { background: linear-gradient(135deg, var(--ec-primary), #3b82f6); color: #fff; box-shadow: 0 8px 22px rgba(13,110,253,.35); }
.ec-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(13,110,253,.45); color: #fff; }
.ec-btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #fff; }
.ec-btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.ec-btn-outline { background: #fff; border-color: var(--ec-line); color: var(--ec-ink); }
.ec-btn-outline:hover { background: var(--ec-primary); border-color: var(--ec-primary); color: #fff; box-shadow: 0 6px 16px rgba(13,110,253,.25); }
.ec-btn-white { background: #fff; color: #0b4fc4; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.ec-btn-white:hover { transform: translateY(-2px); color: #0a3f9c; }

/* ---------- Hero ---------- */
.ec-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(32px,6vw,60px) 0 clamp(36px,6vw,64px); color: #fff; background: linear-gradient(135deg, #0b1020 0%, #14245c 55%, #0d4fd1 120%); }
.ec-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 25% 40%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse at 25% 40%, #000 15%, transparent 75%);
}
.ec-hero::after { content: ""; position: absolute; top: -150px; right: -130px; width: 460px; height: 460px; border-radius: 50%; z-index: -1; pointer-events: none; background: radial-gradient(circle, rgba(245,158,11,.28), transparent 65%); }
.ec-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(24px,4vw,44px); align-items: center; }
.ec-hero-copy, .ec-hero-visual { min-width: 0; }
.ec-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 14px; border: 1px solid rgba(245,158,11,.5); border-radius: 50px; background: rgba(245,158,11,.14); color: #fcd34d; font-size: 13px; font-weight: 600; line-height: 1.3; }
.ec-hero h1 { margin-bottom: 16px; font-size: clamp(26px,5vw,50px); font-weight: 900; line-height: 1.12; letter-spacing: -.8px; color: #fff; overflow-wrap: break-word; }
.ec-accent { color: #fbbf24; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .ec-accent { background: linear-gradient(90deg, #fbbf24, #fb923c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.ec-lead { max-width: 580px; margin-bottom: 24px; font-size: clamp(15px,2vw,17px); line-height: 1.7; color: #cbd5e1; }
.ec-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.ec-chips { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ec-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #e2e8f0; }
.ec-chips i { color: #34d399; }

.ec-panel { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(8,13,32,.8); box-shadow: 0 24px 56px rgba(0,0,0,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ec-panel-top { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.06); }
.ec-dot { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; }
.ec-dot.r { background: #ff5f57; } .ec-dot.y { background: #febc2e; } .ec-dot.g { background: #28c840; }
.ec-panel-title { flex: 1; min-width: 0; margin-left: 6px; overflow: hidden; font-size: 12px; color: #94a3b8; white-space: nowrap; text-overflow: ellipsis; }
.ec-live { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-size: 11px; font-weight: 700; color: #34d399; }
.ec-live i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: ecPulse 1.6s ease-in-out infinite; }
@keyframes ecPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); } }
.ec-panel-body { display: grid; gap: 12px; padding: 14px; }
.ec-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.ec-metric { min-width: 0; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.06); text-align: center; }
.ec-metric small { display: block; margin-bottom: 2px; font-size: 11px; color: #94a3b8; }
.ec-metric strong { font-size: clamp(16px,2.4vw,20px); font-weight: 800; color: #fff; }
.ec-feed { display: grid; gap: 8px; }
.ec-feed li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.05); }
.js .ec-feed li { opacity: 0; transform: translateY(8px); animation: ecFeed .5s ease forwards; }
.js .ec-feed li:nth-child(1) { animation-delay: .4s; } .js .ec-feed li:nth-child(2) { animation-delay: .9s; } .js .ec-feed li:nth-child(3) { animation-delay: 1.4s; }
@keyframes ecFeed { to { opacity: 1; transform: none; } }
.ec-feed .f-ico { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: rgba(13,110,253,.25); color: #93c5fd; font-size: 14px; }
.ec-feed .f-ico.ok { background: rgba(16,185,129,.22); color: #6ee7b7; }
.ec-feed .f-ico.ship { background: rgba(245,158,11,.22); color: #fcd34d; }
.ec-feed li > div { flex: 1; min-width: 0; }
.ec-feed strong { display: block; font-size: 13px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.ec-feed small { display: block; font-size: 12px; color: #94a3b8; overflow-wrap: anywhere; }
.ec-feed em { flex-shrink: 0; font-size: 11px; font-style: normal; color: #64748b; }
.ec-fineprint { margin-top: 10px; font-size: 12px; text-align: center; color: #94a3b8; }

/* ---------- Strip ---------- */
.ec-strip { padding: 16px 0; border-bottom: 1px solid var(--ec-border); background: #fff; }
.ec-strip-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; }
.ec-strip-label { font-size: 13px; font-weight: 700; color: var(--ec-gray); }
.ec-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ec-tags li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid var(--ec-border); border-radius: 50px; background: var(--ec-light); font-size: 13px; font-weight: 600; color: #334155; }
.ec-tags i { color: var(--ec-primary); }

/* ---------- Sections ---------- */
.ec-section { padding: var(--ec-sec) 0; background: #fff; }
.ec-alt { background: var(--ec-light); }
.ec-head { max-width: 700px; margin: 0 auto var(--ec-head-gap); text-align: center; }
.ec-eyebrow { display: inline-block; margin-bottom: 8px; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ec-primary); }
.ec-head h2 { margin-bottom: 10px; font-size: clamp(22px,3.8vw,34px); font-weight: 800; line-height: 1.2; color: #0f172a; overflow-wrap: break-word; }
.ec-head p { font-size: 15px; line-height: 1.65; color: var(--ec-gray); }

/* ---------- Plan finder ---------- */
.ec-finder { margin-bottom: var(--ec-gap); padding: var(--ec-pad); border: 1px solid var(--ec-border); border-radius: 14px; background: linear-gradient(135deg, #fff, var(--ec-soft)); }
.ec-finder-title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 15px; font-weight: 800; line-height: 1.4; color: #0f172a; }
.ec-finder-title i { flex-shrink: 0; color: var(--ec-orange); }
.ec-finder-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px var(--ec-gap); }
.ec-q { min-width: 0; }
.ec-q-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #334155; }
.ec-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-pick { min-height: 44px; padding: 8px 14px; border: 1px solid var(--ec-border); border-radius: 50px; background: #fff; font-family: inherit; font-size: 13px; font-weight: 600; color: #334155; cursor: pointer; transition: all .2s ease; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.ec-pick:hover { border-color: var(--ec-primary); color: var(--ec-primary); }
.ec-pick.active { border-color: var(--ec-primary); background: var(--ec-primary); color: #fff; }
.ec-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: rgba(16,185,129,.12); font-size: 14px; font-weight: 600; color: #047857; }
.ec-result a { font-weight: 800; color: var(--ec-primary); }
.ec-result a:hover { text-decoration: underline; }

/* ---------- Controls ---------- */
.ec-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px var(--ec-gap); margin-bottom: var(--ec-gap); padding: 14px var(--ec-pad); border: 1px solid var(--ec-border); border-radius: 12px; background: #fff; }
.ec-control { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ec-label { font-size: 14px; font-weight: 700; color: var(--ec-dark); white-space: nowrap; }
.ec-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-width: 100%; min-width: 0; padding: 4px; border: 1px solid var(--ec-border); border-radius: 50px; background: var(--ec-light); }
.ec-switch-wide { width: max-content; }
.ec-opt { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 44px; padding: 6px 20px; border: 0; background: transparent; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--ec-gray); cursor: pointer; transition: color .3s ease; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.ec-opt.active { color: #fff; }
.ec-slider { position: absolute; top: 4px; left: 4px; z-index: 1; width: calc(50% - 4px); height: calc(100% - 8px); border-radius: 50px; background: var(--ec-primary); transition: transform .3s cubic-bezier(.4,0,.2,1); }
.ec-save-badge { padding: 2px 6px; border-radius: 4px; background: var(--ec-green); font-size: 10px; color: #fff; white-space: nowrap; }
.ec-coupon { min-width: min(290px, 100%); }
.ec-coupon-row { display: flex; align-items: center; gap: 8px; padding: 3px 3px 3px 14px; border: 1px dashed var(--ec-primary); border-radius: 50px; background: #fff; }
.ec-coupon-row i { flex-shrink: 0; color: var(--ec-primary); }
.ec-coupon-text { flex: 1; min-width: 0; overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.ec-apply { flex-shrink: 0; min-height: 44px; padding: 6px 20px; border: 0; border-radius: 50px; background: var(--ec-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; }
.ec-apply:hover { background: var(--ec-primary); }
.ec-coupon-msg { margin: 4px 0 0 14px; font-size: 12px; font-weight: 600; }
.ec-coupon-msg:empty { display: none; }
.ec-coupon-msg.success { color: var(--ec-green); }
.ec-coupon-msg.error { color: var(--ec-red); }

/* =========================================================
   Pricing cards - same design as bdix-hosting
========================================================= */
.ec-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--ec-gap); align-items: stretch; }
.ec-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(16px,2vw,24px); overflow: visible; border: 1px solid var(--ec-line); border-radius: 18px; background: #fff; box-shadow: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ec-card:hover { transform: translateY(-4px); border-color: #c7d9f5; box-shadow: 0 14px 30px rgba(13,110,253,.1); }
.ec-card.featured { z-index: 2; border-color: transparent; background: linear-gradient(135deg, #071a4a, #0a2463 60%, #0d3b9e); color: #fff; box-shadow: 0 20px 46px rgba(13,110,253,.3); }
.ec-card.featured:hover { border-color: transparent; box-shadow: 0 24px 52px rgba(13,110,253,.4); }
.ec-card.is-recommended { border-color: var(--ec-green); box-shadow: 0 0 0 3px rgba(16,185,129,.35), 0 14px 30px rgba(16,185,129,.15); }
.ec-rec-pill { display: none; align-self: flex-start; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 10px; border-radius: 50px; background: var(--ec-green); font-size: 11px; font-weight: 800; color: #fff; }
.ec-card.is-recommended .ec-rec-pill { display: inline-flex; }
.ec-ribbon { position: absolute; top: -13px; left: 20px; right: 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; color: var(--ec-ink); white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.ec-ribbon::before { content: "\f005"; font-family: "Font Awesome 6 Free"; font-size: 11px; font-weight: 900; }
.ec-plan-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ec-ico, .ec-card:hover .ec-ico { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: #e8f1ff; font-size: 18px; color: #0d6efd; }
.ec-plan-name { min-width: 0; }
.ec-plan-name h3 { margin-bottom: 2px; font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--ec-ink); overflow-wrap: anywhere; }
.ec-plan-name p { font-size: 13px; line-height: 1.4; color: #58688a; overflow-wrap: anywhere; }
.ec-price { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--ec-line); }
.ec-price-main { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 3px; max-width: 100%; }
.ec-sym { font-size: 18px; font-weight: 700; color: var(--ec-ink); }
.ec-amt { font-size: clamp(34px,3.4vw,42px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--ec-ink); white-space: nowrap; }
.ec-term { font-size: 14px; font-weight: 500; color: #58688a; white-space: nowrap; }
.ec-orig { margin-top: 8px; font-size: 14px; text-align: left; color: #8493b0; }
.ec-billed { margin-top: 6px; font-size: 13px; font-weight: 600; text-align: left; color: #16a34a; }
.ec-best { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 10px; border-radius: 8px; background: #f4f7fc; font-size: 12px; font-weight: 700; color: #334155; }
.ec-best i { flex-shrink: 0; color: #0d6efd; }
.ec-list { flex: 1; margin-bottom: 18px; }
.ec-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 9px; font-size: 14px; line-height: 1.45; color: #334155; overflow-wrap: anywhere; }
.ec-list li i { flex-shrink: 0; margin-top: 4px; font-size: 12px; color: #16a34a; }
.ec-card .ec-btn { margin-top: auto; min-height: 46px; }
.ec-card.featured .ec-ico, .ec-card.featured:hover .ec-ico { background: rgba(255,255,255,.14); color: #fde68a; }
.ec-card.featured .ec-plan-name h3, .ec-card.featured .ec-sym, .ec-card.featured .ec-amt { color: #fff; }
.ec-card.featured .ec-plan-name p, .ec-card.featured .ec-term { color: #bcd0f5; }
.ec-card.featured .ec-price { border-bottom-color: rgba(255,255,255,.2); }
.ec-card.featured .ec-orig { color: #b5c8f0; }
.ec-card.featured .ec-billed { color: #86efac; }
.ec-card.featured .ec-best { background: rgba(255,255,255,.12); color: #e8efff; }
.ec-card.featured .ec-best i { color: #fde68a; }
.ec-card.featured .ec-list li { color: #e8efff; }
.ec-card.featured .ec-list li i { color: #34d399; }
.ec-guarantee { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: var(--ec-head-gap); }
.ec-guarantee li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #334155; }
.ec-guarantee i { color: var(--ec-green); }

/* ---------- Calculator ---------- */
.ec-calc { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: var(--ec-gap); align-items: stretch; }
.ec-calc-inputs { display: grid; align-content: center; gap: 20px; min-width: 0; padding: var(--ec-pad); border: 1px solid var(--ec-border); border-radius: 16px; background: #fff; }
.ec-field { min-width: 0; }
.ec-field-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.ec-field-top label { min-width: 0; font-size: 14px; font-weight: 700; color: #334155; }
.ec-field-top output { flex-shrink: 0; font-size: 16px; font-weight: 800; color: var(--ec-primary); }
.ec-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; margin: 14px 0; border-radius: 8px; background: linear-gradient(90deg, var(--ec-primary) var(--p,50%), #e2e8f0 var(--p,50%)); outline: none; cursor: pointer; touch-action: pan-y; }
.ec-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 28px; height: 28px; border: 4px solid var(--ec-primary); border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(13,110,253,.4); cursor: pointer; }
.ec-range::-moz-range-thumb { box-sizing: border-box; width: 28px; height: 28px; border: 4px solid var(--ec-primary); border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(13,110,253,.4); cursor: pointer; }
.ec-range:focus-visible { outline: 3px solid rgba(13,110,253,.4); outline-offset: 6px; }
.ec-calc-result { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: var(--ec-pad); border-radius: 16px; background: radial-gradient(circle at 90% 0%, rgba(251,191,36,.28), transparent 50%), linear-gradient(150deg, #0b1020, #14307a 70%, #0d4fd1 140%); color: #fff; text-align: center; }
.ec-calc-kicker { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #cbd5e1; }
.ec-calc-big { margin-top: 4px; font-size: clamp(30px,6vw,46px); font-weight: 900; line-height: 1.1; color: #fbbf24; overflow-wrap: anywhere; }
.ec-calc-sub { margin-bottom: 14px; font-size: 14px; color: #cbd5e1; }
.ec-calc-stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; width: 100%; margin-bottom: 12px; }
.ec-calc-stats li { min-width: 0; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.08); }
.ec-calc-stats small { display: block; margin-bottom: 2px; font-size: 11px; color: #94a3b8; }
.ec-calc-stats strong { font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.ec-calc-roi { margin-bottom: 14px; font-size: 13px; line-height: 1.55; color: #e2e8f0; }
.ec-calc-result .ec-btn { margin-top: auto; }
.ec-calc-note { margin-top: 10px; font-size: 11px; line-height: 1.5; color: #94a3b8; }

/* ---------- Features / steps ---------- */
.ec-features { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--ec-gap); }
.ec-feature { min-width: 0; padding: var(--ec-pad); border: 1px solid var(--ec-border); border-radius: 14px; background: #fff; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.ec-feature:hover { transform: translateY(-4px); border-color: var(--ec-soft); box-shadow: 0 12px 28px rgba(13,110,253,.09); }
.ec-fi { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 12px; background: linear-gradient(135deg, var(--ec-primary), #3b82f6); font-size: 20px; color: #fff; box-shadow: 0 6px 16px rgba(13,110,253,.25); }
.ec-feature h3 { margin-bottom: 6px; font-size: 16px; font-weight: 800; color: #0f172a; overflow-wrap: anywhere; }
.ec-feature p { font-size: 13px; line-height: 1.6; color: var(--ec-gray); overflow-wrap: anywhere; }
.ec-gateways { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: var(--ec-head-gap); }
.ec-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--ec-gap); }
.ec-step { min-width: 0; padding: var(--ec-pad); border: 1px solid var(--ec-border); border-radius: 14px; background: #fff; text-align: center; }
.ec-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 50%; background: var(--ec-primary); font-size: 20px; font-weight: 900; color: #fff; box-shadow: 0 0 0 6px var(--ec-soft); }
.ec-step h3 { margin-bottom: 6px; font-size: 17px; font-weight: 800; color: #0f172a; }
.ec-step p { font-size: 14px; line-height: 1.6; color: var(--ec-gray); }

/* ---------- FAQ ---------- */
.ec-faq { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }
.ec-faq-item { overflow: hidden; border: 1px solid var(--ec-border); border-radius: 12px; background: #fff; transition: border-color .3s ease, box-shadow .3s ease; }
.ec-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 14px 18px; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ec-faq-item summary::-webkit-details-marker { display: none; }
.ec-faq-item summary::marker { content: ""; }
.ec-faq-item summary:focus-visible { outline: 2px solid var(--ec-primary); outline-offset: -2px; }
.ec-faq-item summary h4 { min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ec-dark); overflow-wrap: anywhere; }
.ec-faq-item summary i { flex-shrink: 0; color: var(--ec-primary); transition: transform .3s ease; }
.ec-faq-item[open] { border-color: var(--ec-primary); box-shadow: 0 4px 12px rgba(13,110,253,.08); }
.ec-faq-item[open] summary i { transform: rotate(180deg); }
.ec-faq-body { padding: 0 18px 14px; }
.ec-faq-body p { padding-top: 10px; border-top: 1px solid #f1f5f9; font-size: 14px; line-height: 1.65; color: var(--ec-gray); overflow-wrap: anywhere; }

/* ---------- Final CTA / sticky ---------- */
.ec-final { padding: var(--ec-sec) 0; background: #fff; }
.ec-final-box { display: flex; align-items: center; justify-content: space-between; gap: var(--ec-gap); padding: clamp(22px,4vw,40px); border-radius: 20px; color: #fff; background: radial-gradient(circle at 92% 8%, rgba(251,191,36,.32), transparent 45%), linear-gradient(135deg, #0b1020 0%, #14307a 62%, #0d6efd 140%); box-shadow: 0 22px 50px rgba(13,110,253,.22); }
.ec-final-text { min-width: 0; }
.ec-final-text h2 { margin-bottom: 8px; font-size: clamp(21px,3.2vw,30px); font-weight: 800; line-height: 1.25; color: #fff; }
.ec-final-text p { max-width: 620px; font-size: 15px; line-height: 1.6; color: #cbd5e1; }
.ec-final-box .ec-btn { flex-shrink: 0; }
.ec-sticky { display: none; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1200px) {
    .ec-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px 20px; max-width: 880px; margin-left: auto; margin-right: auto; }
    .ec-controls { flex-direction: column; justify-content: center; gap: 14px; }
    .ec-coupon { width: 100%; max-width: 380px; }
    .ec-features { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 992px) {
    .ec-hero-grid { grid-template-columns: minmax(0,1fr); }
    .ec-hero-copy { text-align: center; }
    .ec-lead { margin-left: auto; margin-right: auto; }
    .ec-cta-row, .ec-chips { justify-content: center; }
    .ec-hero-visual { width: 100%; max-width: 520px; margin: 0 auto; }
    .ec-calc { grid-template-columns: minmax(0,1fr); }
    .ec-final-box { flex-direction: column; text-align: center; }
    .ec-final-text p { margin: 0 auto; }
}
@media (max-width: 768px) {
    .ec-grid { grid-template-columns: minmax(0,1fr); gap: 26px; max-width: 440px; }
    .ec-finder-grid { grid-template-columns: minmax(0,1fr); }
    .ec-steps { grid-template-columns: minmax(0,1fr); max-width: 460px; margin: 0 auto; }
    .ec-final { padding-bottom: calc(var(--ec-sec) + 64px + env(safe-area-inset-bottom, 0px)); }
    .ec-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(--ec-border); background: #fff; box-shadow: 0 -8px 26px rgba(15,23,42,.14);
        transform: translateY(115%); visibility: hidden; transition: transform .3s ease, visibility .3s;
    }
    .ec-sticky.show { transform: translateY(0); visibility: visible; }
    .ec-sticky-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
    .ec-sticky-text small { font-size: 11px; font-weight: 600; color: var(--ec-gray); }
    .ec-sticky-text strong { font-size: 20px; font-weight: 900; color: var(--ec-dark); white-space: nowrap; }
    .ec-sticky-text strong span { margin-left: 2px; font-size: 12px; font-weight: 600; color: var(--ec-gray); }
    .ec-sticky .ec-btn { flex-shrink: 0; min-height: 44px; padding: 10px 22px; }
}
@media (max-width: 576px) {
    .ec-main .container { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
    .ec-cta-row { flex-direction: column; align-items: stretch; }
    .ec-cta-row .ec-btn { width: 100%; }
    .ec-chips { gap: 8px 14px; }
    .ec-chips li { font-size: 13px; }
    .ec-strip-row { flex-direction: column; gap: 8px; }
    .ec-picks { gap: 6px; }
    .ec-pick { flex: 1 1 calc(50% - 6px); padding: 8px 10px; }
    .ec-controls { padding: 12px; }
    .ec-control { flex-direction: column; align-items: stretch; gap: 6px; width: 100%; }
    .ec-label { text-align: center; }
    .ec-switch, .ec-switch-wide { width: 100%; }
    .ec-opt { padding: 6px 8px; font-size: 13px; }
    .ec-coupon { max-width: none; }
    .ec-grid { max-width: 100%; }
    .ec-features { grid-template-columns: minmax(0,1fr); }
    .ec-guarantee { flex-direction: column; align-items: flex-start; gap: 10px; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }
    .ec-gateways { flex-direction: column; }
    .ec-calc-stats { grid-template-columns: minmax(0,1fr); }
    .ec-faq-item summary { padding: 12px 14px; }
    .ec-faq-body { padding: 0 14px 12px; }
    .ec-final-box { border-radius: 16px; }
    .ec-final-box .ec-btn { width: 100%; }
}
@media (max-width: 380px) {
    .ec-main .container { padding-left: 12px; padding-right: 12px; }
    .ec-hero h1 { font-size: 26px; }
    .ec-metric { padding: 8px 4px; }
    .ec-feed em { display: none; }
    .ec-amt { font-size: 34px; }
    .ec-plan-name h3 { font-size: 17px; }
    .ec-opt { padding: 6px 4px; font-size: 12px; }
    .ec-save-badge { padding: 2px 4px; font-size: 9px; }
    .ec-coupon-row { padding-left: 12px; }
    .ec-apply { padding: 6px 14px; }
    .ec-sticky-text strong { font-size: 18px; }
    .ec-sticky .ec-btn { padding: 10px 16px; }
}
@media (max-width: 340px) {
    .ec-main .container { padding-left: 10px; padding-right: 10px; }
    .ec-hero h1 { font-size: 23px; }
    .ec-metrics { grid-template-columns: minmax(0,1fr); }
    .ec-card { padding: 22px 14px; }
    .ec-amt { font-size: 30px; }
    .ec-ico, .ec-card:hover .ec-ico { width: 40px; height: 40px; }
    .ec-list li { font-size: 12px; }
    .ec-ribbon { left: 12px; }
    .ec-head h2, .ec-final-text h2 { font-size: 20px; }
    .ec-sticky-text small { display: none; }
}
@media (max-width: 300px) {
    .ec-hero h1 { font-size: 21px; }
    .ec-btn { padding-left: 12px; padding-right: 12px; font-size: 14px; }
}
@media (max-height: 480px) and (orientation: landscape) {
    .ec-hero { padding: 28px 0 32px; }
    .navbar { overflow-y: auto; }
}
@media (min-width: 1600px) { .ec-grid, .ec-features { gap: 24px; } }
@media (min-width: 1920px) { .ec-main .container, .header .container, .footer .container { max-width: 1320px; } }
@media (hover: none) {
    .ec-card:hover, .ec-card.featured:hover, .ec-feature:hover, .ec-btn-primary:hover, .ec-btn-white:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ec-main *, .ec-main *::before, .ec-main *::after, .ec-sticky { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .ec-reveal, .js .ec-feed li { opacity: 1; transform: none; }
}
@media print {
    .ec-sticky { display: none !important; }
    .js .ec-reveal, .js .ec-feed li { opacity: 1; transform: none; }
}

/* =========================================================
   v3 additions (landscape notch, keyboard focus)
========================================================= */
.header .container {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.top-banner {
    padding-left: max(40px, env(safe-area-inset-left, 0px));
    padding-right: max(40px, env(safe-area-inset-right, 0px));
}
@media (max-width: 576px) {
    .top-banner {
        padding-left: max(15px, env(safe-area-inset-left, 0px));
        padding-right: max(30px, env(safe-area-inset-right, 0px));
    }
}
.ec-main a:focus-visible,
.ec-faq-item summary:focus-visible {
    outline: 3px solid rgba(13, 110, 253, .45);
    outline-offset: 2px;
}
.ec-card.featured a:focus-visible { outline-color: #fff; }
.ec-opt[aria-pressed="true"] { color: #fff; }