:root {
    --bg: #0B132B;
    --bg-2: #0F1B30;
    --bg-3: #070D1A;
    --card: rgba(255,255,255,0.04);
    --line: rgba(255,255,255,0.08);
    --text: #E8ECF4;
    --muted: #8892B0;
    --white: #FFFFFF;
    --teal: #00D4AA;
    --blue: #4B8BFF;
    --grad: linear-gradient(135deg, #00D4AA, #0099FF);
    --radius: 16px;
    --nav-h: 76px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 2000;
    background: var(--teal); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 8px; }
h1, h2, h3, h4, .logo-word {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
}
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
.highlight { color: var(--teal); }
.section-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 8px;
}

.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 10px 0;
    background: rgba(11, 19, 43, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Inter', sans-serif; font-size: 1.28rem; font-weight: 800; letter-spacing: -0.4px; color: var(--white);
}
.logo-icon { width: 38px; height: 38px; flex-shrink: 0; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
    font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 500; color: #B0B8D1;
    transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
    background: var(--grad); color: var(--bg) !important;
    padding: 10px 20px; border-radius: 8px; font-weight: 700 !important;
}
.nav-cta:hover { transform: translateY(-2px); }
.hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 6px; z-index: 1002;
}
.hamburger span { width: 26px; height: 2.5px; background: var(--white); border-radius: 3px; transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
.nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; }
.nav-backdrop.open { display: block; }

.page-hero {
    padding: 132px 0 56px;
    background: linear-gradient(135deg, #0B132B 0%, #1C2541 50%, #0F1B30 100%);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: ''; position: absolute; top: -30%; right: -10%; width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; max-width: 860px; }
.crumb {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    font-size: 0.82rem; color: #6E7896; margin-bottom: 18px; font-family: 'Inter', sans-serif;
}
.crumb a { color: #B0B8D1; }
.crumb a:hover { color: var(--teal); }
.crumb span[aria-hidden] { color: #4A5470; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.page-hero .lead a { color: var(--teal); }

.page-body { padding: 64px 0 40px; }
.page-grid {
    display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start;
}
.prose h2 { margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 14px; font-size: 1.02rem; }
.prose strong { color: var(--white); font-weight: 600; }
.prose a { color: var(--teal); }
.prose a:hover { text-decoration: underline; }
.prose ul { padding-left: 20px; list-style: disc; margin: 8px 0 20px; }
.prose li { color: #B0B8D1; margin-bottom: 8px; }
.stack-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px; }
.stack-list span {
    border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px;
    font-size: 0.78rem; color: #C5CCE0; background: rgba(255,255,255,0.03);
}

.side-card {
    position: sticky; top: 96px;
    background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
}
.side-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.side-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.side-card .meta { font-size: 0.82rem; color: #B0B8D1; margin-bottom: 8px; }
.side-card .meta a { color: var(--white); font-weight: 600; }
.side-card .meta a:hover { color: var(--teal); }

.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'Inter', sans-serif; font-weight: 700; border-radius: 10px; cursor: pointer;
    font-size: 0.95rem; border: none;
}
.btn-primary {
    background: var(--grad); color: var(--bg); padding: 14px 22px; width: 100%;
}
.btn-primary:hover { box-shadow: 0 12px 35px rgba(0,212,170,0.28); }
.btn-secondary {
    border: 2px solid rgba(255,255,255,0.16); color: var(--white);
    padding: 12px 20px; background: transparent; font-weight: 600; width: 100%; margin-top: 8px;
}
.btn-secondary:hover { border-color: var(--teal); background: rgba(0,212,170,0.08); }

.related {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px;
}
.related a {
    display: block; background: var(--card); border: 1px solid var(--line);
    border-radius: 14px; padding: 20px;
    transition: border-color 0.25s, transform 0.25s;
}
.related a:hover { border-color: rgba(0,212,170,0.3); transform: translateY(-3px); }
.related h3 { font-size: 1rem; margin-bottom: 6px; }
.related p { color: var(--muted); font-size: 0.88rem; }

.faq-list { display: grid; gap: 10px; margin-top: 12px; }
.faq-item { background: var(--card); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; }
.faq-item summary {
    cursor: pointer; list-style: none; padding: 16px 20px;
    font-family: 'Inter', sans-serif; font-weight: 600; color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 20px 16px; color: var(--muted); font-size: 0.95rem; }

.cta-band {
    text-align: center; padding: 72px 0; border-top: 1px solid var(--line);
    background: linear-gradient(135deg, #0B132B, #1C2541);
}
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }
.cta-band .hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary, .cta-band .btn-secondary { width: auto; }

footer {
    background: var(--bg-3); padding: 48px 0 24px; border-top: 1px solid var(--line);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 320px; margin-top: 12px; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 0.9rem; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
    border-top: 1px solid var(--line); padding-top: 18px;
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    color: #606880; font-size: 0.84rem;
}
.footer-bottom a { color: var(--teal); }

.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 58px; height: 58px; background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: #fff;
    box-shadow: 0 6px 25px rgba(37,211,102,0.35);
}
.whatsapp-float:hover { transform: scale(1.08); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

@media (max-width: 968px) {
    .page-grid { grid-template-columns: 1fr; }
    .side-card { position: static; }
    .related { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 78%; height: 100vh;
        background: rgba(11,19,43,0.98); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; gap: 22px; padding: 40px;
        transition: right 0.35s ease; z-index: 999;
    }
    .nav-links.open { right: 0; }
    .hamburger { display: flex; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 112px 0 40px; }
    .page-body { padding: 40px 0 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
