/* ==========================================================================
   MAXICODE CORE - STYLE.CSS (GLOBAL ONLY)
   ========================================================================== */

:root {
    --bg: #ffffff;
    --card-bg: #fbfbfd;
    --text: #1d1d1f;
    --text-dim: #86868b;
    --primary: #0066cc;
    --border: #d2d2d7;
    --header-bg: rgba(255, 255, 255, 0.72);
    --radius: 24px;
    --shadow: 0 8px 30px rgba(0,0,0,0.06);
}

[data-theme="dark"] {
    --bg: #000000;
    --card-bg: #1c1c1e;
    --text: #f5f5f7;
    --text-dim: #a1a1a6;
    --primary: #0071e3;
    --border: #38383a;
    --header-bg: rgba(28, 28, 30, 0.72);
    --shadow: 0 8px 40px rgba(0,0,0,0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, sans-serif; }

body { background-color: var(--bg); color: var(--text); line-height: 1.6; transition: background-color 0.3s ease; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* =========================================
   HEADER (TRAY NAVBAR)
   ========================================= */
header {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

nav {
    pointer-events: auto;
    width: 90%;
    max-width: 1000px;
    height: 58px;
    background: var(--header-bg);
    backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid var(--border);
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.logo { font-size: 1.2rem; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text); font-size: 13px; font-weight: 500; opacity: 0.8; }
.nav-links a:hover { opacity: 1; color: var(--primary); }
.nav-btn { background: var(--primary) !important; color: #fff !important; padding: 8px 20px !important; border-radius: 100px !important; font-size: 13px !important; font-weight: 700 !important; text-decoration: none !important; transition: all 0.3s ease !important; box-shadow: 0 4px 12px rgba(0,102,204,0.2) !important; opacity: 1 !important; }
.nav-btn:hover { transform: translateY(-2px) !important; box-shadow: 0 6px 20px rgba(0,102,204,0.4) !important; background: var(--primary-hover) !important; }

/* =========================================
   COMMON BUTTONS
   ========================================= */
.btn {
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-secondary { background: var(--border); color: var(--text); }

/* =========================================
   FOOTER (CORE)
   ========================================= */
footer { padding: 80px 0 40px; border-top: 1px solid var(--border); margin-top: 100px; background: var(--bg); }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { margin-bottom: 24px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--text); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; font-size: 14px; color: var(--text-dim); display: flex; align-items: center; gap: 10px; }
.footer-col ul a { text-decoration: none; color: inherit; transition: 0.2s; }
.footer-col ul a:hover { color: var(--primary); }
.footer-bottom { margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 13px; color: var(--text-dim); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
