﻿@font-face {
    font-family: Bzar;
    src: url("/_content/TBVB.VideoChat.WebServerApp.Web.Shared/font/BZar.woff") format("woff"),url("/_content/TBVB.VideoChat.WebServerApp.Web.Shared/font/BZar.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Bzar, Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #2a4d8e, #3a70b0);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    direction: ltr;
    overflow-x: hidden;
}

.welcome-container {
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    min-height: 80vh;
    margin: 0 auto;
}

/* بخش چپ - گرافیک و وکتور */
.graphics-section {
    flex: 1;
    background: linear-gradient(135deg, #1a5fb4, #3584e4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

    .graphics-section::before {
        content: '';
        position: absolute;
        width: 300%;
        height: 300%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
        background-size: 30px 30px;
        animation: float 20s linear infinite;
    }

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-100px, -100px) rotate(360deg);
    }
}

.vector-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.video-icon {
    font-size: 180px;
    color: rgba(255, 255, 255, 0.9);
    position: absolute;
    animation: pulse 2s infinite alternate;
}

.shield-icon {
    font-size: 120px;
    color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 50px;
    left: 50px;
    animation: float-shield 4s infinite ease-in-out;
}

.connection-icon {
    font-size: 100px;
    color: rgba(255, 255, 255, 0.7);
    position: absolute;
    bottom: 50px;
    right: 50px;
    animation: float-connection 5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

@keyframes float-shield {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float-connection {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }

    50% {
        transform: translateX(15px) rotate(-5deg);
    }
}

.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-dots 15s infinite linear;
}

