/* =========================================  
 NORTON ANTIVIRUS — legal.css  
 Shared styles for all legal pages  
 nortonantivirus.online  
 ========================================= */

/* Inherits variables from style.css — always load style.css first */

/* ===== LEGAL HERO BANNER ===== */  
.legal-hero {  
 background:  
 radial-gradient(ellipse at 20% 50%, rgba(255,195,0,0.07) 0%, transparent 60%),  
 radial-gradient(ellipse at 80% 30%, rgba(79,172,254,0.04) 0%, transparent 60%),  
 var(--dark2);  
 border-bottom: 1px solid rgba(255,195,0,0.15);  
 padding: 120px 0 60px;  
 position: relative;  
 overflow: hidden;  
}  
.legal-hero::before {  
 content: '';  
 position: absolute; inset: 0;  
 background-image:  
 linear-gradient(rgba(255,195,0,0.025) 1px, transparent 1px),  
 linear-gradient(90deg, rgba(255,195,0,0.025) 1px, transparent 1px);  
 background-size: 52px 52px;  
 pointer-events: none;  
}  
.legal-hero-inner {  
 position: relative; z-index: 1;  
 display: flex; align-items: center; justify-content: space-between;  
 gap: 24px; flex-wrap: wrap;  
}  
.legal-badge {  
 display: inline-flex; align-items: center; gap: 7px;  
 background: rgba(255,195,0,0.1); border: 1px solid rgba(255,195,0,0.25);  
 color: var(--yellow); padding: 5px 14px; border-radius: 50px;  
 font-size: 11px; font-weight: 700; letter-spacing: 1.5px;  
 text-transform: uppercase; margin-bottom: 14px;  
}  
.legal-hero h1 {  
 font-size: clamp(28px, 4vw, 48px);  
 font-weight: 900; color: var(--white);  
 font-family: 'Space Grotesk', sans-serif;  
 margin-bottom: 10px; line-height: 1.2;  
}  
.legal-hero h1 span { color: var(--yellow); }  
.legal-hero p {  
 color: var(--text-light); font-size: 14px;  
 display: flex; align-items: center; gap: 8px;  
}  
.legal-hero p i { color: var(--yellow); }  
.legal-hero-icon {  
 font-size: 80px; color: rgba(255,195,0,0.12);  
 flex-shrink: 0;  
}

/* ===== LEGAL BREADCRUMB ===== */  
.breadcrumb {  
 background: var(--dark);  
 border-bottom: 1px solid rgba(255,255,255,0.05);  
 padding: 12px 0;  
}  
.breadcrumb-inner {  
 display: flex; align-items: center; gap: 8px;  
 font-size: 13px; color: var(--text-light);  
}  
.breadcrumb-inner a { color: var(--yellow); transition: all 0.25s; }  
.breadcrumb-inner a:hover { text-decoration: underline; }  
.breadcrumb-inner i { font-size: 10px; color: rgba(255,255,255,0.2); }

/* ===== LAYOUT ===== */  
.legal-layout {  
 display: grid;  
 grid-template-columns: 260px 1fr;  
 gap: 48px;  
 align-items: start;  
 padding: 56px 0 96px;  
}

/* ===== TABLE OF CONTENTS (Sidebar) ===== */  
.legal-toc {  
 position: sticky;  
 top: 90px;  
 background: var(--dark3);  
 border: 1px solid rgba(255,255,255,0.07);  
 border-radius: 14px;  
 padding: 24px;  
}  
.legal-toc h4 {  
 font-size: 11px; font-weight: 800;  
 color: var(--yellow); text-transform: uppercase;  
 letter-spacing: 2px; margin-bottom: 16px;  
 display: flex; align-items: center; gap: 8px;  
}  
.toc-list { display: flex; flex-direction: column; gap: 2px; }  
.toc-list a {  
 display: flex; align-items: center; gap: 8px;  
 padding: 9px 12px; border-radius: 8px;  
 font-size: 13px; color: var(--text-light);  
 transition: all 0.25s; border-left: 2px solid transparent;  
}  
.toc-list a:hover,  
.toc-list a.active {  
 background: rgba(255,195,0,0.07);  
 color: var(--yellow);  
 border-left-color: var(--yellow);  
 padding-left: 16px;  
}  
.toc-list a .toc-num {  
 font-size: 10px; font-weight: 800;  
 color: var(--yellow); opacity: 0.6; flex-shrink: 0;  
}  
.legal-toc-footer {  
 margin-top: 20px; padding-top: 16px;  
 border-top: 1px solid rgba(255,255,255,0.06);  
}  
.legal-toc-footer p {  
 font-size: 11px; color: var(--text-light);  
 line-height: 1.6; margin-bottom: 10px;  
}  
.toc-contact-btn {  
 display: flex; align-items: center; justify-content: center; gap: 6px;  
 width: 100%; padding: 9px;  
 background: linear-gradient(135deg, var(--yellow), var(--yellow-light));  
 color: #000; border: none; border-radius: 8px;  
 font-size: 12px; font-weight: 700; cursor: pointer;  
 text-decoration: none; transition: all 0.25s;  
 font-family: 'Inter', sans-serif;  
}  
.toc-contact-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,195,0,0.3); }

