/*
Theme Name: AdVault Pro
Theme URI: https://ad-library-tool.local
Author: CreativeSpy Tools
Author URI: https://ad-library-tool.local
Description: High-performance, luxury SaaS theme with Batch URL analysis, 4-Column Vertical Creative Grid, and Full Scrollable Copy.
Version: 1.5.0
License: GNU General Public License v2 or later
Text Domain: advault-theme
*/

:root {
    --adv-bg: #f8fafc;
    --adv-bg-surface: #ffffff;
    --adv-surface: #ffffff;
    --adv-surface-glass: rgba(255, 255, 255, 0.95);
    --adv-card: #ffffff;
    --adv-card-hover: #ffffff;
    --adv-primary: #4f46e5;
    --adv-primary-hover: #4338ca;
    --adv-accent: #7c3aed;
    --adv-teal: #0891b2;
    --adv-brand-amber: #d97706;
    --adv-brand-amber-dark: #b45309;
    --adv-success: #10b981;
    --adv-success-hover: #059669;
    --adv-text-dark: #0f172a;
    --adv-text-light: #0f172a;
    --adv-text-body: #334155;
    --adv-muted: #64748b;
    --adv-muted-light: #cbd5e1;
    --adv-border: #e2e8f0;
    --adv-border-subtle: #f1f5f9;
    --adv-border-glow: rgba(79, 70, 229, 0.25);
    --adv-radius-sm: 8px;
    --adv-radius-md: 14px;
    --adv-radius-lg: 24px;
    --adv-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
    --adv-shadow-luxury: 0 8px 20px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Accessibility: Focus-visible standard */
:focus-visible {
    outline: 2px solid var(--adv-primary);
    outline-offset: 2px;
}

/* Accessibility: Motion sensitivity standard */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    .adv-dissect-modal-backdrop,
    .adv-dissect-modal-dialog,
    .adv-toast,
    .adv-pulse-dot,
    .adv-badge-pulse,
    .adv-skeleton {
        animation: none !important;
        transition: none !important;
    }
    button, input, select, a {
        transition-duration: 0.05s !important;
    }
}

/* Tabular figures for data and metrics */
.tabular-nums,
[data-tabular="true"],
.adv-metric-value,
.adv-calc-output {
    font-variant-numeric: tabular-nums;
}

/* Form hygiene: clean number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

::placeholder,
input::placeholder,
textarea::placeholder {
    color: #64748b !important;
    opacity: 1;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fafc;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.05) 0%, transparent 55%),
        radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
    background-size: 100% 600px, 24px 24px;
    background-position: top center, 0 0;
    background-attachment: scroll, fixed;
    color: #0f172a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ─── Header Navigation (Linear/Stripe-Grade 3-Column Grid) ─── */
.adv-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.adv-nav-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 10px 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.adv-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: start;
}

.header-ext-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.22);
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-ext-badge:hover {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.ext-badge-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.ext-badge-icon {
    font-size: 12px;
    line-height: 1;
}

@media (max-width: 860px) {
    .desktop-only-badge {
        display: none !important;
    }
}

.adv-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.adv-brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px -2px rgba(79, 70, 229, 0.35);
}

.adv-brand-title {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.6px;
    color: var(--adv-text-dark);
    line-height: 1.1;
}

.adv-brand-dot {
    color: #047857;
}

.adv-brand-subtitle {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
}

/* Centered Navigation Menu Container */
.adv-nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 4px 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    justify-self: center;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.adv-nav-item {
    margin: 0;
    padding: 0;
}

.adv-nav-item a,
.adv-nav-dropdown-btn {
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    padding: 6px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.adv-nav-item a:hover,
.adv-nav-dropdown-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.adv-nav-item a.active {
    color: #4f46e5;
    background: #ffffff;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.15);
}

.adv-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}

.adv-free-pill {
    background: rgba(4, 120, 87, 0.1);
    border: 1px solid rgba(4, 120, 87, 0.25);
    color: #047857 !important;
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
}

/* ─── Luxury Hero & Search Section ─── */
.adv-hero-luxury {
    position: relative;
    background: transparent;
    padding: 60px 24px 45px 24px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.adv-hero-wrap {
    max-width: 980px;
    margin: 0 auto;
}

/* ─── Benefit Eyebrow (hook above H1, no SEO weight) ─── */
.adv-benefit-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #4f46e5;
    font-style: italic;
    letter-spacing: 0.01em;
    margin-bottom: 12px;
}

.adv-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--adv-success);
    flex-shrink: 0;
}

.adv-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.22);
    color: #4f46e5;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.adv-pill-sparkle {
    color: #F59E0B;
}

.adv-hero-heading {
    font-size: 50px;
    font-weight: 900;
    letter-spacing: -1.6px;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 16px;
}

.adv-gradient-text {
    color: #4f46e5;
    font-weight: 900;
}

.adv-hero-description {
    font-size: 18px;
    color: #475569;
    max-width: 68ch;
    margin: 0 auto 34px auto;
    line-height: 1.55;
}

/* ─── Search Card ─── */
.adv-grand-search-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--adv-radius-lg);
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    padding: 24px;
    max-width: 940px;
    margin: 0 auto;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-grand-search-card:focus-within {
    border-color: #6366f1;
    box-shadow: 0 6px 16px -4px rgba(79, 70, 229, 0.14), 0 0 0 2px rgba(79, 70, 229, 0.2);
    transform: translateY(-2px);
}

/* Full-Width Mode Switcher Tabs */
.adv-mode-tabs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: 10px;
    width: 100%;
    margin-bottom: 18px;
}

.adv-mode-btn {
    width: 100%;
    justify-content: center;
    background: #f8fafc;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-mode-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #94a3b8;
}

