/* ==========================================================================
   BacklinkRobo Legal & Compliance Pages Styles (legal-pages.css)
   ========================================================================== */
/* Complete Page & Header Immersion into #090d16 (Exact Match to Creator, Indexer & Checker) */
        html,
        body,
        body.page,
        .site,
        #page,
        .site-header,
        .inside-header,
        .main-navigation,
        .site-content,
        .content-area,
        .site-main,
        article,
        .inside-article,
        .entry-content,
        .site-footer,
        footer {
            background-color: #090d16 !important;
            background: #090d16 !important;
            color: #f1f5f9 !important;
        }

        /* Hide redundant WordPress page title */
        .entry-header {
            display: none !important;
        }

        /* Seamless Edge-to-Edge Container Integration */
        #page.grid-container,
        .site-content,
        .content-area,
        .site-main,
        .inside-article,
        .entry-content {
            max-width: 100% !important;
            width: 100% !important;
            padding: 0 !important;
            margin: 0 !important;
            float: none !important;
        }

        /* Suppress any default sidebars or asymmetric floats */
        .sidebar,
        .widget-area,
        .is-right-sidebar,
        .is-left-sidebar {
            display: none !important;
            width: 0 !important;
        }

        /* Header Styling & Border matching Homepage */
        .site-header {
            border-bottom: 1px solid rgba(30, 41, 59, 0.8) !important;
        }

        .main-title a,
        .site-title a,
        .main-navigation a {
            color: #f1f5f9 !important;
        }

        .main-navigation .main-nav ul li[class*="current-menu-"] > a {
            color: var(--global-color-9, #10b981) !important;
            background-color: transparent !important;
        }

        .main-navigation .main-nav ul li a:hover {
            color: var(--global-color-9, #10b981) !important;
        }

        .bv-legal-page {
            position: relative;
            background-color: #090d16 !important;
            background: #090d16 !important;
            color: #f8fafc;
            min-height: 100vh;
            font-family: inherit;
            padding: 36px 0 0 0;
            overflow-x: hidden;
            width: 100%;
            box-sizing: border-box;
        }

        .bv-legal-page * {
            box-sizing: border-box;
        }

        .bv-hero-glow-emerald {
            position: absolute;
            top: -120px;
            left: 15%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, color-mix(in srgb, var(--global-color-9, #10b981) 12%, transparent) 0%, transparent 70%);
            pointer-events: none;
            z-index: 1;
            filter: blur(40px);
        }

        .bv-hero-glow-blue {
            position: absolute;
            top: -80px;
            right: 15%;
            width: 450px;
            height: 450px;
            background: radial-gradient(circle, rgba(56, 189, 248, 0.10) 0%, rgba(56, 189, 248, 0) 70%);
            pointer-events: none;
            z-index: 1;
            filter: blur(40px);
        }

        .bv-legal-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px 60px 24px !important;
            position: relative;
            z-index: 10;
            box-sizing: border-box;
            width: 100%;
        }

        /* Breadcrumbs - Centered with Main Grid */
        .bv-legal-breadcrumbs {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #64748b;
            max-width: 1200px;
            margin: 0 auto 24px auto;
            padding: 0 4px;
        }

        .bv-legal-breadcrumbs a {
            color: #94a3b8 !important;
            text-decoration: none !important;
            font-weight: 500;
            transition: color 0.15s ease;
        }

        .bv-legal-breadcrumbs a:hover {
            color: var(--global-color-9, #10b981) !important;
        }

        .bv-bc-sep {
            color: #475569;
        }

        .bv-bc-current {
            color: #e2e8f0;
            font-weight: 600;
        }

        /* Hero - Center Positioned */
        .bv-legal-hero {
            text-align: center;
            max-width: 860px;
            margin: 0 auto 40px auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .bv-badge-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 6px 16px;
            background: color-mix(in srgb, var(--global-color-9, #10b981) 8%, transparent);
            border: 1px solid color-mix(in srgb, var(--global-color-9, #10b981) 25%, transparent);
            border-radius: 9999px;
            color: var(--global-color-9, #10b981);
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin-bottom: 16px;
        }

        .bv-legal-title {
            font-size: clamp(30px, 4.5vw, 44px);
            font-weight: 800;
            letter-spacing: -0.03em;
            color: #ffffff;
            margin: 0 0 14px 0;
            line-height: 1.2;
            text-align: center;
        }

        .bv-legal-subtitle {
            font-size: 15.5px;
            color: #94a3b8;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.65;
            text-align: center;
        }

        /* Main Card - 100% 1200px Width Matching All Tools */
        .bv-legal-card {
            background: rgba(13, 19, 34, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 44px 48px;
            box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(12px);
            line-height: 1.8;
            color: #cbd5e1;
            font-size: 15px;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .bv-legal-card h2 {
            font-size: 20px;
            font-weight: 700;
            color: #f8fafc;
            margin: 32px 0 14px 0;
            letter-spacing: -0.01em;
            display: flex;
            align-items: center;
            gap: 10px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        }

        .bv-legal-card h2:first-of-type {
            margin-top: 0;
        }

        .bv-legal-card h3 {
            font-size: 16px;
            font-weight: 600;
            color: #38bdf8;
            margin: 22px 0 10px 0;
        }

        .bv-legal-card p {
            margin: 0 0 16px 0;
            color: #94a3b8;
        }

        .bv-legal-card strong {
            color: #e2e8f0;
        }

        .bv-legal-card ul, .bv-legal-card ol {
            margin: 0 0 20px 0;
            padding-left: 22px;
            color: #94a3b8;
        }

        .bv-legal-card li {
            margin-bottom: 8px;
        }

        .bv-legal-card a {
            color: #38bdf8 !important;
            text-decoration: underline;
            transition: color 0.15s ease;
        }

        .bv-legal-card a:hover {
            color: #7dd3fc !important;
        }

        /* Callout Box */
        .bv-legal-callout {
            background: color-mix(in srgb, var(--global-color-9, #10b981) 7%, transparent);
            border: 1px solid color-mix(in srgb, var(--global-color-9, #10b981) 25%, transparent);
            border-radius: 8px;
            padding: 16px 20px;
            margin: 24px 0;
            color: #e2e8f0;
            font-size: 14px;
        }

        .bv-legal-callout.warning {
            background: rgba(245, 158, 11, 0.07);
            border: 1px solid rgba(245, 158, 11, 0.25);
        }

        .bv-legal-callout.info {
            background: rgba(56, 189, 248, 0.07);
            border: 1px solid rgba(56, 189, 248, 0.25);
        }

        /* Contact Details & Form Grid */
        .bv-contact-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 36px;
            margin-top: 10px;
            align-items: start;
        }

        .bv-contact-info-panel {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .bv-contact-card {
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 12px;
            padding: 20px;
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        .bv-contact-icon {
            width: 40px;
            height: 40px;
            background: color-mix(in srgb, var(--global-color-9, #10b981) 12%, transparent);
            color: var(--global-color-9, #10b981);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .bv-contact-card-title {
            font-size: 14px;
            font-weight: 700;
            color: #f8fafc;
            margin: 0 0 4px 0;
        }

        .bv-contact-card-desc {
            font-size: 13px;
            color: #94a3b8;
            margin: 0 0 6px 0;
            line-height: 1.5;
        }

        .bv-contact-card-val {
            font-size: 13.5px;
            font-weight: 600;
            color: #38bdf8 !important;
            text-decoration: none !important;
        }

        /* Interactive Contact Form */
        .bv-form-card {
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 24px;
        }

        .bv-form-group {
            margin-bottom: 16px;
        }

        .bv-form-label {
            display: block;
            font-size: 12.5px;
            font-weight: 600;
            color: #cbd5e1;
            margin-bottom: 6px;
        }

        .bv-form-input,
        .bv-form-textarea {
            width: 100%;
            background: rgba(10, 15, 29, 0.9) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            border-radius: 8px !important;
            color: #f8fafc !important;
            padding: 10px 14px !important;
            font-size: 13.5px !important;
            font-family: inherit !important;
            box-sizing: border-box !important;
            transition: all 0.2s ease !important;
        }

        .bv-form-input:focus,
        .bv-form-textarea:focus {
            outline: none !important;
            border-color: var(--global-color-9, #10b981) !important;
            box-shadow: 0 0 0 3px color-mix(in srgb, var(--global-color-9, #10b981) 15%, transparent) !important;
        }

        .bv-form-textarea {
            resize: vertical;
            min-height: 120px;
        }

        .bv-form-submit-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            background: linear-gradient(135deg, var(--global-color-9, #10b981), color-mix(in srgb, var(--global-color-9, #10b981) 85%, #000));
            color: #ffffff;
            border: none;
            padding: 12px 20px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 4px 14px color-mix(in srgb, var(--global-color-9, #10b981) 35%, transparent);
            transition: all 0.2s ease;
        }

        
        /* Contact Comments & Inquiries Section */
        .bv-contact-comments-section {
            margin-top: 48px;
            padding-top: 36px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .bv-comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            flex-wrap: wrap;
            gap: 12px;
        }

        .bv-comments-count-badge {
            background: color-mix(in srgb, var(--global-color-9, #10b981) 12%, transparent);
            border: 1px solid color-mix(in srgb, var(--global-color-9, #10b981) 30%, transparent);
            color: var(--global-color-9, #10b981);
            font-size: 12px;
            font-weight: 700;
            padding: 4px 12px;
            border-radius: 9999px;
        }

        .bv-comments-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .bv-comment-card {
            background: rgba(15, 23, 42, 0.65);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 20px 24px;
            transition: border-color 0.2s;
        }

        .bv-comment-card:hover {
            border-color: rgba(255, 255, 255, 0.14);
        }

        .bv-comment-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .bv-comment-user-box {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .bv-comment-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--global-color-9, #10b981), #059669);
            color: #ffffff;
            font-weight: 700;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            text-transform: uppercase;
        }

        .bv-comment-name-row {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .bv-comment-name {
            font-size: 14px;
            font-weight: 700;
            color: #f8fafc;
        }

        .bv-inquiry-subject-badge {
            background: rgba(56, 189, 248, 0.12);
            border: 1px solid rgba(56, 189, 248, 0.3);
            color: #38bdf8;
            font-size: 11px;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 4px;
        }

        .bv-comment-date {
            font-size: 12px;
            color: #64748b;
        }

        .bv-comment-body {
            font-size: 14px;
            color: #cbd5e1;
            line-height: 1.65;
        }

        .bv-comment-reply-box {
            margin-top: 14px;
            padding: 14px 18px;
            background: color-mix(in srgb, var(--global-color-9, #10b981) 6%, transparent);
            border: 1px solid color-mix(in srgb, var(--global-color-9, #10b981) 22%, transparent);
            border-radius: 8px;
        }

        .bv-reply-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .bv-reply-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            color: var(--global-color-9, #10b981);
            font-size: 11.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .bv-reply-content {
            font-size: 13.5px;
            color: #e2e8f0;
            line-height: 1.6;
        }

        .bv-no-comments-box {
            background: rgba(15, 23, 42, 0.4);
            border: 1px dashed rgba(255, 255, 255, 0.12);
            border-radius: 10px;
            padding: 24px;
            text-align: center;
        }

        .bv-form-submit-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 18px color-mix(in srgb, var(--global-color-9, #10b981) 50%, transparent);
            background: linear-gradient(135deg, color-mix(in srgb, var(--global-color-9, #10b981) 85%, #000), color-mix(in srgb, var(--global-color-9, #10b981) 70%, #000));
        }

        @media (max-width: 900px) {
            .bv-legal-card {
                padding: 24px 20px !important;
            }
            .bv-contact-layout {
                grid-template-columns: 1fr !important;
                gap: 24px !important;
            }
            .bv-legal-title {
                font-size: 28px !important;
            }
        }
