/* Hyna Studio Legal Policy Pages Stylesheet - Professional Light Theme */

:root {
    --ink: #f8fafc;         /* White/Slate 50 (Main text color in dark theme) */
    --paper: #000000;       /* Pure Black background */
    --accent: #3b82f6;      /* Classic Professional Blue */
    --accent-light: #60a5fa; /* Accent light */
    --accent2: #1d4ed8;     /* Dark Blue */
    --muted: #94a3b8;       /* Slate 400 */
    --border: rgba(255, 255, 255, 0.08);
    --card: #0a0a0c;        /* Dark zinc 950 */
    
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--paper);
}

body {
    font-family: var(--font-body);
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Grid Effect */
body::before {
    display: none;
}

/* Glowing background orbs */
body::after {
    display: none;
}

.glow-orb {
    display: none;
}

/* ── CAPSULE NAVBAR ── */
nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 1200px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2.5rem;
    background: rgba(10, 10, 12, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.logo-highlight {
    color: var(--accent);
}

.logo-sub {
    font-size: 0.6rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    margin-top: 0.15rem;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-back:hover {
    color: var(--accent);
}

/* ── HERO BANNER ── */
.page-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    position: relative;
}

.page-hero .section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--ink);
}

.page-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ── LAYOUT CONTENT ── */
.layout-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 8rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
}

/* Sidebar Navigation */
.sidebar-nav {
    position: sticky;
    top: 7rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    background: rgba(15, 23, 42, 0.015);
    border: 1px solid rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.sidebar-link:hover {
    background: rgba(15, 23, 42, 0.03);
    color: var(--ink);
    border-color: rgba(15, 23, 42, 0.06);
}

.sidebar-link.active {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
    color: var(--accent-light);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

/* Document Content */
.doc-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02), 0 1px 3px rgba(15, 23, 42, 0.01);
}

.doc-section {
    margin-bottom: 2.5rem;
}

.doc-section:last-child {
    margin-bottom: 0;
}

.doc-section h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doc-section h2::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 18px;
    background: var(--accent);
    border-radius: 2px;
}

.doc-section p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.doc-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.doc-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.doc-section li strong {
    color: var(--ink);
}

.doc-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}

.doc-section th, .doc-section td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.doc-section th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--ink);
    font-weight: 600;
}

.doc-section td {
    color: var(--muted);
}

.doc-section .highlight-box {
    background: rgba(59, 130, 246, 0.06);
    border-left: 3px solid var(--accent);
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

.doc-section .highlight-box p {
    margin-bottom: 0;
    color: var(--ink);
    font-weight: 500;
}

/* ── FOOTER ── */
footer {
    background: #000000;
    color: var(--ink);
    padding: 4rem 4rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand .nav-logo {
    color: var(--ink);
}

.footer-brand .logo-text .logo-main {
    color: var(--ink) !important;
}

.footer-brand .logo-text .logo-sub {
    color: var(--muted) !important;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.8rem;
    max-width: 28ch;
}

.footer-links h5 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--ink);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* Location Box Override for Dark Theme */
footer .footer-location h5 {
    color: var(--ink) !important;
}

footer .footer-location strong {
    color: var(--ink) !important;
}

footer .footer-location div {
    color: var(--muted) !important;
}

footer .footer-location div[style*="width: 44px"] {
    background: #0a0a0c !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .layout-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .sidebar-link {
        flex: 1 1 calc(50% - 0.5rem);
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav {
        top: 1rem;
        padding: 0.65rem 1.5rem;
    }

    .page-hero {
        padding: 8rem 1.5rem 3rem;
    }

    .doc-content {
        padding: 2rem 1.5rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    footer {
        padding: 3rem 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .sidebar-link {
        flex: 1 1 100%;
    }
}