.adv-mode-btn.active {
    background: #4f46e5;
    border-color: #4338ca;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* Distinctive Brand Spy Golden Flame Button */
.adv-mode-btn-brand {
    background: #FFFBEB;
    color: #B45309;
    border-color: #FDE68A;
}

.adv-mode-btn-brand:hover {
    background: #FEF3C7;
    color: #92400E;
    border-color: #FCD34D;
}

.adv-mode-btn-brand.active {
    background: #d97706;
    border-color: #b45309;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* Brand Spy hint bar */
.adv-brand-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #78350F;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    padding: 9px 14px;
    margin-top: 6px;
    line-height: 1.5;
    flex-wrap: wrap;
    text-align: left;
}

.adv-brand-hint code {
    background: #FEF3C7;
    color: #92400E;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Consolas', 'Courier New', monospace;
}

.adv-search-form {
    display: flex;
    gap: 14px;
    flex-direction: column;
}

.adv-input-shell {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.adv-input-glyph {
    position: absolute;
    left: 22px;
    color: var(--adv-primary);
    pointer-events: none;
    display: flex;
}

.adv-glyph-brand {
    color: #D97706;
}

.adv-grand-input {
    width: 100%;
    height: 72px;
    padding: 0 130px 0 60px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    color: #0f172a;
    transition: all 0.2s ease;
}

.adv-grand-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.adv-input-brand:focus {
    border-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.adv-grand-paste-btn {
    position: absolute;
    right: 14px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.adv-grand-paste-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.02);
}

.adv-batch-shell {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.adv-grand-textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 14px;
    font-family: 'Consolas', 'Courier New', monospace;
    line-height: 1.6;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    color: #0f172a;
    resize: vertical;
    min-height: 110px;
    transition: all 0.2s ease;
}

.adv-grand-textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.adv-batch-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
}

.adv-batch-actions .adv-grand-paste-btn {
    position: static;
}

.adv-batch-counter {
    font-size: 12px;
    font-weight: 700;
    color: var(--adv-muted);
}

.adv-grand-submit-btn {
    height: 64px;
    width: 100%;
    background: #4f46e5;
    color: #ffffff !important;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.adv-grand-submit-btn,
.adv-grand-submit-btn *,
.adv-grand-submit-btn span,
.adv-grand-submit-btn svg,
.fb-art-btn-text,
#advSubmitBtnText {
    color: #ffffff !important;
    fill: currentColor;
}

.adv-grand-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
    background: #4338ca;
}

.adv-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--adv-border-subtle);
    flex-wrap: wrap;
}

.adv-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

/* ─── Progress Bar & Loading ─── */
.adv-loading-section {
    max-width: 1320px;
    margin: 30px auto;
    padding: 0 24px;
}

.adv-progress-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--adv-radius-md);
    padding: 20px 24px;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.06);
    margin-bottom: 24px;
}

.adv-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.adv-progress-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--adv-text-dark);
}

.adv-progress-pct {
    font-size: 14px;
    font-weight: 800;
    color: var(--adv-primary);
}

.adv-progress-track {
    height: 8px;
    background: #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
}

.adv-progress-bar {
    height: 100%;
    background: #4f46e5;
    border-radius: 10px;
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.adv-skel-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--adv-radius-md);
    padding: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.adv-skel-media {
    background: #e2e8f0;
    border-radius: 8px;
    height: 240px;
    margin-bottom: 12px;
}

.adv-skel-lines {
    background: #e2e8f0;
    height: 60px;
    border-radius: 6px;
}

/* ─── 4-Column Vertical Creative Cards Grid ─── */
.adv-results-section {
    max-width: 1320px;
    margin: 40px auto 60px auto;
    padding: 0 24px;
}

.adv-results-toolbar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--adv-radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    flex-wrap: wrap;
    gap: 16px;
}

.adv-results-title {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--adv-text-dark);
}

.adv-results-subtitle {
    font-size: 13px;
    color: var(--adv-muted);
}

.adv-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.adv-btn-download-all {
    background: var(--adv-success);
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.15s ease;
}

.adv-btn-download-all:hover {
    background: var(--adv-success-hover);
    transform: translateY(-1px);
}

.adv-btn-clear {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.adv-btn-clear:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* The 4-Column Grid */
.adv-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* The Vertical Creative Card */
.adv-creative-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--adv-radius-md);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.adv-creative-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 16px -2px rgba(15, 23, 42, 0.08);
}

/* Card Media Header */
.adv-card-media-stage {
    position: relative;
    background: #000;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-card-media-stage video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adv-card-media-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adv-card-media-stage iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.adv-card-media-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #10B981;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.adv-card-swipe-star {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #F59E0B;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: transform 0.15s ease;
}

.adv-card-swipe-star:hover {
    transform: scale(1.15);
}

/* Card Body Details */
.adv-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}

.adv-card-advertiser-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.adv-card-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.adv-card-avatar-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--adv-muted);
}

.adv-card-advertiser-info {
    flex: 1;
    min-width: 0;
}

.adv-card-page-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--adv-text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.adv-card-date {
    font-size: 11px;
    color: var(--adv-muted);
}

.adv-card-headline {
    font-size: 14px;
    font-weight: 800;
    color: var(--adv-text-dark);
    line-height: 1.3;
}

/* FULLY SCROLLABLE & COMPLETE COPY SNIPPET */
.adv-card-copy-snippet {
    font-size: 12px;
    color: #334155;
    line-height: 1.6;
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    max-height: 160px;
    overflow-y: auto;
    white-space: pre-line;
    word-break: break-word;
}

.adv-card-copy-snippet::-webkit-scrollbar {
    width: 4px;
}

.adv-card-copy-snippet::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.adv-card-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 6px;
}

.adv-card-cta-pill {
    background: #1877F2;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.adv-card-copy-btn {
    background: #F1F5F9;
    color: var(--adv-text-dark);
    border: 1px solid var(--adv-border);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s;
}

.adv-card-copy-btn:hover {
    background: #E2E8F0;
}

