/* ===== متغیرها - تم تاریک (پیش‌فرض) ===== */
:root, [data-theme="dark"] {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1424;
    --bg-card: #131829;
    --bg-card-hover: #1a2038;
    --bg-input: #0d1220;
    --bg-overlay: rgba(10, 14, 26, 0.85);
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);
    --border-active: rgba(79, 142, 247, 0.5);
    
    --text-primary: #ffffff;
    --text-secondary: #a8b1c4;
    --text-muted: #6b7793;
    
    --primary: #4F8EF7;
    --primary-light: #6BA3FF;
    --primary-dark: #2563EB;
    
    --purple: #8B5CF6;
    --purple-light: #A78BFA;
    
    --cyan: #06B6D4;
    --pink: #EC4899;
    --gold: #FFD700;
    --success: #10B981;
    --danger: #EF4444;
    
    --gradient-primary: linear-gradient(135deg, #4F8EF7 0%, #2563EB 100%);
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #5B21B6 100%);
    --gradient-brand: linear-gradient(90deg, #4F8EF7 0%, #8B5CF6 50%, #EC4899 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(79, 142, 247, 0.3);
    
    --font-fa: 'Vazirmatn', system-ui, -apple-system, sans-serif;
    --font-en: 'Orbitron', sans-serif;
    
    --container-max: 1280px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ===== تم روشن ===== */
[data-theme="light"] {
    --bg-primary: #f5f7fb;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f4ff;
    --bg-input: #f8f9fc;
    --bg-overlay: rgba(255, 255, 255, 0.85);
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.15);
    --border-active: rgba(79, 142, 247, 0.5);
    
    --text-primary: #0a0e1a;
    --text-secondary: #4a5570;
    --text-muted: #8892a8;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(79, 142, 247, 0.08);
    --shadow-lg: 0 16px 48px rgba(79, 142, 247, 0.12);
}

[data-theme="light"] body::before {
    background: 
        radial-gradient(ellipse at top right, rgba(139, 92, 246, 0.06), transparent 50%),
        radial-gradient(ellipse at top left, rgba(79, 142, 247, 0.06), transparent 50%);
}

[data-theme="light"] .stars { opacity: 0; }

/* ===== ریست ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-fa);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    transition: background 0.5s, color 0.5s;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse at top right, rgba(139, 92, 246, 0.08), transparent 50%),
        radial-gradient(ellipse at top left, rgba(79, 142, 247, 0.08), transparent 50%),
        radial-gradient(ellipse at bottom, rgba(236, 72, 153, 0.04), transparent 50%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

/* ===== بنر تخفیف ===== */
.discount-banner {
    position: relative;
    background: linear-gradient(90deg, #EC4899, #8B5CF6, #4F8EF7, #EC4899);
    background-size: 300% 100%;
    animation: gradientFlow 8s linear infinite;
    padding: 10px 0;
    z-index: 99;
    overflow: hidden;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.discount-banner.hidden {
    display: none;
}

.discount-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.discount-emoji {
    font-size: 20px;
    animation: shake 1s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.countdown {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 32px;
}

.countdown-value {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    font-size: 9px;
    opacity: 0.8;
    margin-top: 2px;
}

.countdown-sep {
    font-size: 16px;
    font-weight: 700;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.discount-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.discount-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

/* ===== پس‌زمینه ===== */
.particles-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.stars {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 25% 25%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 75% 75%, rgba(167, 139, 250, 0.8), transparent),
        radial-gradient(2px 2px at 15% 65%, rgba(79, 142, 247, 0.6), transparent),
        radial-gradient(1px 1px at 85% 35%, white, transparent),
        radial-gradient(1px 1px at 35% 85%, rgba(236, 72, 153, 0.6), transparent),
        radial-gradient(2px 2px at 65% 15%, white, transparent);
    background-size: 250px 250px, 350px 350px, 200px 200px, 400px 400px, 300px 300px, 450px 450px, 280px 280px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px, 200px 50px, 90px 180px, 250px 110px;
    animation: starsTwinkle 8s ease-in-out infinite alternate;
    opacity: 0.6;
    transition: opacity 0.5s;
}

@keyframes starsTwinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--purple), transparent);
    bottom: 20%;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--pink), transparent);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
    opacity: 0.2;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ===== هدر ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    animation: slideDown 0.6s ease-out;
    transition: background 0.5s, border-color 0.5s, box-shadow 0.3s;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s;
}

