/* ============================================================
   PDFConverter - Tech Style Design System
   ============================================================ */

:root {
    --bg-dark:      #050B1A;
    --bg-darker:    #030810;
    --bg-card:      rgba(10, 20, 50, 0.85);
    --bg-card-hover:rgba(15, 30, 70, 0.9);
    --cyan:         #00D4FF;
    --cyan-dim:     rgba(0, 212, 255, 0.35);
    --cyan-subtle:  rgba(0, 212, 255, 0.07);
    --purple:       #7B2FFF;
    --purple-dim:   rgba(123, 47, 255, 0.35);
    --green:        #00FF9D;
    --orange:       #FFB800;
    --red:          #FF3D71;
    --text-primary: #E2E8F0;
    --text-secondary:#94A3B8;
    --text-muted:   #3D4F6A;
    --border:       rgba(0, 212, 255, 0.14);
    --border-hover: rgba(0, 212, 255, 0.45);
    --nav-h:        68px;
    --radius-card:  16px;
    --shadow-card:  0 8px 32px rgba(0,0,0,0.35);
}

/* ============================================================
   Theme: 星空蓝（深蓝顶部 + 白色主体）
   ============================================================ */
[data-theme="blue"] {
    --bg-dark:        #F0F4FF;
    --bg-darker:      #E4EAFF;
    --bg-card:        rgba(255,255,255,0.98);
    --bg-card-hover:  rgba(255,255,255,1);
    --cyan:           #2563EB;
    --cyan-dim:       rgba(37,99,235,0.22);
    --cyan-subtle:    rgba(37,99,235,0.07);
    --purple:         #7C3AED;
    --purple-dim:     rgba(124,58,237,0.2);
    --border:         rgba(37,99,235,0.13);
    --border-hover:   rgba(37,99,235,0.42);
    --text-primary:   #0F172A;
    --text-secondary: #475569;
    --text-muted:     #94A3B8;
    --shadow-card:    0 4px 24px rgba(0,0,0,0.07);
}