/* Card Action Footer */
.adv-card-footer {
    padding: 12px 16px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.adv-btn-card-download {
    width: 100%;
    background: var(--adv-success);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.adv-btn-card-download:hover {
    background: var(--adv-success-hover);
}

/* ─── Swipe Board ─── */
.fb-swipe-board {
    max-width: 1320px;
    margin: 40px auto;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--adv-radius-lg);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    color: #0f172a;
}

.fb-swipe-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.fb-swipe-title-group h3 {
    font-size: 20px;
    font-weight: 900;
}

.fb-swipe-title-group p {
    font-size: 13px;
    color: var(--adv-muted);
}

.fb-clear-btn {
    background: none;
    border: 1px solid #FECACA;
    color: #EF4444;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.fb-clear-btn:hover {
    background: #FEF2F2;
}

/* ─── SEO Content & Research Hub Sections ─── */
.fb-content-section {
    max-width: 1240px;
    margin: 60px auto 80px auto;
    padding: 0 24px;
}

.fb-section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 40px auto;
}

.fb-sub-badge {
    display: inline-block;
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.fb-section-header h2 {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.8px;
    color: var(--adv-text-dark);
    margin-bottom: 12px;
    line-height: 1.25;
}

.fb-section-header h3 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.6px;
    color: var(--adv-text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.fb-section-header p {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    max-width: 65ch;
    margin: 0 auto;
}

/* 3 Steps Container */
.fb-steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.fb-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--adv-radius-md);
    padding: 30px 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.fb-step-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.fb-step-card:hover {
    transform: translateY(-3px);
}

.fb-step-number {
    font-size: 32px;
    font-weight: 900;
    color: #4f46e5;
    margin-bottom: 14px;
    line-height: 1;
}

.fb-step-card h3, .fb-step-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--adv-text-dark);
    margin-bottom: 10px;
}

.fb-step-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* Strategy Grid */
.fb-strategy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.fb-feature-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--adv-radius-md);
    padding: 24px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.fb-feature-icon {
    font-size: 26px;
    margin-bottom: 12px;
}

.fb-feature-item h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--adv-text-dark);
    margin-bottom: 8px;
}

.fb-feature-item p {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
}

/* Swipefile Guide Banner */
.fb-swipefile-guide-block {
    margin-bottom: 60px;
}

.fb-guide-banner {
    background: #0f172a;
    border-radius: var(--adv-radius-lg);
    padding: 40px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.08);
    flex-wrap: wrap;
}

.fb-guide-content {
    flex: 1;
    min-width: 300px;
}

.fb-guide-content h3 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 12px;
    color: #ffffff;
}

.fb-guide-content p {
    font-size: 15px;
    color: #CBD5E1;
    line-height: 1.6;
}

.fb-guide-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fb-guide-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #A7F3D0;
}

/* FAQ Accordion */
.fb-faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fb-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--adv-radius-md);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.fb-faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

.fb-faq-question {
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    list-style: none;
}

.fb-faq-question::-webkit-details-marker {
    display: none;
}

.fb-faq-arrow {
    font-size: 14px;
    color: var(--adv-primary);
    transition: transform 0.2s ease;
}

.fb-faq-item[open] .fb-faq-arrow {
    transform: rotate(180deg);
}

.fb-faq-answer {
    padding: 0 22px 20px 22px;
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
}

/* ─── Legal & Policy Page Styles ─── */
.adv-legal-page {
    background: transparent;
    padding: 50px 24px 80px 24px;
}

.adv-legal-container {
    max-width: 880px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--adv-radius-lg);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    padding: 45px 50px;
}

.adv-legal-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.22);
    color: #4f46e5;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.adv-legal-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.adv-legal-header h1 {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #0f172a;
}

.adv-legal-meta {
    font-size: 13px;
    color: var(--adv-muted);
    margin-top: 6px;
}

.adv-legal-content {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.adv-lead-text {
    font-size: 17px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 24px;
}

.adv-legal-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 36px 0 14px 0;
    color: #0f172a;
    letter-spacing: -0.4px;
}

.adv-legal-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 10px 0;
    color: #0f172a;
}

.adv-legal-content p {
    margin-bottom: 16px;
}

.adv-legal-content ul, .adv-legal-content ol {
    margin: 0 0 20px 24px;
}

.adv-legal-content li {
    margin-bottom: 8px;
}

.adv-highlight-box {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--adv-radius-md);
    padding: 20px 24px;
    margin: 24px 0;
    color: #991B1B;
}

.adv-highlight-box h3 {
    margin: 0 0 8px 0;
    color: #7F1D1D;
    font-size: 16px;
}

.adv-steps-box {
    background: #F1F5F9;
    border: 1px solid var(--adv-border);
    border-radius: var(--adv-radius-md);
    padding: 20px 24px;
    margin: 20px 0;
}

.adv-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0 35px 0;
}

.adv-contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--adv-radius-md);
    padding: 20px;
    color: #0f172a;
}

.adv-contact-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #0f172a;
}

.adv-contact-card p {
    font-size: 13px;
    color: var(--adv-muted);
    margin-bottom: 8px;
}

.adv-contact-form-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--adv-radius-md);
    padding: 30px;
    margin-top: 30px;
}

.adv-form-group {
    margin-bottom: 18px;
}

.adv-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--adv-text-dark);
    margin-bottom: 6px;
}

.adv-form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
}

