
:root {
    --primary: #1a1a1a;
    --accent: #d4af37;
    --bg: #ffffff;
    --surface: rgba(255, 255, 255, 0.8);
    --text: #1a1a1a;
    --nav-height: 80px;
}

[data-theme="dark"] {
    --primary: #ffffff;
    --bg: #0a0a0a;
    --surface: rgba(20, 20, 20, 0.8);
    --text: #f5f5f7;
}

body {
    margin: 0;
    padding-top: var(--nav-height);
    background-color: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, sans-serif;
    transition: background 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* استایل هدر شیشه‌ای */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--surface);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover { color: var(--accent); }

/* دکمه‌های ابزار */
.header-tools { display: flex; align-items: center; gap: 20px; }

.tool-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 5px;
}

.sun-icon { display: block; width: 24px; }
.moon-icon { display: none; width: 24px; }

[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }

.cta-button {
    background: var(--accent);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.cta-button:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(212,175,55,0.3); }