.logo:hover { transform: scale(1.05); }

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 12px rgba(79, 142, 247, 0.5));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 8px rgba(79, 142, 247, 0.4)); }
    to { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6)); }
}

.logo-text {
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.logo-dot {
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
    font-size: 18px;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s;
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::before, .nav-link.active::before { width: 60%; }
.nav-link.active { color: var(--text-primary); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* دکمه تغییر تم */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    transform: rotate(180deg);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(79, 142, 247, 0.3);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: transform 0.5s, opacity 0.3s;
}

.theme-icon-sun {
    transform: rotate(-90deg) scale(0);
    opacity: 0;
}

[data-theme="light"] .theme-icon-sun {
    transform: rotate(0) scale(1);
    opacity: 1;
    color: #FF9500;
}

[data-theme="light"] .theme-icon-moon {
    transform: rotate(90deg) scale(0);
    opacity: 0;
}

.wallet {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.wallet::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.wallet:hover::before { transform: translateX(100%); }

.wallet:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.wallet-info { display: flex; flex-direction: column; align-items: flex-end; }
.wallet-label { font-size: 11px; color: #10B981; font-weight: 500; }
.wallet-amount { font-size: 13px; color: var(--text-primary); font-weight: 600; }
.wallet-amount small { color: var(--text-secondary); font-size: 10px; font-weight: 400; }
.wallet-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: #10B981; }
.wallet-icon svg { width: 24px; height: 24px; }

.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.btn-login:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 142, 247, 0.3);
}

.btn-login:hover::before { opacity: 0.1; }
.btn-login svg { width: 18px; height: 18px; }

/* حالت واردشده: نام کاربر با تأکید سبز نمایش داده می‌شود */
.btn-login.logged-in {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
}
.btn-login.logged-in svg { color: #22c55e; }
.btn-login.logged-in span:last-child { font-weight: 600; }

/* ===== منوی کاربر (دراپ‌داون نام در هدر) ===== */
.login-wrap { position: relative; }
.user-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 200;
}
.user-menu.active { display: flex; }
.user-menu-item {
    padding: 10px 12px;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-fa);
    font-size: 14px;
    text-align: right;
    cursor: pointer;
}
.user-menu-item:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.user-menu-item.danger { color: var(--danger); }
.user-menu-item.danger:hover { background: rgba(239, 68, 68, 0.1); }

/* ===== پنل کاربری ===== */
.panel-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.panel-overlay.active { display: flex; }
.panel-box {
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.panel-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.panel-close:hover { color: var(--text-primary); border-color: var(--primary); }

.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.panel-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.panel-avatar svg { width: 28px; height: 28px; }
.panel-id { display: flex; flex-direction: column; }
.panel-name { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.panel-email { font-size: 13px; color: var(--text-muted); }

.panel-tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.panel-tab {
    padding: 10px 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-fa);
    font-size: 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.panel-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.panel-section { display: none; }
.panel-section.active { display: block; }

.panel-orders { display: flex; flex-direction: column; gap: 12px; }
.order-item {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
}
.order-item-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.oi-service { font-weight: 700; color: var(--text-primary); }
.order-item-body { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-secondary); }
.oi-tg { color: var(--primary); }
.oi-date { color: var(--text-muted); }
.oi-cancel {
    margin-top: 10px;
    padding: 7px 14px;
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-sm);
    font-family: var(--font-fa);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.oi-cancel:hover { background: var(--danger); color: #fff; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-pending { background: rgba(255, 215, 0, 0.15); color: var(--gold); }
.badge-completed { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.badge-cancelled { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.badge-processing { background: rgba(79, 142, 247, 0.15); color: var(--primary); }

.panel-form .form-group { margin-bottom: 14px; }
.panel-form label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.panel-form input {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-fa);
    font-size: 14px;
}
.panel-form input:focus { outline: none; border-color: var(--primary); }
.btn-panel {
    width: 100%;
    padding: 12px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
}
.btn-panel:hover { box-shadow: var(--shadow-glow); }

.panel-danger {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.panel-danger-text { display: flex; flex-direction: column; gap: 2px; }
.panel-danger-text strong { color: var(--danger); font-size: 14px; }
.panel-danger-text span { color: var(--text-muted); font-size: 12px; }
.btn-danger-outline {
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-fa);
    white-space: nowrap;
}
.btn-danger-outline:hover { background: var(--danger); color: #fff; }

.btn-logout-panel {
    width: 100%;
    margin-top: 16px;
    padding: 11px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-fa);
}
.btn-logout-panel:hover { color: var(--text-primary); border-color: var(--border-strong); }

.panel-loading, .panel-empty { text-align: center; color: var(--text-muted); padding: 24px; }

/* ===== مودال حقوقی ===== */
.legal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.legal-overlay.active { display: flex; }
.legal-box {
    width: 100%;
    max-width: 640px;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.legal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.legal-close:hover { color: var(--text-primary); border-color: var(--primary); }
.legal-tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.legal-tab {
    padding: 10px 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-fa);
    font-size: 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.legal-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.legal-section { display: none; }
.legal-section.active { display: block; }
.legal-section h3 { color: var(--text-primary); font-size: 18px; margin-bottom: 12px; }
.legal-section h4 { color: var(--text-primary); font-size: 14px; margin: 16px 0 6px; }
.legal-section p { color: var(--text-secondary); font-size: 14px; line-height: 1.9; }

.mobile-menu-btn { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.mobile-menu-btn span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== هیرو ===== */
.hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.floating-icons { position: absolute; inset: 0; pointer-events: none; }

.float-icon {
    position: absolute;
    width: 120px;
    height: 120px;
    animation: floatIcon 6s ease-in-out infinite;
    transition: transform 0.3s ease-out;
}

.icon-telegram { top: 20%; right: 8%; }
.icon-diamond { top: 10%; left: 8%; width: 100px; height: 100px; animation-delay: -2s; }
.icon-star { bottom: 15%; right: 15%; width: 90px; height: 90px; animation-delay: -4s; }
.icon-ton { bottom: 20%; left: 10%; width: 110px; height: 110px; animation-delay: -3s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.icon-3d {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.telegram-3d { filter: drop-shadow(0 10px 25px rgba(42, 171, 238, 0.5)); animation: spin3d 8s linear infinite; }
.diamond-3d { filter: drop-shadow(0 10px 25px rgba(139, 92, 246, 0.6)); animation: diamondSpin 5s ease-in-out infinite; }
.star-3d { filter: drop-shadow(0 10px 25px rgba(167, 139, 250, 0.6)); animation: starPulse 3s ease-in-out infinite; }
.ton-3d { filter: drop-shadow(0 10px 25px rgba(0, 152, 234, 0.5)); animation: spin3d 10s linear infinite reverse; }

@keyframes spin3d { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
@keyframes diamondSpin { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.1); } }
@keyframes starPulse { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.15) rotate(20deg); } }

.float-icon::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, currentColor, transparent 60%);
    opacity: 0.3;
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
}

.icon-telegram::before { color: #2AABEE; }
.icon-diamond::before { color: #8B5CF6; }
.icon-star::before { color: #A78BFA; }
.icon-ton::before { color: #0098EA; }

@keyframes glowPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}

.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    opacity: 0;
    animation: titleAppear 1s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.5s; }

@keyframes titleAppear {
    from { opacity: 0; transform: translateY(30px); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* افکت تایپ‌رایتر */
.typewriter-line {
    position: relative;
    min-height: 1.3em;
}

.typewriter-line::after {
    content: '|';
    color: var(--primary);
    animation: cursor-blink 0.8s infinite;
    margin-right: 4px;
    font-weight: 300;
}

.typewriter-line.done::after { display: none; }

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.brand-highlight {
    font-family: var(--font-en);
    background: linear-gradient(90deg, #4F8EF7, #8B5CF6, #EC4899, #4F8EF7);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    display: inline-block;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.hero-desc {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
    opacity: 0;
    animation: titleAppear 1s ease-out 0.8s forwards;
}

.hero-features {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: titleAppear 1s ease-out 1.1s forwards;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.feature-badge:hover {
    transform: translateY(-3px);
    border-color: rgba(79, 142, 247, 0.4);
    color: var(--text-primary);
    box-shadow: 0 8px 20px rgba(79, 142, 247, 0.15);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 11px;
    color: white;
    font-weight: 700;
}

/* ===== سفارش ===== */
.order-section {
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.order-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.4s;
}

[data-theme="light"] .order-wrapper {
    background: white;
    box-shadow: var(--shadow-lg);
}

.order-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(79, 142, 247, 0.03), transparent, rgba(139, 92, 246, 0.03), transparent);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.service-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: right;
}

[data-theme="light"] .service-tab { background: var(--bg-input); }

.service-tab:hover {
    transform: translateY(-3px);
    border-color: rgba(79, 142, 247, 0.4);
    background: var(--bg-card-hover);
}

.service-tab.active {
    background: rgba(79, 142, 247, 0.08);
    border-color: rgba(79, 142, 247, 0.4);
}

.tab-content { display: flex; align-items: center; gap: 12px; }

.tab-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

[data-theme="light"] .tab-icon { background: rgba(0, 0, 0, 0.04); }

.service-tab:hover .tab-icon { transform: rotate(10deg) scale(1.1); }
.tab-icon svg { width: 26px; height: 26px; }

.gift-icon { background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2)); }

.tab-text { display: flex; flex-direction: column; gap: 4px; }
.tab-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }

.tab-badge {
    display: inline-block;
    width: fit-content;
    padding: 2px 8px;
    background: rgba(107, 119, 147, 0.3);
    border-radius: 100px;
    font-size: 10px;
    color: var(--text-secondary);
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px 3px 0 0;
    transition: width 0.4s;
    box-shadow: 0 0 10px var(--primary);
}

.service-tab.active .tab-indicator { width: 80%; }

.order-panel {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.quantity-section, .info-section {
    background: rgba(13, 18, 32, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

[data-theme="light"] .quantity-section, [data-theme="light"] .info-section {
    background: var(--bg-input);
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
    transition: opacity 0.2s;
}

.quantity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.quantity-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

[data-theme="light"] .quantity-card { background: white; }

.quantity-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(79, 142, 247, 0.2), transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.quantity-card:hover::before { width: 200%; height: 200%; }

.quantity-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 142, 247, 0.4);
    box-shadow: 0 8px 20px rgba(79, 142, 247, 0.15);
}

.quantity-card.active {
    background: rgba(79, 142, 247, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.1), 0 8px 24px rgba(79, 142, 247, 0.2);
}

.quantity-card.active .qty-star { animation: starJump 0.6s ease; }

@keyframes starJump {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(20deg); }
}

.qty-star, .qty-plus {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
    transition: transform 0.3s;
}

.qty-plus { color: var(--text-secondary); filter: none; }
.quantity-card:hover .qty-star { transform: rotate(15deg) scale(1.1); }
.qty-star svg, .qty-plus svg { width: 100%; height: 100%; }

.qty-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-family: var(--font-en);
}

.qty-price { font-size: 11px; color: var(--text-secondary); }
.custom-card .qty-amount { font-size: 14px; font-family: var(--font-fa); }

/* ماشین حساب سفارشی */
.custom-calculator {
    background: rgba(79, 142, 247, 0.05);
    border: 1px solid rgba(79, 142, 247, 0.2);
    border-radius: var(--radius-md);
    margin-top: 16px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s, opacity 0.3s, margin 0.3s;
}

.custom-calculator.active {
    max-height: 500px;
    opacity: 1;
}

.calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: rgba(79, 142, 247, 0.1);
    border-bottom: 1px solid rgba(79, 142, 247, 0.15);
}

.calc-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
}

.calc-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 16px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.calc-close:hover { background: rgba(239, 68, 68, 0.2); color: var(--danger); transform: rotate(90deg); }

.calc-body { padding: 18px; }

.calc-input-group label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.calc-input-wrapper {
    display: flex;
    align-items: stretch;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
}

.calc-btn {
    width: 40px;
    background: rgba(79, 142, 247, 0.1);
    color: var(--primary-light);
    font-size: 20px;
    font-weight: 700;
    transition: background 0.3s;
}

.calc-btn:hover { background: rgba(79, 142, 247, 0.2); }
.calc-btn:active { background: rgba(79, 142, 247, 0.3); }

.calc-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px;
    color: var(--text-primary);
    font-family: var(--font-en);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    outline: none;
}