.adv-form-input:focus {
    outline: none;
    border-color: var(--adv-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* ─── Footer ─── */
.adv-footer {
    background: #ffffff;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    padding: 60px 24px 40px 24px;
    width: 100%;
}

.adv-footer-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.adv-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.adv-footer-desc {
    font-size: 14px;
    color: var(--adv-muted-light);
    max-width: 360px;
    line-height: 1.6;
}

.adv-footer-col h4 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0f172a;
    margin-bottom: 18px;
}

.adv-footer-col ul {
    list-style: none;
}

.adv-footer-col li {
    margin-bottom: 10px;
}

.adv-footer-col a {
    color: var(--adv-muted-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
}

.adv-footer-col a:hover {
    color: #0f172a;
}

.adv-footer-bottom {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 12px;
    color: #475569;
    line-height: 1.6;
    text-align: center;
}

.adv-footer-bottom p {
    max-width: 65ch;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.6;
}

.adv-footer-copyright {
    color: var(--adv-muted-light);
    font-size: 13px;
}

/* ─── Responsive Grid ─── */
@media (max-width: 1200px) {
    .adv-cards-grid { grid-template-columns: repeat(3, 1fr); }
    .adv-skeleton-grid { grid-template-columns: repeat(3, 1fr); }
    .fb-strategy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .adv-mode-tabs-grid { grid-template-columns: 1fr; }
    .adv-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-skeleton-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-hero-heading { font-size: 36px; }
    .adv-nav-inner {
        display: flex;
        justify-content: space-between;
        padding: 10px 16px;
    }
    .adv-nav-menu { display: none; }
    .adv-legal-container { padding: 24px; }
    .adv-contact-grid { grid-template-columns: 1fr; }
    .adv-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .fb-steps-container { grid-template-columns: 1fr; }
    .fb-strategy-grid { grid-template-columns: 1fr; }

    /* Mobile Header Layout: Hide Free Pill & Reveal Creative Suite Launcher */
    .desktop-only { display: none !important; }
    .mobile-creative-suite-wrap { display: inline-flex !important; }
}

/* Base Display for Desktop */
.desktop-only { display: inline-block; }
.mobile-creative-suite-wrap {
    display: none;
    position: relative;
}

.suite-full-label { display: inline; }
.suite-short-label { display: none; }

.mobile-suite-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
    transition: all 0.15s ease;
    white-space: nowrap;
}

.mobile-suite-btn small {
    font-size: 11px;
}

.mobile-suite-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.18), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
    min-width: 250px;
    padding: 8px 0;
    z-index: 99999;
}

.mobile-suite-dropdown.open {
    display: block;
    animation: advLangPop 0.15s ease-out;
}

/* Ultra-Compact Phone Layout (<= 600px): Zero Overflow Defense */
@media (max-width: 600px) {
    .adv-nav-inner {
        padding: 8px 12px;
        gap: 8px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100vw;
    }
    .adv-brand-wrap {
        gap: 8px;
        min-width: 0;
        flex-shrink: 1;
    }
    .adv-brand {
        gap: 8px;
        min-width: 0;
    }
    .adv-brand-logo {
        width: 32px;
        height: 32px;
        min-width: 32px;
        border-radius: 8px;
    }
    .adv-brand-logo svg {
        width: 18px;
        height: 18px;
    }
    .adv-brand-title {
        font-size: 16px;
        white-space: nowrap;
    }
    .adv-brand-subtitle {
        display: none !important;
    }
    .adv-header-right {
        gap: 6px;
        flex-shrink: 0;
    }
    /* Compact Language Selector: Flag only */
    .lang-text-label {
        display: none !important;
    }
    .lang-select-btn {
        padding: 5px 8px;
        font-size: 12px;
        gap: 3px;
        border-radius: 7px;
    }
    /* Compact Suite Button */
    .suite-full-label {
        display: none !important;
    }
    .suite-short-label {
        display: inline !important;
    }
    .mobile-suite-btn {
        padding: 5px 9px;
        font-size: 11.5px;
        gap: 3px;
        border-radius: 7px;
    }
    .mobile-suite-dropdown {
        right: 0;
        min-width: 230px;
        max-width: calc(100vw - 24px);
    }
    .lang-dropdown {
        right: 0;
        min-width: 200px;
        max-width: calc(100vw - 24px);
    }
}

.mobile-suite-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-suite-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
}

.mobile-suite-dropdown a {
    display: flex;
    align-items: center;
    padding: 9px 14px;
    color: #334155;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.mobile-suite-dropdown a:hover {
    background: #f8fafc;
    color: #4f46e5;
}

@media (max-width: 540px) {
    .adv-cards-grid { grid-template-columns: 1fr; }
    .adv-skeleton-grid { grid-template-columns: 1fr; }
    .adv-results-toolbar { flex-direction: column; align-items: flex-start; }
}


/* ═══════════════════════════════════════════════════════════════
   TIKTOK-STYLE CLEAN LANGUAGE SELECTOR DROPDOWN & RTL
   ═══════════════════════════════════════════════════════════════ */
.lang-selector-wrap {
	position: relative;
	display: inline-block;
}

.lang-select-btn {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #0f172a;
	padding: 7px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.lang-select-btn:hover {
	background: #f1f5f9;
	border-color: #6366F1;
}

.lang-dropdown {
	display: none;
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 10px 18px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
	min-width: 220px;
	max-height: 380px;
	overflow-y: auto;
	padding: 8px;
	z-index: 99999;
}

.lang-dropdown.open {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2px;
	animation: advLangPop 0.15s ease-out;
}

@keyframes advLangPop {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: translateY(0); }
}

.lang-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	color: #94A3B8;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.15s ease;
}

.lang-option:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.lang-option.active {
	background: rgba(79, 70, 229, 0.2);
	color: #818CF8;
	font-weight: 700;
}

/* RTL Support for Arabic */
html[dir="rtl"] body {
	direction: rtl;
	text-align: right;
}
html[dir="rtl"] .adv-header-right {
	flex-direction: row-reverse;
}
html[dir="rtl"] .lang-dropdown {
	right: auto;
	left: 0;
}

/* ─── Desktop 1-Click Chrome Extension & Bookmarklet Card ─── */
.ad-bookmarklet-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 18px 24px;
	margin: 24px auto 0;
	max-width: 780px;
	text-align: center;
	box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}
