/* ====================================================
   فونت و تنظیمات پایه - نسخه ۲۰۲۶
   ==================================================== */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --gold: #c9a03d;
    --gold-dark: #a87f2a;
    --gold-light: #f5e6c8;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b8941e 100%);
    --gold-glow: 0 0 40px rgba(201, 160, 61, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-400: #bdbdbd;
    --gray-600: #757575;
    --gray-800: #424242;
    --gray-900: #212121;
    --radius: 24px;
    --radius-sm: 16px;
    --radius-full: 9999px;
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-soft: 0 10px 50px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 20px 60px rgba(201, 160, 61, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ====================================================
   اسکرول‌بار سفارشی
   ==================================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* ====================================================
   نوار ناوبری - Glassmorphism
   ==================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-brand img {
    height: 44px;
    width: auto;
    border-radius: 12px;
}

.navbar-brand span {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2.5px;
    background: var(--gold-gradient);
    border-radius: 4px;
    transition: var(--transition);
}

.navbar-links a:hover {
    color: var(--gold-dark);
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-links .btn-gold {
    background: var(--gold-gradient);
    color: white !important;
    padding: 10px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(201, 160, 61, 0.2);
    transition: var(--transition);
}

.navbar-links .btn-gold::after {
    display: none;
}

.navbar-links .btn-gold:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 35px rgba(201, 160, 61, 0.3);
}

/* منوی موبایل */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-800);
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
}

.mobile-menu {
    display: none;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.mobile-menu a {
    display: block;
    padding: 14px 0;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--gold-dark);
    padding-right: 8px;
}

.mobile-menu .btn-gold {
    background: var(--gold-gradient);
    color: white !important;
    text-align: center;
    padding: 14px;
    border-radius: var(--radius-sm);
    border-bottom: none;
    margin-top: 8px;
}

/* ====================================================
   دکمه‌ها
   ==================================================== */
.btn-gold {
    background: var(--gold-gradient);
    color: white !important;
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 24px rgba(201, 160, 61, 0.2);
}

.btn-gold:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 45px rgba(201, 160, 61, 0.25);
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold-dark) !important;
    border: 2px solid var(--gold);
    padding: 10px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-gold-outline:hover {
    background: var(--gold-gradient);
    color: white !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ====================================================
   بخش هدر Hero - مدرن ۲۰۲۶
   ==================================================== */
.hero-section {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #fdf8f0 0%, #ffffff 50%, #faf5ec 100%);
}

.hero-section .floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-section .floating-icons span {
    position: absolute;
    font-size: 4rem;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}

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

.hero-section h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.4rem;
    }
}

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

.hero-section .subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 560px;
}

/* ====================================================
   کارت‌های شیشه‌ای (Glassmorphism)
   ==================================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

/* ====================================================
   بخش آمار - مدرن
   ==================================================== */
.stats-section {
    padding: 48px 0;
    background: var(--gold-gradient);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.stats-section .stat-item {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.stats-section .stat-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}

.stats-section .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 6px;
}

/* ====================================================
   ویجت نظرات - مدرن
   ==================================================== */
.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(201, 160, 61, 0.06);
    transition: var(--transition);
    text-align: center;
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.2;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: var(--gray-800);
    line-height: 1.8;
}

/* ====================================================
   ویجت وضعیت - مدرن
   ==================================================== */
.status-widget {
    background: white;
    border-radius: var(--radius);
    padding: 24px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px 48px;
    border: 1px solid rgba(201, 160, 61, 0.08);
    box-shadow: var(--shadow-soft);
}

.status-widget .status-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.status-widget .status-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.status-widget .status-icon.green {
    background: #d1fae5;
}
.status-widget .status-icon.blue {
    background: #dbeafe;
}
.status-widget .status-icon.gold {
    background: var(--gold-light);
}

.status-widget .status-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-widget .status-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-900);
}

/* ====================================================
   فوتر مدرن
   ==================================================== */
.footer-modern {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 24px;
    margin-top: 48px;
}

.footer-modern .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-modern h4 {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-modern p, .footer-modern a {
    font-size: 0.9rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-modern a:hover {
    color: var(--gold);
}

.footer-modern .social-links {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer-modern .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    transition: var(--transition);
    font-size: 1.2rem;
}

.footer-modern .social-links a:hover {
    background: var(--gold-gradient);
    color: white;
    transform: translateY(-3px);
}

.footer-modern .bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ====================================================
   دکمه‌های شناور - مدرن
   ==================================================== */
.floating-buttons {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-buttons a {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.floating-buttons a:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.floating-buttons .whatsapp { background: #25d366; }
.floating-buttons .phone { background: #34a853; }
.floating-buttons .telegram { background: #0088cc; }

/* ====================================================
   ریسپانسیو
   ==================================================== */
@media (max-width: 992px) {
    .navbar-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .mobile-menu.open {
        display: block;
    }
    .hero-section {
        padding: 120px 0 48px;
    }
    .stats-section .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .status-widget {
        padding: 16px 20px;
        gap: 16px;
    }
    .floating-buttons {
        bottom: 16px;
        left: 16px;
    }
    .floating-buttons a {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}