

html, body {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}
*, ::after, ::before {
    box-sizing: inherit;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* این باعث میشه نوبار روی تیتر سکشن‌ها رو نپوشونه */
}
body {
            font-family: 'Vazirmatn', sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            min-height: 100vh;
        }
        
        .navbar {
            background: rgba(26, 26, 46, 0.95) !important;
            backdrop-filter: blur(10px);
        }
        
        .navbar-brand {
            background: linear-gradient(45deg, #00d9ff, #00ff88);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
        }
        
        .nav-link {
            transition: all 0.3s ease;
        }
        
        .nav-link:hover {
            color: #00d9ff !important;
        }
        
        .aks {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid #00d9ff;
            box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
            transition: all 0.3s ease;
        }
        
        .aks:hover {
            transform: scale(1.05);
            box-shadow: 0 0 50px rgba(0, 217, 255, 0.6);
        }
        
        .gradient-text {
            background: linear-gradient(45deg, #fff, #00d9ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .glass-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }
        
        .glass-card:hover {
            transform: translateY(-5px);
            border-color: #00d9ff;
            box-shadow: 0 15px 40px rgba(0, 217, 255, 0.2);
        }
        
        .skill-item {
            background: linear-gradient(135deg, rgba(0,217,255,0.15), rgba(0,255,136,0.1));
            border-radius: 12px;
            padding: 15px 20px;
            margin-bottom: 10px;
            border: 1px solid rgba(0,217,255,0.2);
            transition: all 0.3s ease;
        }
        
        .skill-item:hover {
            transform: translateX(10px);
            border-color: #00d9ff;
        }
        
        .project-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 15px;
            transition: all 0.4s ease;
        }
        
        .project-img:hover {
            transform: scale(1.03) rotate(1deg);
            box-shadow: 0 15px 40px rgba(0,255,136,0.3);
        }
        
        .contact-btn {
            width: 60px;
            height: 60px;
            background: linear-gradient(45deg, #00d9ff, #00ff88);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: #1a1a2e;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(0,217,255,0.4);
        }
        
        .contact-btn:hover {
            transform: scale(1.1) rotate(10deg);
box-shadow: 0 10px 30px rgba(0,217,255,0.6);
        }
        
        .social-icon {
            width: 45px;
            height: 45px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .social-icon:hover {
            background: linear-gradient(45deg, #00d9ff, #00ff88);
            transform: translateY(-5px);
            color: #1a1a2e;
        }
        
        .section-title {
            position: relative;
            display: inline-block;
            margin-bottom: 30px;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, #00d9ff, #00ff88);
            border-radius: 2px;
        }
        
        @media (max-width: 768px) {
            .aks {
                width: 140px;
                height: 140px;
            }
        }
button.callme{
    position: fixed;
    z-index: 9999;
    bottom: 10px;
    right: 10px;
    background-color: rgb(92, 216, 222);
    border-radius: 100%;
    width: 5rem;
    height: 5rem;
    border: none;
}
button.callme:hover{
 box-shadow: 0px 0px 1rem rgb(240, 240, 240);
}
/* استایل نظرات مشتریان */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.customer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0dcaf0;
}
/* استایل آمار و ارقام */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.stat-card h3 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #0dcaf0, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.spok{
    text-align: justify;
}

.contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 65px;
    height: 65px;
    background: linear-gradient(45deg, #0578f8, #0dcaf0);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,217,255,0.4);
}

.contact-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 30px rgba(17, 67, 44, 0.6);
}

/* ===== بخش تعرفه‌ها ===== */
.pricing-toggle {
    width: 46px;
    height: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #00d9ff, #00ff88);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.4);
}

.pricing-toggle-circle {
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    right: 4px;
    transition: transform 0.3s ease;
}

.price-card {
    border-radius: 20px;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-8px);
}

.price-card-featured {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(0, 255, 136, 0.1) 100%);
    border: 1px solid rgba(0, 217, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.2);
    transform: scale(1.05);
}

.price-card-featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.3);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
}

.featured-badge .badge {
    background: linear-gradient(45deg, #00d9ff, #00ff88);
    color: #1a1a2e;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

.price-number {
    font-size: 2rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .price-card-featured {
        transform: scale(1);
    }
    .price-card-featured:hover {
        transform: translateY(-8px);
    }
}


@media(max-width:576px){.profile .btn{display:block;width:100%;margin:10px 0!important}.project-img{height:140px}.contact-btn{width:58px;height:58px;bottom:15px;right:15px}.glass-card{padding:1.2rem!important}.display-3{font-size:2.3rem!important}}
.section-title::after{display:none!important}.feature-list li{list-style:none;margin-bottom:8px}.price-card,.price-card-featured{height:100%}
.no-line::after{
    display:none !important;
}

/* ========================================
   🎬 ANIMATIONS - Loading, Particles, Scroll, Typing
   ======================================== */

/* ---------- Loading Screen ---------- */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0f0f1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00d9ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    animation: logoPulse 1.2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.08); opacity: 0.8; }
}

.loader-bar-wrap {
    width: 220px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00d9ff, #00ff88);
    border-radius: 4px;
    animation: loadBar 2s ease forwards;
}

@keyframes loadBar {
    0%   { width: 0%; }
    100% { width: 100%; }
}

.loader-text {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* ---------- Particle Canvas ---------- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* اطمینان از اینکه محتوا بالای canvas باشه */
nav, section, footer, .modal {
    position: relative;
    z-index: 1;
}

/* ---------- Typing Effect ---------- */
.typing-wrapper {
    display: inline-block;
    min-height: 1.2em;
}

#typing-text {
    border-left: 3px solid #00d9ff;
    padding-left: 4px;
    animation: blink 0.8s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes blink {
    0%, 100% { border-color: #00d9ff; }
    50%       { border-color: transparent; }
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* تاخیر cascade برای کارت‌ها */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Hero entrance ---------- */
.hero-animate {
    animation: heroFadeIn 1s ease forwards;
    opacity: 0;
}

.hero-animate-delay {
    animation: heroFadeIn 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-animate-delay2 {
    animation: heroFadeIn 1s ease 0.8s forwards;
    opacity: 0;
}

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

/* ---------- Navbar entrance ---------- */
.navbar {
    animation: navSlideDown 0.6s ease forwards;
}

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

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, ::after, ::before {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    #particle-canvas { display: none; }
}