/* =========================================
   RAPXZ DOWNLOADER — SYARAT & KETENTUAN
   Neo Brutalism v2
========================================= */

:root{

--bg:#F7F7F7;
--card:#FFFFFF;
--text:#111111;

--yellow:#FFD84D;
--blue:#8BE9FD;
--green:#7DFF9A;
--red:#FF7B7B;
--pink:#FF9ECF;

--border:4px solid #111;
--shadow:8px 8px 0 #111;
--shadow-hover:12px 12px 0 #111;

--radius:18px;

--container:1100px;

}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:"Plus Jakarta Sans",sans-serif;
background:var(--bg);
color:var(--text);
overflow-x:hidden;
line-height:1.6;
}

a{
text-decoration:none;
color:inherit;
}

button{
font:inherit;
cursor:pointer;
background:none;
border:none;
}

main{
width:min(var(--container),92%);
margin:auto;
padding:26px 0 48px;
}

/* =========================================
NAVBAR
========================================= */

.navbar{
position:sticky;
top:0;
z-index:999;
height:72px;
display:flex;
align-items:center;
justify-content:space-between;
padding:0 18px;
background:#fff;
border-bottom:var(--border);
box-shadow:0 6px 0 #111;
}

.logo{
display:flex;
align-items:center;
gap:10px;
font-size:27px;
font-weight:900;
letter-spacing:.5px;
}

.logo span{
padding:6px 10px;
background:#111;
color:#fff;
font-size:13px;
font-weight:800;
border-radius:10px;
}

.menu-btn{
width:54px;
height:54px;
display:grid;
place-items:center;
font-size:24px;
font-weight:900;
background:var(--yellow);
border:var(--border);
box-shadow:6px 6px 0 #111;
transition:.18s;
}

.menu-btn:hover{
transform:translate(-3px,-3px);
box-shadow:10px 10px 0 #111;
}

.menu-btn:active{
transform:translate(2px,2px);
box-shadow:2px 2px 0 #111;
}

/* =========================================
SIDEBAR
========================================= */

.overlay{
position:fixed;
inset:0;
background:rgba(0,0,0,.45);
opacity:0;
visibility:hidden;
transition:.25s;
z-index:998;
}

.overlay.active{
opacity:1;
visibility:visible;
}

.sidebar{
position:fixed;
left:-320px;
top:0;
width:295px;
height:100vh;
background:#fff;
border-right:var(--border);
padding:22px;
display:flex;
flex-direction:column;
gap:12px;
transition:.28s;
overflow-y:auto;
z-index:999;
}

.sidebar.active{
left:0;
}

.side-head{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:14px;
}

.side-head h2{
font-size:24px;
font-weight:900;
}

#closeMenu{
width:46px;
height:46px;
display:grid;
place-items:center;
font-size:28px;
background:var(--red);
border:var(--border);
box-shadow:5px 5px 0 #111;
}

.sidebar>a{
display:flex;
align-items:center;
gap:12px;
padding:14px 16px;
background:#fff;
border:var(--border);
box-shadow:6px 6px 0 #111;
font-weight:800;
transition:.18s;
}

.sidebar>a:hover{
transform:translate(-3px,-3px);
box-shadow:10px 10px 0 #111;
}

.sidebar>a.active{
background:var(--blue);
}

.sidebar i{
font-size:22px;
}

.side-bottom{
margin-top:auto;
padding-top:18px;
display:flex;
flex-direction:column;
gap:10px;
}

.side-bottom h3{
font-size:13px;
letter-spacing:2px;
font-weight:900;
opacity:.75;
}

/* =========================================
HERO
========================================= */

.hero{
min-height:34vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:18px 0 24px;
}

.hero-badge{
display:inline-flex;
align-items:center;
gap:10px;
padding:10px 18px;
background:var(--blue);
border:var(--border);
box-shadow:var(--shadow);
font-size:14px;
font-weight:900;
margin-bottom:18px;
}

.hero-badge i{
font-size:20px;
}

.hero h1{
font-size:clamp(34px,6vw,54px);
font-weight:900;
line-height:1.08;
max-width:760px;
margin-bottom:14px;
}

.hero p{
max-width:600px;
font-size:15px;
font-weight:600;
opacity:.8;
}

.hero .updated{
margin-top:14px;
font-size:12px;
font-weight:800;
padding:6px 14px;
background:var(--yellow);
border:3px solid #111;
border-radius:99px;
}

/* =========================================
TERMS ARTICLE
========================================= */

.terms-wrap{
display:grid;
grid-template-columns:260px 1fr;
gap:26px;
align-items:start;
margin-top:10px;
}

.terms-nav{
position:sticky;
top:92px;
background:var(--card);
border:var(--border);
border-radius:var(--radius);
box-shadow:var(--shadow);
padding:18px;
display:flex;
flex-direction:column;
gap:6px;
}

.terms-nav h3{
font-size:12px;
letter-spacing:1.5px;
font-weight:900;
opacity:.6;
margin-bottom:8px;
}

.terms-nav a{
padding:10px 12px;
border-radius:10px;
font-size:13px;
font-weight:800;
transition:.15s;
}

.terms-nav a:hover{
background:#f4f4f4;
}

.terms-content{
display:flex;
flex-direction:column;
gap:20px;
}

.term-card{
background:var(--card);
border:var(--border);
box-shadow:var(--shadow);
border-radius:var(--radius);
padding:26px;
scroll-margin-top:90px;
}

.term-card .term-head{
display:flex;
align-items:center;
gap:12px;
margin-bottom:14px;
}

.term-card .term-num{
width:38px;
height:38px;
flex-shrink:0;
display:flex;
align-items:center;
justify-content:center;
background:var(--yellow);
border:3px solid #111;
border-radius:50%;
font-weight:900;
font-size:15px;
}

.term-card h2{
font-size:20px;
font-weight:900;
}

.term-card p{
font-size:14px;
font-weight:600;
opacity:.85;
margin-bottom:10px;
}

.term-card ul{
padding-left:20px;
display:flex;
flex-direction:column;
gap:8px;
}

.term-card li{
font-size:14px;
font-weight:600;
opacity:.85;
}

.term-card.highlight{
background:#FFF8DE;
}

.contact-box{
display:flex;
gap:12px;
flex-wrap:wrap;
margin-top:14px;
}

.contact-box a{
display:flex;
align-items:center;
gap:8px;
padding:10px 16px;
background:#fff;
border:3px solid #111;
border-radius:10px;
font-weight:800;
font-size:13px;
box-shadow:4px 4px 0 #111;
transition:.15s;
}

.contact-box a:hover{
transform:translate(-2px,-2px);
box-shadow:6px 6px 0 #111;
}

/* =========================================
FOOTER
========================================= */

footer{
margin-top:80px;
background:#fff;
border-top:var(--border);
padding:40px 0;
}

.footer-box{
width:min(var(--container),92%);
margin:auto;
text-align:center;
}

.footer-box h2{
font-size:26px;
font-weight:900;
}

.footer-box p{
margin-top:8px;
font-weight:700;
opacity:.75;
}

.footer-links{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:12px;
margin:22px 0;
}

.footer-links a{
background:var(--yellow);
border:3px solid #111;
padding:10px 16px;
font-weight:900;
border-radius:10px;
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:900px){

.terms-wrap{
grid-template-columns:1fr;
}

.terms-nav{
position:static;
flex-direction:row;
flex-wrap:wrap;
}

.terms-nav h3{
width:100%;
}

}

@media(max-width:520px){

.hero h1{
font-size:30px;
}

.term-card{
padding:20px;
}

}