.calc-input-wrapper input::-webkit-outer-spin-button,
.calc-input-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.calc-input-wrapper input[type=number] { -moz-appearance: textfield; }

.calc-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    margin: 8px 0;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--gradient-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary);
    transition: transform 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.calc-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.calc-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-family: var(--font-en);
}

.calc-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.calc-result-label { font-size: 13px; color: var(--text-secondary); }

.calc-result-value {
    font-family: var(--font-en);
    font-size: 18px;
    font-weight: 700;
    color: #10B981;
    transition: transform 0.2s;
}

.calc-result-value.updating { transform: scale(1.1); }
.calc-result-value small { font-family: var(--font-fa); font-size: 12px; }

.calc-rate {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.calc-rate strong { color: var(--primary-light); }

.btn-apply-calc {
    width: 100%;
    padding: 10px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(79, 142, 247, 0.3);
}

.btn-apply-calc:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(79, 142, 247, 0.5); }

.price-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(79, 142, 247, 0.05);
    border: 1px solid rgba(79, 142, 247, 0.15);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--primary-light);
}

.notice-icon { font-size: 14px; }

/* فرم */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.input-wrapper { position: relative; }

.input-wrapper input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s;
    direction: rtl;
}

.input-wrapper input { padding-left: 40px; direction: ltr; text-align: right; }
.input-wrapper input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }

