/* ========================================
   ✅ EASY SITE - Elite 2025 (Updated for Full Font Readability)
   الهام از Apple (Liquid Glass), Stripe (bold gradients), Airbnb (immersive hero), Awwwards (3D cards)
   تغییرات: فونت‌های کاملاً روشن‌تر برای خوانایی در پس‌زمینه تیره
   ======================================== */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* متغیرهای پیشرفته با کنتراست بسیار بالا */
:root {
    --bg: linear-gradient(145deg, #0d1022 0%, #1c223f 100%); /* Aurora-inspired */
    --card: rgba(20, 25, 40, 0.65); /* Glass-neo hybrid */
    --text: #f0f6ff; /* بسیار روشن (سفید ملایم با کنتراست بالا) */
    --text-muted: #d0e0ff; /* بسیار روشن برای متون ثانویه */
    --blue: #66b0ff; /* Neon blue */
    --blue-light: #b3d4ff; /* روشن‌تر برای hover */
    --green: #3ee8c8; /* Vibrant green */
    --purple: #a17bff; /* Deep purple */
    --purple-light: #d4c1ff; /* روشن‌تر */
    --glow: 0 0 20px rgba(102, 176, 255, 0.5); /* Neon glow */
    --neo-shadow: 8px 8px 20px rgba(0, 0, 0, 0.4), -8px -8px 20px rgba(255, 255, 255, 0.06);
    --blur: blur(30px); /* Deep glass */
    --transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1); /* Ultra-fluid */
    --radius-xl: 48px;
    --font-variable: 'Inter', 'Vazir', sans-serif;
}

/* ریست پیشرفته */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: var(--transition);
}

body {
    font-family: var(--font-variable);
    background: var(--bg);
    color: var(--text); /* تمام بدنه روشن‌تر */
    line-height: 1.9;
    direction: rtl;
    padding-top: 110px;
    overflow-x: hidden;
    min-height: 100vh;
    font-variation-settings: 'wght' 500;
}

.container {
    max-width: 1400px;
    padding: 0 15px;
    margin: 0 auto;
}

