/* =====================================================================
   Deception Detection — bug-sweep cluster shared styles.
   Mirrors the hub (bug-sweep.html) EXACTLY so every spoke matches it,
   plus breadcrumb / prose / related helpers in the same palette.
   Lives at /bug-sweep/cluster.css.
   ===================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-red: #dc2626;
    --primary-orange: #ff6b35;
    --glass-bg: rgba(10, 10, 10, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-gradient: linear-gradient(135deg, #ff6b35, #dc2626);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text-primary); background: #000; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }

.master-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1;
    background:
        radial-gradient(1100px 600px at 80% -10%, rgba(255,107,53,0.16), transparent 60%),
        radial-gradient(900px 500px at 0% 10%, rgba(44,83,100,0.5), transparent 55%),
        linear-gradient(160deg, #05070a 0%, #0b1015 50%, #05070a 100%);
}

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); color: white; padding: 1rem 0; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.15); backdrop-filter: blur(10px); }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.site-logo { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.1rem; }
.site-logo a { text-decoration: none; background: linear-gradient(135deg, #ff6b35, #f9ca24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo .tagline { font-size: 0.85rem; opacity: 0.9; font-weight: 300; color: #b8c6db; }
.nav-search-icon { color: #fff; font-size: 1.05rem; padding: 0.5rem; text-decoration: none; }

.hamburger { display: flex; flex-direction: column; cursor: pointer; padding: 0.5rem; }
.hamburger span { width: 25px; height: 3px; background: white; margin: 3px 0; transition: all 0.3s ease; border-radius: 2px; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; z-index: 999; }
.drawer-overlay.show { opacity: 1; visibility: visible; }

.nav-menu { position: fixed; top: 0; left: 0; height: 100vh; width: 320px; max-width: min(86vw, 420px); background: linear-gradient(135deg, #0f2027, #203a43); color: #fff; padding: calc(16px + env(safe-area-inset-top)) 18px 24px; transform: translateX(-100%); transition: transform .28s ease; z-index: 1000; display: flex; flex-direction: column; gap: 0.5rem; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: 2px 0 30px rgba(0,0,0,.35); border-right: 1px solid rgba(255,255,255,0.08); }
.nav-menu.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 2px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 8px; position: sticky; top: 0; background: linear-gradient(135deg, #0f2027, #203a43); z-index: 1; }
.drawer-title { font-weight: 700; letter-spacing: .3px; color: #e5efff; }
.drawer-close { background: transparent; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; padding: 4px 8px; cursor: pointer; border-radius: 8px; }
.drawer-close:hover { background: rgba(255,255,255,0.08); }
.nav-menu li { list-style: none; }
.nav-menu > li > a, .nav-menu > li > .dropdown-toggle { display: flex; align-items: center; justify-content: space-between; gap: .6rem; color: #fff; text-decoration: none; font-weight: 600; padding: 12px 10px; border-radius: 10px; transition: background .2s ease, transform .2s ease; }
.nav-menu > li > a:hover, .nav-menu > li > .dropdown-toggle:hover { background: rgba(255,255,255,0.08); transform: translateX(2px); }
.nav-menu a.btn-primary { background: linear-gradient(135deg, #ff6b35, #ff8c42); color: #fff; padding: 12px 16px; border-radius: 12px; text-align: center; box-shadow: 0 4px 15px rgba(255,107,53,0.3); margin-top: 6px; }
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; }
.dropdown-toggle::after { content: '▸'; font-size: .9rem; opacity: .9; transition: transform .2s ease; margin-left: .2rem; }
.dropdown.open .dropdown-toggle::after { transform: rotate(90deg); }
.dropdown-menu { overflow: hidden; max-height: 0; transition: max-height .25s ease; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; margin: 4px 0 8px; }
.dropdown.open .dropdown-menu { max-height: 80vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.dropdown-menu a { display: block; padding: 10px 12px; color: #f7fafc; text-decoration: none; font-weight: 500; border-top: 1px solid rgba(255,255,255,0.06); }
.dropdown-menu a:first-child { border-top: 0; }
.dropdown-menu a:hover { background: rgba(255,255,255,0.08); }

.main-content { position: relative; z-index: 1; padding-top: 80px; }

/* Breadcrumb */
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 14px 20px 0; font-size: 0.82rem; color: #8595a6; }
.breadcrumb a { color: #a9b6c4; text-decoration: none; }
.breadcrumb a:hover { color: #ff8c42; }
.breadcrumb span { color: #61707e; margin: 0 6px; }

/* Hero */
.hero { max-width: 1100px; margin: 0 auto; padding: 40px 20px 40px; text-align: center; }
.eyebrow { display: inline-block; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: #ff9e6b; font-weight: 700; margin-bottom: 1rem; border: 1px solid rgba(255,107,53,0.35); padding: 6px 14px; border-radius: 999px; background: rgba(255,107,53,0.08); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.1rem; }
.hero h1 .accent { color: #ff8c42; }
.hero p.lead { font-size: clamp(1rem, 2.2vw, 1.2rem); color: #cbd5e1; max-width: 730px; margin: 0 auto 1.8rem; }
.hero-img { display: block; width: 100%; max-width: 880px; margin: 2.4rem auto 0; border-radius: 18px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
/* From the Blog (staggered) */
.blog-list{max-width:1000px;margin:0 auto;display:flex;flex-direction:column;gap:3rem}
.blog-list .blog-row{display:flex;gap:2.2rem;align-items:center}
.blog-list .blog-row:nth-child(even){flex-direction:row-reverse}
.blog-list .blog-media{flex:1 1 50%}
.blog-list .blog-media a{display:block}
.blog-list .blog-media img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px;border:1px solid rgba(255,255,255,0.1);box-shadow:0 20px 50px rgba(0,0,0,0.4);display:block}
.blog-list .blog-body{flex:1 1 50%}
.blog-list .blog-cat{color:#ff9e6b;font-weight:700;font-size:.78rem;letter-spacing:1.5px;text-transform:uppercase}
.blog-list .blog-body h2{font-size:clamp(1.3rem,2.6vw,1.8rem);font-weight:800;margin:.4rem 0 .5rem;line-height:1.2;text-align:left}
.blog-list .blog-body h2 a{color:#fff;text-decoration:none}
.blog-list .blog-body h2 a:hover{color:#ff9e6b}
.blog-list .blog-body p{color:#cbd5e1;margin-bottom:.8rem;font-size:1rem;text-align:left}
.blog-list .blog-meta{color:#8a94a0;font-size:.85rem;margin-bottom:.5rem}
.blog-list .blog-more{color:#ff9e6b;text-decoration:none;font-weight:600}
.blog-list .blog-more:hover{text-decoration:underline}
@media (max-width:760px){.blog-list .blog-row,.blog-list .blog-row:nth-child(even){flex-direction:column}}

.cta-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 700; padding: 14px 28px; border-radius: 12px; font-size: 1rem; transition: transform .2s ease, box-shadow .2s ease; }
.btn-orange { background: linear-gradient(135deg, #ff6b35, #dc2626); color: #fff; box-shadow: 0 8px 24px rgba(255,107,53,0.3); }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,107,53,0.4); }
.btn-ghost { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--glass-border); }
.btn-ghost:hover { border-color: var(--primary-orange); color: #ff9e6b; }

.trust { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; max-width: 1000px; margin: 10px auto 0; padding: 0 20px; }
.trust div { display: flex; align-items: center; gap: 0.5rem; color: #cbd5e1; font-size: 0.9rem; font-weight: 500; }
.trust i { color: #ff8c42; }

.section { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; text-align: center; margin-bottom: 0.6rem; }
.section .sub { text-align: center; color: #a0a0a0; max-width: 700px; margin: 0 auto 2.5rem; font-size: 1.02rem; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.card { background: rgba(15,20,26,0.72); border: 1px solid var(--glass-border); border-radius: 16px; padding: 1.8rem; transition: transform .25s ease, border-color .25s ease; backdrop-filter: blur(6px); }
.card:hover { transform: translateY(-4px); border-color: var(--primary-orange); }
.card .ico { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(255,107,53,0.18), rgba(220,38,38,0.14)); color: #ff8c42; font-size: 1.35rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { color: #cbd5e1; font-size: 0.94rem; }

/* Long-form prose (guide pages) */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { text-align: left; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin: 2.2rem 0 0.8rem; }
.prose h3 { font-size: 1.3rem; font-weight: 700; margin: 1.8rem 0 0.6rem; color: #fff; }
.prose p { color: #cbd5e1; margin-bottom: 1.05rem; font-size: 1.02rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.3rem; color: #cbd5e1; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: #fff; }
.prose a { color: #ff9e6b; text-decoration: none; font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* Quick-answer callout (guide pages) */
.quick-answer { max-width: 820px; margin: 26px auto 0; background: rgba(255,107,53,0.08); border: 1px solid rgba(255,107,53,0.3); border-radius: 14px; padding: 1.3rem 1.6rem; }
.quick-answer strong { color: #ff9e6b; }
.quick-answer p { color: #e7edf3; font-size: 1rem; margin: 0; }

/* Proper-sweep callout */
.why { background: rgba(15,20,26,0.55); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.why-list { list-style: none; }
.why-list li { display: flex; gap: 0.8rem; margin-bottom: 1rem; color: #cbd5e1; font-size: 0.98rem; }
.why-list i { color: #ff8c42; margin-top: 0.25rem; }
.why-note { background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.35); border-radius: 14px; padding: 1.4rem 1.6rem; }
.why-note h4 { color: #ff8c42; margin-bottom: 0.5rem; font-size: 1.05rem; }
.why-note p { color: #e5c9c9; font-size: 0.94rem; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }

/* Deliverables */
.deliver-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.deliver-item { text-align: center; padding: 1rem; }
.deliver-item i { font-size: 2rem; color: #ff8c42; margin-bottom: 0.8rem; }
.deliver-item h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.deliver-item p { color: #a0a0a0; font-size: 0.9rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.step { padding: 1.6rem; background: rgba(15,20,26,0.72); border: 1px solid var(--glass-border); border-radius: 16px; }
.step .num { font-size: 2rem; font-weight: 900; color: rgba(255,107,53,0.35); line-height: 1; margin-bottom: 0.6rem; }
.step h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { color: #cbd5e1; font-size: 0.92rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.price-card { background: rgba(15,20,26,0.72); border: 1px solid var(--glass-border); border-radius: 16px; padding: 1.8rem; text-align: center; }
.price-card.feature { border-color: rgba(255,107,53,0.55); box-shadow: 0 10px 30px rgba(255,107,53,0.15); }
.price-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.price-card .fig { font-size: 1.9rem; font-weight: 800; color: #ff8c42; margin: 0.4rem 0; }
.price-card .fig small { font-size: 0.85rem; color: #a0a0a0; font-weight: 500; }
.price-card p { color: #cbd5e1; font-size: 0.92rem; }
.price-note { text-align: center; color: #a0a0a0; font-size: 0.92rem; max-width: 720px; margin: 1.6rem auto 0; }

/* Combine band */
.combine { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.combine-inner { background: linear-gradient(135deg, rgba(255,107,53,0.12), rgba(44,83,100,0.28)); border: 1px solid rgba(255,107,53,0.3); border-radius: 20px; padding: 2.2rem; text-align: center; }
.combine-inner h2 { font-size: 1.7rem; margin-bottom: 0.6rem; }
.combine-inner p { color: #dbe4ee; max-width: 640px; margin: 0 auto 1.4rem; }

/* Related links */
.related { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.9rem; }
.related a { display: flex; align-items: center; gap: 0.7rem; padding: 1rem 1.2rem; background: rgba(15,20,26,0.72); border: 1px solid var(--glass-border); border-radius: 12px; color: #e7edf3; text-decoration: none; font-weight: 600; transition: border-color .2s ease, transform .2s ease; }
.related a:hover { border-color: var(--primary-orange); transform: translateX(3px); color: #ff9e6b; }
.related a i { color: #ff8c42; }

/* FAQ */
.faq-item { border: 1px solid var(--glass-border); border-radius: 12px; margin-bottom: 0.8rem; background: rgba(15,20,26,0.6); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: #fff; font-size: 1.02rem; font-weight: 600; padding: 1.1rem 1.3rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: inherit; }
.faq-q i { color: #ff8c42; transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; color: #cbd5e1; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p { padding: 0 1.3rem 1.2rem; font-size: 0.95rem; }

/* Final CTA */
.final-cta { text-align: center; padding: 70px 20px; max-width: 820px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 0.8rem; }
.final-cta p { color: #cbd5e1; margin-bottom: 1.6rem; font-size: 1.05rem; }

/* Footer */
.footer { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); color: white; padding: 60px 0 30px; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #ff6b35, transparent); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; max-width: 1400px; margin-left: auto; margin-right: auto; padding: 0 20px; }
.footer-section h3, .footer-section h4 { margin-bottom: 1rem; color: #ff6b35; font-size: 1.1rem; font-weight: 700; }
.footer-section h3 { font-size: 1.3rem; }
.footer-section p { margin-bottom: 0.8rem; opacity: 0.9; line-height: 1.6; color: #cbd5e1; font-size: 0.85rem; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 0.5rem; }
.footer-section a { color: #cbd5e1; text-decoration: none; opacity: 0.9; transition: all 0.3s ease; display: inline-block; font-weight: 500; font-size: 0.8rem; }
.footer-section a:hover { opacity: 1; color: #ff6b35; transform: translateX(3px); }
.social-link { margin-right: 0.8rem; color: #cbd5e1; }
.social-link:hover { color: #ff6b35; }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid #374151; opacity: 0.8; max-width: 1400px; margin: 0 auto; font-size: 0.8rem; color: #94a3b8; padding-left: 20px; padding-right: 20px; }

@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; text-align: center; padding: 0 15px; }
    .trust { gap: 0.8rem 1.4rem; }
    .cta-row { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 320px; justify-content: center; }
    .why-list li { text-align: left; }
}

@supports not ((-webkit-background-clip:text) or (background-clip:text)) { * { -webkit-text-fill-color: currentColor !important; } }
