:root {
    --bg-color: #0f0f0f;
    --glass-bg: rgba(30, 30, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-color: #60cdff;
    --accent-glow: rgba(96, 205, 255, 0.3);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --blur-amount: 20px;
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 10% 20%, rgba(96, 205, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(100, 50, 255, 0.08) 0%, transparent 40%);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.8s ease-out;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -5px var(--accent-glow);
}

header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 15px;
    padding: 10px 25px;
    border-radius: 50px;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    animation: slideDown 1s ease forwards;
}

header a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

header a:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px var(--accent-color);
}

section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

h2::before {
    content: '';
    display: block;
    width: 6px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 4px;
    box-shadow: 0 0 15px var(--accent-color);
}

.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 60px;
}

.hero-badge {
    background: rgba(96, 205, 255, 0.1);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(96, 205, 255, 0.2);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #a5d8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.expert-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.expert-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.expert-card h3 {
    font-size: 1.3rem;
}

.expert-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.expert-card ul {
    list-style: none;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.expert-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ddd;
}

.expert-card li::before {
    content: '▹';
    color: var(--accent-color);
}

.system-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.system-item:last-child {
    border-bottom: none;
}

.sys-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.sys-content h4 {
    margin-bottom: 5px;
    color: #fff;
}

.sys-content span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag:hover {
    background: rgba(96, 205, 255, 0.1);
    color: #fff;
    border-color: var(--accent-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--accent-color);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    box-shadow: 0 0 20px var(--accent-color);
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@keyframes slideDown {
    from {
        top: -50px
    }
    to {
        top: 20px
    }
}
