:root {
    --primary-blue: #00a8ff;
    --glow-blue: rgba(0, 168, 255, 0.5);
    --dark-bg: #0d1117;
    --secondary-bg: #161b22;
    --border-color: #30363d;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --success-color: #2ea043;
    --danger-color: #e34c46;
}

.cursor-dot,
.cursor-dot-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 1;
    z-index: 999999;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-blue);
    box-shadow: 0 0 10px var(--glow-blue);
}

.cursor-dot-outline {
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    transition: all 0.2s ease-out;
}

a:hover ~ .cursor-dot,
button:hover ~ .cursor-dot,
[role="button"]:hover ~ .cursor-dot,
.clickable:hover ~ .cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
}

a:hover ~ .cursor-dot-outline,
button:hover ~ .cursor-dot-outline,
[role="button"]:hover ~ .cursor-dot-outline,
.clickable:hover ~ .cursor-dot-outline {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(0, 168, 255, 0.1);
}

html, 
body, 
* {
    cursor: none;
}

@media (hover: none) and (pointer: coarse), (max-width: 768px) {
    .cursor-dot,
    .cursor-dot-outline {
        display: none;
    }
    
    html, 
    body, 
    * {
        cursor: auto;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #0088cc;
    box-shadow: 0 0 10px var(--glow-blue);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) var(--secondary-bg);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 1px 1px, rgba(201, 209, 217, 0.05) 1px, transparent 0);
    background-size: 25px 25px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    transition: 0.5s;
}

button:hover::after {
    left: 100%;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    background: linear-gradient(90deg, #fff, var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

@keyframes underlineGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 15px;
}

.section-description .highlight {
    color: var(--primary-blue);
    font-weight: bold;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}