/* ==========================================================================
   itzAEP - Ultra-Modern Creative-Pro Design System (CSS)
   Ecosystem-Cohesive with itzStream / itzcrih.it
   Full-Width Sticky Header with Divider • Zero Emojis
   ========================================================================== */

:root {
  --bg-main: #080a10;
  --bg-surface: #0f121d;
  --bg-surface-elevated: #151a29;
  --bg-glass: rgba(13, 16, 26, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(140, 120, 255, 0.35);
  --border-focus: #6c5ce7;

  --primary: #6c5ce7;
  --primary-light: #8e7bff;
  --primary-glow: rgba(108, 92, 231, 0.3);
  --accent-cyan: #00f2fe;
  --accent-cyan-glow: rgba(0, 242, 254, 0.25);
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px var(--border-subtle);
  --shadow-glow: 0 0 25px var(--primary-glow);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Glowing Orbs */
.glow-orb {
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}
.glow-1 {
  top: -160px;
  left: 20%;
  background: radial-gradient(circle, #6c5ce7 0%, rgba(108, 92, 231, 0) 70%);
}
.glow-2 {
  top: 450px;
  right: -100px;
  background: radial-gradient(circle, #00f2fe 0%, rgba(0, 242, 254, 0) 70%);
  opacity: 0.16;
}

/* Full-Width Attached Top Header */
.top-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.navbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-group {
  display: flex;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

/* Classic After Effects Logo Badge */
.brand-logo-ae {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border: 1.5px solid rgba(165, 180, 252, 0.4);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(108, 92, 231, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.brand-link:hover .brand-logo-ae {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(108, 92, 231, 0.6);
}

.ae-badge-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  background: linear-gradient(135deg, #ffffff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-name span {
  color: #a5b4fc;
}

.brand-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Navigation Links */
.nav-links-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(108, 92, 231, 0.2);
  border: 1px solid rgba(140, 120, 255, 0.35);
}

.nav-link-external {
  color: #818cf8;
}
.nav-link-external:hover {
  color: #a5b4fc;
}

/* Main Content Area */
.main-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Common SVG Icon Sizing */
.icon {
  width: 18px;
  height: 18px;
}

.mini-icon {
  width: 14px;
  height: 14px;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.hero-header {
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.18;
}

.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #6c5ce7 50%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
}

.hero-subtitle code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  color: #a5b4fc;
}

/* Drop Zone */
.drop-zone-wrapper {
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
}

.drop-zone {
  position: relative;
  background: linear-gradient(180deg, rgba(21, 25, 41, 0.75) 0%, rgba(15, 18, 29, 0.9) 100%);
  border: 2px dashed rgba(140, 120, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 54px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--primary-light);
  background: linear-gradient(180deg, rgba(28, 33, 56, 0.85) 0%, rgba(18, 22, 38, 0.95) 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -10px rgba(108, 92, 231, 0.3), 0 0 0 1px var(--primary);
}

.drop-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.drop-icon-container {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(0, 242, 254, 0.15));
  border: 1px solid rgba(140, 120, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c7d2fe;
  margin-bottom: 6px;
  transition: transform 0.3s ease;
}

.drop-zone:hover .drop-icon-container {
  transform: scale(1.1);
  color: #ffffff;
}

.drop-icon {
  width: 34px;
  height: 34px;
}

.drop-text-main {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: #f1f5f9;
}

.drop-text-sub {
  font-size: 14px;
  color: var(--text-dim);
}

.drop-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.btn-browse {
  background: linear-gradient(135deg, #6c5ce7, #4f46e5);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
  transition: all 0.2s ease;
}

.btn-browse:hover {
  background: linear-gradient(135deg, #7c6df8, #5b52f0);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5);
}

.drop-footer {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.format-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Shop Promotional Banner with itzStream Video Embed
   ========================================================================== */

.shop-promo-banner {
  max-width: 1080px;
  width: 100%;
  margin: 10px auto 0;
  background: linear-gradient(135deg, rgba(23, 20, 52, 0.85) 0%, rgba(14, 17, 30, 0.95) 100%);
  border: 1px solid rgba(140, 120, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 12px 35px -10px rgba(108, 92, 231, 0.25);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 920px) {
  .shop-promo-banner {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 22px;
  }
}

.promo-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108, 92, 231, 0.2);
  color: #c7d2fe;
  border: 1px solid rgba(140, 120, 255, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  width: fit-content;
}

.promo-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.promo-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.promo-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 6px;
}

.btn-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6c5ce7, #4f46e5);
  color: #ffffff;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.4);
  transition: all 0.2s ease;
}

.btn-shop:hover {
  background: linear-gradient(135deg, #7c6df8, #5b52f0);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(108, 92, 231, 0.55);
}

.promo-subtext {
  display: block;
  font-size: 12.5px;
  color: #94a3b8;
  letter-spacing: 0.2px;
}

/* Video Player Container (itzStream Embed) */
.promo-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.promo-video-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.promo-video-caption {
  font-size: 11px;
  color: var(--text-dim);
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.promo-video-caption a {
  color: #818cf8;
  text-decoration: none;
}
.promo-video-caption a:hover {
  text-decoration: underline;
}

/* Dashboard & Cards */
.dashboard {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 0.4s ease forwards;
}

.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Top Project Header Card */
.project-header-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-card);
  gap: 20px;
  flex-wrap: wrap;
}

.project-meta-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.file-icon-badge {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #3730a3, #4338ca);
  border: 1.5px solid rgba(165, 180, 252, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(67, 56, 202, 0.4);
}

.badge-icon-svg {
  width: 26px;
  height: 26px;
}

.project-filename-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.project-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.badge-size, .badge-format {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
}

.badge-size {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.badge-format {
  background: rgba(0, 242, 254, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.project-sub-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-sep {
  color: var(--text-dim);
}

.project-meta-right {
  display: flex;
  align-items: center;
}

.version-highlight {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(147, 51, 234, 0.1));
  border: 1px solid rgba(165, 180, 252, 0.3);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  text-align: right;
}

.version-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a5b4fc;
  font-weight: 700;
}

.version-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.version-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Quick Downgrader Studio Banner */
.downgrade-studio-banner {
  background: linear-gradient(135deg, rgba(26, 22, 58, 0.9) 0%, rgba(18, 20, 36, 0.95) 100%);
  border: 1px solid rgba(140, 120, 255, 0.4);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
  flex-wrap: wrap;
}

.downgrade-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #6c5ce7;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.downgrade-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.downgrade-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 540px;
  margin-top: 4px;
}

.downgrade-controls {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.control-group label {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.version-select {
  background: var(--bg-surface);
  color: #ffffff;
  border: 1px solid var(--border-hover);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  min-width: 290px;
  transition: border-color 0.2s;
}

.version-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.btn-downgrade {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
}

.btn-downgrade:hover {
  background: linear-gradient(135deg, #34d399, #10b981);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-downgrade:active {
  transform: translateY(0);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* Stats Summary Counters Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
  transform: translateY(-2px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.icon-comp { background: rgba(108, 92, 231, 0.15); border: 1px solid rgba(108, 92, 231, 0.3); color: #a5b4fc; }
.icon-asset { background: rgba(0, 242, 254, 0.15); border: 1px solid rgba(0, 242, 254, 0.3); color: #38bdf8; }
.icon-plugin { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); color: #fbbf24; }
.icon-font { background: rgba(244, 63, 94, 0.15); border: 1px solid rgba(244, 63, 94, 0.3); color: #fb7185; }

.stat-number {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.tab-btn.active {
  color: #ffffff;
  background: rgba(108, 92, 231, 0.25);
  border-color: rgba(140, 120, 255, 0.5);
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.3);
}

/* Tab Panes */
.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.tab-pane.active {
  display: block;
}

.pane-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .pane-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Generic Card Styles */
.card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.card-header h2, .card-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.card-header .subtext {
  font-size: 13px;
  color: var(--text-dim);
}

/* Key Value Lists */
.key-value-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.kv-key {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.kv-val {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.highlight-purple {
  color: #c7d2fe;
}

.highlight-cyan {
  color: #38bdf8;
}

/* Health Checklist */
.health-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.health-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.health-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.status-ok {
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.status-warning {
  background-color: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber);
}

.status-danger {
  background-color: var(--accent-rose);
  box-shadow: 0 0 10px var(--accent-rose);
}

.health-title {
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
}

.health-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.quick-export-actions {
  display: flex;
  gap: 12px;
}

.btn-ghost-sm {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.btn-ghost-sm:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-secondary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Data Tables */
.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.res-tag {
  background: rgba(0, 242, 254, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.tc-tag {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #c7d2fe;
}

.risk-high {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.risk-low {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

/* Plugins Grid */
.plugins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.plugin-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plugin-vendor {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #a5b4fc;
  font-weight: 700;
}

.plugin-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.plugin-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
  margin-top: 4px;
}

/* Fonts List */
.fonts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.font-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.font-icon-svg {
  width: 18px;
  height: 18px;
  color: #fb7185;
}

.font-preview {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

/* Raw Chunks Box */
.raw-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.raw-row {
  display: flex;
  gap: 14px;
}

.raw-label {
  color: var(--text-dim);
  min-width: 180px;
}

.raw-box code {
  color: #a5b4fc;
}

/* ==========================================================================
   About Page Specific Styles
   ========================================================================== */

.about-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.about-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108, 92, 231, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(140, 120, 255, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.about-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.about-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .about-grid-2 {
    grid-template-columns: 1fr;
  }
}

.mission-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mission-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.25), rgba(0, 242, 254, 0.15));
  border: 1px solid rgba(140, 120, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c7d2fe;
}

.mission-card h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.quote-box {
  background: var(--bg-surface);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 4px;
  font-style: italic;
  color: #cbd5e1;
  font-size: 14px;
}

.supported-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 10px;
}

.supported-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #a5b4fc;
  margin-bottom: 10px;
}

.target-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.target-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.highlight-tag {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

/* Technical Section Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tech-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tech-item h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.tech-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.tech-item code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  color: #a5b4fc;
  font-size: 13px;
}

/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question svg {
  color: #a5b4fc;
  flex-shrink: 0;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 24px;
}

/* About CTA */
.about-cta {
  background: linear-gradient(135deg, rgba(30, 25, 68, 0.8), rgba(15, 18, 29, 0.95));
  border: 1px solid rgba(140, 120, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 48px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.about-cta h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
}

.about-cta p {
  color: var(--text-muted);
  max-width: 580px;
  font-size: 15px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #6c5ce7, #4f46e5);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(108, 92, 231, 0.4);
  transition: all 0.2s ease;
}

.btn-cta:hover {
  background: linear-gradient(135deg, #7c6df8, #5b52f0);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.5);
}

/* ==========================================================================
   Full-Width Footer (itzStream Style)
   ========================================================================== */

.bottom-footer {
  width: 100%;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 20px 36px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  color: var(--text-dim);
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

.footer-brand-title span {
  color: #a5b4fc;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  max-width: 380px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 8px;
}

.footer-copyright a {
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 600;
}

.footer-copyright a:hover {
  text-decoration: underline;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ffffff;
}

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

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links-list a:hover {
  color: #ffffff;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hover);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s ease;
  min-width: 280px;
}

.toast-success {
  border-left: 4px solid var(--accent-emerald);
}

.toast-error {
  border-left: 4px solid var(--accent-rose);
}

.toast-info {
  border-left: 4px solid #5865f2;
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   After Effects Presets (.ffx) Dashboard & Multi-Upload Cards
   ========================================================================== */

.presets-dashboard {
  max-width: 1240px;
  width: 100%;
  margin: 32px auto 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 0.4s ease;
}

.presets-dashboard.hidden {
  display: none !important;
}

.preset-batch-header {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-card);
}

.preset-header-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.preset-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108, 92, 231, 0.18);
  color: #c7d2fe;
  border: 1px solid rgba(140, 120, 255, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
}

.preset-badge-tag svg {
  color: #a5b4fc;
}

.preset-batch-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.preset-batch-desc {
  font-size: 14px;
  color: var(--text-muted);
  width: 100%;
  line-height: 1.5;
}

.preset-batch-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
  .preset-batch-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
}

.preset-batch-action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-batch-dl {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.btn-batch-dl:hover {
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
}

.preset-batch-subactions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-tool-subtle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  user-select: none;
}

.btn-tool-subtle:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: var(--border-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-tool-subtle:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.12);
}

.btn-tool-subtle .mini-icon {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.btn-tool-subtle:hover .mini-icon {
  stroke: #ffffff;
  transform: scale(1.08);
}

/* Presets Grid Layout */
.presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

@media (max-width: 480px) {
  .presets-grid {
    grid-template-columns: 1fr;
  }
}

.preset-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.preset-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.6), 0 0 20px var(--primary-glow);
}

.preset-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.preset-card-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preset-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  word-break: break-word;
}

.preset-card-size {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.preset-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.preset-badge-version {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(108, 92, 231, 0.25);
  color: #c7d2fe;
  border: 1px solid rgba(140, 120, 255, 0.4);
}

.preset-badge-category {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.12);
  color: #a5f3fc;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.preset-badge-expr {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.preset-effects-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preset-effects-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 700;
  color: var(--text-dim);
}

.preset-effects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preset-effect-chip {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  color: #e2e8f0;
}

.preset-effect-chip.is-plugin {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.35);
  color: #fecdd3;
  font-weight: 600;
}

.preset-plugins-alert {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #fde68a;
}

.preset-plugins-alert svg {
  flex-shrink: 0;
  color: #f59e0b;
}

.preset-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-preset-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #6c5ce7, #4f46e5);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(108, 92, 231, 0.3);
}

.btn-preset-download:hover {
  background: linear-gradient(135deg, #7c6df8, #5b52f0);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.45);
}

.preset-compat-note {
  font-size: 11.5px;
  color: var(--text-dim);
}