.input-wrapper input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.1);
    background: var(--bg-card-hover);
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

.form-group textarea { resize: vertical; min-height: 90px; font-family: inherit; }

.final-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    margin-bottom: 16px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.price-label { font-size: 14px; color: var(--text-secondary); }

.price-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-light);
    font-family: var(--font-en);
    transition: all 0.3s;
}

.price-value small { font-size: 13px; color: var(--text-secondary); font-weight: 400; margin-right: 4px; font-family: var(--font-fa); }
.price-value.updating { transform: scale(1.1); color: var(--success); }

.btn-purchase {
    width: 100%;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(79, 142, 247, 0.3);
}

.btn-purchase::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-purchase:hover::before { left: 100%; }
.btn-purchase:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(79, 142, 247, 0.5); }
.btn-purchase:active { transform: translateY(0); }

.btn-text { transition: opacity 0.2s; }
.btn-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
.btn-icon svg { width: 100%; height: 100%; }

.terms-text {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

.terms-text a { color: var(--primary-light); text-decoration: underline; transition: color 0.3s; }
.terms-text a:hover { color: var(--primary); }

/* ===== ویژگی‌ها ===== */
.features-section { padding: 30px 0; position: relative; z-index: 2; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
}

[data-theme="light"] .features-grid { background: white; box-shadow: var(--shadow-md); }

.feature-card {
    text-align: center;
    padding: 20px 16px;
    transition: transform 0.3s;
    position: relative;
}

.feature-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30%;
    bottom: 30%;
    left: -8px;
    width: 1px;
    background: var(--border-color);
}

