@font-face {
    font-family: 'iranyekan';
    src: url('font/woff/iranyekanwebregularfanum.woff') format('woff');
    font-weight: normal;
}
@font-face {
    font-family: 'iranyekan';
    src: url('font/woff/iranyekanwebboldfanum.woff') format('woff');
    font-weight: bold;
}

:root {
    --bg-main: #07111f;
    --bg-secondary: #0c1729;
    --surface: rgba(255,255,255,0.08);
    --surface-strong: rgba(255,255,255,0.12);
    --border: rgba(255,255,255,0.14);
    --text1: #ffffff;
    --text2: #b7c3d9;
    --text3: #8ea0bd;
    --link: #66a6ff;
    --primary: linear-gradient(135deg, #006cff, #00c6ff);
    --secondary: linear-gradient(135deg, #7b61ff, #a855f7);
    --success: #19c37d;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 20px 50px rgba(0,0,0,0.28);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'iranyekan', Tahoma, system-ui, -apple-system, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top right, rgba(0,108,255,0.15), transparent 25%),
        radial-gradient(circle at bottom left, rgba(123,97,255,0.18), transparent 30%),
        linear-gradient(135deg, #050c17, #091220 35%, #0d1830 100%);
    color: var(--text1);
    font-size: 15px;
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--link);
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.site-wrapper {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 40px;
}

.glass {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.topbar {
    border-radius: var(--radius-xl);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: sticky;
    top: 14px;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.06));
    padding: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
    animation: floatY 4s ease-in-out infinite;
}

.brand-text h1 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 2px;
}

.brand-text span {
    color: var(--text2);
    font-size: 13px;
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 13px;
}

.mini-badge.danger {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.35);
    color: #ffc2c2;
}

.pulse {
    animation: pulse 2s infinite;
}

.main-content {
    margin-top: 30px;
}

.hero-content {
    text-align: center;
    margin-bottom: 32px;
}

.hero-badge,
.section-badge {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #d9e8ff;
    background: rgba(102,166,255,0.12);
    border: 1px solid rgba(102,166,255,0.2);
}

.hero-content h2 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.4;
    margin-bottom: 14px;
}

.hero-content p {
    color: var(--text2);
    max-width: 760px;
    margin: 0 auto;
    font-size: 15px;
}

.single-auth-wrap {
    max-width: 620px;
    margin: 0 auto;
}

.auth-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 28px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.auth-card:hover,
.feature-card:hover,
.info-card:hover,
.panel-box:hover,
.action-card:hover,
.profile-sidebar:hover,
.welcome-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.card-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0,198,255,0.24), transparent 65%);
    top: -60px;
    left: -40px;
    filter: blur(10px);
    pointer-events: none;
}

.auth-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text2);
    font-size: 14px;
    margin-bottom: 18px;
}

.alert {
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 14px;
    border: 1px solid transparent;
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.22);
    color: #ffd0d0;
}

.alert-success {
    background: rgba(25, 195, 125, 0.12);
    border-color: rgba(25, 195, 125, 0.22);
    color: #b8f5d8;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #edf4ff;
    font-size: 14px;
}

.input-wrap {
    position: relative;
    direction: ltr;
}

.input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: .85;
}

.input-wrap input {
    width: 100%;
    height: 54px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-radius: 16px;
    padding: 0 48px 0 16px;
    outline: none;
    transition: .3s ease;
    font-size: 14px;
}

.input-wrap input::placeholder {
    color: #9fb0cb;
}

.input-wrap input:focus {
    border-color: rgba(102,166,255,0.65);
    box-shadow: 0 0 0 4px rgba(0,108,255,0.12);
    background: rgba(255,255,255,0.09);
}

.auth-note {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px dashed rgba(255,255,255,0.14);
    color: var(--text2);
    font-size: 13px;
}

.auth-actions {
    margin-top: 8px;
}

.btn {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: .35s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: translateX(-100%);
    transition: transform .7s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
}

.btn-primary {
    background: var(--primary);
}

.btn-secondary {
    background: var(--secondary);
}

