/* --- CSS Reset --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* --- Font Definitions --- */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 400;
    src: url('assets/Vazirmatn-FD-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 700;
    src: url('assets/Vazirmatn-FD-Regular.woff2') format('woff2');
    font-display: swap;
}

/* --- Document Setup --- */
html, body {
    height: 100%;
    width: 100%;
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f8f9ff;
    color: #0b1c30;
    overflow: hidden;
    line-height: 1;
}

/* --- Layout --- */
.app-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Background Layer --- */
.bg-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.bg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(248, 249, 255, 0.8), transparent, rgba(248, 249, 255, 0.8));
}

/* --- Content Layer --- */
.content-layer {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-container {
    margin-bottom: 48px; /* Desktop margin spacing */
    width: 200px;
    height: auto;
}

.logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- Button Component --- */
.btn-action {
    background-color: #00afc1;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 16px; /* rounded-2xl */
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 44px;
    text-decoration: none;
    box-shadow: 0 20px 50px rgba(0, 175, 193, 0.3);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.btn-action:hover {
    filter: brightness(1.1);
    box-shadow: 0 25px 60px rgba(0, 175, 193, 0.4);
}

.btn-action:active {
    transform: scale(0.95);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.btn-icon img {
    max-width: 20px;
    height: auto;
}

/* Slide arrow to the left on hover (RTL directional animation) */
.btn-action:hover .btn-icon {
    transform: translateX(-8px);
}