.ad-bookmarklet-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #0369a1;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	padding: 3px 12px;
	border-radius: 20px;
	margin-bottom: 10px;
}
.ad-bookmarklet-actions-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 6px 0 10px;
}
.adv-btn-chrome-store {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #047857;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 16px;
	border-radius: 8px;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 6px -1px rgba(4, 120, 87, 0.3);
	transition: all 0.2s ease;
}
.adv-btn-chrome-store:hover {
	transform: translateY(-1px);
	background: #065f46;
	box-shadow: 0 4px 10px rgba(4, 120, 87, 0.35);
}
.ad-bookmarklet-sep {
	font-size: 12px;
	font-weight: 700;
	color: #475569;
	letter-spacing: 0.5px;
}
.ad-bookmarklet-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #4f46e5;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 16px;
	border-radius: 8px;
	text-decoration: none;
	cursor: grab;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 6px -1px rgba(79, 70, 229, 0.3);
	transition: all 0.2s ease;
}
.ad-bookmarklet-btn:hover {
	transform: translateY(-1px);
	background: #4338ca;
	box-shadow: 0 4px 10px rgba(79, 70, 229, 0.35);
}
.ad-bookmarklet-hint {
	display: block;
	font-size: 12px;
	color: #64748b;
	margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   POST-DOWNLOAD EUPHORIA WINDOW (Chrome Extension Prompt)
   ═══════════════════════════════════════════════════════════════ */
.adv-euphoria-toast {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 999999;
	max-width: 440px;
	width: calc(100% - 48px);
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 8px 16px -4px rgba(15, 23, 42, 0.1);
	padding: 16px 20px;
	animation: advEuphoriaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes advEuphoriaSlideUp {
	from { opacity: 0; transform: translateY(20px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.adv-euphoria-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	position: relative;
}

.adv-euphoria-icon {
	font-size: 26px;
	line-height: 1;
	flex-shrink: 0;
	animation: advFloat 2.5s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes advFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-3px); }
}

.adv-euphoria-body {
	flex: 1;
	min-width: 0;
}

.adv-euphoria-title {
	display: block;
	color: #0f172a;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.2px;
	margin-bottom: 2px;
}

.adv-euphoria-desc {
	color: #475569;
	font-size: 12px;
	line-height: 1.4;
	margin: 0;
}

.adv-euphoria-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.adv-euphoria-btn {
	background: #047857;
	color: #FFFFFF !important;
	font-size: 12px;
	font-weight: 700;
	padding: 8px 14px;
	border-radius: 8px;
	text-decoration: none;
	white-space: nowrap;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 6px -1px rgba(4, 120, 87, 0.3);
	transition: all 0.2s ease;
}

.adv-euphoria-btn:hover {
	transform: translateY(-1px);
	background: #065f46;
	box-shadow: 0 4px 10px rgba(4, 120, 87, 0.35);
}

.adv-euphoria-close {
	background: transparent;
	border: none;
	color: #64748B;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
	transition: color 0.15s ease;
}

.adv-euphoria-close:hover {
	color: #0f172a;
}

@media (max-width: 600px) {
	.adv-euphoria-toast {
		bottom: 16px;
		right: 16px;
		left: 16px;
		width: auto;
		padding: 14px 16px;
	}
	.adv-euphoria-inner {
		flex-wrap: wrap;
		gap: 10px;
	}
	.adv-euphoria-actions {
		width: 100%;
		justify-content: space-between;
		margin-top: 4px;
	}
	.adv-euphoria-btn {
		flex: 1;
		text-align: center;
	}
}

/* ─── Header Navigation Dropdown ─── */
.adv-nav-dropdown {
	position: relative;
}
.adv-nav-dropdown-btn {
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 0;
	transition: color 0.15s;
}
.adv-nav-dropdown-btn small,
.lang-select-btn small {
	font-size: 12px;
	color: #0f172a;
	font-weight: 700;
}
.adv-nav-dropdown:hover .adv-nav-dropdown-btn,
.adv-nav-dropdown:focus-within .adv-nav-dropdown-btn {
	color: #4f46e5;
}
.adv-nav-dropdown-menu {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 8px;
	min-width: 250px;
	box-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.12), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
	z-index: 1000;
}
.adv-nav-dropdown:hover .adv-nav-dropdown-menu,
.adv-nav-dropdown:focus-within .adv-nav-dropdown-menu {
	display: block;
	animation: advLangPop 0.15s ease-out;
}
.adv-nav-dropdown-menu a {
	display: flex !important;
	align-items: center;
	gap: 8px;
	padding: 10px 16px !important;
	color: #334155 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
	white-space: nowrap;
}
.adv-nav-dropdown-menu a:hover {
	background: #f1f5f9 !important;
	color: #4f46e5 !important;
}

/* ─── Sovereign Cluster Hub Tactile Link Cards ─── */
.adv-cluster-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 15px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #334155;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.adv-cluster-link:hover {
	background: #ffffff;
	border-color: #6366f1;
	color: #4f46e5;
	transform: translateY(-1.5px);
	box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.12);
}

.adv-cluster-link:hover .adv-cluster-arrow {
	transform: translateX(3px);
	color: #4f46e5;
}

.adv-cluster-link.active {
	background: rgba(79, 70, 229, 0.08);
	border-color: #6366f1;
	color: #4f46e5;
	font-weight: 700;
}

.adv-cluster-arrow {
	color: #64748b;
	font-size: 14px;
	transition: transform 0.2s ease, color 0.2s ease;
}

