/* ── RUX VPN — Shared Stylesheet ── */
:root {
    --bg: #03000a;
    --surface: #0d061f;
    --surface2: #130a2a;
    --primary: #a855f7;
    --primary-dim: rgba(168,85,247,0.18);
    --primary-glow: rgba(168,85,247,0.35);
    --text: #f3f0ff;
    --muted: #9d8fb0;
    --border: rgba(168,85,247,0.22);
    --green: #22c55e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(168,85,247,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(88,28,135,0.12) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a855f7' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: rgba(3,0,10,0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links li::before { display: none !important; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--primary); }
.nav-links a.rumep-link { color: var(--primary); font-weight: 700; }

/* ── HAMBURGER ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ── MOBILE MENU ── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 73px; left: 0; right: 0;
    z-index: 99;
    background: rgba(3,0,10,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    flex-direction: column;
    gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu a.rumep-link { color: var(--primary); font-weight: 700; }

/* ── PAGE WRAP (subpages) ── */
.page-wrap {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 120px 20px 80px;
}

/* ── PAGE HEADER ── */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}
.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-dim);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}
.page-header p { color: var(--muted); font-size: 1rem; }
.last-updated { color: var(--primary); font-size: 0.85rem; font-weight: 600; }

/* ── DOC CARD ── */
.doc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px 45px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 50px rgba(168,85,247,0.08);
}
.doc-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}
.doc-card h2::before { content: '✦'; color: var(--primary); font-size: 1rem; }
.doc-card h3 { font-size: 1.05rem; font-weight: 600; color: #fff; margin-top: 24px; margin-bottom: 10px; }
.doc-card p { color: var(--muted); margin-bottom: 18px; font-size: 0.97rem; line-height: 1.75; }
.doc-card p a { color: var(--primary); text-decoration: none; }
.doc-card p a:hover { color: #fff; }
.doc-card p strong { color: #fff; }
.doc-card ul { list-style: none; margin-bottom: 22px; padding-left: 4px; }
.doc-card li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.doc-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.doc-card li strong { color: #fff; }

/* ── FAQ ── */
.faq-item {
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 18px;
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border); }
.faq-toggle { display: none; }
.faq-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    user-select: none;
    transition: color 0.2s;
}
.faq-trigger::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.3s ease;
    display: inline-block;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
    padding: 0 26px;
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.7;
}
.faq-toggle:checked ~ .faq-content { max-height: 600px; padding-bottom: 24px; }
.faq-toggle:checked ~ .faq-trigger::after { transform: rotate(45deg); }
.faq-toggle:checked ~ .faq-trigger { color: var(--primary); }
.faq-content ul { padding-left: 20px; margin-top: 10px; }
.faq-content li { margin-bottom: 8px; }
.faq-content li::before { display: none; }
.hl { color: #fff; font-weight: 600; }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
    background: #130a2a;
    border-left: 4px solid var(--primary);
    padding: 20px 22px;
    border-radius: 0 16px 16px 0;
    margin: 28px 0;
}
.highlight-box p { color: #fff !important; margin-bottom: 0 !important; font-weight: 500; }

/* ── PAGE FOOTER ── */
.page-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 30px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    max-width: 860px;
    margin: 0 auto;
}
.page-footer a { color: var(--primary); text-decoration: none; }
.page-footer a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    nav { padding: 16px 20px; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .doc-card { padding: 30px 20px; border-radius: 16px; }
}

/* ── PAYMENT UI ── */
.btn-primary-full {
    display: flex; align-items: center; justify-content: center; width: 100%;
    background: linear-gradient(135deg, var(--primary), #7e22ce);
    color: #fff; border: none; border-radius: 14px; padding: 16px;
    font-size: 1.05rem; font-weight: 800; cursor: pointer;
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 8px 25px var(--primary-glow);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.btn-primary-full:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--primary-glow); color: #fff; }
.btn-primary-full:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.pay-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 45px 35px;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 80px rgba(168,85,247,0.08);
    position: relative;
}

@media (max-width: 600px) {
    .pay-card { padding: 30px 20px; border-radius: 18px; border: none; background: transparent; box-shadow: none; }
}