.feature-card:hover { transform: translateY(-5px); }

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: all 0.4s;
    position: relative;
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: currentColor;
    opacity: 0.1;
    transition: all 0.4s;
}

.feature-card:hover .feature-icon-wrapper { transform: rotate(8deg) scale(1.1); }
.feature-card:hover .feature-icon-wrapper::before { opacity: 0.2; }

.feature-icon-cyan { color: var(--cyan); box-shadow: 0 0 30px rgba(6, 182, 212, 0.2); }
.feature-icon-purple { color: var(--purple); box-shadow: 0 0 30px rgba(139, 92, 246, 0.2); }
.feature-icon-pink { color: var(--pink); box-shadow: 0 0 30px rgba(236, 72, 153, 0.2); }

.feature-icon-wrapper svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.feature-title { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.feature-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ===== آمار ===== */
.stats-section { padding: 30px 0 60px; position: relative; z-index: 2; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: linear-gradient(145deg, rgba(79, 142, 247, 0.05), rgba(139, 92, 246, 0.03));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
}

[data-theme="light"] .stats-grid {
    background: linear-gradient(145deg, rgba(79, 142, 247, 0.05), rgba(139, 92, 246, 0.05));
    box-shadow: var(--shadow-md);
}

.stat-card { text-align: center; padding: 16px; position: relative; transition: transform 0.3s; }

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    left: -8px;
    width: 1px;
    background: var(--border-color);
}

.stat-card:hover { transform: translateY(-5px); }

.stat-number {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-family: var(--font-en);
}

.stat-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-label svg { width: 18px; height: 18px; }