.adv-cluster-badge-active {
	font-size: 11px;
	background: #4f46e5;
	color: #ffffff !important;
	padding: 2px 7px;
	border-radius: 4px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

/* ==========================================================================
   MONSTER PILLAR DEEP-DIVE EDITORIAL ARTICLE STYLES
   Human-Centric, High-Contrast, Anti-Slop Master Design System
   ========================================================================== */
.adv-monster-pillar {
	padding: 50px 0 70px;
	border-top: 1px solid var(--adv-border);
	background: #ffffff;
	margin-top: 40px;
}

.adv-pillar-container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 24px;
}

.adv-pillar-header {
	text-align: left;
	margin-bottom: 32px;
}

.adv-pillar-badge-group {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.adv-pillar-pill {
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	letter-spacing: 0.2px;
}

.adv-pill-indigo { background: rgba(79, 70, 229, 0.1); color: #4f46e5; border: 1px solid rgba(79, 70, 229, 0.2); }
.adv-pill-emerald { background: rgba(16, 185, 129, 0.1); color: #059669; border: 1px solid rgba(16, 185, 129, 0.2); }
.adv-pill-amber { background: rgba(217, 119, 6, 0.1); color: #b45309; border: 1px solid rgba(217, 119, 6, 0.2); }
.adv-pill-purple { background: rgba(124, 58, 237, 0.1); color: #7c3aed; border: 1px solid rgba(124, 58, 237, 0.2); }
.adv-pill-neutral { background: #f8fafc; color: #475569; border: 1px solid var(--adv-border); }

.adv-pillar-title {
	font-size: 32px;
	font-weight: 850;
	color: #0f172a;
	line-height: 1.25;
	margin: 0 0 14px;
	letter-spacing: -0.02em;
}

.adv-pillar-lead {
	font-size: 16.5px;
	color: #475569;
	line-height: 1.68;
	margin: 0;
	max-width: 72ch;
}

/* Callout Alerts */
.adv-pillar-alert {
	display: flex;
	gap: 16px;
	padding: 20px 24px;
	border-radius: 14px;
	margin: 28px 0;
	font-size: 14.5px;
	line-height: 1.65;
	text-align: left;
}

.adv-alert-icon { font-size: 24px; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.adv-pillar-alert p { margin: 6px 0 0; color: #334155; }
.adv-pillar-alert ul { margin: 8px 0 0; padding-left: 20px; }
.adv-pillar-alert li { margin-bottom: 4px; }
.adv-alert-info { background: #f8fafc; border: 1px solid #cbd5e1; }
.adv-alert-warning { background: #fffbeb; border: 1px solid #fde68a; }
.adv-alert-tip { background: #ecfdf5; border: 1px solid #a7f3d0; }

/* Table of Contents */
.adv-pillar-toc {
	background: #f8fafc;
	border: 1px solid var(--adv-border);
	border-radius: 16px;
	padding: 24px 28px;
	margin: 32px 0;
	box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.03);
}

.adv-toc-heading {
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.adv-toc-list {
	margin: 0;
	padding-left: 20px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 28px;
}

@media (max-width: 768px) {
	.adv-toc-list { grid-template-columns: 1fr; }
}

.adv-toc-list li a {
	font-size: 14px;
	color: #475569;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.15s ease;
}

.adv-toc-list li a:hover {
	color: #4f46e5;
	text-decoration: underline;
}

/* Pillar Content Sections */
.adv-pillar-section {
	margin: 48px 0;
	text-align: left;
}

.adv-pillar-section h3 {
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 16px;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

.adv-pillar-section h4 {
	font-size: 17px;
	font-weight: 750;
	color: #0f172a;
	margin: 20px 0 10px;
}

.adv-pillar-section p,
.adv-pillar-section li {
	font-size: 15.5px;
	color: #334155;
	line-height: 1.72;
}

.adv-pillar-section p {
	margin-bottom: 16px;
	max-width: 74ch;
}

.adv-pillar-section ul,
.adv-pillar-section ol {
	padding-left: 26px;
	margin: 16px 0 24px;
	max-width: 74ch;
}

.adv-pillar-section li {
	margin-bottom: 10px;
}

/* Grid & Cards */
.adv-pillar-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin: 28px 0;
}

.adv-pillar-step-card {
	background: #ffffff;
	border: 1px solid var(--adv-border);
	border-radius: 14px;
	padding: 22px;
	box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
	position: relative;
	transition: transform 0.2s, box-shadow 0.2s;
}

.adv-pillar-step-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
}

.adv-card-warning {
	border-top: 3px solid #ef4444;
	background: #fffafa;
}

.adv-card-success {
	border-top: 3px solid #10b981;
	background: #fbfdfc;
}

.adv-step-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 9px;
	border-radius: 6px;
	background: #4f46e5;
	color: #ffffff;
	margin-bottom: 12px;
}

.adv-pillar-step-card h4 {
	font-size: 16px;
	font-weight: 750;
	color: #0f172a;
	margin: 0 0 8px;
}

.adv-pillar-step-card p {
	font-size: 14px;
	color: #475569;
	line-height: 1.6;
	margin: 0;
}

.adv-pillar-step-card ul {
	margin: 8px 0 0;
	padding-left: 18px;
}

.adv-pillar-step-card li {
	font-size: 13.5px;
	color: #475569;
	line-height: 1.55;
	margin-bottom: 6px;
}

/* Stat Grid */
.adv-pillar-stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin: 24px 0 32px;
}

.adv-stat-card {
	background: #f8fafc;
	border: 1px solid var(--adv-border);
	border-radius: 14px;
	padding: 20px;
	text-align: left;
}

.adv-stat-highlight {
	background: #f0fdf4;
	border-color: #86efac;
}

.adv-stat-num {
	display: block;
	font-size: 22px;
	font-weight: 850;
	color: #0f172a;
	margin-bottom: 4px;
}

.adv-stat-highlight .adv-stat-num {
	color: #15803d;
}

.adv-stat-label {
	display: block;
	font-size: 12.5px;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748b;
	margin-bottom: 8px;
}

.adv-stat-card p {
	font-size: 13.5px;
	color: #475569;
	line-height: 1.5;
	margin: 0;
}

/* Workflow Steps */
.adv-pillar-workflow-steps {
	list-style: none;
	counter-reset: workflow-counter;
	padding: 0;
	margin: 24px 0;
}

.adv-pillar-workflow-steps li {
	position: relative;
	padding-left: 48px;
	margin-bottom: 20px;
	font-size: 15px;
	line-height: 1.65;
	color: #334155;
}

.adv-pillar-workflow-steps li::before {
	counter-increment: workflow-counter;
	content: counter(workflow-counter);
	position: absolute;
	left: 0;
	top: 2px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #4f46e5;
	color: #ffffff;
	font-weight: 800;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

/* FAQs */
.adv-faq-item {
	background: #ffffff;
	border: 1px solid var(--adv-border);
	border-radius: 14px;
	padding: 22px 24px;
	margin-bottom: 16px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.adv-faq-item h4 {
	font-size: 16.5px;
	font-weight: 750;
	color: #0f172a;
	margin: 0 0 10px;
}

.adv-faq-item p {
	font-size: 14.5px;
	color: #475569;
	line-height: 1.65;
	margin: 0;
}

/* CTA Box */
.adv-pillar-cta-box {
	background: #0f172a;
	border: 1px solid #1e293b;
	border-radius: 20px;
	padding: 36px 32px;
	margin: 50px 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
	text-align: left;
	box-shadow: 0 12px 30px -6px rgba(15, 23, 42, 0.25);
}

.adv-cta-content {
	flex: 1 1 400px;
}

.adv-cta-badge {
	display: inline-block;
	background: rgba(79, 70, 229, 0.3);
	border: 1px solid rgba(79, 70, 229, 0.6);
	color: #a5b4fc;
	font-size: 12px;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 12px;
	border-radius: 9999px;
	margin-bottom: 12px;
}

.adv-cta-title {
	font-size: 24px;
	font-weight: 850;
	color: #ffffff;
	margin: 0 0 8px;
	letter-spacing: -0.02em;
}

.adv-cta-desc {
	font-size: 14.5px;
	color: #94a3b8;
	line-height: 1.6;
	margin: 0;
	max-width: 58ch;
}

.adv-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	background: #4f46e5;
	color: #ffffff !important;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 750;
	text-decoration: none;
	box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
	transition: background 0.15s, transform 0.15s;
	white-space: nowrap;
}

.adv-cta-btn:hover {
	background: #4338ca;
	transform: translateY(-2px);
}

.adv-guide-card:hover {
	transform: translateY(-3px);
	border-color: #6366f1 !important;
	box-shadow: 0 12px 28px -4px rgba(79, 70, 229, 0.12) !important;
}

.adv-tab-trigger:hover {
	opacity: 0.95;
	transform: translateY(-1px);
}

/* ==========================================================================
   SOVEREIGN CREATOR GUIDES & KNOWLEDGE HUB (SNAPVAULTS 1:1 REPLICATION)
   ========================================================================== */
.adv-creator-guides-section {
  padding: 60px 0;
  border-top: 1px solid var(--adv-border);
  background: #f8fafc;
}

.adv-guides-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.adv-guides-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #4f46e5;
  margin-bottom: 12px;
}

.adv-section-title {
  font-size: 30px;
  font-weight: 850;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.adv-section-lead {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.adv-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.adv-guide-card {
  background: #ffffff;
  border: 1px solid var(--adv-border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.adv-guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.adv-guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 12px;
}

.adv-guide-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
}

.adv-tag-spy { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }
.adv-tag-video { background: rgba(16, 185, 129, 0.1); color: #059669; }
.adv-tag-hook { background: rgba(217, 119, 6, 0.1); color: #b45309; }
.adv-tag-saas { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }

.adv-guide-readtime {
  color: #64748b;
  font-weight: 500;
}

.adv-guide-card-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px;
}

.adv-guide-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.adv-guide-card-title a:hover {
  color: #4f46e5;
}

.adv-guide-card-excerpt {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}

.adv-guide-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--adv-border);
}

.adv-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #4f46e5;
  text-decoration: none;
  transition: gap 0.15s ease;
}

.adv-guide-link:hover {
  gap: 9px;
  color: #4338ca;
}

/* ═══════════════════════════════════════════════════════════════
   AD COPY HEURISTIC ANGLE DISSECTOR (MODAL + TRIGGER)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Card Trigger Button ─── */
.adv-card-dissect-trigger-btn {
    width: 100%;
    margin: 10px 0 6px 0;
    padding: 8px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(99, 102, 241, 0.03) 100%);
    border: 1px solid rgba(99, 102, 241, 0.28);
    color: #4338ca;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    text-decoration: none;
}

.adv-card-dissect-trigger-btn:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.16) 0%, rgba(99, 102, 241, 0.09) 100%);
    border-color: #6366f1;
    color: #3730a3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.2);
}

.adv-card-dissect-trigger-btn:active {
    transform: translateY(0);
}

.adv-dissect-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 13px;
    line-height: 1;
    flex-shrink: 0;
}

.adv-dissect-btn-text {
    flex: 1;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.adv-dissect-arrow {
    font-size: 14px;
    font-weight: 700;
    color: #6366f1;
    transition: transform 0.2s ease;
}

.adv-card-dissect-trigger-btn:hover .adv-dissect-arrow {
    transform: translate(2px, -2px);
}

/* ─── Modal Backdrop ─── */
.adv-dissect-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-dissect-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* ─── Modal Dialog Shell ─── */
.adv-dissect-modal-dialog {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.05);
    transform: translateY(14px) scale(0.97);
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-dissect-modal-backdrop.active .adv-dissect-modal-dialog {
    transform: translateY(0) scale(1);
}

/* ─── Modal Header ─── */
.adv-dissect-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.adv-dissect-head-left {
    flex: 1;
    min-width: 0;
}

.adv-dissect-kicker-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.adv-dissect-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #4f46e5;
    background: #eef2ff;
    padding: 3px 8px;
    border-radius: 6px;
}

.adv-dissect-speed-badge {
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
    background: #ecfdf5;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #d1fae5;
}

.adv-dissect-modal-title {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.adv-dissect-brand-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
}

.adv-dissect-brand-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4f46e5;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.adv-dissect-brand-name {
    font-weight: 700;
    color: #1e293b;
}

.adv-dissect-ad-id,
.adv-dissect-ad-date {
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
}

.adv-dissect-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.adv-dissect-modal-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
}

/* ─── Modal Body ─── */
.adv-dissect-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #ffffff;
}

/* 1. Hero Hook Card */
.adv-dissect-hero-hook {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px 18px;
}

.adv-dissect-section-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.adv-dissect-hook-subtle {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.adv-dissect-hook-quote {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
    color: #0f172a;
    line-height: 1.5;
}

.adv-dissect-hook-intent {
    margin: 0;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}

.adv-dissect-hook-intent strong {
    color: #0f172a;
}

/* 2. Pillars Grid */
.adv-dissect-pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .adv-dissect-pillars-grid {
        grid-template-columns: 1fr;
    }
}

.adv-dissect-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color 0.15s ease;
}