/* --- Navbar --- */
/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important; /* ⚠️ تمامی رنگ پس‌زمینه حذف شد */
    backdrop-filter: var(--blur); /* 🔸 فیلتر گلاسی */
    box-shadow: var(--neo-shadow); /* 🔸 سایه نئونی */
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.4s ease; /* 🔸 تغییرات نرم */
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(62, 232, 200, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar.scrolled {
    background: rgba(20, 25, 40, 0.8) !important; /* 🔸 وقتی اسکرول می‌کنید، کمی تیره‌تر می‌شه */
    backdrop-filter: var(--blur);
    box-shadow: var(--neo-shadow);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 2rem;
    font-variation-settings: 'wght' 900;
    color: var(--blue) !important;
    letter-spacing: -1.5px;
}

.navbar-brand small {
    color: var(--purple-light) !important;
    font-size: 0.8rem !important;
    padding: 0.3rem 1rem;
    border-radius: 60px;
    background: rgba(161, 123, 255, 0.2);
    box-shadow: var(--glow);
}

.navbar-brand:hover small {
    background: rgba(62, 232, 200, 0.3);
    transform: scale(1.15) translateY(-3px);
}

@media (max-width: 991.98px) {
    .navbar-nav {
        flex-direction: column;
        margin-top: 1rem;
        gap: 0.5rem;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(20, 25, 40, 0.95);
        padding: 1rem;
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        box-shadow: var(--neo-shadow);
        z-index: 1001;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .navbar-collapse.show {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-toggler {
    display: block !important;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    z-index: 1002;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-nav .nav-link {
    color: var(--text);
    font-variation-settings: 'wght' 600;
    margin: 0.5rem 0;
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--blue-light);
    text-shadow: var(--glow);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}
/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, rgba(102, 176, 255, 0.2), rgba(161, 123, 255, 0.2));
    padding: 90px 0 70px;
    min-height: 45vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    box-shadow: var(--neo-shadow);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 0 20px;
    transform-style: preserve-3d;
    animation: reveal-hero 1.8s ease-out;
}

@keyframes reveal-hero {
    from { opacity: 0; transform: translateY(40px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-title {
    font-size: 3rem;
    font-variation-settings: 'wght' 900;
    background: linear-gradient(45deg, var(--blue), var(--purple));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--glow);
    animation: aurora-glow 5s ease-in-out infinite alternate;
}

@keyframes aurora-glow {
    from { text-shadow: 0 0 20px var(--blue); }
    to { text-shadow: 0 0 60px var(--purple-light); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text); /* روشن‌تر */
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-variation-settings: 'wght' 400;
}

.hero-buttons .btn {
    margin: 0 10px;
    min-width: 180px;
    padding: 12px 30px;
    font-variation-settings: 'wght' 700;
    font-size: 1rem;
    border-radius: 60px;
    box-shadow: var(--neo-shadow);
    backdrop-filter: var(--blur);
}

/* --- Services --- */
.services-section {
    background: var(--bg);
    padding: 70px 0;
}

.section-title {
    font-size: 2rem;
    color: var(--text); /* روشن‌تر */
    font-variation-settings: 'wght' 800;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted); /* روشن‌تر */
}

.service-card {
    background: var(--card);
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--neo-shadow);
    text-align: center;
    backdrop-filter: var(--blur);
    transform: perspective(1200px);
}

.service-card:hover {
    transform: perspective(1200px) translateY(-15px) rotate(2deg);
    box-shadow: var(--neo-shadow), var(--glow);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 0.9rem;
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--blue-light);
}

.service-title {
    color: var(--text); /* روشن‌تر */
    font-size: 1.2rem;
}

.service-description {
    color: var(--text-muted); /* روشن‌تر */
    font-size: 0.9rem;
}

/* --- Why Choose Us --- */
.why-us-section {
    background: linear-gradient(to right, #0f1220, #1c223f) !important;
    padding: 70px 0;
}

.feature-item {
    padding: 1.5rem 1.25rem;
    background: var(--card) !important;
    border-radius: var(--radius-xl);
    box-shadow: var(--neo-shadow);
    backdrop-filter: var(--blur);
}

.feature-item:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: var(--neo-shadow), var(--glow);
}

.feature-title {
    color: var(--text); /* روشن‌تر */
    font-size: 1.1rem;
}

/* --- CTA --- */
.contact-cta-section {
    background: linear-gradient(135deg, rgba(102, 176, 255, 0.2), rgba(161, 123, 255, 0.2));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--neo-shadow);
}

.contact-cta-section::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blue-light) 10%, transparent 70%);
    animation: pulse-aurora 12s infinite ease-in-out;
}

@keyframes pulse-aurora {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.3); opacity: 0.6; }
    100% { transform: scale(1); opacity: 0.3; }
}

.cta-title {
    color: var(--text); /* روشن‌تر */
    font-size: 1.8rem;
}

.cta-subtitle {
    color: var(--text-muted); /* روشن‌تر */
    font-size: 1rem;
}

/* --- Contact --- */
.card-title,
.card-text,
.form-label,
.alert {
    color: var(--text); /* روشن‌تر */
}

.card-text.text-secondary {
    color: var(--text-muted) !important; /* روشن‌تر */
}

/* --- Footer --- */
.footer {
    background: linear-gradient(to bottom, #0b0d1a, #1c223f);
    color: var(--text-muted); /* روشن‌تر */
    padding: 60px 0 25px;
    box-shadow: var(--neo-shadow);
}

.footer-title,
.footer-text,
.footer-links a {
    color: var(--text); /* روشن‌تر */
    font-size: 1rem;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    border: none;
    box-shadow: var(--neo-shadow), var(--glow);
}