/* Import Persian Vazirmatn Font */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap');

:root {
    /* Color Palette */
    --bg-dark: hsl(222, 47%, 6%);
    --bg-card: hsla(223, 47%, 11%, 0.7);
    --bg-card-hover: hsla(223, 47%, 16%, 0.8);
    --border-color: hsla(217, 30%, 20%, 0.5);
    --border-color-glow: hsla(262, 80%, 60%, 0.4);
    
    --primary: hsl(262, 83%, 58%);
    --primary-gradient: linear-gradient(135deg, hsl(262, 83%, 58%) 0%, hsl(217, 91%, 60%) 100%);
    --primary-glow: hsla(262, 83%, 58%, 0.3);
    
    --accent-cyan: hsl(180, 80%, 45%);
    --accent-cyan-gradient: linear-gradient(135deg, hsl(180, 80%, 45%) 0%, hsl(150, 80%, 45%) 100%);
    
    --success: hsl(142, 72%, 50%);
    --warning: hsl(38, 92%, 50%);
    --danger: hsl(350, 89%, 60%);
    
    --text-primary: hsl(210, 40%, 98%);
    --text-secondary: hsl(215, 20%, 65%);
    --text-muted: hsl(215, 12%, 46%);
    
    /* Layout Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Glassmorphism Details */
    --blur-intensity: 12px;
    --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: radial-gradient(circle at 10% 20%, hsla(262, 83%, 58%, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, hsla(217, 91%, 60%, 0.08) 0%, transparent 40%);
}

/* RTL Helpers */
[dir="rtl"] {
    text-align: right;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: 'Vazirmatn', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    background: rgba(8, 12, 23, 0.5);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(8, 12, 23, 0.85);
    border-bottom-color: var(--border-color-glow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.6rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo svg {
    width: 32px;
    height: 32px;
    fill: url(#logo-grad);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links .active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-actions .btn-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.nav-actions .btn-user:hover {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* Mobile Navigation Trigger */
.menu-trigger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-trigger svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: right;
}

.hero-image-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color-glow);
    border-radius: var(--radius-lg);
    padding: 15px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(var(--blur-intensity));
    max-width: 460px;
    width: 100%;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    transition: var(--transition-smooth);
    animation: float-hero 6s ease-in-out infinite;
}

.hero-image-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.03);
    border-color: var(--primary);
}

.hero-image-card img {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
}

@keyframes float-hero {
    0%, 100% {
        transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-15px);
    }
}

.badge {
    background: rgba(138, 43, 226, 0.15);
    color: hsl(262, 83%, 70%);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(138, 43, 226, 0.3);
    margin-bottom: 24px;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-card h3 {
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-glow);
    box-shadow: var(--shadow-premium);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(138, 43, 226, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: hsl(262, 83%, 65%);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Call To Action */
.cta-banner {
    background: linear-gradient(135deg, hsla(262, 83%, 58%, 0.15) 0%, hsla(217, 91%, 60%, 0.15) 100%);
    border: 1px solid var(--border-color-glow);
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    text-align: center;
    margin: 60px 0 100px 0;
    backdrop-filter: blur(var(--blur-intensity));
}

.cta-banner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-banner p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: rgba(6, 9, 17, 0.9);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(-5px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Pricing Page Styles */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.pricing-toggle span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-toggle span.active {
    color: var(--text-primary);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    padding: 3px;
    transition: var(--transition-fast);
}

.toggle-switch::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-gradient);
    transition: var(--transition-smooth);
}

.toggle-switch.annual::after {
    transform: translateX(-28px);
}

.discount-badge {
    background: var(--success);
    color: var(--bg-dark);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    background: hsla(262, 83%, 8%, 0.4);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 25px;
    min-height: 40px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
}

.plan-price span.currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 5px;
}

.plan-price span.period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 5px;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.plan-features li svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
}

.plan-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.plan-features li.disabled svg {
    fill: var(--text-muted);
}

.pricing-card .btn {
    width: 100%;
}

/* Comparison Matrix */
.comparison-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    text-align: center;
}

.comparison-table th, .comparison-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-size: 1.1rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table th:first-child, .comparison-table td:first-child {
    text-align: right;
    font-weight: 700;
}

.comparison-table td {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.comparison-table td svg {
    width: 20px;
    height: 20px;
    fill: var(--success);
}

.comparison-table td svg.cross {
    fill: var(--danger);
}

/* Login/Signup Styles */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 460px;
    padding: 50px 40px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.auth-tab.active {
    background: var(--primary-gradient);
    color: white;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.auth-alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    display: none;
}

.auth-alert.danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: hsl(350, 89%, 70%);
}

.auth-alert.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: hsl(142, 72%, 70%);
}

/* Dashboard Styles */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
}

.sidebar {
    width: 280px;
    background: rgba(8, 12, 23, 0.7);
    border-left: 1px solid var(--border-color);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    backdrop-filter: blur(var(--blur-intensity));
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
}

.user-details h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.user-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.1);
}

.user-badge.bronze { background: rgba(205, 127, 50, 0.2); color: #cd7f32; }
.user-badge.silver { background: rgba(192, 192, 192, 0.2); color: #c0c0c0; }
.user-badge.gold { background: rgba(255, 215, 0, 0.2); color: #ffd700; }

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.sidebar-menu a:hover, .sidebar-menu li.active a {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.sidebar-menu svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.sidebar-menu li.active svg {
    fill: var(--primary);
}

.storage-widget {
    margin-top: auto;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-lg);
}

.storage-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.storage-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.storage-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-gradient);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.storage-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dashboard-main {
    flex: 1;
    padding: 40px 5%;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.dashboard-title h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.dashboard-title p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Upload Interface */
.upload-container {
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.upload-container:hover, .upload-container.dragover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.upload-icon {
    width: 70px;
    height: 70px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.upload-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.upload-container h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.upload-container p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Simulated Upload Status Overlay */
.upload-progress-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    z-index: 10;
}

.upload-progress-overlay.active {
    display: flex;
}

.upload-progress-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.progress-track {
    width: 100%;
    max-width: 400px;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-gradient);
    border-radius: 10px;
    transition: width 0.1s linear;
}

.progress-percentage {
    font-size: 0.9rem;
    font-weight: 700;
}

/* File Control Bar */
.file-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 15px 12px 45px;
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
}

.search-box input:focus {
    border-color: var(--primary);
}

.search-box svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: var(--text-muted);
}

/* File Table */
.file-list-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.file-table-wrapper {
    overflow-x: auto;
}

.file-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.file-table th, .file-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
}

.file-table th {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.01);
}

.file-table td {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.file-name-cell {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.file-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.file-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.file-actions {
    display: flex;
    gap: 10px;
}

.btn-action {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.btn-action.delete:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.btn-action svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 40px;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.empty-state-icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.empty-state h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Layouts */
@media (max-width: 992px) {
    .navbar {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 30px 0;
        gap: 20px;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-trigger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-image-card {
        transform: none !important;
        animation: none !important;
        max-width: 100%;
    }
    
    .hero-image-card:hover {
        transform: scale(1.02) !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .dashboard-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Dashboard Category Filters */
.dashboard-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
}

.filter-chip {
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.filter-chip:hover, .filter-chip.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 10px var(--primary-glow);
}

/* Security Showcase Section */
.security-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    background: var(--bg-card);
    padding: 50px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    margin-bottom: 80px;
}

@media (max-width: 992px) {
    .security-showcase {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
        text-align: center;
    }
    
    .security-showcase img {
        max-width: 320px;
        margin: 0 auto;
    }
}