.adv-dissect-pillar-card:hover {
    border-color: #cbd5e1;
}

.adv-dissect-pillar-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.adv-dissect-pillar-icon {
    font-size: 14px;
}

.adv-dissect-pillar-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.adv-dissect-pillar-val {
    margin: 0 0 4px 0;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.adv-dissect-pillar-sub {
    margin: 0;
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}

/* 3. Telemetry Bar */
.adv-dissect-telemetry-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
}

@media (max-width: 600px) {
    .adv-dissect-telemetry-row {
        grid-template-columns: 1fr 1fr;
    }
}

.adv-dissect-telemetry-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.adv-telemetry-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #94a3b8;
}

.adv-telemetry-val {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
}

/* 4. Full Ad Copy Box */
.adv-dissect-copy-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.adv-dissect-copy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.adv-dissect-copy-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475569;
}

.adv-dissect-copy-raw-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.adv-dissect-copy-raw-btn:hover {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4338ca;
}

.adv-dissect-copy-raw-btn.copied {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.adv-dissect-copy-content {
    padding: 14px;
    max-height: 180px;
    overflow-y: auto;
}

.adv-dissect-copy-headline {
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
}

.adv-dissect-copy-text {
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ─── Modal Footer ─── */
.adv-dissect-modal-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 24px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    flex-wrap: wrap;
}

.adv-dissect-actions-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.adv-dissect-foot-close-btn {
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
}

.adv-dissect-foot-close-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.adv-pill-hook {
    border: 1px solid currentColor;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.adv-intel-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none !important;
}

.adv-btn-blueprint {
    background: #0f172a;
    border: 1px solid #0f172a;
    color: #ffffff !important;
}

.adv-btn-blueprint:hover {
    background: #1e293b;
    border-color: #1e293b;
}

.adv-btn-blueprint.copied {
    background: #10b981;
    border-color: #10b981;
}

.adv-btn-brief {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #4f46e5 !important;
}

.adv-btn-brief:hover {
    background: #eef2ff;
    border-color: #4f46e5;
}

/* ==========================================================================
   Tool & Calculator Design System Standards (WCAG 44px Touch & Tokens)
   ========================================================================== */

.adv-tool-workspace {
    margin-bottom: 32px;
}

.adv-tool-header-card {
    background: var(--adv-surface);
    border: 1px solid var(--adv-border);
    border-radius: var(--adv-radius-md);
    padding: 18px 24px;
    margin-bottom: 24px;
    box-shadow: var(--adv-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.adv-tool-preset-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    text-decoration: none !important;
}

.adv-tool-preset-pill:active {
    transform: scale(0.97);
}

.adv-tool-preset-pill:focus-visible {
    outline: 2px solid var(--adv-primary);
    outline-offset: 2px;
}

.adv-tool-preset-pill-default {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--adv-text-dark);
}

.adv-tool-preset-pill-default:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.adv-tool-preset-pill-active {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: var(--adv-primary);
}

.adv-tool-preset-pill-active:hover {
    background: #e0e7ff;
    border-color: var(--adv-primary);
}

.adv-tool-card {
    background: var(--adv-surface);
    border: 1px solid var(--adv-border);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.adv-tool-card-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.adv-tool-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--adv-text-dark);
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.adv-tool-card-desc {
    font-size: 12.5px;
    color: var(--adv-muted);
    line-height: 1.5;
}

.adv-tool-field {
    margin-bottom: 18px;
}

.adv-tool-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.adv-tool-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.adv-tool-tooltip {
    cursor: help;
    color: #64748b;
    font-size: 12px;
}

.adv-tool-input {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 14px;
    min-height: 44px;
    color: var(--adv-text-dark);
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.adv-tool-input:focus {
    border-color: var(--adv-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.adv-tool-btn-primary {
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--adv-primary);
    border: 1px solid var(--adv-primary);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s ease;
}

.adv-tool-btn-primary:hover {
    background: var(--adv-primary-hover);
    border-color: var(--adv-primary-hover);
}

.adv-tool-btn-primary:active {
    transform: scale(0.98);
}

.adv-tool-btn-secondary {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--adv-text-dark);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.adv-tool-btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.adv-tool-btn-secondary:active {
    transform: scale(0.98);
}

.adv-tool-status-pill {
    min-height: 44px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.adv-tool-status-pill:active {
    transform: scale(0.97);
}

.adv-cohort-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    border-radius: 12px;
}

.adv-cohort-scroll::-webkit-scrollbar {
    height: 6px;
}

.adv-cohort-scroll::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 3px;
}