/* ===== FAQ ===== */
.faq-section { padding: 60px 0; position: relative; z-index: 2; }

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 142, 247, 0.1);
    border: 1px solid rgba(79, 142, 247, 0.3);
    border-radius: 100px;
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-heading {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.highlight-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-sub {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s;
}

[data-theme="light"] .faq-item { background: white; box-shadow: var(--shadow-sm); }

.faq-item:hover {
    border-color: rgba(79, 142, 247, 0.3);
    box-shadow: 0 4px 16px rgba(79, 142, 247, 0.1);
}

.faq-item.active {
    border-color: rgba(79, 142, 247, 0.4);
    box-shadow: 0 8px 24px rgba(79, 142, 247, 0.15);
    background: linear-gradient(145deg, rgba(79, 142, 247, 0.05), rgba(139, 92, 246, 0.03));
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    text-align: right;
    transition: background 0.3s;
}

.faq-icon-num {
    font-family: var(--font-en);
    font-size: 14px;
    color: var(--primary-light);
    font-weight: 700;
    background: rgba(79, 142, 247, 0.1);
    padding: 6px 10px;
    border-radius: 8px;
    min-width: 40px;
    text-align: center;
}

.faq-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    transition: all 0.4s;
    flex-shrink: 0;
}

.faq-toggle svg { width: 18px; height: 18px; transition: transform 0.4s; }

.faq-item.active .faq-toggle {
    background: var(--gradient-primary);
    color: white;
}

.faq-item.active .faq-toggle svg { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 24px 20px 24px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.9;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
    padding-top: 16px;
}

/* ===== فوتر ===== */
.footer {
    background: linear-gradient(180deg, transparent, rgba(13, 18, 32, 0.6));
    border-top: 1px solid var(--border-color);
    padding: 60px 0 24px;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

[data-theme="light"] .footer { background: rgba(245, 247, 251, 0.8); }

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col .logo { margin-bottom: 16px; }

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 24px;
}

.newsletter-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s;
}

.newsletter-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.1); }

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
}

.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-btn {
    width: 44px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s;
}

.newsletter-btn:hover { filter: brightness(1.2); }
.newsletter-btn svg { width: 18px; height: 18px; transform: rotate(180deg); }

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    padding-right: 14px;
}

.footer-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    color: var(--text-secondary);
    font-size: 13px;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(-4px);
}

.footer-links a::before {
    content: '←';
    position: absolute;
    right: -16px;
    opacity: 0;
    transition: all 0.3s;
    color: var(--primary);
}

.footer-links a:hover::before { right: -20px; opacity: 1; }

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-contact svg { width: 18px; height: 18px; color: var(--primary-light); flex-shrink: 0; }

.footer-social { display: flex; gap: 10px; }

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.4s;
}

[data-theme="light"] .social-link { background: white; box-shadow: var(--shadow-sm); }

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-4px) rotate(-8deg);
    box-shadow: 0 8px 20px rgba(79, 142, 247, 0.4);
}

.social-link svg { width: 20px; height: 20px; }

.footer-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    transition: all 0.3s;
}

[data-theme="light"] .trust-item { background: white; }

.trust-item:hover {
    color: var(--primary-light);
    border-color: rgba(79, 142, 247, 0.3);
    transform: translateY(-2px);
}

.trust-item svg { width: 18px; height: 18px; }

/* نماد اعتماد الکترونیکی (enamad) در فوتر */
.enamad-item { padding: 4px; background: #fff; }
.enamad-item img { max-height: 96px; width: auto; display: block; border-radius: 6px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.heart {
    color: var(--pink);
    display: inline-block;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* ===== ویجت چت ===== */
.chat-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
}

.chat-toggle {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(79, 142, 247, 0.4);
    transition: all 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(79, 142, 247, 0.6);
}

.chat-toggle-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.4;
    animation: chatPulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes chatPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

.chat-icon-open, .chat-icon-close {
    position: absolute;
    width: 26px;
    height: 26px;
    transition: all 0.4s;
}

.chat-icon-close { transform: rotate(-180deg) scale(0); opacity: 0; }

.chat-widget.active .chat-icon-open { transform: rotate(180deg) scale(0); opacity: 0; }
.chat-widget.active .chat-icon-close { transform: rotate(0) scale(1); opacity: 1; }
.chat-widget.active .chat-toggle-pulse { display: none; }

.chat-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-en);
    border: 2px solid var(--bg-primary);
    animation: badgePop 0.5s ease-out;
}

@keyframes badgePop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.chat-widget.active .chat-badge { display: none; }