/* ---- 背景 ---- */
[data-theme="blue"] body { background: #F0F4FF; color: #0F172A; }
[data-theme="blue"] .bg-grid {
    background-image:
        linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
}
[data-theme="blue"] .bg-glow-1 {
    background: radial-gradient(circle, rgba(37,99,235,.06) 0%, transparent 68%);
    opacity: .6;
}
[data-theme="blue"] .bg-glow-2 {
    background: radial-gradient(circle, rgba(124,58,237,.05) 0%, transparent 68%);
    opacity: .5;
}

/* ---- 导航栏：深蓝 ---- */
[data-theme="blue"] .navbar {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 4px 30px rgba(37,99,235,0.45);
}
[data-theme="blue"] .navbar::after {
    background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,.18) 40%, rgba(255,255,255,.12) 60%, transparent 95%);
}
[data-theme="blue"] .logo-text { color: #fff; }
[data-theme="blue"] .logo-text .accent { color: #93C5FD; text-shadow: 0 0 16px rgba(147,197,253,.6); }
[data-theme="blue"] .logo-hex { animation: logoPulseWhite 3.5s ease-in-out infinite; }
@keyframes logoPulseWhite {
    0%,100% { filter: drop-shadow(0 0 6px rgba(255,255,255,.35)); }
    50%      { filter: drop-shadow(0 0 16px rgba(255,255,255,.7)); }
}
[data-theme="blue"] .logo-hex polygon:first-child { stroke: #93C5FD; fill: none; }
[data-theme="blue"] .logo-hex polygon:nth-child(2) { stroke: #93C5FD; fill: rgba(147,197,253,0.15); }
[data-theme="blue"] .logo-hex text { fill: #fff; }

/* 导航链接：白色文字 */
[data-theme="blue"] .nav-link { color: rgba(255,255,255,.72); }
[data-theme="blue"] .nav-item.active .nav-link,
[data-theme="blue"] .nav-link:hover { color: #fff; }
[data-theme="blue"] .nav-link::before { background: rgba(255,255,255,.1); }
[data-theme="blue"] .nav-link::after { background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.5); }

/* 主题切换器：适配深蓝导航栏 */
[data-theme="blue"] .theme-switcher {
    background: rgba(0,0,0,.18);
    border-color: rgba(255,255,255,.2);
}
[data-theme="blue"] .theme-btn { color: rgba(255,255,255,.55); }
[data-theme="blue"] .theme-btn:hover { color: rgba(255,255,255,.85); }
[data-theme="blue"] .theme-btn.active {
    color: #fff;
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.4);
    box-shadow: 0 0 10px rgba(255,255,255,.12);
}

/* ---- 卡片 / 区域：白色 ---- */
[data-theme="blue"] .upload-container {
    background: rgba(255,255,255,.98);
    border-color: rgba(37,99,235,.12);
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
[data-theme="blue"] .upload-container:hover {
    border-color: rgba(37,99,235,.3);
    box-shadow: 0 6px 30px rgba(37,99,235,.1);
}
[data-theme="blue"] .drop-zone {
    border-color: rgba(37,99,235,.28);
    background: rgba(37,99,235,.025);
}
[data-theme="blue"] .drop-zone:hover,
[data-theme="blue"] .drop-zone.drag-over {
    border-color: #2563EB;
    background: rgba(37,99,235,.06);
    box-shadow: 0 0 30px rgba(37,99,235,.1), inset 0 0 30px rgba(37,99,235,.03);
}
[data-theme="blue"] .drop-overlay { background: rgba(37,99,235,.06); }
[data-theme="blue"] .drop-overlay path { stroke: #2563EB; }
[data-theme="blue"] .overlay-content { color: #2563EB; text-shadow: 0 0 20px rgba(37,99,235,.4); }
[data-theme="blue"] .info-tag {
    background: rgba(37,99,235,.06);
    border-color: rgba(37,99,235,.18);
}

/* ---- 表格 ---- */
[data-theme="blue"] .table-wrapper {
    background: rgba(255,255,255,.98);
    border-color: rgba(37,99,235,.1);
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
[data-theme="blue"] .file-table thead tr { background: rgba(37,99,235,.05); }
[data-theme="blue"] .file-table th { color: #2563EB; }
[data-theme="blue"] .file-table tbody tr { border-bottom-color: rgba(0,0,0,.05); }
[data-theme="blue"] .file-table tbody tr:hover { background: rgba(37,99,235,.03); }
[data-theme="blue"] .file-table td { color: #0F172A; }
[data-theme="blue"] .file-size,
[data-theme="blue"] .upload-time { color: #64748B; }
[data-theme="blue"] .progress-bar-wrapper { background: rgba(0,0,0,.07); }
[data-theme="blue"] .progress-bar { background: linear-gradient(90deg, #2563EB, #7C3AED); }
[data-theme="blue"] .progress-text { color: #64748B; }

/* 空状态 */
[data-theme="blue"] .empty-state { color: #94A3B8; }
[data-theme="blue"] .empty-state svg circle,
[data-theme="blue"] .empty-state svg path { stroke: #2563EB; }

/* ---- Hero ---- */
[data-theme="blue"] .hero-badge {
    background: rgba(37,99,235,.08);
    border-color: rgba(37,99,235,.24);
    color: #2563EB;
}
[data-theme="blue"] .badge-dot { background: #2563EB; box-shadow: 0 0 6px #2563EB; }
[data-theme="blue"] .hero-title { color: #0F172A; }
[data-theme="blue"] .hero-subtitle { color: #475569; }
[data-theme="blue"] .upload-icon { color: #2563EB; }
[data-theme="blue"] .icon-glow { background: radial-gradient(circle, rgba(37,99,235,.22) 0%, transparent 65%); }
[data-theme="blue"] .drop-title { color: #0F172A; }
[data-theme="blue"] .drop-subtitle { color: #475569; }
[data-theme="blue"] .link-text { color: #2563EB; }

/* 列表区域标题 */
[data-theme="blue"] .section-title { color: #0F172A; }
[data-theme="blue"] .section-stats { color: #64748B; }
[data-theme="blue"] .title-accent svg rect { fill: #2563EB; }

/* ---- About 页卡片 ---- */
[data-theme="blue"] .stat-card,
[data-theme="blue"] .feature-card,
[data-theme="blue"] .tech-section,
[data-theme="blue"] .contact-card {
    background: rgba(255,255,255,.98);
    border-color: rgba(37,99,235,.1);
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
[data-theme="blue"] .stat-card:hover,
[data-theme="blue"] .feature-card:hover {
    border-color: rgba(37,99,235,.3);
    box-shadow: 0 10px 35px rgba(37,99,235,.12);
}
[data-theme="blue"] .stat-card::before,
[data-theme="blue"] .feature-card::after {
    background: linear-gradient(90deg, transparent, #2563EB, transparent);
}
[data-theme="blue"] .stat-number { color: #2563EB; }
[data-theme="blue"] .stat-label { color: #64748B; }
[data-theme="blue"] .feature-title { color: #0F172A; }
[data-theme="blue"] .feature-desc { color: #475569; }
[data-theme="blue"] .tech-group-label { color: #64748B; }
[data-theme="blue"] .contact-title { color: #0F172A; }
[data-theme="blue"] .contact-desc { color: #475569; }

/* ---- 页脚：深蓝 ---- */
[data-theme="blue"] .footer {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    border-top: 1px solid rgba(255,255,255,.1);
}
[data-theme="blue"] .footer::before {
    background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,.18) 40%, rgba(255,255,255,.12) 60%, transparent 95%);
}
[data-theme="blue"] .footer-label { color: rgba(255,255,255,.6); }
[data-theme="blue"] .footer-link { color: rgba(255,255,255,.5); }
[data-theme="blue"] .footer-link:hover {
    color: #fff; border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.1);
}
[data-theme="blue"] .footer-bottom { color: rgba(255,255,255,.38); }

/* ---- 通知 ---- */
[data-theme="blue"] .notification-success {
    background: rgba(255,255,255,.97);
    border-color: rgba(5,150,105,.35);
    color: #059669;
    box-shadow: 0 4px 24px rgba(5,150,105,.14);
}
[data-theme="blue"] .notification-error {
    background: rgba(255,255,255,.97);
    border-color: rgba(220,38,38,.35);
    color: #DC2626;
    box-shadow: 0 4px 24px rgba(220,38,38,.14);
}

/* ---- 滚动条 ---- */
[data-theme="blue"] ::-webkit-scrollbar-track { background: #E4EAFF; }
[data-theme="blue"] ::-webkit-scrollbar-thumb { background: rgba(37,99,235,.28); }
[data-theme="blue"] ::-webkit-scrollbar-thumb:hover { background: rgba(37,99,235,.5); }

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    transition: color .3s, background-color .3s;
}
body {
    font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color .3s, color .3s;
}
.navbar, .upload-container, .table-wrapper, .stat-card, .feature-card,
.tech-section, .contact-card, .footer {
    transition: background-color .3s, border-color .3s, box-shadow .3s;
}

/* ============================================================
   Background FX
   ============================================================ */
.bg-grid {
    position: fixed; inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,.035) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    z-index: 0;
}
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
    animation: bgFloat 9s ease-in-out infinite;
}
.bg-glow-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(0,212,255,.07) 0%, transparent 68%);
    top: -160px; right: 4%;
}
.bg-glow-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(123,47,255,.07) 0%, transparent 68%);
    bottom: 4%; left: 3%;
    animation-delay: -4.5s;
    animation-direction: reverse;
}
@keyframes bgFloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-42px); }
}

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(5,11,26,.92);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    box-shadow: 0 4px 40px rgba(0,0,0,.55);
}
.navbar::after {
    content: '';
    position: absolute; bottom: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, var(--cyan-dim) 40%, var(--purple-dim) 60%, transparent 95%);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2.4rem;
}
.nav-logo {
    display: flex; align-items: center; gap: .6rem; cursor: pointer;
    text-decoration: none;
}
.logo-hex { animation: logoPulse 3.5s ease-in-out infinite; }
@keyframes logoPulse {
    0%,100% { filter: drop-shadow(0 0 6px rgba(0,212,255,.5)); }
    50%      { filter: drop-shadow(0 0 18px rgba(0,212,255,.9)); }
}
.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem; font-weight: 900;
    color: var(--text-primary); letter-spacing: .1em;
}
.logo-text .accent {
    color: var(--cyan);
    text-shadow: 0 0 18px var(--cyan-dim);
}
.nav-menu { display: flex; list-style: none; gap: .4rem; }
.nav-link {
    display: flex; align-items: center; gap: .45rem;
    padding: .45rem 1.1rem;
    color: var(--text-secondary);
    text-decoration: none; font-size: .875rem; font-weight: 500;
    letter-spacing: .04em; border-radius: 8px;
    position: relative; transition: color .25s;
}
.nav-link::before {
    content: '';
    position: absolute; inset: 0; border-radius: 8px;
    background: var(--cyan-subtle); opacity: 0;
    transition: opacity .25s;
}
.nav-link::after {
    content: '';
    position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    transition: width .3s ease;
    border-radius: 99px;
}
.nav-item.active .nav-link,
.nav-link:hover { color: var(--cyan); }
.nav-item.active .nav-link::before,
.nav-link:hover::before { opacity: 1; }
.nav-item.active .nav-link::after,
.nav-link:hover::after { width: 75%; }
.nav-icon-svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .8; }

/* Theme Switcher */
.theme-switcher {
    display: flex; align-items: center;
    background: rgba(0,0,0,.35);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 3px;
    margin-left: .8rem;
    gap: 2px;
    flex-shrink: 0;
}
.theme-btn {
    display: flex; align-items: center; gap: .3rem;
    padding: .28rem .75rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: .72rem; font-weight: 700;
    letter-spacing: .07em; white-space: nowrap;
    cursor: pointer;
    color: var(--text-muted);
    background: transparent;
    transition: all .22s;
    user-select: none;
}
.theme-btn:hover { color: var(--text-secondary); }
.theme-btn .dot {
    width: 7px; height: 7px;
    border-radius: 50%; flex-shrink: 0;
}
.theme-btn-cyber .dot { background: #00D4FF; box-shadow: 0 0 5px #00D4FF; }
.theme-btn-blue  .dot { background: #4090FF; box-shadow: 0 0 5px #4090FF; }
.theme-btn.active {
    color: var(--text-primary);
    background: var(--cyan-subtle);
    border-color: var(--border-hover);
    box-shadow: 0 0 10px var(--cyan-dim);
}

/* ============================================================
   Main Content
   ============================================================ */
.main-content {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto;
    padding: calc(var(--nav-h) + 2.5rem) 2.4rem 5rem;
}

/* ============================================================
   Hero
   ============================================================ */
.hero-section { text-align: center; padding: 2.5rem 0 2rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .38rem 1.2rem;
    background: rgba(0,212,255,.07);
    border: 1px solid rgba(0,212,255,.22);
    border-radius: 50px;
    font-size: .78rem; color: var(--cyan);
    letter-spacing: .1em; text-transform: uppercase;
    margin-bottom: 1.4rem;
}
.badge-dot {
    width: 6px; height: 6px;
    background: var(--cyan); border-radius: 50%;
    box-shadow: 0 0 6px var(--cyan);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%,100% { box-shadow: 0 0 6px var(--cyan); transform: scale(1); }
    50%      { box-shadow: 0 0 14px var(--cyan); transform: scale(1.4); }
}
.hero-title {
    font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
    font-size: 2.7rem; font-weight: 900; line-height: 1.25;
    margin-bottom: 1rem; color: var(--text-primary);
}
.gradient-text {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(0,212,255,.3));
}
.hero-subtitle {
    font-size: .95rem; color: var(--text-secondary);
    letter-spacing: .18em;
}

/* ============================================================
   Upload Section
   ============================================================ */
.upload-section { margin-bottom: 2.8rem; }
.upload-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.8rem;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,.04);
    transition: border-color .3s, box-shadow .3s;
}
.upload-container:hover {
    border-color: rgba(0,212,255,.28);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(0,212,255,.08);
}
.drop-zone {
    border: 2px dashed rgba(0,212,255,.28);
    border-radius: 12px;
    padding: 3.2rem 2rem;
    text-align: center; cursor: pointer;
    position: relative; overflow: hidden;
    transition: all .3s ease;
    background: rgba(0,212,255,.015);
}
.drop-zone:hover, .drop-zone.drag-over {
    border-color: var(--cyan);
    background: rgba(0,212,255,.045);
    box-shadow: 0 0 40px rgba(0,212,255,.12), inset 0 0 40px rgba(0,212,255,.04);
}
.drop-zone-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
}
.upload-icon-wrapper {
    position: relative; width: 90px; height: 90px;
    display: flex; align-items: center; justify-content: center;
}
.upload-icon {
    width: 72px; height: 72px; color: var(--cyan);
    filter: drop-shadow(0 0 8px var(--cyan-dim));
    transition: all .35s ease;
}
.drop-zone:hover .upload-icon {
    filter: drop-shadow(0 0 18px var(--cyan));
    transform: translateY(-5px);
}
.icon-glow {
    position: absolute; inset: -10px;
    background: radial-gradient(circle, var(--cyan-dim) 0%, transparent 65%);
    border-radius: 50%;
    animation: iconGlow 2.2s ease-in-out infinite;
}
@keyframes iconGlow {
    0%,100% { opacity: .3; transform: scale(1); }
    50%      { opacity: .7; transform: scale(1.25); }
}
.drop-title {
    font-size: 1.1rem; font-weight: 600; color: var(--text-primary);
    margin-bottom: .3rem;
}
.drop-subtitle { font-size: .9rem; color: var(--text-secondary); }
.link-text {
    color: var(--cyan); cursor: pointer;
    text-decoration: underline; text-underline-offset: 3px;
    transition: text-shadow .2s;
}
.link-text:hover { text-shadow: 0 0 12px var(--cyan); }
.drop-info { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }
.info-tag {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .28rem .8rem;
    background: rgba(0,212,255,.06);
    border: 1px solid rgba(0,212,255,.18);
    border-radius: 50px;
    font-size: .75rem; color: var(--text-secondary);
    letter-spacing: .04em;
}
.drop-overlay {
    position: absolute; inset: 0; z-index: 4;
    background: rgba(0,212,255,.06);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .2s;
}
.drop-overlay.active { opacity: 1; }
.overlay-content {
    display: flex; flex-direction: column; align-items: center; gap: .6rem;
    font-size: 1.1rem; font-weight: 600;
    color: var(--cyan); text-shadow: 0 0 20px var(--cyan);
}

/* ============================================================
   List Section
   ============================================================ */
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
}
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: .9rem; font-weight: 700;
    color: var(--text-primary); letter-spacing: .1em;
    display: flex; align-items: center; gap: .5rem;
}
.title-accent { display: flex; align-items: center; }
.section-stats { font-size: .85rem; color: var(--text-secondary); }

/* Table */
.table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
}
.file-table { width: 100%; border-collapse: collapse; }
.file-table thead tr {
    background: rgba(0,212,255,.04);
    border-bottom: 1px solid var(--border);
}
.file-table th {
    padding: .9rem 1.25rem;
    font-size: .75rem; font-weight: 700;
    color: var(--cyan); letter-spacing: .12em;
    text-align: left; text-transform: uppercase;
    white-space: nowrap;
}
.file-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,.035);
    transition: background .2s;
}
.file-table tbody tr:last-child { border-bottom: none; }
.file-table tbody tr:hover { background: rgba(0,212,255,.03); }
.file-table td {
    padding: .9rem 1.25rem;
    font-size: .875rem; color: var(--text-primary);
    vertical-align: middle;
}
.file-name-cell {
    display: flex; align-items: center; gap: .6rem;
    max-width: 300px;
}
.file-icon-svg { width: 22px; height: 22px; flex-shrink: 0; }
.file-name {
    overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap;
}
.file-size, .upload-time {
    color: var(--text-secondary); font-size: .85rem;
    white-space: nowrap;
}

/* Progress */
.progress-cell {
    display: flex; align-items: center; gap: .6rem;
    min-width: 140px;
}
.progress-bar-wrapper {
    flex: 1; height: 5px;
    background: rgba(255,255,255,.07);
    border-radius: 99px; overflow: hidden;
    position: relative;
}
.progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    border-radius: 99px;
    transition: width .55s ease;
    position: relative;
}
.progress-bar::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
    animation: shine 1.8s ease-in-out infinite;
}
@keyframes shine {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(220%); }
}
.progress-text {
    font-size: .78rem; color: var(--text-secondary);
    min-width: 34px; text-align: right; white-space: nowrap;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: .28rem .85rem; border-radius: 50px;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .06em; white-space: nowrap;
}
.status-uploading {
    background: rgba(255,184,0,.08);
    border: 1px solid rgba(255,184,0,.35);
    color: var(--orange);
}
.status-converting {
    background: rgba(0,212,255,.08);
    border: 1px solid rgba(0,212,255,.35);
    color: var(--cyan);
    animation: convertingPulse 1.6s ease-in-out infinite;
}
@keyframes convertingPulse {
    0%,100% { box-shadow: 0 0 4px rgba(0,212,255,.2); }
    50%      { box-shadow: 0 0 12px rgba(0,212,255,.55); }
}
.status-completed {
    background: rgba(0,255,157,.08);
    border: 1px solid rgba(0,255,157,.35);
    color: var(--green);
}
.status-failed {
    background: rgba(255,61,113,.08);
    border: 1px solid rgba(255,61,113,.35);
    color: var(--red);
}

/* Action buttons */
.action-buttons { display: flex; gap: .5rem; align-items: center; }
.btn {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .3rem .85rem; border-radius: 6px;
    border: 1px solid; background: transparent;
    font-size: .78rem; font-weight: 600;
    cursor: pointer; letter-spacing: .05em;
    transition: all .2s; text-decoration: none;
    white-space: nowrap;
}
.btn-download {
    border-color: rgba(0,255,157,.38);
    color: var(--green);
}
.btn-download:hover {
    background: rgba(0,255,157,.1);
    box-shadow: 0 0 14px rgba(0,255,157,.28);
}
.btn-delete {
    border-color: rgba(255,61,113,.38);
    color: var(--red);
}
.btn-delete:hover {
    background: rgba(255,61,113,.1);
    box-shadow: 0 0 14px rgba(255,61,113,.28);
}

/* Empty state */
.empty-row td { padding: 3.5rem; }
.empty-state {
    display: flex; flex-direction: column; align-items: center; gap: .9rem;
    color: var(--text-muted);
}
.empty-state p { font-size: .9rem; }

/* Row animation */
@keyframes rowFadeOut {
    to { opacity: 0; transform: translateX(-12px); height: 0; padding: 0; }
}
.row-removing { animation: rowFadeOut .3s ease forwards; overflow: hidden; }

/* ============================================================
   Notifications
   ============================================================ */
.notification {
    position: fixed;
    top: calc(var(--nav-h) + 1rem); right: 1.5rem;
    padding: .75rem 1.4rem;
    border-radius: 10px;
    display: flex; align-items: center; gap: .55rem;
    font-size: .87rem; z-index: 9999;
    transform: translateX(130%);
    transition: transform .35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 360px; backdrop-filter: blur(12px);
}
.notification.show { transform: translateX(0); }
.notification-success {
    background: rgba(0,15,8,.92);
    border: 1px solid rgba(0,255,157,.38);
    color: var(--green);
    box-shadow: 0 4px 24px rgba(0,255,157,.18);
}
.notification-error {
    background: rgba(20,0,8,.92);
    border: 1px solid rgba(255,61,113,.38);
    color: var(--red);
    box-shadow: 0 4px 24px rgba(255,61,113,.18);
}
.notif-icon { font-size: 1rem; font-weight: 900; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
    position: relative; z-index: 1;
    background: rgba(3,8,16,.88);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
}
.footer::before {
    content: '';
    position: absolute; top: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, var(--cyan-dim) 40%, var(--purple-dim) 60%, transparent 95%);
}
.footer-container {
    max-width: 1200px; margin: 0 auto;
    padding: 1.6rem 2.4rem;
    display: flex; flex-direction: column; gap: .7rem; align-items: center;
}
.footer-links {
    display: flex; align-items: center; gap: .5rem;
    flex-wrap: wrap; justify-content: center;
}
.footer-label {
    font-size: .8rem; color: var(--text-secondary);
    white-space: nowrap;
}
.footer-link-list {
    display: flex; flex-wrap: wrap; gap: .2rem;
    align-items: center; justify-content: center;
}
.footer-link {
    font-size: .8rem; color: var(--text-muted);
    text-decoration: none; padding: .25rem .65rem;
    border-radius: 5px; border: 1px solid transparent;
    transition: all .2s;
}
.footer-link:hover {
    color: var(--cyan);
    border-color: var(--border);
    background: var(--cyan-subtle);
}
.footer-bottom {
    font-size: .74rem; color: var(--text-muted); text-align: center;
}

/* ============================================================
   About Page
   ============================================================ */
.about-hero { text-align: center; padding: 3rem 0 2.5rem; }
.about-hero-title { margin-bottom: 1.5rem !important; }
.about-hero-subtitle {
    font-size: 1rem; color: var(--text-secondary);
    max-width: 620px; margin: 0 auto;
    line-height: 1.8;
}

/* Stats */
.stats-section { margin-bottom: 2.5rem; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.6rem; text-align: center;
    backdrop-filter: blur(12px);
    transition: all .3s;
    position: relative; overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 50%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.3), 0 0 30px rgba(0,212,255,.1);
}
.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem; font-weight: 900;
    line-height: 1; margin-bottom: .5rem;
}
.stat-unit { font-size: 1.2rem; }
.stat-label { font-size: .8rem; color: var(--text-secondary); letter-spacing: .05em; }

/* Features grid */
.features-section { margin-bottom: 2.5rem; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.2rem;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.8rem;
    backdrop-filter: blur(12px);
    transition: all .3s; position: relative; overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    opacity: 0; transition: opacity .3s;
}
.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 14px 45px rgba(0,0,0,.3), 0 0 35px rgba(0,212,255,.08);
}
.feature-card:hover::after { opacity: 1; }
.feature-icon-wrapper {
    width: 50px; height: 50px;
    background: rgba(from var(--color, #00D4FF) r g b / .08);
    border: 1px solid rgba(from var(--color, #00D4FF) r g b / .22);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
    transition: all .3s;
}
.feature-card:hover .feature-icon-wrapper {
    box-shadow: 0 0 16px rgba(from var(--color, #00D4FF) r g b / .35);
}
.feature-title {
    font-size: .95rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: .5rem;
}
.feature-desc { font-size: .85rem; color: var(--text-secondary); line-height: 1.7; }

/* Tech section */
.tech-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 2rem; margin-bottom: 2rem;
    backdrop-filter: blur(12px);
}
.tech-section-header { margin-bottom: 1.4rem; }
.tech-grid { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
.tech-group { display: flex; flex-direction: column; gap: .6rem; min-width: 180px; }
.tech-group-label {
    font-size: .75rem; font-weight: 700;
    color: var(--text-secondary); letter-spacing: .1em;
    text-transform: uppercase;
}
.tech-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tech-tag {
    padding: .3rem .9rem; border-radius: 50px;
    font-size: .78rem; transition: all .2s;
    cursor: default;
}
.tech-tag-blue   { background: rgba(0,212,255,.07); border: 1px solid rgba(0,212,255,.22); color: var(--cyan); }
.tech-tag-purple { background: rgba(123,47,255,.07); border: 1px solid rgba(123,47,255,.22); color: #a06bff; }
.tech-tag-green  { background: rgba(0,255,157,.07); border: 1px solid rgba(0,255,157,.22); color: var(--green); }
.tech-tag-orange { background: rgba(255,184,0,.07); border: 1px solid rgba(255,184,0,.22); color: var(--orange); }
.tech-tag:hover  { transform: translateY(-1px); filter: brightness(1.2); }

/* Contact */
.contact-section { margin-bottom: 2rem; }
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 2rem 2.4rem;
    backdrop-filter: blur(12px);
    display: flex; align-items: center; gap: 1.8rem;
    flex-wrap: wrap;
}
.contact-icon {
    width: 60px; height: 60px; flex-shrink: 0;
    background: rgba(0,212,255,.06);
    border: 1px solid rgba(0,212,255,.2);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
.contact-info { flex: 1; min-width: 200px; }
.contact-title {
    font-size: 1rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: .4rem;
}
.contact-desc { font-size: .87rem; color: var(--text-secondary); line-height: 1.6; }
.contact-links { display: flex; gap: .7rem; flex-wrap: wrap; }
.contact-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .5rem 1.2rem; border-radius: 8px;
    font-size: .85rem; font-weight: 600;
    text-decoration: none; transition: all .2s;
    border: 1px solid var(--border); color: var(--text-secondary);
}
.contact-btn:hover {
    border-color: var(--border-hover); color: var(--cyan);
    background: var(--cyan-subtle);
}
.contact-btn-primary {
    background: rgba(0,212,255,.1);
    border-color: rgba(0,212,255,.4);
    color: var(--cyan);
}
.contact-btn-primary:hover {
    background: rgba(0,212,255,.18);
    box-shadow: 0 0 20px rgba(0,212,255,.25);
}

/* ============================================================
   Scrollbar
   ============================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: rgba(0,212,255,.28); border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0,212,255,.55); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .hero-title { font-size: 1.85rem; }
    .nav-container { padding: 0 1.2rem; }
    .main-content { padding-left: 1.2rem; padding-right: 1.2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .file-table { display: block; overflow-x: auto; }
    .contact-card { flex-direction: column; text-align: center; align-items: center; }
    .logo-text { font-size: 1.15rem; }
    .nav-link { padding: .4rem .7rem; font-size: .82rem; }
    .features-grid { grid-template-columns: 1fr; }
}
