/* ============================================================
 * BrandVerify scanner page styles
 * Extracted from /scanner/index.php for production maintainability
 * Last regenerated: 2026-05-19
 * ============================================================ */

        :root {
            --primary-50: #eff6ff; --primary-100: #dbeafe; --primary-200: #bfdbfe;
            --primary-300: #93c5fd; --primary-400: #60a5fa; --primary-500: #3b82f6;
            --primary-600: #2563eb; --primary-700: #1d4ed8; --primary-800: #1e40af;
            --white: #ffffff; --gray-50: #f8fafc; --gray-100: #f1f5f9;
            --gray-200: #e2e8f0; --gray-300: #cbd5e1; --gray-400: #94a3b8;
            --gray-500: #64748b; --gray-600: #475569; --gray-700: #334155;
            --gray-800: #1e293b; --gray-900: #0f172a;
            --success: #10b981; --gradient-1: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        }
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; line-height: 1.6; color: var(--gray-700); background: var(--white); }
        h1, h2, h3 { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--gray-900); line-height: 1.2; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
        
        /* Navigation */
        .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--gray-100); }
        .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .logo { display: flex; align-items: center; gap: 0.5rem; font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--gray-900); text-decoration: none; }
        .logo-icon { width: 38px; height: 38px; background: var(--gradient-1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; }
        .nav-links { display: none; gap: 2rem; list-style: none; }
        .nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--gray-600); text-decoration: none; transition: color 0.2s; }
        .nav-links a:hover { color: var(--primary-600); }
        .nav-cta { display: flex; align-items: center; gap: 1rem; }
        .nav-login { display: none; font-weight: 600; color: var(--gray-700); text-decoration: none; }
        @media(min-width:768px) { .nav-login { display: block; } }
        @media(min-width:1024px) { .nav-links { display: flex; } }
        
        /* Buttons */
        .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; font-family: inherit; font-size: 0.95rem; font-weight: 600; border-radius: 10px; border: none; cursor: pointer; text-decoration: none; transition: all 0.2s; }
        .btn-primary { background: var(--gradient-1); color: white; box-shadow: 0 4px 14px -3px rgba(59,130,246,0.4); }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -4px rgba(59,130,246,0.5); }
        .btn-secondary { background: white; color: var(--gray-700); border: 1.5px solid var(--gray-200); }
        .btn-secondary:hover { border-color: var(--primary-300); background: var(--primary-50); color: var(--primary-600); }
        .btn-lg { padding: 1rem 2rem; font-size: 1rem; }
        .mobile-menu-btn { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
        .mobile-menu-btn span { width: 22px; height: 2px; background: var(--gray-700); border-radius: 2px; }
        @media(min-width:1024px) { .mobile-menu-btn { display: none; } }
        
        /* Hero */
        .hero { padding: calc(70px + 4rem) 0 6rem; background: none; position: relative; overflow: visible; }
        .hero::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 100%; background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%); z-index: -1; }
        .hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 50%), radial-gradient(circle at 80% 30%, rgba(59,130,246,0.05) 0%, transparent 40%); pointer-events: none; }
        .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; }
        .hero-content { position: relative; text-align: left; }
        .hero-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.5rem; list-style: none; margin-top: 2rem; }
        .hero-list-item { display: flex; align-items: center; gap: 0.5rem; color: var(--gray-600); font-size: 0.9rem; }
        .hero-list-item i { color: var(--primary-500); font-size: 0.8rem; }
        .hero-preview { position: relative; }
        .preview-card { background: white; border: 1px solid var(--gray-200); border-radius: 20px; padding: 1.5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); }
        .preview-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
        .preview-flag { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--gray-400); }
        .preview-dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
        .preview-pill { background: rgba(59,130,246,0.1); color: var(--primary-600); padding: 0.2rem 0.6rem; border-radius: 100px; font-size: 0.7rem; font-weight: 600; }
        .preview-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1rem; background: var(--gray-50); border-radius: 12px; margin-bottom: 0.5rem; }
        .preview-item:last-of-type { margin-bottom: 0; }
        .hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: white; border: 1px solid var(--primary-200); border-radius: 50px; font-size: 0.875rem; font-weight: 500; color: var(--primary-700); margin-bottom: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
        .hero-badge-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
        @keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.2);opacity:0.7} }
        .hero-title { font-size: clamp(2.2rem, 5.5vw, 3.75rem); margin-bottom: 1.25rem; }
        .text-gradient { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.3rem); color: var(--gray-500); margin-bottom: 2rem; }
        .hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
        @media(max-width:768px) { .hero-grid { grid-template-columns: 1fr; } .hero-content { text-align: center; } .hero-cta { justify-content: center; } .hero-list { display: none !important; } .hero-preview { display: none !important; } }
        .hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; }
        .hero-stat-value { font-family: 'Outfit', sans-serif; font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; color: var(--gray-900); }
        .hero-stat-label { font-size: 0.875rem; color: var(--gray-400); }
        
        /* Browser Preview */
        .hero-visual { margin-top: 4rem; }
        .browser { background: white; border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05); overflow: hidden; max-width: 900px; margin: 0 auto; }
        .browser-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
        .browser-dot { width: 12px; height: 12px; border-radius: 50%; }
        .browser-dot:nth-child(1) { background: #ff5f57; }
        .browser-dot:nth-child(2) { background: #ffbd2e; }
        .browser-dot:nth-child(3) { background: #28ca42; }
        .browser-url { flex: 1; margin-left: 12px; padding: 6px 12px; background: white; border-radius: 6px; font-size: 0.8rem; color: var(--gray-400); border: 1px solid var(--gray-200); }
        .browser-content { padding: 2rem; background: linear-gradient(180deg, var(--gray-50) 0%, white 100%); min-height: 280px; display: flex; align-items: center; justify-content: center; }
        .widget-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; width: 100%; max-width: 500px; }
        @media(min-width:640px) { .widget-grid { grid-template-columns: repeat(4, 1fr); } }
        .widget-preview { background: white; border-radius: 12px; padding: 1.25rem 1rem; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border: 1px solid var(--gray-100); transition: transform 0.2s, box-shadow 0.2s; }
        .widget-preview:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
        .widget-icon { width: 48px; height: 48px; margin: 0 auto 0.75rem; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: white; font-weight: 600; }
        .widget-icon.ig, .widget-icon.social { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
        .widget-icon.tt { background: linear-gradient(135deg, #25f4ee 0%, #fe2c55 100%); }
        .widget-icon.yt { background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); }
        .widget-icon.tw { background: linear-gradient(135deg, #1da1f2 0%, #0d8ecf 100%); }
        .widget-icon.ecom { background: linear-gradient(135deg, #ff9500 0%, #ff5e00 100%); }
        .widget-icon.finance { background: linear-gradient(135deg, #00c853 0%, #00a844 100%); }
        .widget-icon.travel { background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%); }
        .widget-icon.realestate { background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%); }
        .widget-icon.jobs { background: linear-gradient(135deg, #0077b5 0%, #005885 100%); }
        .widget-icon.food { background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%); }
        .widget-name { font-size: 0.75rem; font-weight: 600; color: var(--gray-700); }
        
        /* Logos */
        .logos { padding: 3rem 0; background: white; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
        .logos-title { text-align: center; font-size: 0.8rem; font-weight: 500; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
        .logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem; opacity: 0.5; }
        .logo-item { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem; color: var(--gray-400); }
        
        /* Section Header */
        .section { padding: 5rem 0; }
        .section-alt { background: var(--gray-50); }
        .section-header { text-align: center; max-width: 650px; margin: 0 auto 3.5rem; }
        .section-label { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--primary-600); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
        .section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
        .section-subtitle { font-size: 1.1rem; color: var(--gray-500); }
        
        /* Features */
        .features-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
        @media(min-width:768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
        @media(min-width:1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
        .feature-card { padding: 2rem; background: white; border-radius: 16px; border: 1px solid var(--gray-200); transition: all 0.3s; }
        .feature-card:hover { border-color: var(--primary-200); box-shadow: 0 12px 24px rgba(0,0,0,0.08); transform: translateY(-4px); }
        .feature-icon { width: 52px; height: 52px; background: var(--primary-50); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.5rem; }
        .feature-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
        .feature-desc { font-size: 0.95rem; color: var(--gray-500); line-height: 1.7; }
        
        /* How It Works */
        .steps { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 900px; margin: 0 auto; }
        @media(min-width:768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
        .step { text-align: center; padding: 1.5rem; }
        .step-num { width: 60px; height: 60px; margin: 0 auto 1.25rem; background: var(--gradient-1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; color: white; box-shadow: 0 8px 24px rgba(59,130,246,0.3); }
        .step-title { font-size: 1.15rem; margin-bottom: 0.5rem; }
        .step-desc { font-size: 0.95rem; color: var(--gray-500); }
        
        /* Widgets */
        .widgets-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
        @media(min-width:640px) { .widgets-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
        @media(min-width:1024px) { .widgets-grid { grid-template-columns: repeat(4, 1fr); } }
        .widget-card { position: relative; background: white; border-radius: 14px; border: 1px solid var(--gray-200); padding: 1.5rem 1rem; text-align: center; transition: all 0.3s; cursor: pointer; }
        .widget-card:hover { border-color: var(--primary-300); box-shadow: 0 12px 28px rgba(0,0,0,0.1); transform: translateY(-4px); }
        .widget-card-icon { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; font-weight: 600; }
        .widget-card-icon.ig { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
        .widget-card-icon.tt { background: linear-gradient(135deg, #25f4ee 0%, #fe2c55 100%); }
        .widget-card-icon.yt { background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); }
        .widget-card-icon.tw { background: linear-gradient(135deg, #1da1f2 0%, #0d8ecf 100%); }
        .widget-card-icon.fb { background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%); }
        .widget-card-icon.pin { background: linear-gradient(135deg, #e60023 0%, #c7001e 100%); }
        .widget-card-icon.sp { background: linear-gradient(135deg, #1db954 0%, #1aa34a 100%); }
        .widget-card-icon.li { background: linear-gradient(135deg, #0a66c2 0%, #0856a3 100%); }
        .widget-card-icon.ecom { background: linear-gradient(135deg, #ff9500 0%, #ff5e00 100%); }
        .widget-card-icon.finance { background: linear-gradient(135deg, #00c853 0%, #00a844 100%); }
        .widget-card-icon.travel { background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%); }
        .widget-card-icon.realestate { background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%); }
        .widget-card-icon.jobs { background: linear-gradient(135deg, #0077b5 0%, #005885 100%); }
        .widget-card-icon.food { background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%); }
        .widget-card-icon.maps { background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%); }
        .widget-card-icon.news { background: linear-gradient(135deg, #607d8b 0%, #455a64 100%); }
        .widget-card-icon.health { background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%); }
        .widget-card-icon.auto { background: linear-gradient(135deg, #263238 0%, #37474f 100%); }
        .widget-card-name { font-size: 0.9rem; font-weight: 600; color: var(--gray-800); margin-bottom: 0.25rem; }
        .widget-card-platform { font-size: 0.75rem; color: var(--gray-400); }
        .widget-badge { position: absolute; top: 10px; right: 10px; padding: 0.2rem 0.5rem; background: var(--primary-100); color: var(--primary-700); font-size: 0.65rem; font-weight: 600; border-radius: 4px; text-transform: uppercase; }
        .widgets-cta { text-align: center; margin-top: 3rem; }
        
        /* Categories */
        .categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
        @media(min-width:768px) { .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
        @media(min-width:1024px) { .categories-grid { grid-template-columns: repeat(4, 1fr); } }
        .category-card { background: white; border-radius: 16px; padding: 1.5rem; border: 1px solid var(--gray-200); transition: all 0.3s; text-align: center; }
        .category-card:hover { border-color: var(--primary-300); box-shadow: 0 12px 28px rgba(0,0,0,0.08); transform: translateY(-4px); }
        .category-icon { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
        .category-icon.ecom { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); }
        .category-icon.finance { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); }
        .category-icon.travel { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); }
        .category-icon.realestate { background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); }
        .category-icon.social { background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%); }
        .category-icon.jobs { background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%); }
        .category-icon.maps { background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%); }
        .category-icon.food { background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%); }
        .category-icon.auto { background: linear-gradient(135deg, #eceff1 0%, #cfd8dc 100%); }
        .category-icon.news { background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 100%); }
        .category-icon.health { background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%); }
        .category-icon.edu { background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%); }
        .category-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
        .category-count { font-size: 0.8rem; font-weight: 600; color: var(--primary-600); margin-bottom: 0.5rem; }
        .category-items { font-size: 0.75rem; color: var(--gray-500); line-height: 1.5; }
        
        /* ============================================================
           LIVE PREVIEW TOOL - VERSION 2.0
           Size buttons, Colors at TOP, Resize handles
           ============================================================ */
        .preview-tool { background: var(--gray-50); border-radius: 20px; padding: 1.5rem; border: 1px solid var(--gray-200); }
        @media(min-width:768px) { .preview-tool { padding: 2rem; } }
        
        /* URL Input */
        .preview-controls { margin-bottom: 1rem; }
        .preview-url-input { display: flex; flex-direction: column; gap: 0.75rem; background: white; padding: 0.75rem; border-radius: 12px; border: 1px solid var(--gray-200); }
        @media(min-width:640px) { .preview-url-input { flex-direction: row; align-items: center; padding: 0.5rem 0.5rem 0.5rem 1rem; } }
        .preview-url-icon { display: none; font-size: 1.25rem; }
        @media(min-width:640px) { .preview-url-icon { display: block; } }
        .preview-url-input input { flex: 1; border: none; outline: none; font-size: 1rem; padding: 0.75rem; background: var(--gray-50); border-radius: 8px; font-family: inherit; }
        @media(min-width:640px) { .preview-url-input input { background: transparent; padding: 0.5rem; } }
        .preview-url-input .btn { white-space: nowrap; }
        
        /* Options Bar - AT TOP */
        .preview-options-bar { background: white; border-radius: 12px; padding: 1rem; margin-bottom: 1rem; border: 1px solid var(--gray-200); }
        .preview-options-row { display: flex; flex-direction: column; gap: 1rem; }
        @media(min-width:640px) { .preview-options-row { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
        .preview-options-row + .preview-options-row { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gray-100); }
        .preview-option-group { display: flex; flex-direction: column; gap: 0.5rem; }
        .preview-option-label { font-size: 0.75rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; }
        
        /* Device Toggle */
        .preview-device-toggle { display: flex; gap: 0.25rem; background: var(--gray-100); padding: 0.25rem; border-radius: 10px; width: fit-content; }
        .device-btn { padding: 0.5rem 0.75rem; border: none; background: transparent; border-radius: 8px; cursor: pointer; font-size: 1rem; transition: all 0.2s; }
        .device-btn.active { background: white; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
        .device-btn:hover:not(.active) { background: var(--gray-200); }
        
        /* Widget Select */
        .preview-widget-select select { padding: 0.6rem 2rem 0.6rem 0.75rem; border-radius: 8px; border: 1px solid var(--gray-200); font-size: 0.9rem; font-family: inherit; background: white; cursor: pointer; min-width: 200px; }
        .preview-widget-select select:focus { outline: none; border-color: var(--primary-500); box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
        
        /* Size Preset Buttons - NEW */
        .preview-size-toggle { display: flex; gap: 0.25rem; background: var(--gray-100); padding: 0.25rem; border-radius: 10px; width: fit-content; }
        .size-btn { padding: 0.5rem 0.875rem; border: none; background: transparent; border-radius: 8px; cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--gray-600); transition: all 0.2s; }
        .size-btn.active { background: white; color: var(--primary-600); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
        .size-btn:hover:not(.active) { background: var(--gray-200); }
        .preview-size-hint { font-size: 0.7rem; color: var(--gray-400); font-style: italic; margin-top: 0.25rem; }
        
        /* Color Swatches - MOVED TO TOP */
        .color-swatches { display: flex; gap: 0.5rem; }
        .color-swatch { width: 28px; height: 28px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: all 0.2s; }
        .color-swatch:hover { transform: scale(1.15); }
        .color-swatch.active { border-color: var(--gray-800); box-shadow: 0 0 0 2px white, 0 0 0 4px var(--gray-300); }
        
        /* Preview Container */
        .preview-container { background: white; border-radius: 16px; min-height: 400px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border: 1px solid var(--gray-200); }
        @media(min-width:768px) { .preview-container { min-height: 500px; } }
        
        /* Placeholder */
        .preview-placeholder { text-align: center; padding: 3rem 1.5rem; }
        .preview-placeholder-icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.5; }
        .preview-placeholder p { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 0.5rem; }
        .preview-placeholder-hint { font-size: 0.875rem; color: var(--gray-400); }
        
        /* Preview Frame */
        .preview-frame { width: 100%; height: 100%; display: flex; flex-direction: column; }
        .preview-browser-bar { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 1rem; background: var(--gray-100); border-bottom: 1px solid var(--gray-200); }
        .preview-browser-dots { display: flex; gap: 6px; }
        .preview-browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
        .preview-browser-dots span:nth-child(1) { background: #ff5f57; }
        .preview-browser-dots span:nth-child(2) { background: #ffbd2e; }
        .preview-browser-dots span:nth-child(3) { background: #28ca42; }
        .preview-browser-url { flex: 1; padding: 0.4rem 0.75rem; background: white; border-radius: 6px; font-size: 0.75rem; color: var(--gray-500); border: 1px solid var(--gray-200); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        
        /* Screenshot Wrapper */
        .preview-screenshot-wrapper { position: relative; flex: 1; overflow: hidden; background: var(--gray-200); transition: max-width 0.3s ease; }
        .preview-screenshot-wrapper img { width: 100%; height: auto; display: block; }
        
        /* Widget Overlay - Draggable & Resizable */
        .preview-widget-overlay { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); cursor: move; z-index: 10; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2)); user-select: none; transition: box-shadow 0.2s, width 0.15s ease; width: 280px; }
        .preview-widget-overlay.dragging { filter: drop-shadow(0 12px 32px rgba(0,0,0,0.3)); z-index: 20; }
        .preview-widget-overlay.resizing { transition: none; }
        .widget-drag-handle { position: absolute; top: -32px; left: 50%; transform: translateX(-50%); background: var(--primary-600); color: white; padding: 0.25rem 0.75rem; border-radius: 6px; font-size: 0.7rem; font-weight: 600; white-space: nowrap; pointer-events: none; }
        
        /* Resize Handles - NEW */
        .resize-handle { position: absolute; width: 14px; height: 14px; background: white; border: 2px solid var(--primary-500); border-radius: 50%; z-index: 15; transition: transform 0.15s, background 0.15s; }
        .resize-handle:hover { transform: scale(1.3); background: var(--primary-100); }
        .resize-handle-nw { top: -7px; left: -7px; cursor: nwse-resize; }
        .resize-handle-ne { top: -7px; right: -7px; cursor: nesw-resize; }
        .resize-handle-sw { bottom: -7px; left: -7px; cursor: nesw-resize; }
        .resize-handle-se { bottom: -7px; right: -7px; cursor: nwse-resize; }
        
        /* Preview Widget */
        .preview-widget { background: white; border-radius: 12px; padding: 1.25rem; width: 100%; border: 1px solid var(--gray-200); box-sizing: border-box; overflow: hidden; display: flex; flex-direction: column; }
        .preview-widget-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; color: var(--gray-800); flex-shrink: 0; }
        .preview-widget-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
        .preview-widget-input { width: 100%; padding: 0.7rem; border: 1px solid var(--gray-200); border-radius: 8px; font-size: 0.85rem; font-family: inherit; margin-bottom: 0.75rem; background: var(--gray-50); box-sizing: border-box; flex-shrink: 0; }
        .preview-widget-btn { width: 100%; padding: 0.7rem; border: none; border-radius: 8px; font-size: 0.85rem; font-weight: 600; cursor: pointer; color: white; transition: all 0.2s; font-family: inherit; margin-top: auto; flex-shrink: 0; }
        .preview-widget-btn:hover { opacity: 0.9; transform: translateY(-1px); }
        
        /* Loading State */
        .preview-loading { text-align: center; padding: 3rem; }
        .preview-spinner { width: 48px; height: 48px; border: 3px solid var(--gray-200); border-top-color: var(--primary-500); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 1rem; }
        @keyframes spin { to { transform: rotate(360deg); } }
        .preview-loading p { color: var(--gray-600); }
        
        /* Error State */
        .preview-error { text-align: center; padding: 3rem; }
        .preview-error-icon { font-size: 3rem; margin-bottom: 1rem; }
        .preview-error p { color: var(--gray-600); margin-bottom: 1rem; }
        
        /* CTA Section - BOTTOM */
        .preview-cta-section { display: flex; justify-content: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-200); }
        .preview-cta-content { text-align: center; }
        .preview-cta-text { font-size: 0.95rem; color: var(--gray-600); margin-bottom: 0.75rem; }
        
        /* Responsive for preview options */
        @media (max-width: 639px) {
            .preview-options-bar { padding: 0.75rem; }
            .preview-option-group { width: 100%; }
            .preview-size-toggle, .preview-device-toggle { width: 100%; justify-content: space-between; }
            .size-btn, .device-btn { flex: 1; text-align: center; }
            .color-swatches { justify-content: flex-start; }
            .preview-widget-select select { width: 100%; }
            .resize-handle { width: 18px; height: 18px; }
            .resize-handle-nw { top: -9px; left: -9px; }
            .resize-handle-ne { top: -9px; right: -9px; }
            .resize-handle-sw { bottom: -9px; left: -9px; }
            .resize-handle-se { bottom: -9px; right: -9px; }
        }
        
        /* Pricing */
        .pricing-cards { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto; }
        @media(min-width:768px) { .pricing-cards { grid-template-columns: repeat(3, 1fr); } }
        .pricing-card { position: relative; background: white; border-radius: 20px; padding: 2.5rem 2rem; border: 1px solid var(--gray-200); transition: all 0.3s; }
        .pricing-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
        .pricing-card.popular { border: 2px solid var(--primary-500); box-shadow: 0 20px 40px rgba(59,130,246,0.2); }
        .pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 0.4rem 1rem; background: var(--gradient-1); color: white; font-size: 0.7rem; font-weight: 600; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.05em; }
        .pricing-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
        .pricing-desc { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 1.5rem; }
        .pricing-price { margin-bottom: 1.5rem; }
        .pricing-amount { font-family: 'Outfit', sans-serif; font-size: 2.75rem; font-weight: 700; color: var(--gray-900); }
        .pricing-period { font-size: 1rem; color: var(--gray-400); }
        .pricing-features { list-style: none; margin-bottom: 2rem; }
        .pricing-features li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.5rem 0; font-size: 0.9rem; color: var(--gray-600); }
        .pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; }
        .pricing-card .btn { width: 100%; }
        
        /* Testimonials */
        .testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
        @media(min-width:768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
        @media(min-width:1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
        .testimonial { background: var(--gray-50); border-radius: 16px; padding: 2rem; border: 1px solid var(--gray-100); }
        .testimonial-stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 1rem; }
        .testimonial-text { font-size: 1rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.5rem; }
        .testimonial-author { display: flex; align-items: center; gap: 1rem; }
        .testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; }
        .testimonial-name { font-weight: 600; color: var(--gray-900); }
        .testimonial-role { font-size: 0.85rem; color: var(--gray-500); }
        
        /* FAQ */
        .faq-list { max-width: 700px; margin: 0 auto; }
        .faq-item { border: 1px solid var(--gray-200); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; transition: all 0.3s; }
        .faq-item:hover { border-color: var(--primary-200); }
        .faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; background: white; border: none; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--gray-800); text-align: left; }
        .faq-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--primary-100); color: var(--primary-600); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; transition: all 0.3s; flex-shrink: 0; }
        .faq-item.active .faq-icon { background: var(--primary-600); color: white; transform: rotate(45deg); }
        .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
        .faq-item.active .faq-a { max-height: 300px; }
        .faq-a-inner { padding: 0 1.5rem 1.5rem; font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; }
        
        /* CTA */
        .cta { padding: 5rem 0; background: var(--gray-900); position: relative; overflow: hidden; }
        .cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(59,130,246,0.2) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(59,130,246,0.15) 0%, transparent 40%); }
        .cta-content { position: relative; text-align: center; max-width: 650px; margin: 0 auto; }
        .cta-title { font-size: clamp(1.75rem, 4vw, 2.5rem); color: white; margin-bottom: 1rem; }
        .cta-subtitle { font-size: 1.1rem; color: var(--gray-400); margin-bottom: 2rem; }
        .cta-buttons { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
        @media(min-width:480px) { .cta-buttons { flex-direction: row; justify-content: center; } }
        .cta .btn-secondary { background: transparent; border-color: var(--gray-600); color: white; }
        .cta .btn-secondary:hover { background: white; color: var(--gray-900); border-color: white; }
        
        /* Footer */
        .footer { padding: 4rem 0 2rem; background: var(--gray-50); border-top: 1px solid var(--gray-200); }
        .footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
        @media(min-width:640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
        @media(min-width:1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
        .footer-brand { max-width: 280px; }
        .footer-logo { display: flex; align-items: center; gap: 0.5rem; font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--gray-900); text-decoration: none; margin-bottom: 1rem; }
        .footer-logo-icon { width: 32px; height: 32px; background: var(--gradient-1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.9rem; }
        .footer-desc { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }
        .footer-col-title { font-size: 0.8rem; font-weight: 700; color: var(--gray-900); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
        .footer-links { list-style: none; }
        .footer-links li { margin-bottom: 0.6rem; }
        .footer-links a { font-size: 0.9rem; color: var(--gray-500); text-decoration: none; transition: color 0.2s; }
        .footer-links a:hover { color: var(--primary-600); }
        .footer-bottom { padding-top: 2rem; border-top: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: 1rem; align-items: center; }
        @media(min-width:768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
        .footer-copy { font-size: 0.85rem; color: var(--gray-500); }
        .footer-social { display: flex; gap: 0.75rem; }
        .footer-social a { width: 36px; height: 36px; border-radius: 8px; background: white; border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; color: var(--gray-500); text-decoration: none; transition: all 0.2s; font-size: 0.9rem; }
        .footer-social a:hover { background: var(--primary-600); border-color: var(--primary-600); color: white; }

        #toolWrap { margin-bottom: 0; }
    
/* Scanner mode tabs — underline style (v2: border-bottom on tab, not ::after) */
/* ============================================================
   Scanner tabs (Brand / Domain / Check) + input card
   ============================================================ */
.bv-input-card {
    background: var(--white);
    border-radius: 24px;
    border: 1.5px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 18px 35px -12px rgba(59, 130, 246, 0.18),
                0 8px 16px -8px rgba(59, 130, 246, 0.10),
                0 0 0 1px rgba(59, 130, 246, 0.08);
    padding: 3rem 2.5rem;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.bv-input-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 24px 45px -12px rgba(59, 130, 246, 0.28),
                0 12px 22px -8px rgba(59, 130, 246, 0.18),
                0 0 0 1px rgba(59, 130, 246, 0.14);
}

.scanner-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    margin: 0 0 2.5rem;
    border-bottom: 1px solid var(--gray-300);
}
.scanner-tabs::-webkit-scrollbar { display: none; }
.scanner-tab { flex: 0 0 auto; }

.scanner-tab {
    padding: 0.75rem 0.5rem 0.85rem;
    margin-right: 3rem;
    margin-bottom: -1px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    color: var(--gray-500);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.scanner-tab:last-child { margin-right: 0; }
.scanner-tab:hover { color: var(--gray-800); }
.scanner-tab:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}
.scanner-tab.active {
    color: var(--primary-700);
    border-bottom-color: var(--primary-600);
}

.bv-textarea {
    width: 100%;
    border: 1.5px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font: 1rem/1.5 inherit;
    color: var(--gray-900);
    resize: vertical;
    min-height: 110px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.bv-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.bv-action-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

@media (max-width: 640px) {
    .bv-input-card { padding: 2rem 1.5rem; }
    .scanner-tab { margin-right: 1.5rem; font-size: 0.85rem; padding: 0.55rem 0.15rem; }
}

        /* === Advanced Settings panel === */
#advancedPanel { margin-top: 1rem; }
#advancedPanel summary { cursor: pointer; padding: 0.7rem 1.25rem; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; color: var(--gray-700); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; list-style: none; user-select: none; background: white; border: 1.5px solid var(--gray-200); border-radius: 10px; transition: all 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
#advancedPanel summary:hover { border-color: var(--primary-400); color: var(--primary-700); background: var(--primary-50); box-shadow: 0 4px 10px rgba(59,130,246,0.12); }
#advancedPanel[open] summary { border-color: var(--primary-500); color: var(--primary-700); background: var(--primary-50); }
#advancedPanel summary::-webkit-details-marker { display: none; }
#advancedPanel summary .adv-caret { display: inline-block; transition: transform 0.2s; color: var(--primary-500); }
#advancedPanel[open] summary .adv-caret { transform: rotate(90deg); }
.adv-body { padding: 0.5rem 0 0; }
.adv-section { padding: 1.25rem 0; border-bottom: 1px solid var(--gray-100); }
.adv-section:last-child { border-bottom: none; padding-bottom: 0; }
.adv-section-header { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--gray-800); font-size: 1rem; margin-bottom: 1rem; }
.adv-quick-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0.75rem; }
.adv-quick-tab { padding: 0.5rem 1rem; border: 1px solid var(--gray-200); border-radius: 50px; background: white; font-size: 0.85rem; font-weight: 600; color: var(--gray-600); cursor: pointer; transition: all 0.2s; }
.adv-quick-tab:hover { border-color: var(--primary-300); }
.adv-quick-tab.active { background: var(--primary-50); border-color: var(--primary-500); color: var(--primary-700); }
.adv-radio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.75rem; }
.adv-radio-card { padding: 1rem; border: 2px solid var(--gray-200); border-radius: 12px; background: white; cursor: pointer; transition: all 0.2s; display: block; }
.adv-radio-card:hover { border-color: var(--primary-300); }
.adv-radio-card input { display: none; }
.adv-radio-card.selected { border-color: var(--primary-500); background: var(--primary-50); }
.adv-radio-title { font-weight: 700; color: var(--gray-900); margin-bottom: 0.25rem; font-size: 0.95rem; }
.adv-radio-desc  { font-size: 0.8rem; color: var(--gray-500); line-height: 1.4; }
.adv-input, .adv-select { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--gray-200); border-radius: 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; color: var(--gray-800); background: white; box-sizing: border-box; }
.adv-input:focus, .adv-select:focus { outline: none; border-color: var(--primary-500); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
.adv-field-label { display: block; font-weight: 600; color: var(--gray-700); margin-bottom: 0.5rem; font-size: 0.9rem; }
.adv-custom-container { margin-top: 0.75rem; display: none; }
.adv-slider-row { display: flex; align-items: center; gap: 1rem; }
.adv-slider { flex: 1; -webkit-appearance: none; height: 6px; border-radius: 3px; background: var(--gray-200); outline: none; }
.adv-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-600); cursor: pointer; box-shadow: 0 2px 6px rgba(59,130,246,0.4); }
.adv-slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--primary-600); cursor: pointer; border: none; }
.adv-slider-val { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--primary-600); min-width: 2.5rem; text-align: right; }
.adv-checkboxes { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; }
.adv-checkbox { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 500; color: var(--gray-700); cursor: pointer; user-select: none; }
.adv-checkbox input { width: 18px; height: 18px; accent-color: var(--primary-600); cursor: pointer; }
.adv-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
@media (max-width: 720px) { .adv-row3 { grid-template-columns: 1fr; } }
.adv-row3 .adv-col { min-width: 0; }




/* ============================================================
   Additional utilities added during enterprise refactor
   ============================================================ */
.btn-full { width: 100%; }
.btn-main { padding: 0.75rem 2rem; font-size: 0.95rem; flex: 0 0 auto; }
.btn-arrow { margin-left: 0.35rem; }
.input-section { background: var(--white); padding: 2rem 0 1rem; }
.results-section { background: var(--white); padding: 2rem 0 0; }
#toolWrap { position: relative; z-index: 2; margin-bottom: 0; }
.adv-trigger { flex: 1 1 60%; min-width: 240px; }
.adv-custom-container { margin-top: 0.75rem; }


/* ============================================================
   Hero preview card decorations
   ============================================================ */
.preview-list-wrap { padding: 1rem 0; }
.preview-list { display: flex; flex-direction: column; gap: 0.75rem; }
.preview-item--ok { border-left: 4px solid var(--success); }
.preview-item--bad { border-left: 4px solid var(--error, #ef4444); }
.preview-domain { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); }
.preview-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}
.preview-badge--ok { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.preview-badge--bad { background: rgba(239, 68, 68, 0.1); color: var(--error, #ef4444); }
.hero-stats--preview {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
    margin-top: 1rem;
    gap: 0;
}
.hero-stat--equal { flex: 1; text-align: center; }
.hero-stat-value--md { font-size: 1.25rem; }


/* Visible divider between tabs and textarea (semantic <hr>) */
.bv-tab-divider {
    border: none;
    border-top: 1px solid var(--gray-300);
    height: 0;
    margin: 0 0 1.5rem;
    display: block;
}


/* ============================================================
   Custom dropdown that always opens BELOW the field
   (native <select> is hidden but kept for form value)
   ============================================================ */
.bv-cs { position: relative; }
.bv-cs__current {
    width: 100%;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    color: var(--gray-900);
    font: 1rem/1.5 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.bv-cs__current:hover { border-color: var(--primary-300); }
.bv-cs.is-open .bv-cs__current {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.bv-cs__caret {
    margin-left: 0.5rem;
    font-size: 0.7rem;
    color: var(--gray-500);
    transition: transform 0.2s;
}
.bv-cs.is-open .bv-cs__caret { transform: rotate(180deg); }
.bv-cs__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    max-height: 280px;
    overflow-y: auto;
    z-index: 50;
    display: none;
    padding: 0.25rem;
}
.bv-cs.is-open .bv-cs__menu { display: block; }
.bv-cs__option {
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    color: var(--gray-800);
    font-size: 0.95rem;
    user-select: none;
    transition: background 0.12s;
}
.bv-cs__option:hover { background: var(--primary-50); color: var(--primary-700); }
.bv-cs__option.is-selected { background: var(--primary-50); color: var(--primary-700); font-weight: 600; }
.bv-cs__option--disabled {
    color: var(--gray-400);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: default;
    pointer-events: none;
    padding: 0.5rem 0.75rem 0.25rem;
}
.bv-cs__option--disabled:hover { background: transparent; }
.bv-native-select {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}


/* Input card when placed inside hero-preview (right column of hero grid) */
.hero-preview .bv-input-card {
    padding: 1.75rem 1.5rem;
    border-radius: 20px;
}
.hero-preview .scanner-tabs {
    margin-bottom: 1.5rem;
}
.hero-preview .scanner-tab {
    margin-right: 1.25rem;
    font-size: 0.85rem;
    padding: 0.5rem 0.25rem 0.6rem;
    gap: 0.3rem;
}
.hero-preview .bv-textarea {
    min-height: 90px;
    font-size: 0.95rem;
}
.hero-preview .bv-action-row {
    margin-top: 1rem;
    flex-direction: column;
    align-items: stretch;
}
.hero-preview #advancedPanel { flex: 1 1 auto; }
.hero-preview .btn-main { width: 100%; justify-content: center; }

/* ============================================================
   GLOBAL RESPONSIVE FIXES — prevent horizontal page scroll
   ============================================================ */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}
* { max-width: 100%; box-sizing: border-box; }
.container { width: 100%; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }

/* Input card: shrink padding aggressively on small screens */
@media (max-width: 768px) {
    div[id='toolWrap'] > div { padding: 1.5rem 1rem !important; }
    .scanner-tab { margin-right: 1.5rem !important; font-size: 1rem !important; padding: 0.6rem 0.15rem 0.7rem !important; }
    #brandInput { font-size: 0.95rem !important; min-height: 90px !important; }
    /* nav: stop "Get Started" wrapping to 2 lines (which makes the nav tall + hides hero) */
    .nav .nav-cta .btn { white-space: nowrap !important; padding: 0.6rem 0.9rem !important; font-size: 0.9rem !important; }
    /* hero must clear the fixed nav (~70px) so the badge isn't tucked under it */
    .hero { padding: calc(70px + 2rem) 0 2rem !important; }
    .bv-action-row, div[style*='justify-content:space-between'][style*='flex-wrap:nowrap'] {
        flex-wrap: wrap !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    #mainBtn { width: 100% !important; justify-content: center !important; }
    #advancedPanel { width: 100% !important; flex: 1 1 100% !important; min-width: 0 !important; }
    .adv-row3 { grid-template-columns: 1fr !important; gap: 0.75rem !important; }
    /* Section padding squeeze */
    .section { padding: 3rem 0 !important; }
}

/* Tablet */
@media (max-width: 900px) and (min-width: 769px) {
    div[id='toolWrap'] > div { padding: 2rem 1.5rem !important; }
}

/* Extra-small phones */
@media (max-width: 480px) {
    .section-title { font-size: 1.5rem !important; }
    .hero-title { font-size: 1.85rem !important; }
}

/* Force pill rows to stay in their containers (no horizontal page push) */
.bvr-registrar-row, .bvr-tld-row, .bvr-social-row, .bvr-result-actions {
    max-width: 100%;
    min-width: 0;
}
.bvr-result-head, .bvr-result-head-text {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
}
.bvr-result-title, .bvr-result-domain { word-break: break-word; min-width: 0; }

/* ============================================================
   Modal popup (used for content-policy / blocked content)
   ============================================================ */
.bv-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    animation: bv-fade-in 0.18s ease;
}
@keyframes bv-fade-in { from { opacity: 0; } to { opacity: 1; } }
.bv-modal {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 2.25rem 1.75rem 1.75rem;
    box-shadow: 0 25px 60px -12px rgba(0,0,0,0.35);
    text-align: center;
    animation: bv-zoom-in 0.22s ease;
}
@keyframes bv-zoom-in { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.bv-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    width: 32px; height: 32px;
    border: none;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s;
}
.bv-modal-close:hover { background: var(--gray-200); color: var(--gray-900); }
.bv-modal-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}
.bv-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #991b1b;
    margin: 0 0 0.5rem;
}
.bv-modal-msg {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 1rem;
}
.bv-modal-hint {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0.75rem 0 0.5rem;
}
.bv-modal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
}
.bv-modal-list li {
    background: var(--gray-50);
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.bv-modal-cta {
    width: 100%;
    justify-content: center;
    padding: 0.85rem !important;
    font-size: 1rem !important;
}
@media (max-width: 480px) {
    .bv-modal { padding: 1.75rem 1.25rem 1.25rem; }
    .bv-modal-icon { font-size: 2.5rem; }
    .bv-modal-title { font-size: 1.2rem; }
}


/* === Daily-limit / blocked modal (namespaced bvlm-* — no collision with .bv-modal) === */
.bvlm-overlay { position:fixed; inset:0; z-index:99999; display:flex; align-items:center; justify-content:center; padding:1.25rem; background:rgba(15,23,42,.55); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); opacity:0; visibility:hidden; transition:opacity .2s ease, visibility .2s ease; }
.bvlm-overlay.is-open { opacity:1; visibility:visible; }
.bvlm-box { position:relative; width:100%; max-width:420px; background:var(--white); border:1px solid var(--gray-100); border-radius:20px; padding:2.25rem 1.75rem 1.75rem; text-align:center; box-shadow:0 30px 60px -20px rgba(15,23,42,.45); transform:translateY(14px) scale(.96); transition:transform .25s cubic-bezier(.2,.9,.3,1); }
.bvlm-overlay.is-open .bvlm-box { transform:translateY(0) scale(1); }
.bvlm-icon { width:64px; height:64px; margin:0 auto 1.1rem; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--gradient-1); color:#fff; font-size:1.55rem; box-shadow:0 12px 26px -8px rgba(59,130,246,.6); }
.bvlm-title { font-family:'Outfit',sans-serif; font-weight:800; font-size:1.3rem; color:var(--gray-900); margin:0 0 .55rem; line-height:1.2; }
.bvlm-msg { color:var(--gray-600); font-size:.97rem; line-height:1.6; margin:0 0 1.5rem; }
.bvlm-ok { width:100%; }
.bvlm-close { position:absolute; top:.7rem; right:.95rem; background:none; border:none; font-size:1.6rem; line-height:1; color:var(--gray-400); cursor:pointer; transition:color .15s; }
.bvlm-close:hover { color:var(--gray-700); }