/* ===== LEGAL CONTENT ===== */  
.legal-content { min-width: 0; }

.legal-section {  
 margin-bottom: 52px;  
 scroll-margin-top: 100px;  
}  
.legal-section:last-child { margin-bottom: 0; }

.section-anchor {  
 display: flex; align-items: center; gap: 12px;  
 margin-bottom: 18px;  
}  
.section-anchor-num {  
 width: 32px; height: 32px; border-radius: 8px;  
 background: linear-gradient(135deg, var(--yellow), var(--yellow-light));  
 color: #000; font-size: 13px; font-weight: 900;  
 display: flex; align-items: center; justify-content: center;  
 flex-shrink: 0;  
}  
.legal-section h2 {  
 font-size: 20px; font-weight: 800;  
 color: var(--white); margin: 0;  
 font-family: 'Space Grotesk', sans-serif;  
}  
.legal-divider {  
 height: 1px;  
 background: linear-gradient(to right, rgba(255,195,0,0.25), transparent);  
 margin-bottom: 22px;  
}

.legal-content p {  
 color: var(--text-light); font-size: 14.5px;  
 line-height: 1.85; margin-bottom: 16px;  
}  
.legal-content p:last-child { margin-bottom: 0; }  
.legal-content a {  
 color: var(--yellow); font-weight: 600;  
 transition: all 0.2s;  
}  
.legal-content a:hover { text-decoration: underline; }  
.legal-content strong { color: var(--white); font-weight: 700; }

/* ===== LEGAL LIST ===== */  
.legal-list {  
 display: flex; flex-direction: column; gap: 10px;  
 margin: 16px 0; padding-left: 4px;  
}  
.legal-list li {  
 display: flex; align-items: flex-start; gap: 10px;  
 font-size: 14px; color: var(--text-light); line-height: 1.7;  
}  
.legal-list li i {  
 color: var(--yellow); font-size: 13px;  
 flex-shrink: 0; margin-top: 3px;  
}  
.legal-list.dot-list li i { color: rgba(255,195,0,0.5); }

/* ===== INFO CALLOUT BOXES ===== */  
.callout {  
 border-radius: 10px; padding: 18px 20px;  
 margin: 20px 0; display: flex; gap: 14px;  
 align-items: flex-start;  
}  
.callout-info {  
 background: rgba(79,172,254,0.07);  
 border: 1px solid rgba(79,172,254,0.2);  
}  
.callout-warn {  
 background: rgba(255,195,0,0.07);  
 border: 1px solid rgba(255,195,0,0.22);  
}  
.callout-success {  
 background: rgba(0,208,132,0.07);  
 border: 1px solid rgba(0,208,132,0.2);  
}  
.callout-danger {  
 background: rgba(255,68,68,0.06);  
 border: 1px solid rgba(255,68,68,0.18);  
}  
.callout-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }  
.callout-info .callout-icon { color: #4facfe; }  
.callout-warn .callout-icon { color: var(--yellow); }  
.callout-success .callout-icon { color: var(--green); }  
.callout-danger .callout-icon { color: var(--red); }  
.callout-body strong {  
 display: block; font-size: 14px; font-weight: 700;  
 color: var(--white); margin-bottom: 4px;  
}  
.callout-body p { font-size: 13px; color: var(--text-light); margin: 0; line-height: 1.7; }

/* ===== DATA TABLE ===== */  
.legal-table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 10px; }  
.legal-table {  
 width: 100%; border-collapse: collapse;  
 font-size: 13px; min-width: 480px;  
}  
.legal-table thead tr {  
 background: rgba(255,195,0,0.1);  
 border-bottom: 1px solid rgba(255,195,0,0.2);  
}  
.legal-table th {  
 padding: 13px 16px; text-align: left;  
 font-size: 11px; font-weight: 800;  
 color: var(--yellow); text-transform: uppercase; letter-spacing: 0.8px;  
}  
.legal-table td {  
 padding: 12px 16px; color: var(--text-light);  
 border-bottom: 1px solid rgba(255,255,255,0.05);  
 vertical-align: top; line-height: 1.6;  
}  
.legal-table tbody tr:hover td { background: rgba(255,255,255,0.02); }  
.legal-table tbody tr:last-child td { border-bottom: none; }

