
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;200;300;400;500;600;700;800;900&display=swap');


:root {
  
    --primary-dark: #030617;
    --primary: #0a1030;
    --primary-light: #0f1a4a;
    --secondary: #1a2a6c;
    --accent: #3b2b8f;
    --accent-light: #5b4fd8;
    --highlight: #7c6ef0;
    --text-primary: #e0e5ff;
    --text-secondary: #a5b4fc;
    --text-muted: #4a5c9e;
    
   
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #ef4444;
    --info: #3b82f6;
    
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(124, 110, 240, 0.3);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    
   
    --header-height: 75px;
    --border-radius-sm: 10px;
    --border-radius: 15px;
    --border-radius-lg: 20px;
    --border-radius-xl: 25px;
    --border-radius-round: 50px;
    
    
    --transition-fast: 0.2s;
    --transition: 0.3s;
    --transition-slow: 0.5s;
    --transition-very-slow: 0.8s;
    
  
    --font-family: 'Vazirmatn', sans-serif;
    
    
    --blur-sm: 10px;
    --blur: 20px;
    --blur-lg: 30px;
}


*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}


::selection {
    background: var(--accent);
    color: white;
}

::-moz-selection {
    background: var(--accent);
    color: white;
}


h1, h2, h3, h4, h5, h6 {
    color: var(--highlight);
    line-height: 1.4;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--highlight);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--text-secondary);
}

code {
    background: rgba(107, 63, 160, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--highlight);
}


.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}


.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: 0 8px 32px var(--glass-shadow);
    transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(107, 63, 160, 0.3);
    border-color: var(--glass-border-hover);
}


.glass-header,
.main-header {
    background: rgba(10, 2, 24, 0.85);
    backdrop-filter: blur(var(--blur-lg));
    -webkit-backdrop-filter: blur(var(--blur-lg));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-header.scrolled,
.main-header.scrolled {
    background: rgba(10, 2, 24, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(107, 63, 160, 0.3);
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-menu li a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}

.nav-menu li a:hover {
    background: rgba(107, 63, 160, 0.3);
    color: var(--highlight);
    transform: translateY(-2px);
}

.nav-menu li a.active {
    background: rgba(107, 63, 160, 0.4);
    color: var(--highlight);
    box-shadow: 0 5px 20px rgba(107, 63, 160, 0.2);
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: white;
    box-shadow: 0 5px 20px rgba(107, 63, 160, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 63, 160, 0.5);
    color: white;
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: rgba(107, 63, 160, 0.2);
    border-color: var(--highlight);
    color: var(--highlight);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(184, 146, 240, 0.3);
    color: var(--highlight);
}

.btn-outline:hover {
    background: rgba(107, 63, 160, 0.2);
    border-color: var(--highlight);
    transform: translateY(-2px);
    color: var(--highlight);
}

.btn-success {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #b91c1c);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: #000;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group label {
    color: var(--highlight);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label .required {
    color: var(--danger);
}

.form-group label .optional {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="datetime-local"],
textarea,
select {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: white;
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: all var(--transition);
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(107, 63, 160, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-control.error,
input.error,
textarea.error {
    border-color: var(--danger);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.form-control.success,
input.success,
textarea.success {
    border-color: var(--success);
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.8;
}

select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b892f0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    padding-left: 2.5rem;
}

select option {
    background: var(--primary-dark);
    color: white;
}


.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

table th {
    background: rgba(107, 63, 160, 0.2);
    padding: 1rem;
    color: var(--highlight);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

table tbody tr {
    transition: all var(--transition);
}

table tbody tr:hover {
    background: rgba(107, 63, 160, 0.05);
}


.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.alert-warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--info);
}


.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-round);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.badge-primary {
    background: rgba(107, 63, 160, 0.3);
    color: var(--highlight);
}

.badge-success {
    background: rgba(52, 211, 153, 0.2);
    color: var(--success);
}

.badge-warning {
    background: rgba(251, 191, 36, 0.2);
    color: var(--warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.badge-info {
    background: rgba(59, 130, 246, 0.2);
    color: var(--info);
}

.badge-admin {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-weight: 700;
}


.status-open,
.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: var(--warning);
}

.status-in_progress,
.status-reviewed {
    background: rgba(59, 130, 246, 0.2);
    color: var(--info);
}

.status-closed,
.status-resolved {
    background: rgba(52, 211, 153, 0.2);
    color: var(--success);
}


.progress-bar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
    transition: width 1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(10, 2, 24, 0.98);
    backdrop-filter: blur(var(--blur-lg));
    -webkit-backdrop-filter: blur(var(--blur-lg));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--highlight);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(107, 63, 160, 0.2);
    transform: rotate(90deg);
}


.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(10, 2, 24, 0.95);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(107, 63, 160, 0.5);
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    color: white;
    z-index: 99999;
    transform: translateX(-120%);
    opacity: 0;
    transition: all var(--transition-slow) cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 0.95rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 400px;
}

.badge-teamspeak {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}


.btn-buy-teamspeak {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

.btn-buy-teamspeak:hover {
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}
.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}


.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(107, 63, 160, 0.3); }
    50% { box-shadow: 0 0 40px rgba(107, 63, 160, 0.6); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-fade-in { animation: fadeIn 0.5s ease-out; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out; }
.animate-fade-in-down { animation: fadeInDown 0.6s ease-out; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-glow { animation: glow 2s infinite; }
.animate-shake { animation: shake 0.5s; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-spin { animation: spin 1s linear infinite; }


.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(107, 63, 160, 0.2);
    border: 1px solid rgba(184, 146, 240, 0.2);
    border-radius: var(--border-radius-round);
    color: var(--highlight);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--highlight);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}


.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}


