
:root{--bg:#f3f4f6;--surface:#ffffff;--text:#111827;--heading:#0b1220;--muted:#475569;--primary:#64748b;--on-primary:#ffffff;--accent:#3b82f6;--border:rgba(2,6,23,0.12);}
*{box-sizing:border-box;}
body{background:var(--bg);color:var(--text);font-family:'Be Vietnam Pro',sans-serif;margin:0;padding:0;}
h1,h2,h3,h4,h5,h6{color:var(--heading);}
a{color:var(--primary);text-decoration:none;}
a:hover{color:var(--accent);}

/* NAVBAR */
.navbar{background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 2px 12px rgba(2,6,23,0.07);}
.navbar-brand img{height:44px;}
.nav-link{color:var(--text)!important;font-weight:500;padding:0.5rem 0.9rem!important;border-radius:6px;transition:background .2s,color .2s;}
.nav-link:hover,.nav-link.active{background:var(--bg);color:var(--accent)!important;}
.navbar-toggler{border-color:var(--border);}

/* BUTTONS */
.btn-primary-site{background:var(--primary);color:var(--on-primary);border:none;padding:.65rem 1.5rem;border-radius:8px;font-weight:600;font-size:.93rem;transition:background .2s,box-shadow .2s;display:inline-block;}
.btn-primary-site:hover{background:var(--accent);box-shadow:0 4px 16px rgba(59,130,246,.3);color:var(--on-primary);}
.btn-accent-site{background:var(--accent);color:var(--on-primary);border:none;padding:.65rem 1.5rem;border-radius:8px;font-weight:600;font-size:.93rem;transition:box-shadow .2s;display:inline-block;}
.btn-accent-site:hover{box-shadow:0 4px 16px rgba(59,130,246,.35);color:var(--on-primary);}
.btn-outline-site{background:transparent;border:2px solid rgba(255,255,255,.45);color:#fff;padding:.6rem 1.4rem;border-radius:8px;font-weight:600;font-size:.93rem;transition:background .2s;display:inline-block;}
.btn-outline-site:hover{background:rgba(255,255,255,.1);color:#fff;}

/* BREADCRUMB */
.breadcrumb-wrap{background:var(--surface);border-bottom:1px solid var(--border);padding:.7rem 0;}
.breadcrumb{margin:0;font-size:.85rem;}
.breadcrumb-item a{color:var(--primary);}
.breadcrumb-item.active{color:var(--muted);}
.breadcrumb-item+.breadcrumb-item::before{color:var(--muted);}

/* PAGE HERO */
.page-hero{background:linear-gradient(135deg,var(--heading) 0%,#1a2744 55%,#0f2044 100%);padding:4rem 0 3rem;position:relative;overflow:hidden;}
.page-hero::before{content:'';position:absolute;top:-80px;right:-80px;width:420px;height:420px;border-radius:50%;background:rgba(59,130,246,.07);filter:blur(70px);}
.page-hero::after{content:'';position:absolute;bottom:-80px;left:4%;width:300px;height:300px;border-radius:50%;background:rgba(100,116,139,.1);filter:blur(55px);}
.hero-badge{display:inline-block;background:rgba(59,130,246,.18);color:var(--accent);border:1px solid rgba(59,130,246,.35);border-radius:20px;padding:.25rem .9rem;font-size:.82rem;font-weight:600;margin-bottom:1rem;letter-spacing:.05em;}
.page-hero h1{color:#fff;font-size:clamp(1.65rem,3.6vw,2.6rem);font-weight:800;line-height:1.22;margin-bottom:1rem;}
.page-hero h1 span{color:var(--accent);}
.page-hero .lead{color:rgba(255,255,255,.75);font-size:.97rem;max-width:620px;line-height:1.8;}
.hero-meta-row{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.8rem;}
.hero-meta-pill{display:inline-flex;align-items:center;gap:.45rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:50px;padding:.35rem .9rem;font-size:.8rem;color:rgba(255,255,255,.8);font-weight:500;}
.hero-meta-pill i{color:var(--accent);}

/* SECTION */
section{padding:3.5rem 0;}
section.tight{padding:2rem 0;}
.section-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:var(--accent);font-weight:700;margin-bottom:.4rem;}
.section-title{font-size:clamp(1.35rem,2.6vw,1.95rem);font-weight:800;color:var(--heading);margin-bottom:.6rem;}

/* TOC */
.toc-box{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1.4rem 1.6rem;margin-bottom:2rem;}
.toc-title{font-weight:800;font-size:.95rem;color:var(--heading);margin-bottom:.9rem;display:flex;align-items:center;gap:.5rem;}
.toc-title i{color:var(--accent);}
.toc-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:.35rem .8rem;}
.toc-list li a{font-size:.84rem;color:var(--primary);display:flex;align-items:flex-start;gap:.35rem;line-height:1.45;transition:color .2s;}
.toc-list li a:hover{color:var(--accent);}
.toc-list li a i{margin-top:.15rem;flex-shrink:0;font-size:.75rem;}
@media(max-width:575px){.toc-list{grid-template-columns:1fr;}}

/* POLICY SECTIONS */
.policy-section{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:1.8rem 2rem;margin-bottom:1.4rem;scroll-margin-top:80px;}
.policy-section-header{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.2rem;}
.policy-section-num{width:40px;height:40px;border-radius:10px;background:var(--accent);color:#fff;font-weight:800;font-size:.95rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.policy-section-title{font-weight:800;font-size:1.05rem;color:var(--heading);margin:0;line-height:1.3;}
.policy-section-sub{font-size:.82rem;color:var(--muted);margin:.2rem 0 0;}
.policy-body{color:var(--text);font-size:.9rem;line-height:1.82;}
.policy-body p{margin-bottom:.95rem;}
.policy-body p:last-child{margin-bottom:0;}
.policy-body ul{padding-left:1.3rem;margin-bottom:.95rem;}
.policy-body ul li{margin-bottom:.4rem;}
.policy-body strong{color:var(--heading);}
.policy-rule-list{list-style:none;padding:0;margin:0 0 .95rem;}
.policy-rule-list li{display:flex;align-items:flex-start;gap:.65rem;padding:.5rem 0;border-bottom:1px solid var(--border);font-size:.88rem;color:var(--text);}
.policy-rule-list li:last-child{border-bottom:none;}
.policy-rule-list li i{color:var(--accent);flex-shrink:0;margin-top:.12rem;}
.policy-rule-list li.warn i{color:var(--primary);}
.policy-highlight{background:var(--bg);border-left:4px solid var(--accent);border-radius:0 10px 10px 0;padding:1rem 1.3rem;margin:1rem 0;}
.policy-highlight p{margin:0;font-size:.87rem;color:var(--muted);}
.policy-warn{background:var(--bg);border-left:4px solid var(--primary);border-radius:0 10px 10px 0;padding:1rem 1.3rem;margin:1rem 0;}
.policy-warn p{margin:0;font-size:.87rem;color:var(--muted);}
.policy-table{width:100%;border-collapse:collapse;font-size:.86rem;margin-bottom:.95rem;}
.policy-table th{background:var(--heading);color:#fff;padding:.7rem .9rem;font-weight:700;font-size:.78rem;text-align:left;letter-spacing:.04em;}
.policy-table td{padding:.65rem .9rem;border-bottom:1px solid var(--border);color:var(--text);vertical-align:top;}
.policy-table tr:last-child td{border-bottom:none;}
.policy-table tr:hover td{background:var(--bg);}

/* DATA CATEGORY CHIPS */
.data-chip{display:inline-flex;align-items:center;gap:.35rem;background:rgba(59,130,246,.09);border:1px solid rgba(59,130,246,.18);border-radius:6px;padding:.22rem .65rem;font-size:.78rem;color:var(--accent);font-weight:600;margin:.18rem;}

/* FEATURE CARDS */
.feat-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1.4rem;height:100%;transition:box-shadow .25s,transform .25s;}
.feat-card:hover{box-shadow:0 8px 28px rgba(59,130,246,.1);transform:translateY(-3px);}
.feat-icon{width:52px;height:52px;border-radius:14px;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:1.3rem;color:var(--accent);margin-bottom:.9rem;}
.feat-title{font-weight:800;font-size:.97rem;color:var(--heading);margin-bottom:.35rem;}
.feat-desc{font-size:.85rem;color:var(--muted);line-height:1.65;}

/* RIGHTS CARDS */
.right-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.1rem 1.2rem;height:100%;display:flex;gap:.75rem;align-items:flex-start;}
.right-card-icon{width:38px;height:38px;border-radius:10px;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:1rem;color:var(--accent);flex-shrink:0;}
.right-card-title{font-weight:700;font-size:.88rem;color:var(--heading);margin-bottom:.25rem;}
.right-card-desc{font-size:.82rem;color:var(--muted);line-height:1.6;}

/* PROMO */
.promo-strip{background:linear-gradient(90deg,var(--primary),var(--accent));border-radius:14px;padding:1.8rem 2rem;color:var(--on-primary);display:flex;flex-wrap:wrap;align-items:center;gap:1.2rem;justify-content:space-between;}
.promo-strip .title{font-size:1.1rem;font-weight:800;margin-bottom:.3rem;}
.promo-strip .sub{opacity:.88;font-size:.87rem;}
.btn-promo-white{background:var(--surface);color:var(--primary);border:none;padding:.6rem 1.4rem;border-radius:8px;font-weight:700;font-size:.88rem;white-space:nowrap;transition:box-shadow .2s;display:inline-block;}
.btn-promo-white:hover{box-shadow:0 4px 16px rgba(0,0,0,.18);color:var(--accent);}

/* SECURITY BADGES */
.sec-badge-row{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0;}
.sec-badge{background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:.6rem .9rem;display:flex;align-items:center;gap:.5rem;font-size:.82rem;font-weight:600;color:var(--heading);}
.sec-badge i{color:var(--accent);font-size:.95rem;}

/* SIDEBAR */
.sidebar-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1.3rem;margin-bottom:1.2rem;}
.sidebar-card h5{font-size:.95rem;font-weight:700;color:var(--heading);margin-bottom:1rem;padding-bottom:.6rem;border-bottom:1px solid var(--border);}
.sidebar-link{display:flex;align-items:center;gap:.6rem;padding:.5rem 0;border-bottom:1px solid var(--border);font-size:.87rem;color:var(--text);transition:color .2s;}
.sidebar-link:last-child{border-bottom:none;}
.sidebar-link:hover{color:var(--accent);}
.sidebar-link i{color:var(--accent);font-size:.9rem;flex-shrink:0;}

/* SITE IMAGE */
.site-img{display:block;width:100%;height:auto;border-radius:12px;object-fit:cover;}

/* VERSION BADGE */
.version-badge{display:inline-flex;align-items:center;gap:.4rem;background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.2);border-radius:50px;padding:.25rem .8rem;font-size:.78rem;color:var(--accent);font-weight:600;}

/* FAQ */
.faq-accordion .accordion-button{font-weight:700;color:var(--heading);background:var(--surface);font-size:.93rem;}
.faq-accordion .accordion-button:not(.collapsed){color:var(--accent);background:var(--surface);box-shadow:none;}
.faq-accordion .accordion-item{border:1px solid var(--border);border-radius:12px!important;margin-bottom:.6rem;overflow:hidden;}
.faq-accordion .accordion-body{font-size:.88rem;color:var(--muted);line-height:1.75;background:var(--bg);}

/* FOOTER */
footer{background:var(--surface);border-top:1px solid var(--border);padding:3rem 0 1.5rem;}
.footer-heading{font-weight:700;font-size:.9rem;color:var(--heading);text-transform:uppercase;letter-spacing:.07em;margin-bottom:1rem;}
.footer-links{list-style:none;padding:0;margin:0;}
.footer-links li{margin-bottom:.5rem;}
.footer-links a{color:var(--muted);font-size:.88rem;transition:color .2s;}
.footer-links a:hover{color:var(--accent);}
.footer-bottom{border-top:1px solid var(--border);margin-top:2rem;padding-top:1.2rem;display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;justify-content:space-between;}
.footer-copy{font-size:.82rem;color:var(--muted);}

@media(max-width:767px){
  .policy-section{padding:1.3rem 1.1rem;}
  .policy-table{font-size:.8rem;}
  .policy-table th,.policy-table td{padding:.5rem .6rem;}
  .toc-list{grid-template-columns:1fr;}
}

.navbar{background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 2px 12px rgba(2,6,23,0.07);}.navbar-brand img{height:44px;}.nav-link{color:var(--text)!important;font-weight:500;padding:0.5rem 0.9rem!important;border-radius:6px;transition:background .2s,color .2s;}.nav-link:hover, .nav-link.active{background:var(--bg);color:var(--accent)!important;}.navbar-toggler{border-color:var(--border);}footer{background:var(--surface);border-top:1px solid var(--border);padding:3rem 0 1.5rem;}.footer-brand{font-size:1.3rem;font-weight:800;color:var(--heading);margin-bottom:.5rem;}.footer-desc{color:var(--muted);font-size:.88rem;line-height:1.6;max-width:280px;}.footer-heading{font-weight:700;font-size:.9rem;color:var(--heading);text-transform:uppercase;letter-spacing:.07em;margin-bottom:1rem;}.footer-links{list-style:none;padding:0;margin:0;}.footer-links li{margin-bottom:.5rem;}.footer-links a{color:var(--muted);font-size:.88rem;transition:color .2s;}.footer-links a:hover{color:var(--accent);}.footer-bottom{border-top:1px solid var(--border);margin-top:2rem;padding-top:1.2rem;display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;justify-content:space-between;}.footer-copy{font-size:.82rem;color:var(--muted);}.footer-email a{font-size:.82rem;color:var(--muted);}.footer-email a:hover{color:var(--accent);}