/* ==========================================================================
   PhanxSmooth AI - CSS Stylesheet
   ========================================================================== */

:root {
  --bg-dark: #07080c;
  --panel-bg: rgba(16, 18, 24, 0.88);
  --panel-border: rgba(255, 215, 0, 0.18);
  --accent-cyan: #ffd700;
  --accent-purple: #ffb700;
  --accent-neon: #ff9900;
  --accent-pink: #ff5500;
  --accent-orange: #ffd700;
  --text-primary: #ffffff;
  --text-secondary: #c5c1b4;
  --text-muted: #807b6e;
  --gradient-brand: linear-gradient(135deg, #ffe033 0%, #ffd700 50%, #ffaa00 100%);
  --gradient-purple: linear-gradient(135deg, #ffd700 0%, #ff8800 100%);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Prompt', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background Glow Effect */
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.bg-glow-1 {
  top: -150px;
  left: -100px;
  background: radial-gradient(circle, #ffd700, #ff8800);
}

.bg-glow-2 {
  bottom: -200px;
  right: -100px;
  background: radial-gradient(circle, #ffaa00, #07080c);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(9, 12, 21, 0.85);
  border-bottom: 1px solid var(--panel-border);
  padding: 14px 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mascot-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-name .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-ai {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item:hover, .nav-item.active {
  color: var(--accent-cyan);
}

.nav-btn {
  padding: 8px 16px;
  font-size: 0.88rem;
}

/* Main Content & Hero */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  position: relative;
  z-index: 1;
}

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

.mascot-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-mascot-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: #ffd700;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Studio Layout Grid */
.studio-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 28px;
  margin-bottom: 70px;
}

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

/* Panel Design */
.panel {
  background: var(--panel-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.panel-header {
  margin-bottom: 22px;
}

.panel-header.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.panel-header h2 i {
  color: var(--accent-cyan);
}

/* Upload Dropzone */
.upload-area {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
  margin-bottom: 24px;
  position: relative;
}

.upload-area:hover, .upload-area.dragover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
}

.upload-icon {
  font-size: 2.2rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.upload-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.highlight-link {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.upload-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.file-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 14px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 0.88rem;
}

.btn-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-remove:hover {
  color: var(--accent-pink);
}

/* Aspect Ratio Selector Buttons */
.setting-group {
  margin-bottom: 22px;
}

.setting-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ratio-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ratio-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  color: var(--text-secondary);
}

.ratio-btn i {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.ratio-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.ratio-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.ratio-btn.active i, .ratio-btn.active .ratio-val {
  color: var(--accent-cyan);
}

.ratio-val {
  font-size: 0.95rem;
  font-weight: 700;
}

.ratio-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* FPS Selector Buttons */
.fps-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fps-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  color: var(--text-secondary);
}

.fps-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.fps-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.fps-val {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.fps-btn.active .fps-val {
  color: var(--accent-cyan);
}

.fps-unit {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.fps-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Custom Select & Sliders */
.custom-select {
  width: 100%;
  background: rgba(15, 21, 35, 0.9);
  border: 1px solid var(--panel-border);
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}

.custom-select:focus {
  border-color: var(--accent-cyan);
}

.custom-slider {
  width: 100%;
  accent-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.1);
  height: 6px;
  border-radius: 4px;
  cursor: pointer;
}

.slider-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #030712;
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--panel-border);
}

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

.btn-success {
  background: #10b981;
  color: #fff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
  background: #059669;
}

.btn-block {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* Preview Panel & Split Screen Viewer */
.live-fps-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.viewer-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  user-select: none;
  transition: aspect-ratio 0.3s ease, max-width 0.3s ease;
}

.viewer-container.ratio-16-9 {
  aspect-ratio: 16 / 9;
  max-width: 100%;
}

.viewer-container.ratio-9-16 {
  aspect-ratio: 9 / 16;
  max-width: 380px;
  margin: 0 auto;
}

.viewer-container.ratio-1-1 {
  aspect-ratio: 1 / 1;
  max-width: 500px;
  margin: 0 auto;
}

.viewer-container:fullscreen,
.viewer-container:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  background: #000 !important;
}

.preview-canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Split Comparison Slider Overlay */
.split-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.divider-line {
  width: 2px;
  height: 100%;
  background: var(--accent-cyan);
  margin: 0 auto;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.divider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #090c15;
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

/* Preview Labels */
.preview-label {
  position: absolute;
  top: 16px;
  z-index: 5;
}

.label-left {
  left: 16px;
}

.label-right {
  right: 16px;
}

.tag-original {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.tag-smooth {
  background: rgba(0, 242, 254, 0.2);
  backdrop-filter: blur(8px);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

/* Video Overlay Player Controls */
.video-overlay-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  padding: 16px 20px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-cyan);
}

.time-display {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 90px;
}

.progress-bar-container {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-brand);
  border-radius: 3px;
}

/* Metrics Cards Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.color-blue { background: rgba(79, 172, 254, 0.15); color: #4facfe; }
.color-purple { background: rgba(127, 0, 255, 0.15); color: #c084fc; }
.color-green { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.metric-info {
  display: flex;
  flex-direction: column;
}

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

.metric-value {
  font-size: 1.1rem;
  font-weight: 800;
}

/* Section Blocks */
.section-block {
  margin-bottom: 80px;
}

.section-title-box {
  text-align: center;
  margin-bottom: 40px;
}

.section-title-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 10px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

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

/* Guide Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-step-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(0, 242, 254, 0.2);
  margin-bottom: 8px;
}

.guide-step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.guide-step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-icon {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 22px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 22px 20px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Footer */
.footer {
  border-top: 1px solid var(--panel-border);
  background: rgba(9, 12, 21, 0.9);
  padding: 30px 0;
  margin-top: 60px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.footer-mascot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Processing Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #111726;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  width: 480px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.loader-spinner {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-ring {
  position: absolute;
  inset: 0;
  border: 4px solid rgba(0, 242, 254, 0.15);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

.spinner-mascot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.modal-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.modal-progress-box {
  margin-bottom: 24px;
}

.modal-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.modal-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-brand);
  border-radius: 4px;
  transition: width 0.2s ease;
}

.modal-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.step-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
}

.step-item {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-item.active {
  color: var(--accent-cyan);
  font-weight: 600;
}

.step-item.completed {
  color: #10b981;
}

/* Export Banner */
.export-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 150;
  background: rgba(17, 23, 38, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid #10b981;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.export-banner.active {
  transform: translateX(-50%) translateY(0);
}

.export-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.export-text {
  display: flex;
  align-items: center;
  gap: 14px;
}

.export-icon {
  font-size: 1.8rem;
  color: #10b981;
}

.export-text h4 {
  font-size: 1rem;
}

.export-text p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

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

.mobile-bottom-nav {
  display: none;
}

/* ==========================================================================
   Mobile & Tablet Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
  .navbar {
    padding: 12px 0;
  }

  .nav-container {
    flex-direction: row;
    justify-content: center;
    padding: 0 16px;
  }

  /* Hide top navbar links on mobile */
  .nav-links {
    display: none !important;
  }

  /* Fixed Mobile Bottom Navigation Bar (Like Image 2) */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(10, 12, 18, 0.96);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 215, 0, 0.25);
    z-index: 1000;
    align-items: center;
    justify-content: space-around;
    padding: 6px 10px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
  }

  .bottom-nav-item i {
    font-size: 1.25rem;
  }

  .bottom-nav-item:hover,
  .bottom-nav-item.active {
    color: #ffd700;
  }

  .bottom-nav-item.active i {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
  }

  .main-content {
    padding: 20px 14px 90px;
  }

  .hero-header {
    margin-bottom: 24px;
  }

  .hero-header h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .panel {
    padding: 16px;
  }

  .ratio-selector,
  .fps-selector {
    gap: 6px;
  }

  .ratio-btn,
  .fps-btn {
    padding: 10px 4px;
  }

  .ratio-val,
  .fps-val {
    font-size: 1.1rem;
  }

  .ratio-desc,
  .fps-desc {
    font-size: 0.62rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-title-box h2 {
    font-size: 1.6rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .export-banner {
    width: 92%;
    padding: 14px;
  }

  .export-content {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .export-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-mascot-avatar {
    width: 38px;
    height: 38px;
  }

  .brand-mascot-img {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .btn-block {
    padding: 14px;
    font-size: 0.92rem;
  }
}