.chat-panel {
    position: absolute;
    bottom: 76px;
    left: 0;
    width: 360px;
    max-width: calc(100vw - 48px);
    height: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-widget.active .chat-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-header {
    padding: 16px 20px;
    background: var(--gradient-primary);
    color: white;
    flex-shrink: 0;
}

.chat-agent { display: flex; align-items: center; gap: 12px; }

.chat-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.chat-avatar svg { width: 24px; height: 24px; }

.chat-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #10B981;
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.chat-info { display: flex; flex-direction: column; }
.chat-name { font-size: 14px; font-weight: 600; }
.chat-status-text { font-size: 11px; opacity: 0.8; }

.chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    animation: messageIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes messageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.agent { align-self: flex-start; align-items: flex-start; }
.chat-message.user { align-self: flex-end; align-items: flex-end; }

.message-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.6;
}

.chat-message.agent .message-bubble {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-bottom-right-radius: 4px;
}

[data-theme="light"] .chat-message.agent .message-bubble { background: var(--bg-input); }

.chat-message.user .message-bubble {
    background: var(--gradient-primary);
    color: white;
    border-bottom-left-radius: 4px;
}

.message-time { font-size: 10px; color: var(--text-muted); margin-top: 4px; padding: 0 4px; }

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 14px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

.chat-quick-replies {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    overflow-x: auto;
    border-top: 1px solid var(--border-color);
    flex-wrap: nowrap;
}

.chat-quick-replies::-webkit-scrollbar { display: none; }

.quick-reply {
    flex-shrink: 0;
    padding: 6px 12px;
    background: rgba(79, 142, 247, 0.08);
    border: 1px solid rgba(79, 142, 247, 0.2);
    border-radius: 100px;
    color: var(--primary-light);
    font-size: 11px;
    font-family: inherit;
    transition: all 0.3s;
    white-space: nowrap;
}

.quick-reply:hover {
    background: rgba(79, 142, 247, 0.2);
    transform: translateY(-2px);
}

