.hero-section { text-align: center; margin-bottom: 2.5rem; width: 100%; max-width: 800px; }
.hero-section h1 { font-size: clamp(1.8rem, 5vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.75rem; line-height: 1.2; padding: 0 0.5rem; }
.gradient-text { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { color: var(--text-secondary); font-size: clamp(0.95rem, 3vw, 1.1rem); max-width: 600px; margin: 0 auto; line-height: 1.5; padding: 0 0.75rem; }

.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1rem; width: 100%; }
@media (max-width: 340px) { .hub-grid { grid-template-columns: 1fr; } }

.hub-card { background: var(--bg-surface); backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass); border: 1px solid var(--bg-surface-border); border-radius: 16px; padding: 1.5rem; text-decoration: none; color: inherit; transition: var(--transition-smooth); display: flex; flex-direction: column; height: 100%; }
.hub-card:hover { transform: translateY(-4px); border-color: var(--accent-glow); box-shadow: 0 12px 35px rgba(59, 130, 246, 0.12); }
.hub-card h2 { font-size: 1.25rem; margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.hub-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.45; }

.tools-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-top: 1rem; width: 100%; }
@media (max-width: 320px) { .tools-list-grid { grid-template-columns: 1fr; } }

.tool-item-card { background: var(--bg-surface); border: 1px solid var(--bg-surface-border); border-radius: 14px; padding: 1.25rem; text-decoration: none; color: inherit; transition: var(--transition-smooth); display: flex; flex-direction: column; height: 100%; }
.tool-item-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.01); }
.tool-item-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--text-primary); }
.tool-item-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.45; }

.drop-zone { background: var(--bg-surface); border: 2px dashed var(--bg-surface-border); border-radius: 20px; padding: clamp(2.5rem, 8vw, 4rem) 1rem; text-align: center; cursor: pointer; transition: var(--transition-smooth); max-width: 650px; margin: 0 auto 1.5rem auto; width: 100%; box-sizing: border-box; }
.drop-zone:hover, .drop-zone.dragover { border-color: var(--accent-glow); background: rgba(59, 130, 246, 0.04); }
.drop-zone h3 { font-size: clamp(1.1rem, 4vw, 1.35rem); margin-bottom: 0.25rem; }
.drop-zone p { font-size: clamp(0.85rem, 3vw, 0.95rem); }

.security-badge { display: inline-block; margin-top: 1.25rem; font-size: 0.7rem; padding: 0.3rem 0.85rem; background: rgba(16, 185, 129, 0.08); color: #10b981; border-radius: 30px; font-weight: 600; letter-spacing: 0.02em; max-width: 100%; word-break: break-word; }
.control-panel { max-width: 650px; margin: 1rem auto; background: var(--bg-surface); padding: clamp(1rem, 4vw, 1.5rem); border-radius: 16px; border: 1px solid var(--bg-surface-border); width: 100%; box-sizing: border-box; }
.control-panel label { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); }
.control-panel input[type="range"], .control-panel select { width: 100%; accent-color: var(--accent-glow); background: rgba(0,0,0,0.2); border: 1px solid var(--bg-surface-border); color: var(--text-primary); padding: 0.6rem; border-radius: 8px; font-size: 0.9rem; -webkit-appearance: none; appearance: none; }
body.light-theme .control-panel input[type="range"], body.light-theme .control-panel select { background: #fff; color: #000; }

.btn-primary { background: var(--accent-gradient); border: none; color: white; padding: 0.8rem 1.5rem; border-radius: 10px; font-weight: 600; cursor: pointer; width: 100%; font-size: 0.95rem; transition: var(--transition-smooth); margin-top: 0.5rem; display: block; text-align: center; text-decoration: none; box-sizing: border-box; }
.btn-primary:hover { opacity: 0.92; transform: scale(0.995); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn-success { background: linear-gradient(135deg, #10b981 0%, #059669 100%); border: none; color: white; padding: 0.85rem 1.25rem; border-radius: 10px; font-weight: 700; cursor: pointer; width: 100%; font-size: 0.95rem; transition: var(--transition-smooth); margin-top: 1rem; display: block; text-align: center; text-decoration: none; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25); box-sizing: border-box; }
.btn-success:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35); }

.file-status-box { margin-top: 1.25rem; padding: 1rem; background: rgba(0,0,0,0.2); border: 1px solid var(--bg-surface-border); border-radius: 10px; font-size: 0.85rem; line-height: 1.45; word-break: break-all; text-align: left; }
body.light-theme .file-status-box { background: rgba(0,0,0,0.03); }
.progress-bar-container { background: rgba(255,255,255,0.08); border-radius: 4px; height: 6px; margin-top: 0.75rem; overflow: hidden; width: 100%; }
body.light-theme .progress-bar-container { background: rgba(0,0,0,0.08); }
.progress-bar-fill { height: 100%; width: 0%; background: var(--accent-gradient); transition: width 0.2s ease; }