/* ===== LAST UPDATED BADGE ===== */  
.last-updated {  
 display: inline-flex; align-items: center; gap: 6px;  
 background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);  
 border-radius: 20px; padding: 5px 14px;  
 font-size: 12px; color: var(--text-light);  
 margin-bottom: 32px;  
}  
.last-updated i { color: var(--yellow); }

/* ===== PRINT BUTTON ===== */  
.legal-actions {  
 display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap;  
}  
.btn-legal-sm {  
 display: inline-flex; align-items: center; gap: 7px;  
 padding: 8px 16px; border-radius: 8px;  
 font-size: 12px; font-weight: 700; cursor: pointer;  
 transition: all 0.25s; font-family: 'Inter', sans-serif;  
}  
.btn-legal-yellow {  
 background: linear-gradient(135deg, var(--yellow), var(--yellow-light));  
 color: #000; border: none;  
}  
.btn-legal-yellow:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,195,0,0.3); }  
.btn-legal-outline {  
 background: transparent; border: 1px solid rgba(255,255,255,0.12);  
 color: var(--text);  
}  
.btn-legal-outline:hover { border-color: rgba(255,195,0,0.35); color: var(--yellow); }

/* ===== RELATED POLICIES ===== */  
.related-policies {  
 display: grid; grid-template-columns: repeat(4,1fr);  
 gap: 12px; margin-top: 64px; padding-top: 40px;  
 border-top: 1px solid rgba(255,255,255,0.06);  
}  
.related-card {  
 background: var(--dark3); border: 1px solid rgba(255,255,255,0.06);  
 border-radius: 10px; padding: 18px 16px;  
 transition: all 0.25s; text-align: center;  
}  
.related-card:hover {  
 border-color: rgba(255,195,0,0.25);  
 transform: translateY(-3px);  
}  
.related-card i { font-size: 24px; color: var(--yellow); margin-bottom: 10px; display: block; }  
.related-card strong { display: block; font-size: 13px; color: var(--white); margin-bottom: 4px; }  
.related-card span { font-size: 11px; color: var(--text-light); }

/* ===== MINI HEADER FOR LEGAL ===== */  
.legal-mini-header {  
 position: sticky; top: 0; z-index: 800;  
 background: rgba(13,17,23,0.97);  
 backdrop-filter: blur(20px);  
 border-bottom: 1px solid rgba(255,195,0,0.12);  
 box-shadow: 0 4px 24px rgba(0,0,0,0.3);  
}  
.legal-nav {  
 display: flex; align-items: center;  
 justify-content: space-between; padding: 14px 24px; gap: 16px;  
}  
.legal-nav-brand {  
 display: flex; align-items: center; gap: 10px;  
}  
.legal-nav-links {  
 display: flex; align-items: center; gap: 16px;  
}  
.legal-nav-links a {  
 font-size: 13px; color: var(--text-light);  
 font-weight: 500; transition: all 0.25s;  
}  
.legal-nav-links a:hover { color: var(--yellow); }

/* ===== RESPONSIVE ===== */  
@media(max-width: 960px) {  
 .legal-layout { grid-template-columns: 1fr; }  
 .legal-toc { position: static; margin-bottom: 32px; }  
 .related-policies { grid-template-columns: repeat(2,1fr); }  
}  
@media(max-width: 600px) {  
 .legal-hero { padding: 100px 0 40px; }  
 .legal-hero-icon { display: none; }  
 .related-policies { grid-template-columns: 1fr 1fr; }  
 .legal-actions { flex-direction: column; }  
}  
@media(max-width: 420px) {  
 .related-policies { grid-template-columns: 1fr; }  
}

@media print {  
 .legal-mini-header, .legal-toc, .breadcrumb,  
 .legal-actions, .related-policies, .chat-widget, #scrollTop { display: none !important; }  
 .legal-layout { grid-template-columns: 1fr; }  
 body { background: #fff; color: #000; }  
 .legal-content p, .legal-list li { color: #333; }  
 .legal-section h2 { color: #000; }  
}  