/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com */
*,
:after,
:before {
    box-sizing: border-box;
    border: 0 solid #e5e7eb;
}
/* ===== پایه و متغیرها (نسخه Industrial Luxury) ===== */
:root {
    --bg-primary: #050508;
    --bg-secondary: #0a0a0f;
    --surface: #111;
    --surface-elevated: #1a1a1f;
    --text-primary: #ededed;
    --text-secondary: #a0a0a0;
    --border: #2a2a2f;
    --accent-blue: #0066B3;
    --accent-gold: #D4AF37;
    --card-radius: 1.5rem;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Vazirmatn', 'Inter', system-ui, sans-serif;
    transition: background 0.3s ease, color 0.2s ease;
}

/* بافت کربن ملایم */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: -1;
}

/* کلاس‌های اصلی Tailwind (تولید شده با Standalone CLI) */
.container {
    width: 100%;
}
@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}
@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}
@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.flex {
    display: flex;
}
.flex-col {
    flex-direction: column;
}
.items-center {
    align-items: center;
}
.justify-between {
    justify-content: space-between;
}
.gap-3 {
    gap: 0.75rem;
}
.gap-4 {
    gap: 1rem;
}
.gap-8 {
    gap: 2rem;
}
.hidden {
    display: none;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.top-full {
    top: 100%;
}
.left-0 {
    left: 0;
}
.right-0 {
    right: 0;
}
.-top-2 {
    top: -0.5rem;
}
.-right-3 {
    right: -0.75rem;
}
.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.font-bold {
    font-weight: 700;
}
.tracking-wider {
    letter-spacing: 0.05em;
}
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-white {
    --tw-gradient-from: #fff var(--tw-gradient-from-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-\[#0066B3\] {
    --tw-gradient-to: #0066B3 var(--tw-gradient-to-position);
}
.bg-clip-text {
    background-clip: text;
}
.text-transparent {
    color: transparent;
}
.text-\[#D4AF37\] {
    color: #D4AF37;
}
.rounded-full {
    border-radius: 9999px;
}
.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}
.bg-\[#0066B3\] {
    background-color: #0066B3;
}
.bg-black\/90 {
    background-color: rgba(0, 0, 0, 0.9);
}
.p-4 {
    padding: 1rem;
}
.p-2 {
    padding: 0.5rem;
}
.w-5 {
    width: 1.25rem;
}
.h-5 {
    height: 1.25rem;
}
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    .md\:hidden {
        display: none;
    }
}

/* ===== کامپوننت‌های سفارشی قالب ===== */
.floating-header {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(10, 10, 15, 0.65);
    border-radius: 3rem;
    border: 1px solid rgba(0, 102, 179, 0.3);
    transition: all 0.3s;
}
@media (max-width: 768px) {
    .floating-header {
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        border-radius: 2rem;
    }
}
.btn-primary {
    background: var(--accent-blue);
    transition: all 0.2s;
}
.btn-primary:hover {
    background: #004a8a;
    transform: scale(1.02);
}
.card-luxury {
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.card-luxury:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(0, 102, 179, 0.6);
    box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.5);
}
@keyframes premiumRgbPulse {
    0% {
        box-shadow: 0 0 12px rgba(0, 102, 179, 0.3), 0 0 4px rgba(0, 102, 179, 0.4);
    }
    33% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), 0 0 10px rgba(212, 175, 55, 0.5);
    }
    66% {
        box-shadow: 0 0 18px rgba(0, 255, 100, 0.2), 0 0 8px rgba(0, 255, 150, 0.4);
    }
    100% {
        box-shadow: 0 0 12px rgba(0, 102, 179, 0.3), 0 0 4px rgba(0, 102, 179, 0.4);
    }
}
.rgb-premium {
    animation: premiumRgbPulse 2.5s infinite ease-in-out;
}
body.light .card-luxury {
    background: white;
    border: 1px solid #e2e8f0;
}