.sidebar-btn {
    margin-top: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.single-grid {
    margin-top: 24px;
}

.feature-card {
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: .35s ease;
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    margin-bottom: 16px;
    font-size: 24px;
    animation: floatY 3.5s ease-in-out infinite;
}

.feature-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-card p {
    color: var(--text2);
    font-size: 14px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 22px;
    align-items: start;
}

.profile-sidebar {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.profile-cover {
    height: 110px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.22), transparent 25%),
        linear-gradient(135deg, #006cff, #7b61ff 60%, #00c6ff);
}

.profile-box {
    padding: 0 24px 24px;
    margin-top: -34px;
}

.avatar {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #dbe9ff);
    color: #0d1830;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 14px 34px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.16);
    margin-bottom: 16px;
    animation: scaleSoft 3.4s ease-in-out infinite;
}

.profile-box h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

.profile-mobile {
    color: var(--text2);
    margin-bottom: 20px;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 14px;
    font-size: 14px;
}

.status-verified {
    color: #7df0bc;
}

.status-pending {
    color: #ffd27d;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.welcome-card,
.panel-box {
    border-radius: var(--radius-xl);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.welcome-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.welcome-card p,
.panel-head span {
    color: var(--text2);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.info-card {
    border-radius: var(--radius-lg);
    padding: 22px;
    min-height: 120px;
    transition: .35s ease;
}

.info-label {
    display: block;
    color: var(--text3);
    font-size: 13px;
    margin-bottom: 10px;
}

.info-card strong {
    font-size: 18px;
    color: #fff;
    line-height: 1.8;
    word-break: break-word;
}

.panel-head {
    margin-bottom: 18px;
}

.panel-head h4 {
    font-size: 20px;
    margin-bottom: 4px;
}

.progress-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.progress-bar {
    width: 100%;
    height: 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #00c6ff, #006cff, #7b61ff);
    background-size: 200% 200%;
    animation: gradientMove 4s ease infinite;
    box-shadow: 0 0 20px rgba(0,198,255,0.35);
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text2);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.action-card {
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    transition: .35s ease;
}

.action-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.action-card h5 {
    font-size: 17px;
    margin-bottom: 4px;
}

.action-card p {
    color: var(--text2);
    font-size: 13px;
}

.bg-blur {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
    z-index: 0;
    pointer-events: none;
    animation: moveBlob 14s infinite alternate ease-in-out;
}

.bg-blur-1 {
    width: 320px;
    height: 320px;
    background: rgba(0,108,255,0.22);
    top: -80px;
    right: -60px;
}

.bg-blur-2 {
    width: 280px;
    height: 280px;
    background: rgba(123,97,255,0.22);
    bottom: -70px;
    left: -40px;
    animation-duration: 18s;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
    pointer-events: none;
    z-index: 0;
}

.fade-up {
    animation: fadeUp .9s ease both;
}

.fade-down {
    animation: fadeDown .9s ease both;
}

.delay-1 {
    animation-delay: .12s;
}
.delay-2 {
    animation-delay: .24s;
}
.delay-3 {
    animation-delay: .36s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes scaleSoft {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102,166,255,0.4);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(102,166,255,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102,166,255,0);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes moveBlob {
    0% {
        transform: translate(0,0) scale(1);
    }
    100% {
        transform: translate(30px, -25px) scale(1.08);
    }
}

@media (max-width: 1100px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: relative;
        top: auto;
    }

    .info-cards,
    .quick-actions,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-wrapper {
        width: min(100% - 18px, 100%);
        padding-top: 14px;
    }

    .topbar {
        border-radius: 22px;
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-text h1 {
        font-size: 17px;
    }

    .brand-text span {
        font-size: 12px;
    }

    .features-grid,
    .info-cards,
    .quick-actions {
        grid-template-columns: 1fr;
    }

    .auth-card,
    .welcome-card,
    .panel-box,
    .info-card,
    .feature-card,
    .action-card {
        border-radius: 20px;
        padding: 18px;
    }

    .hero-content h2 {
        font-size: 26px;
    }

    .profile-box h2 {
        font-size: 20px;
    }

    .avatar {
        width: 72px;
        height: 72px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .input-wrap input,
    .btn {
        height: 50px;
    }
}
.profile-form {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.full-width {
    grid-column: 1 / -1;
}
.profile-actions .btn {
    width: auto;
    min-width: 200px;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .profile-actions {
        flex-direction: column;
    }

    .profile-actions .btn {
        width: 100%;
        max-width: 100% !important;
    }
}