@keyframes float-dots {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(20px, 20px);
    }

    50% {
        transform: translate(0, 40px);
    }

    75% {
        transform: translate(-20px, 20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.graphics-text {
    text-align: center;
    margin-top: 30px;
    color: white;
    z-index: 2;
}

    .graphics-text h3 {
        font-size: 22px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .graphics-text p {
        font-size: 14px;
        opacity: 0.9;
        max-width: 300px;
    }

/* بخش راست - متن خوش‌آمد */
.welcome-section {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

    .logo i {
        font-size: 36px;
        color: #1a5fb4;
        margin-left: 15px;
    }

    .logo h1 {
        font-size: 28px;
        color: #1a5fb4;
        font-weight: 700;
    }

.welcome-title {
    font-size: 36px;
    color: #1a2a6c;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 20px;
}

    .welcome-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100px;
        height: 4px;
        background: linear-gradient(to left, #1a5fb4, #3584e4);
        border-radius: 2px;
    }

.welcome-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.highlight {
    color: #1a5fb4;
    font-weight: 600;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-right: 3px solid #1a5fb4;
    transition: all 0.3s ease;
}

    .feature-item:hover {
        background: #f0f7ff;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(26, 95, 180, 0.1);
    }

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a5fb4, #3584e4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.feature-text h4 {
    color: #1a2a6c;
    font-size: 16px;
    margin-bottom: 5px;
}

.feature-text p {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.btn {
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #1a5fb4, #3584e4);
    color: white;
    flex: 2;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #164a94, #2a6dc7);
        box-shadow: 0 10px 25px rgba(26, 95, 180, 0.3);
        transform: translateY(-2px);
    }

.btn-secondary {
    background: #f8f9fa;
    color: #1a5fb4;
    border: 1px solid #ddd;
    flex: 1;
}

    .btn-secondary:hover {
        background: #e9ecef;
        transform: translateY(-2px);
    }

.security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 15px;
    background: #f0f7ff;
    border-radius: 10px;
    border: 1px solid #d0e3ff;
}

    .security-badge i {
        color: #1a5fb4;
        font-size: 20px;
    }

    .security-badge span {
        color: #1a2a6c;
        font-size: 14px;
        font-weight: 500;
    }

/* ریسپانسیو */
@media (max-width: 992px) {
    .welcome-container {
        flex-direction: column;
        max-width: 600px;
    }

    .graphics-section {
        min-height: 300px;
        padding: 30px;
    }

    .vector-container {
        height: 200px;
    }

    .video-icon {
        font-size: 120px;
    }

    .shield-icon {
        font-size: 80px;
        top: 30px;
        left: 30px;
    }

    .connection-icon {
        font-size: 70px;
        bottom: 30px;
        right: 30px;
    }

    .welcome-section {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .features {
        grid-template-columns: 1fr;
    }

    .welcome-title {
        font-size: 28px;
    }

    .welcome-subtitle {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .graphics-text h3 {
        font-size: 18px;
    }

    .graphics-text p {
        font-size: 13px;
    }
}
/*menuitem loading*/
.modern-loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 42, 108, 0.65), rgba(42, 77, 142, 0.65), rgba(58, 112, 176, 0.65));
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

    .modern-loading.active {
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 1;
    }

.loading-center {
    text-align: center;
    max-width: 600px;
    width: 90%;
}

/* ????????? ???? ????? */
.color-circles {
    width: 280px;
    height: 280px;
    margin: 0 auto 50px;
    position: relative;
}

.circle {
    position: absolute;
    border-radius: 50%;
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-iteration-count: infinite;
}

/* ????? ?????? ???? - ??? */
.circle-outer {
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top: 4px solid #1a5fb4;
    border-right: 4px solid #3584e4;
    border-bottom: 4px solid #1a5fb4;
    border-left: 4px solid #3584e4;
    animation: rotate 4s linear infinite;
    box-shadow: 0 0 30px rgba(53, 132, 228, 0.4);
}

/* ????? ????? - ????????? */
.circle-middle {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border: 4px solid transparent;
    border-top: 4px solid #4fa9ff;
    border-right: 4px solid #1a5fb4;
    border-bottom: 4px solid #4fa9ff;
    border-left: 4px solid #1a5fb4;
    animation: rotateReverse 3s linear infinite;
    box-shadow: 0 0 25px rgba(79, 169, 255, 0.3);
}

/* ????? ????? - ???? */
.circle-inner {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border: 4px solid transparent;
    border-top: 4px solid #ffffff;
    border-right: 4px solid #4fa9ff;
    border-bottom: 4px solid #ffffff;
    border-left: 4px solid #4fa9ff;
    animation: rotate 2s linear infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* ???????? ????? ???? */
.orbiting-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.orbiting-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: orbitDot 6s linear infinite;
    box-shadow: 0 0 15px currentColor;
}

    .orbiting-dot:nth-child(1) {
        background: linear-gradient(135deg, #1a5fb4, #3584e4);
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        animation-delay: 0s;
    }

    .orbiting-dot:nth-child(2) {
        background: linear-gradient(135deg, #4fa9ff, #1a5fb4);
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        animation-delay: -1.5s;
    }

    .orbiting-dot:nth-child(3) {
        background: linear-gradient(135deg, #ffffff, #4fa9ff);
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        animation-delay: -3s;
    }

    .orbiting-dot:nth-child(4) {
        background: linear-gradient(135deg, #3584e4, #ffffff);
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        animation-delay: -4.5s;
    }

/* ????????? ???? ????? */
.floating-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    animation: floatCircle 8s ease-in-out infinite;
    opacity: 0.6;
}

    .floating-circle:nth-child(1) {
        width: 30px;
        height: 30px;
        background: rgba(26, 95, 180, 0.4);
        top: 10%;
        left: 20%;
        animation-delay: 0s;
    }

    .floating-circle:nth-child(2) {
        width: 20px;
        height: 20px;
        background: rgba(53, 132, 228, 0.4);
        bottom: 15%;
        right: 25%;
        animation-delay: -2s;
    }

    .floating-circle:nth-child(3) {
        width: 25px;
        height: 25px;
        background: rgba(79, 169, 255, 0.4);
        top: 30%;
        right: 10%;
        animation-delay: -4s;
    }

    .floating-circle:nth-child(4) {
        width: 18px;
        height: 18px;
        background: rgba(255, 255, 255, 0.4);
        bottom: 25%;
        left: 15%;
        animation-delay: -6s;
    }

/* ????? ????? */
.center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
    animation: iconPulse 2s ease-in-out infinite;
    z-index: 10;
}

    .center-icon i {
        font-size: 28px;
        color: #1a5fb4;
    }

/* ??? ?????? */
.loading-message {
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    animation: textGlow 2s ease-in-out infinite;
}

.loading-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.8;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

/* ???? ?????? */
.btn.loading {
    position: relative;
    overflow: hidden;
}

    .btn.loading .btn-text {
        opacity: 0;
    }

    .btn.loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 25px;
        height: 25px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-top-color: white;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

/* ?????????? */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateReverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes orbitDot {
    0% {
        transform: translateX(-50%) translateY(-50%) rotate(0deg) translateX(140px) rotate(0deg);
    }

    100% {
        transform: translateX(-50%) translateY(-50%) rotate(360deg) translateX(140px) rotate(-360deg);
    }
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(20px, -20px);
    }

    50% {
        transform: translate(-15px, 15px);
    }

    75% {
        transform: translate(10px, -10px);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 60px rgba(255, 255, 255, 1);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        transform: scale(1);
    }

    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
        transform: scale(1.02);
    }
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}