/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', 'Inter', sans-serif;
    background: #0b1120;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===== اسکرول بار ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #111c2e;
}
::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2dd4bf;
}

/* ===== انیمیشن‌ها ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-24px) rotate(3deg); }
}
@keyframes floatReverse {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(18px) rotate(-3deg); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.25); }
    50% { box-shadow: 0 0 60px rgba(0, 212, 255, 0.5), 0 0 100px rgba(0, 212, 255, 0.15); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
    50% { text-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.3); }
}
@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== کلاس‌های کمکی ===== */
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-reverse { animation: floatReverse 5s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-gradient { background-size: 300% 300%; animation: gradient-shift 5s ease infinite; }
.animate-glow-text { animation: glowPulse 2.5s ease-in-out infinite; }

.gradient-text {
    background: linear-gradient(135deg, #00d4ff, #2dd4bf, #fbbf24, #00d4ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

.hero-gradient {
    background: radial-gradient(ellipse at 30% 20%, rgba(0, 212, 255, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 60%, rgba(45, 212, 191, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 100%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
                #0b1120;
}

.glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-light {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-blur {
    backdrop-filter: blur(28px);
    background: rgba(11, 17, 32, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.btn-glow {
    transition: all 0.3s ease;
}
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.35), 0 0 60px rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
}

.card-hover {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-hover:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 212, 255, 0.2);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ===== استایل‌های اختصاصی بخش‌ها ===== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 212, 255, 0.3), transparent);
}

.section-divider-bottom {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 212, 255, 0.15), transparent);
}

/* ===== تایپوگرافی ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ===== فرم‌ها ===== */
.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    width: 100%;
    transition: all 0.3s ease;
}
.form-input:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
    outline: none;
}
.form-input::placeholder {
    color: #71717a;
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== مدال ===== */
.modal-overlay {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem !important;
    }
    .glass {
        padding: 1rem !important;
    }
}