.chat-input-area {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.chat-input-area input {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s;
}

.chat-input-area input:focus { border-color: var(--primary); }
.chat-input-area input::placeholder { color: var(--text-muted); }

.chat-send {
    width: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chat-send:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(79, 142, 247, 0.4); }
.chat-send svg { width: 18px; height: 18px; transform: rotate(180deg); }

/* ===== کانفتی ===== */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* ===== افکت‌های ظاهر شدن ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ریسپانسیو ===== */
@media (max-width: 1024px) {
    .nav-link { font-size: 14px; padding: 8px 12px; }
    .wallet-info { display: none; }
    .float-icon { width: 80px; height: 80px; }
    .icon-diamond, .icon-star, .icon-ton { width: 70px; height: 70px; }
    .order-panel { grid-template-columns: 1fr; }
    .service-tabs { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card:nth-child(2)::after { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card:nth-child(2)::after { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .header { padding: 12px 0; }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--bg-overlay);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        padding: 16px;
    }
    
    .nav.active { display: block; animation: slideDown 0.3s ease-out; }
    .nav-list { flex-direction: column; gap: 4px; }
    .nav-link { text-align: center; padding: 12px; font-size: 15px; }
    
    .btn-login span { display: none; }
    .btn-login { padding: 10px; }
    /* در حالت واردشده، نام کاربر روی موبایل هم دیده شود */
    .btn-login.logged-in span:last-child { display: inline; }
    .mobile-menu-btn { display: flex; }
    
    .discount-content { gap: 8px; font-size: 12px; }
    .countdown-value { font-size: 13px; }
    .countdown-label { font-size: 8px; }
    .discount-text { display: none; }
    
    .hero { padding: 40px 0 30px; }
    .float-icon { width: 60px; height: 60px; opacity: 0.5; }
    .icon-diamond, .icon-star, .icon-ton { width: 50px; height: 50px; }
    .icon-telegram { top: 5%; right: 3%; }
    .icon-diamond { top: 3%; left: 3%; }
    .icon-star { bottom: 5%; right: 5%; }
    .icon-ton { bottom: 10%; left: 3%; }
    
    .order-wrapper { padding: 16px; }
    .quantity-section, .info-section { padding: 16px; }
    .service-tabs { grid-template-columns: 1fr; gap: 8px; }
    .quantity-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    
    .features-grid, .stats-grid {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 12px;
    }
    
    .feature-card::after, .stat-card::after { display: none !important; }
    
    .feature-card, .stat-card {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
    }
    
    .feature-card:last-child, .stat-card:last-child { border-bottom: none; }
    
    .hero-features { gap: 8px; }
    .feature-badge { padding: 6px 12px; font-size: 12px; }
    .price-value { font-size: 18px; }
    
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-trust { gap: 12px; }
    .footer-bottom { justify-content: center; text-align: center; }
    
    .chat-widget { bottom: 16px; left: 16px; }
    .chat-toggle { width: 52px; height: 52px; }
    .chat-panel { width: calc(100vw - 32px); }
    
    .faq-question { padding: 16px; gap: 12px; }
    .faq-text { font-size: 14px; }
    .faq-answer-inner { padding: 16px; padding-top: 14px; font-size: 13px; }
}

@media (max-width: 480px) {
    .logo-text { font-size: 18px; }
    .logo-dot { font-size: 14px; }
    .header-actions { gap: 6px; }
    .hero-title { font-size: 24px; }
    .qty-amount { font-size: 15px; }
    .qty-price { font-size: 10px; }
    .qty-star, .qty-plus { width: 28px; height: 28px; }
    .theme-toggle { width: 36px; height: 36px; }
    .theme-toggle svg { width: 18px; height: 18px; }
}

/* ===== اسکرول‌بار ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--purple));
    border-radius: 10px;
    border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--purple-light));
}

::selection { background: rgba(79, 142, 247, 0.3); color: var(--text-primary); }


/* ===== افکت‌های داینامیک (قبلاً توسط JS تزریق می‌شدند) ===== */
@keyframes rippleEffect {
    to { transform: scale(2); opacity: 0; }
}
@keyframes shakeAnim {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* ===== نوتیفیکیشن (قبلاً inline در JS) ===== */
.arz-notification {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.arz-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.arz-notification.success { background: rgba(16, 185, 129, 0.15); border: 1px solid #10B981; color: #10B981; }
.arz-notification.error   { background: rgba(239, 68, 68, 0.15);  border: 1px solid #EF4444; color: #EF4444; }
.arz-notification.info    { background: rgba(79, 142, 247, 0.15); border: 1px solid #4F8EF7; color: #4F8EF7; }

/* ===== مودال ورود / ثبت‌نام ===== */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.auth-overlay.active { opacity: 1; visibility: visible; }

.auth-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 34px 28px 28px;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.auth-overlay.active .auth-modal { transform: translateY(0) scale(1); }

.auth-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-input);
    color: var(--text-secondary);
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}
.auth-close:hover { background: var(--danger); color: #fff; transform: rotate(90deg); }

.auth-head { text-align: center; margin-bottom: 22px; }
.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.auth-logo .logo-icon { width: 34px; height: 34px; }
.auth-logo .logo-text { font-family: var(--font-en); font-size: 22px; font-weight: 800; }
.auth-logo .logo-dot { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.auth-subtitle { color: var(--text-secondary); font-size: 13px; margin-top: 10px; }

.auth-tabs {
    position: relative;
    display: flex;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 5px;
    margin-bottom: 24px;
}
.auth-tab {
    flex: 1;
    padding: 11px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}
.auth-tab.active { color: #fff; }
.auth-tab-indicator {
    position: absolute;
    top: 5px;
    bottom: 5px;
    right: 5px;
    width: calc(50% - 5px);
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(79, 142, 247, 0.4);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.auth-tabs.show-signup .auth-tab-indicator { transform: translateX(-100%); }

.auth-form { display: none; }
.auth-form.active { display: block; animation: authFadeIn 0.4s ease; }
@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    font-size: 13px;
}
.auth-check {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}
.auth-check input { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.auth-terms { margin-bottom: 20px; }
.auth-link { color: var(--primary); transition: color 0.2s; }
.auth-link:hover { color: var(--primary-light); text-decoration: underline; }

.btn-auth {
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s;
}
.btn-auth:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(79, 142, 247, 0.45); }
.btn-auth:active { transform: translateY(0) scale(0.98); }

.auth-divider {
    display: flex;
    align-items: center;
    margin: 22px 0 16px;
    color: var(--text-muted);
    font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}
.auth-divider span { padding: 0 12px; }

.auth-social-btn {
    width: 100%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}
.auth-social-btn:hover { border-color: var(--border-active); background: var(--bg-card-hover); transform: translateY(-2px); }
.auth-social-btn svg { width: 22px; height: 22px; color: #2AABEE; }
