
/* Base Styles */
body {
    margin: 0;
    padding: 0;
    font-family: "Vazirmatn", sans-serif;
    background: #000;
    overflow-x: hidden;
}

#app {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Background */
#video-cover {
    padding: 0;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

#video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(40%);
    transform: scale(1.05);
}

/* Content Container */
#content {
    width: 90%;
    max-width: 550px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    box-sizing: border-box;
    color: white;
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.8) 0%, rgba(40, 20, 60, 0.7) 100%);
    z-index: 1;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(176, 165, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Title */
#title {
    font-family: "Vazirmatn", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: rgb(200, 190, 255);
    text-align: center;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, rgb(200, 190, 255) 0%, rgb(176, 165, 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Text Section */
#text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: right;
    width: 100%;
    margin-bottom: 40px;
}

#text article {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#text h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(200, 190, 255, 0.95);
    margin: 0 0 12px 0;
    letter-spacing: 0.3px;
}

address {
    font-style: normal;
}

address p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.branches, .contacts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.branches li, .contacts li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    padding-right: 0;
}

.contacts a {
    color: rgb(176, 165, 255);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contacts a:hover {
    color: rgb(200, 190, 255);
    text-decoration: underline;
}

/* Button Container */
#button-container {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.button-wrapper {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Button Styles */
.button {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(176, 165, 255, 0.2) 0%, rgba(176, 165, 255, 0.05) 100%);
    border: 1.5px solid rgba(176, 165, 255, 0.4);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    font-family: "Vazirmatn", sans-serif;
    position: relative;
    overflow: hidden;
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.button:hover {
    background: linear-gradient(135deg, rgba(176, 165, 255, 0.35) 0%, rgba(176, 165, 255, 0.15) 100%);
    border-color: rgba(176, 165, 255, 0.6);
    box-shadow: 0 8px 24px rgba(176, 165, 255, 0.2);
    transform: translateY(-2px);
}

.button:hover::before {
    left: 100%;
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(176, 165, 255, 0.15);
}

.button:focus {
    outline: 2px solid rgba(176, 165, 255, 0.6);
    outline-offset: 2px;
}

/* Tablet: 768px and below */
@media (max-width: 768px) {
    #content {
        width: 90%;
        max-width: 100%;
        margin: 20px;
        padding: 45px 30px;
        border-radius: 16px;
    }

    #title {
        font-size: 2.2rem;
        margin-bottom: 18px;
    }

    #text {
        gap: 20px;
        margin-bottom: 30px;
    }

    #text h2 {
        font-size: 1.1rem;
    }

    address p, .branches li, .contacts li {
        font-size: 0.9rem;
    }

    #button-container {
        gap: 12px;
    }

    .button {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .description {
        font-size: 0.85rem;
    }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
    body {
        overflow-y: auto;
    }

    #app {
        min-height: auto;
        padding: 20px 0;
    }

    #video-cover {
        height: 100vh;
    }

    #content {
        width: 95%;
        margin: 40px auto;
        padding: 35px 20px;
        border-radius: 14px;
        max-width: none;
    }

    #title {
        font-size: 1.7rem;
        margin-bottom: 12px;
        letter-spacing: 0px;
    }

    #text {
        gap: 16px;
        margin-bottom: 25px;
    }

    #text article {
        gap: 10px;
    }

    #text h2 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    address p, .branches li, .contacts li {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    #button-container {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .button-wrapper {
        width: 100%;
    }

    .button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .description {
        font-size: 0.8rem;
    }
}

/* Small Mobile: 320px and below */
@media (max-width: 320px) {
    #content {
        padding: 25px 15px;
        margin: 30px auto;
    }

    #title {
        font-size: 1.4rem;
    }

    #text h2 {
        font-size: 0.95rem;
    }

    address p, .branches li, .contacts li {
        font-size: 0.8rem;
    }

    .button {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .button {
        transition: none;
    }

    .button::before {
        display: none;
    }
}
