@font-face {
    font-family: Vazirmatn;
    src: url('assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --text-color: #1a1a1a;
    --background-start: #fcf8f3;
    --background-end: #f4e9df;
    --button-color: #ffffff;
    --accent-color: #4a4a4a;
    --brand-color: #8B4513;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- Dynamic Background Animation --- */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body {
    font-family: 'Vazirmatn', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    direction: rtl;
    background: linear-gradient(-45deg, var(--background-start), var(--background-end), var(--background-start));
    background-size: 300% 300%;
    animation: gradientShift 25s ease infinite;
}

.main-content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.container {
    width: 90%;
    max-width: 450px;
    padding: 20px 0;
}

/* --- Logo Section --- */
.logo-section {
    margin-bottom: 40px;
}

.logo-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-svg {
    width: 100px;
    height: 100px;
    display: block;
}

.brand-title {
    color: var(--text-color);
    font-size: 2.2rem;
    margin: 0;
    font-weight: 900;
}

.brand-slogan {
    color: var(--accent-color);
    font-size: 1.0rem;
    margin-top: 5px;
    font-weight: 300;
}

/* --- Buttons Section --- */
.buttons-section a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--button-color);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 16px 25px;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
    border: 1px solid #e0e0e0;
    box-shadow: var(--shadow);
}

/* New Class for Button SVG Icons */
.btn-svg {
    width: 1.4em;
    height: 1.4em;
    margin-left: 10px;
    /* Space to the left because of RTL direction */
    fill: var(--text-color);
    /* Default color matches text */
    transition: fill 0.2s;
}

.buttons-section a:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Hover Colors for specific buttons */
.btn-instagram:hover .btn-svg {
    fill: #E1306C;
}

.btn-telegram:hover .btn-svg {
    fill: #0088CC;
}

.btn-call:hover .btn-svg {
    fill: #4CAF50;
}

/* --- Footer --- */
.footer {
    width: 100%;
    padding: 20px 0;
    margin-top: 30px;
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid #eee;
}

.developer-link {
    display: block;
    margin-top: 10px;
}

.footer-svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #777;
    transition: fill 0.2s;
    margin-left: 0;
    /* No margin needed for standalone icon */
}

.developer-link:hover .footer-svg {
    fill: var(--text-color);
}

/* --- Responsiveness --- */
@media (max-width: 480px) {
    .brand-title {
        font-size: 2rem;
    }

    .brand-slogan {
        font-size: 0.9rem;
    }

    .buttons-section a {
        font-size: 1rem;
        padding: 14px 20px;
    }
}