* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: #FFFFFF;
    color: #212529;
    text-align: center;
    padding: 80px 20px 60px;
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ========== هدر مشابه صفحه اصلی ========== */
.tech-header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E9ECEF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    color: #4A90E2;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    font-weight: 800;
}

.logo:hover {
    transform: scale(1.05);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4A90E2;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    font-size: clamp(0.85rem, 3.5vw, 1rem);
}

.back-link:hover {
    background: #3A7BC8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.back-link i {
    font-size: 0.9rem;
}

/* ========== کانتینر اصلی ========== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    background: #F8F9FA;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #E9ECEF;
    transition: transform 0.3s, box-shadow 0.3s;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #4A90E2;
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: #4A90E2;
    border-radius: 3px;
}

.content-text {
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

p {
    font-size: clamp(0.95rem, 4vw, 1.05rem);
    line-height: 1.9;
    margin-bottom: 18px;
    color: #212529;
    text-align: justify;
}

.highlight {
    color: #4A90E2;
    font-weight: 600;
}

b, strong {
    color: #4A90E2;
    font-weight: 700;
}

/* ========== فوتر ========== */
.tech-footer {
    background: #F8F9FA;
    margin-top: 3rem;
    text-align: center;
    padding: 20px 16px;
    font-size: clamp(0.75rem, 3vw, 0.9rem);
    color: #6C757D;
    border-top: 1px solid #E9ECEF;
}

.footer-copyright {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #212529;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid #E9ECEF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.05);
    background: #4A90E2;
    color: white;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
    border-color: #4A90E2;
}

.social-links a.instagram:hover { background: radial-gradient(circle at 30% 110%, #feda77, #d62976, #962fbf, #4f5bd5); }
.social-links a.github:hover { background: #333; }
.social-links a.linkedin:hover { background: #0077b5; }
.social-links a.youtube:hover { background: #ff0000; }
.social-links a.telegram:hover { background: #26a5e4; }

/* ========== ستاره‌های تزئینی ========== */
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #4A90E2;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out alternate;
    pointer-events: none;
    opacity: 0.4;
}

@keyframes twinkle {
    from {
        opacity: 0.1;
        transform: scale(1);
    }
    to {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

/* ========== اسکرول بار ========== */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #F8F9FA;
}
::-webkit-scrollbar-thumb {
    background: #4A90E2;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3A7BC8;
}

/* ========== ریسپانسیو ========== */
@media (max-width: 768px) {
    body {
        padding: 70px 16px 40px;
    }
    .container {
        padding: 25px 20px;
    }
    h1 {
        margin-bottom: 20px;
    }
    p {
        line-height: 1.8;
    }
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    body {
        padding: 65px 14px 35px;
    }
    .container {
        padding: 20px 16px;
        border-radius: 18px;
    }
    h1 {
        margin-bottom: 16px;
    }
    p {
        font-size: 0.9rem;
        line-height: 1.75;
    }
    .back-link {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 60px 12px 30px;
    }
    .container {
        padding: 18px 14px;
        border-radius: 16px;
    }
    h1 {
        font-size: 1.6rem;
    }
    p {
        font-size: 0.85rem;
        line-height: 1.7;
    }
    .back-link {
        padding: 7px 14px;
        font-size: 0.75rem;
    }
}

@media (min-width: 1400px) {
    body {
        padding: 90px 20px 70px;
    }
    .container {
        max-width: 1300px;
        padding: 50px 40px;
    }
    h1 {
        font-size: 3rem;
        margin-bottom: 30px;
    }
    p {
        font-size: 1.15rem;
        line-height: 2;
    }
    .social-links a {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}

@media (max-width: 800px) and (orientation: landscape) {
    body {
        padding: 60px 16px 30px;
    }
    .container {
        padding: 20px;
    }
    h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}