.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-primary { color: var(--highlight); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-info { color: var(--info); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }
.rounded-full { border-radius: 50%; }

.shadow-sm { box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.shadow { box-shadow: 0 5px 20px rgba(0,0,0,0.2); }
.shadow-lg { box-shadow: 0 10px 40px rgba(0,0,0,0.3); }


.menu-toggle {
    display: none;
    background: rgba(107, 63, 160, 0.2);
    border: 1px solid rgba(184, 146, 240, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--highlight);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 0.7rem;
    transition: all var(--transition);
    z-index: 1001;
}

.menu-toggle:hover {
    background: rgba(107, 63, 160, 0.4);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.mobile-overlay.active {
    display: block;
}

.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(107, 63, 160, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(107, 63, 160, 0.6);
    border-radius: 50%;
}


.file-upload-area {
    border: 2px dashed rgba(184, 146, 240, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.file-upload-area:hover {
    border-color: var(--highlight);
    background: rgba(107, 63, 160, 0.1);
}

.file-upload-area i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.file-upload-area p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}


.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-family);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    background: rgba(107, 63, 160, 0.2);
    color: var(--highlight);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(107, 63, 160, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
    display: block;
}


.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: 1rem;
}

.faq-item:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-hover);
}

.faq-item.active {
    border-color: var(--accent);
    background: rgba(107, 63, 160, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--highlight);
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-toggle {
    color: var(--accent);
    transition: transform var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    color: var(--text-secondary);
    margin-top: 1rem;
    display: none;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.5s ease-out;
}


.main-footer {
    background: rgba(10, 2, 24, 0.95);
    backdrop-filter: blur(var(--blur-lg));
    -webkit-backdrop-filter: blur(var(--blur-lg));
    border-top: 1px solid rgba(107, 63, 160, 0.3);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--highlight), var(--accent), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-column {
    animation: fadeInUp 0.6s ease-out;
}


@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(10, 2, 24, 0.98);
        backdrop-filter: blur(var(--blur-lg));
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: 0.5rem;
        transition: right var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        width: 100%;
        padding: 0.8rem 1rem;
        justify-content: flex-start;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .toast-notification {
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }
    
    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .nav-menu {
        width: 100%;
    }
}


@media print {
    .glass-header,
    .main-header,
    .main-footer,
    .scroll-to-top-btn,
    .menu-toggle,
    .nav-menu {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .glass-card {
        border: 1px solid #ddd;
        box-shadow: none;
        break-inside: avoid;
    }
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}