﻿:root {
    --neon-blue: #00f3ff;
    --neon-purple: #b967ff;
    --neon-pink: #ff2a6d;
    --neon-green: #39ff14;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: #1a1a2e;
    --text-glow: 0 0 10px currentColor;
}

@font-face {
    font-family: Iransans;
    src: url('/font/IRANSansWeb.eot');
    src: url('/font/IRANSansWeb.eot?#iefix') format('FontName-opentype'), url('/font/IRANSansWeb.woff') format('woff'), url('/font/IRANSansWeb.woff2') format('woff2'), url('/font/IRANSansWeb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: #ffffff;
    font-family: 'Yekan', 'Iran Sans', Tahoma, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* تایپوگرافی برای سئو */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: Iransans !important;
}

a {
    font-family: Iransans !important;
}

.neon-text {
    color: var(--neon-blue);
    text-shadow: var(--text-glow);
    font-weight: bold;
}

.neon-border {
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue), inset 0 0 15px var(--neon-blue);
}

.glow-effect {
    position: relative;
}

    .glow-effect::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--neon-pink), var(--neon-green));
        border-radius: inherit;
        z-index: -1;
        animation: glowing 3s ease-in-out infinite;
    }

@keyframes glowing {
    0%, 100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* ناوبار بهینه‌شده برای سئو */
.navbar {
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    color: #fff !important;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .nav-link:hover {
        color: var(--neon-blue) !important;
        text-shadow: var(--text-glow);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--neon-blue);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

/* هیرو سکشن بهینه‌شده */
.hero-section {
    min-height: 100vh;
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.1) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 80%, rgba(185, 103, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 42, 109, 0.1) 0%, transparent 50%);
        animation: float 6s ease-in-out infinite;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s ease-in-out infinite;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@keyframes shine {
    0%, 100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(45deg);
    }
}

/* کارت‌های سرویس بهینه‌شده */
.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    height: 100%;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    }

    .service-card:hover {
        transform: translateY(-10px);
        border-color: var(--neon-blue);
        box-shadow: 0 10px 30px rgba(0, 243, 255, 0.3);
    }

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #aec9ca, #1b4b1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* دکمه‌های یکپارچه */
.btn-auth {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: var(--dark-bg);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    font-size: 1rem;
}

    .btn-auth::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.5s ease;
    }

    .btn-auth:hover::before {
        left: 100%;
    }

    .btn-auth:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 243, 255, 0.4);
        color: var(--dark-bg);
    }

.btn-neon {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

    .btn-neon::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.4), transparent);
        transition: left 0.5s ease;
    }

    .btn-neon:hover::before {
        left: 100%;
    }

    .btn-neon:hover {
        background: var(--neon-blue);
        color: var(--dark-bg);
        box-shadow: 0 0 20px var(--neon-blue);
    }

/* بخش‌های مختلف */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: #ccc;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

    .feature-list li {
        padding: 10px 0;
        position: relative;
        padding-right: 30px;
        color: #e0e0e0;
    }

        .feature-list li::before {
            content: '▸';
            position: absolute;
            right: 0;
            color: var(--neon-green);
            text-shadow: var(--text-glow);
            font-weight: bold;
        }

/* انیمیشن‌ها */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--neon-blue);
    }

    50% {
        box-shadow: 0 0 20px var(--neon-blue), 0 0 30px var(--neon-blue);
    }
}

/* فوتر بهینه‌شده */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--neon-blue);
    padding: 3rem 0;
    margin-top: 5rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        color: var(--neon-blue);
        text-shadow: var(--text-glow);
        transform: translateY(-3px);
    }

/* Breadcrumb برای سئو */
.breadcrumb {
    background: transparent;
    padding: 1rem 0;
}

.breadcrumb-item a {
    color: var(--neon-blue);
    text-decoration: none;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        margin: 0.5rem 0;
        padding: 1.5rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .btn-auth, .btn-neon {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.about-image-container {
    position: relative;
}

.image-overlay {
    background: linear-gradient(45deg, rgba(0, 243, 255, 0.1), rgba(185, 103, 255, 0.1));
    border-radius: 15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.about-image-container:hover .image-overlay {
    opacity: 1;
}

.floating-element {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--neon-blue);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 15px var(--neon-blue);
}

.element-1 {
    top: 10%;
    right: 10%;
}

.element-2 {
    bottom: 20%;
    left: 10%;
}

.element-3 {
    top: 50%;
    right: 5%;
}

.stats-container {
    background: rgba(0, 243, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: bold;
}

.feature-item {
    display: flex;
    align-items: center;
    color: #e0e0e0;
}

.mission-card, .vision-card {
    background: rgba(185, 103, 255, 0.05);
    border: 1px solid rgba(185, 103, 255, 0.2);
    height: 100%;
    transition: all 0.3s ease;
}

    .mission-card:hover, .vision-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(185, 103, 255, 0.3);
    }

.team-member {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

    .team-member:hover {
        transform: translateY(-10px);
    }

.member-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* انیمیشن شمارش آمار */
@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.stat-item h4.animated {
    animation: countUp 0.6s ease-out;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stats-container .row {
        gap: 1rem;
    }

    .stat-item {
        margin-bottom: 1rem;
    }
}
