/* Custom Properties for easy color changes */
:root {
    --primary-color: #007bff;
    --text-light: #ffffff;
    --bg-dark: rgba(18, 18, 18, 0.97);
    --glass: rgba(255, 255, 255, 0.1);
    --blur: blur(10px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f0f0f;
    color: white;
}

/* ── Navbar ── */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: var(--blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.1rem;
}

.nav-item, .dropbtn {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background: none;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
}

.nav-item:hover, .dropdown:hover .dropbtn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

/* ── Dropdown ── */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.5rem;
    z-index: 1001;
}

/* Bridge the gap between navbar and dropdown so hover doesn't break */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.dropdown-content a {
    color: rgba(255,255,255,0.75);
    padding: 0.55rem 0.85rem;
    text-decoration: none;
    display: block;
    font-size: 0.875rem;
    border-radius: 7px;
    transition: background 0.15s, color 0.15s;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding-left: 0.85rem;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: dropIn 0.2s ease;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.arrow {
    font-size: 0.65rem;
    margin-left: 4px;
    vertical-align: middle;
    opacity: 0.6;
}

/* ── Hero ── */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #0f0f0f, #1a2a6c);
    text-align: center;
}

.hero h1 { font-size: 4rem; margin-bottom: 1rem; }

/* ── Footer ── */
.site-footer {
    background: rgba(10, 10, 10, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 3rem 2rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    gap: 4rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-brand { flex: 1 1 220px; }

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #007bff;
    margin-bottom: 0.6rem;
}

.footer-tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.65;
    max-width: 240px;
}

.footer-socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.social-pill:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    color: #fff;
}

.social-pill svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.footer-cols {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-col ul li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 1rem;
}

.footer-disclaimer {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.18);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 680px;
}

.footer-light .footer-disclaimer { color: rgba(0, 0, 0, 0.3); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.25);
}

.footer-bottom-links { display: flex; gap: 1.5rem; }

.footer-bottom-links a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255, 255, 255, 0.7); }

/* ══════════════════════════════════════════════════════
   Light theme — navbar & footer
   ══════════════════════════════════════════════════════ */

.header-light {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid #e5e2db;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-light .logo,
.header-light a.logo {
    color: #111827 !important;
}

.header-light .nav-links .nav-item,
.header-light .nav-links .dropbtn {
    color: #374151 !important;
}

.header-light .nav-links .nav-item:hover,
.header-light .dropdown:hover .dropbtn {
    background: rgba(0,0,0,0.05) !important;
    color: #111827 !important;
}

.header-light .dropdown-content {
    background: #fff;
    border: 1px solid #e5e2db;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
}

.header-light .dropdown-content a {
    color: #374151;
}

.header-light .dropdown-content a:hover {
    background: #f3f4f6;
    color: #111827;
    padding-left: 0.85rem;
}

/* Light footer */
.footer-light {
    background: #ffffff !important;
    border-top: 1px solid #e5e2db !important;
}

.footer-light .footer-logo { color: #111827; }
.footer-light .footer-tagline { color: #9ca3af; }
.footer-light .footer-col h4 { color: #9ca3af; }
.footer-light .footer-col ul li a { color: #6b7280; }
.footer-light .footer-col ul li a:hover { color: #111827; }
.footer-light .footer-divider { border-top-color: #e5e2db; }
.footer-light .footer-copy { color: #9ca3af; }
.footer-light .footer-bottom-links a { color: #9ca3af; }
.footer-light .footer-bottom-links a:hover { color: #374151; }

.footer-light .social-pill {
    border-color: #e5e2db;
    background: #f9fafb;
    color: #6b7280;
}

.footer-light .social-pill:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111827;
}

/* ── Utility ── */
.pub-dropdown-hidden { display: none !important; }