/* ==========================================================================
   YNA CONVERT - COMPLETE MASTER STYLESHEET (ALL COMPONENTS & CYBER MOTION)
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --bg-main: #090414;
  --bg-sidebar: rgba(13, 6, 28, 0.9);
  --bg-card: rgba(19, 10, 38, 0.75);
  --border-card: rgba(168, 85, 247, 0.22);
  --text-primary: #f8f5ff;
  --text-secondary: #c4b5fd;
  --text-muted: #8b7ca8;
  --accent-purple: #9333ea;
  --accent-indigo: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: #c084fc;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #22d3ee;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Helpers */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
.text-danger { color: #f87171; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 36px; }
.mt-2 { margin-top: 16px; }
.p-3 { padding: 16px; }
.p-4 { padding: 24px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Spinner */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(168, 85, 247, 0.2);
  border-top-color: #c084fc;
  border-radius: 50%;
  animation: spinCyber 0.8s linear infinite;
}

/* --------------------------------------------------------------------------
   AMBIENT LIVING BACKGROUND
   -------------------------------------------------------------------------- */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.32;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.orb-1 {
  top: -10%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #9333ea 0%, #4f46e5 70%, transparent 100%);
}

.orb-2 {
  bottom: 0%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #06b6d4 0%, #a855f7 70%, transparent 100%);
  animation-delay: -6s;
}

.orb-3 {
  top: 35%;
  right: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #ec4899 0%, #7c3aed 70%, transparent 100%);
  animation-delay: -12s;
}

.cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.75;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(80px, -60px) scale(1.15) rotate(90deg); }
  100% { transform: translate(-60px, 70px) scale(0.92) rotate(180deg); }
}

/* --------------------------------------------------------------------------
   APP LAYOUT
   -------------------------------------------------------------------------- */
#app {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Sidebar (Desktop) */
.sidebar {
  width: 260px;
  background: var(--bg-sidebar);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100vh;
  z-index: 100;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.4);
}

.sidebar-header {
  padding: 24px 20px 20px;
}

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

.logo-icon, .logo-icon-sm, #sidebarLogoIcon, #topBarLogoIcon {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0 !important;
}

.logo-icon img, .logo-icon-sm img, #sidebarLogoIcon img, #topBarLogoIcon img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  display: block !important;
}

.sidebar-logo img {
  max-height: 36px;
  max-width: 36px;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-badge-tech {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, #c084fc, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.sidebar-nav {
  flex: 1;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nav-item:hover {
  background: rgba(168, 85, 247, 0.12);
  color: #fff;
  transform: translateX(4px);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.25), rgba(99, 102, 241, 0.25));
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  border-radius: 0 4px 4px 0;
  background: #22d3ee;
  box-shadow: 0 0 10px #22d3ee;
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-divider {
  height: 1px;
  background: rgba(168, 85, 247, 0.15);
  margin: 10px 6px;
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
}

.sidebar-auth {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar-small {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.user-info-small {
  overflow: hidden;
}

.user-name-small {
  font-weight: 700;
  color: #fff;
  font-size: 0.88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.user-plan-small {
  font-size: 0.75rem;
  color: #22d3ee;
  font-weight: 700;
}

/* Main Content */
.main-content {
  margin-left: 260px;
  width: calc(100% - 260px);
  min-height: 100vh;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-content > * {
  width: 100%;
}

.upload-zone,
.settings-panel,
.cyber-compress-engine,
.result-card,
.cleanup-notice,
.selected-file-card,
#videoSettingsPanel,
#photoSettingsPanel,
#videoResults,
#photoResults,
#videoFileList,
#photoFileList,
#compressVideoBtn,
#compressPhotoBtn {
  max-width: 860px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.top-bar { display: none; }
.bottom-nav { display: none; }
.mobile-sidebar { display: none; }
.sidebar-overlay { display: none; }

/* --------------------------------------------------------------------------
   BUTTONS & CONTROLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-full { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; border-radius: var(--radius-sm); }

.btn-primary {
  position: relative;
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 50%, #4f46e5 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4), 0 0 15px rgba(168, 85, 247, 0.25);
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: rotate(25deg);
  animation: laserShimmer 4s infinite linear;
  pointer-events: none;
}

@keyframes laserShimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(124, 58, 237, 0.65), 0 0 25px rgba(168, 85, 247, 0.45);
  filter: brightness(1.1);
}

.btn-outline {
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(124, 58, 237, 0.08);
  color: #c4b5fd;
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: #c084fc;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #c4b5fd;
}

.btn-ghost:hover {
  background: rgba(168, 85, 247, 0.12);
  color: #fff;
}

.btn-store {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #06b6d4 100%) !important;
  border: 1px solid rgba(52, 211, 153, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4), 0 0 15px rgba(6, 182, 212, 0.3) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.btn-store:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.65), 0 0 25px rgba(6, 182, 212, 0.45) !important;
  filter: brightness(1.1);
}

.ecosystem-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(124, 58, 237, 0.18) 100%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(16, 185, 129, 0.15);
  position: relative;
  overflow: hidden;
}

.ecosystem-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
  width: 100%;
}

.stat-pill {
  background: rgba(19, 10, 38, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-pill:hover {
  transform: translateY(-4px);
  border-color: #c084fc;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.25);
}

.hero-brand-symbol {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-brand-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 18px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.45);
  animation: floatOrb 6s ease-in-out infinite alternate;
}

.hero-brand-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.6) 0%, rgba(6, 182, 212, 0.3) 50%, transparent 70%);
  filter: blur(16px);
  z-index: 1;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   HOMEPAGE (HERO, FEATURES, STEPS, PRICING, FOOTER)
   -------------------------------------------------------------------------- */
.hero {
  text-align: center;
  padding: 32px 16px;
  max-width: 800px;
  margin: 0 auto 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 20px;
  color: #c084fc;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 30%, #e9d5ff 70%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #c084fc;
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.25);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.25), rgba(6, 182, 212, 0.25));
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* How It Works (Steps) */
.how-it-works {
  text-align: center;
  margin-bottom: 48px;
}

.how-it-works-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.how-it-works-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  backdrop-filter: blur(16px);
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 48px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  backdrop-filter: blur(20px);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: #c084fc;
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.3);
}

.pricing-card.popular {
  border-color: rgba(192, 132, 252, 0.6);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.35);
  background: linear-gradient(180deg, rgba(32, 16, 64, 0.85) 0%, rgba(19, 10, 38, 0.8) 100%);
}

.pricing-badge-container {
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(168, 85, 247, 0.2);
  color: #e9d5ff;
}

.badge-popular {
  background: linear-gradient(135deg, #9333ea, #06b6d4);
  color: #fff;
  box-shadow: 0 0 12px rgba(147, 51, 234, 0.6);
}

.badge-value {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.pricing-card-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.pricing-card-price {
  margin-bottom: 4px;
}

.pricing-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: #22d3ee;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-feature-icon {
  color: #34d399;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer */
.footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
}

.footer-social-link:hover {
  background: rgba(168, 85, 247, 0.25);
  color: #fff;
}

.footer-column-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

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

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

.footer-link:hover {
  color: #22d3ee;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   DASHBOARD & STAT CARDS
   -------------------------------------------------------------------------- */
.page-header {
  margin-bottom: 28px;
}

.page-title {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 20%, #e9d5ff 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  backdrop-filter: blur(16px);
  position: relative;
}

.stat-card-header {
  margin-bottom: 14px;
}

.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
}

.stat-card-icon.pink { background: rgba(236, 72, 153, 0.15); color: #f472b6; border-color: rgba(236, 72, 153, 0.3); }
.stat-card-icon.green { background: rgba(16, 185, 129, 0.15); color: #34d399; border-color: rgba(16, 185, 129, 0.3); }

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* History List */
.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  gap: 12px;
}

.history-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.history-item-info {
  flex: 1;
  overflow: hidden;
}

.history-item-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.history-item-savings {
  font-weight: 800;
  color: #34d399;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   AUTH PAGES
   -------------------------------------------------------------------------- */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  max-width: 440px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(28px);
  padding: 40px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(124, 58, 237, 0.2);
  text-align: center;
  animation: popInScale 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-logo {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-logo img {
  max-height: 52px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
}

.auth-logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.auth-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.auth-form {
  text-align: left;
}

.auth-footer {
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   FORMS & INPUTS
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #e2d9f3;
  margin-bottom: 8px;
  display: block;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 18px;
  background: rgba(11, 5, 24, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
}

.form-input:focus, .form-select:focus {
  border-color: #c084fc;
  box-shadow: 0 0 16px rgba(192, 132, 252, 0.35);
  background: rgba(17, 8, 36, 0.95);
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-input { display: none; }

.checkbox-custom {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(168, 85, 247, 0.4);
  background: rgba(11, 5, 24, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.checkbox-input:checked + .checkbox-custom {
  background: #9333ea;
  border-color: #c084fc;
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.6);
}

.checkbox-input:checked + .checkbox-custom::after {
  content: '✓';
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   UPLOAD DROPZONE
   -------------------------------------------------------------------------- */
.upload-zone {
  position: relative;
  border: 2px dashed rgba(168, 85, 247, 0.4);
  background: linear-gradient(180deg, rgba(26, 14, 52, 0.7) 0%, rgba(15, 8, 32, 0.8) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 28px;
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
}

.upload-zone:hover {
  border-color: #c084fc;
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(124, 58, 237, 0.25), 0 0 30px rgba(168, 85, 247, 0.3);
}

.upload-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.25), rgba(6, 182, 212, 0.25));
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
  animation: gentleFloat 4s ease-in-out infinite;
}

.upload-icon svg {
  color: #c084fc;
  filter: drop-shadow(0 0 10px rgba(192, 132, 252, 0.6));
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.upload-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.upload-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.upload-formats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.upload-format-tag {
  padding: 5px 12px;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e9d5ff;
}

/* --------------------------------------------------------------------------
   SETTINGS PANEL & SLIDER
   -------------------------------------------------------------------------- */
.settings-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(24px);
  overflow: hidden;
  margin-bottom: 20px;
}

.settings-header {
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.settings-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-header-icon { color: #c084fc; }
.settings-header-title { font-size: 1.05rem; font-weight: 700; color: #f1e8ff; }
.settings-body { padding: 24px; }

.slider-container {
  padding: 18px;
  background: rgba(11, 5, 24, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

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

.slider-track {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #9333ea, #06b6d4);
  outline: none;
  margin: 14px 0 10px;
  cursor: pointer;
}

.slider-track::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #7c3aed;
  box-shadow: 0 0 15px #a855f7, 0 0 25px rgba(6, 182, 212, 0.8);
  cursor: grab;
  transition: transform 0.2s ease;
}

.slider-track::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.slider-value-input {
  display: flex;
  align-items: center;
  gap: 4px;
}

.slider-value-input input {
  background: rgba(19, 10, 38, 0.9);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 8px;
  color: #22d3ee;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  width: 60px;
  padding: 4px;
}

.slider-unit { font-weight: 700; color: #a78bfa; }

/* --------------------------------------------------------------------------
   COMPRESSION ENGINE
   -------------------------------------------------------------------------- */
.cyber-compress-engine {
  padding: 36px 28px;
  background: linear-gradient(180deg, rgba(24, 12, 48, 0.92) 0%, rgba(13, 6, 28, 0.95) 100%);
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(28px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(124, 58, 237, 0.25);
  position: relative;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   CYBER HYDRAULIC SQUEEZER (ANIMASI PENCET KOMPRES REALTIME)
   -------------------------------------------------------------------------- */
.cyber-press-machine {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.press-piston-top {
  position: absolute;
  top: 4px;
  width: 84px;
  height: 14px;
  background: linear-gradient(90deg, #475569 0%, #cbd5e1 50%, #475569 100%);
  border: 1px solid #38bdf8;
  border-radius: 6px 6px 2px 2px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
  z-index: 5;
  animation: pistonPressDown 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.press-piston-top::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 12px;
  background: linear-gradient(90deg, #334155, #64748b, #334155);
  border-radius: 3px;
}

.press-anvil-bottom {
  position: absolute;
  bottom: 6px;
  width: 104px;
  height: 14px;
  background: linear-gradient(90deg, #1e1b4b 0%, #3b0764 50%, #1e1b4b 100%);
  border: 1px solid #a855f7;
  border-radius: 2px 2px 6px 6px;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
  z-index: 5;
}

.press-target-media {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.4) 0%, rgba(6, 182, 212, 0.4) 100%);
  border: 2px solid #c084fc;
  border-radius: 18px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(147, 51, 234, 0.5), 0 0 20px rgba(6, 182, 212, 0.4);
  position: relative;
  z-index: 3;
  animation: mediaSquishBounce 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: center bottom;
}

.press-target-media .media-icon-svg {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
  animation: iconPulseShrink 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.press-target-media .media-badge-text {
  font-size: 0.62rem;
  font-weight: 800;
  color: #22d3ee;
  letter-spacing: 0.08em;
  margin-top: 2px;
  text-transform: uppercase;
}

.press-laser-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #22d3ee 50%, transparent 100%);
  box-shadow: 0 0 10px #22d3ee, 0 0 20px #06b6d4;
  top: 50%;
  animation: laserScanVertical 1.8s ease-in-out infinite;
  pointer-events: none;
}

.press-shockwave {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(6, 182, 212, 0.8);
  pointer-events: none;
  animation: shockwaveBurst 1.8s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

@keyframes pistonPressDown {
  0% { transform: translateY(0); }
  28% { transform: translateY(26px); box-shadow: 0 0 25px #06b6d4, 0 0 40px #ec4899; }
  45% { transform: translateY(22px); }
  75% { transform: translateY(0); }
  100% { transform: translateY(0); }
}

@keyframes mediaSquishBounce {
  0% { transform: scale(1, 1); border-color: #c084fc; }
  28% { 
    transform: scale(1.24, 0.52); 
    border-color: #06b6d4; 
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.9), 0 0 50px rgba(236, 72, 153, 0.7); 
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.5) 0%, rgba(6, 182, 212, 0.6) 100%);
  }
  42% { transform: scale(0.92, 1.12); }
  58% { transform: scale(1.04, 0.96); }
  72% { transform: scale(0.98, 1.02); }
  85% { transform: scale(1, 1); }
  100% { transform: scale(1, 1); }
}

@keyframes iconPulseShrink {
  0% { transform: scale(1); }
  28% { transform: scale(0.8, 0.6); }
  42% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes laserScanVertical {
  0% { top: 15%; opacity: 0; }
  25% { opacity: 1; }
  50% { top: 85%; opacity: 1; }
  75% { top: 15%; opacity: 0.8; }
  100% { opacity: 0; }
}

@keyframes shockwaveBurst {
  0%, 25% { transform: scale(0.4); opacity: 0; }
  28% { transform: scale(0.6); opacity: 1; border-color: #06b6d4; }
  60% { transform: scale(1.4); opacity: 0; border-color: #ec4899; }
  100% { transform: scale(1.5); opacity: 0; }
}

.compress-title {
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff, #e9d5ff, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.compress-subtitle {
  font-size: 0.92rem;
  color: #c4b5fd;
  margin-bottom: 26px;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 700;
  color: #7c6f96;
  transition: all 0.35s ease;
}

.step-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #473a63;
}

.pipeline-step.step-active {
  border-color: #c084fc;
  background: rgba(124, 58, 237, 0.2);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

.pipeline-step.step-active .step-dot {
  background: #22d3ee;
  box-shadow: 0 0 12px #22d3ee;
}

.pipeline-step.step-done {
  border-color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  color: #a7f3d0;
}

.pipeline-step.step-done .step-dot { background: #34d399; }

.progress-bar-wrap {
  width: 100%;
  height: 14px;
  background: rgba(11, 5, 24, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #9333ea 0%, #7c3aed 40%, #06b6d4 100%);
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.8);
  transition: width 0.3s ease;
}

/* --------------------------------------------------------------------------
   RESULTS & SAVINGS
   -------------------------------------------------------------------------- */
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  backdrop-filter: blur(28px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 58, 237, 0.2);
  animation: popInScale 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

.result-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 4px;
}

.result-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
}

.size-comparison {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.size-box {
  flex: 1;
  padding: 14px;
  background: rgba(11, 5, 24, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-md);
  text-align: center;
}

.size-box-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.size-box-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.size-arrow { color: #a78bfa; }

.savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.25), rgba(16, 185, 129, 0.35));
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 24px;
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.35);
}

.cleanup-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-md);
  margin-top: 18px;
  font-size: 0.875rem;
  color: #a5f3fc;
  backdrop-filter: blur(8px);
}

.cleanup-notice svg { color: #22d3ee; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   MODALS, TOASTS & UTILS
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 2, 10, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-card, .modal-content {
  max-width: 480px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(124, 58, 237, 0.3);
  position: relative;
  overflow: hidden;
  animation: popInScale 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close:hover { color: #fff; }
.modal-body { padding: 24px; }

.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(19, 10, 38, 0.95);
  border: 1px solid var(--border-card);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: popInScale 0.3s ease;
}

.toast.toast-error {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(36, 10, 20, 0.95);
}

.toast.toast-success {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(10, 36, 25, 0.95);
}

@keyframes popInScale {
  0% { opacity: 0; transform: scale(0.92) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

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

/* --------------------------------------------------------------------------
   RESPONSIVE (MOBILE VIEW)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  #app {
    flex-direction: column;
  }

  .sidebar {
    display: none !important;
  }

  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 16px 16px 90px !important;
    align-items: center;
  }

  .top-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 56px;
    max-height: 56px;
    overflow: hidden;
    background: rgba(13, 6, 28, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-card);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .top-bar-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
  }

  .bottom-nav {
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 6, 28, 0.92);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-card);
    padding: 10px 0;
    z-index: 100;
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
  }

  .bottom-nav-item.active {
    color: #22d3ee;
  }

  .bottom-nav-icon {
    width: 22px;
    height: 22px;
  }

  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 24px 16px 90px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .mobile-sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(13, 6, 28, 0.98);
    border-left: 1px solid var(--border-card);
    z-index: 1200;
    display: flex !important;
    flex-direction: column;
    padding: 20px;
    transition: right 0.3s ease;
  }

  .mobile-sidebar.open {
    right: 0;
  }

  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1100;
    display: none;
  }

  .sidebar-overlay.active {
    display: block !important;
  }
}

/* --------------------------------------------------------------------------
   WHATSAPP CHANNEL FOLLOW MODAL (LUXURY CYBER EDITION)
   -------------------------------------------------------------------------- */
.channel-lock-modal {
  padding: 36px 28px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.channel-icon-wrap {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  justify-content: center;
}

.channel-icon-pulse {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.6), 0 0 50px rgba(18, 140, 126, 0.4);
  animation: pulseWaRing 2s infinite alternate ease-in-out;
}

.channel-icon-pulse svg {
  width: 42px;
  height: 42px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

@keyframes pulseWaRing {
  0% { transform: scale(0.95); box-shadow: 0 0 20px rgba(37, 211, 102, 0.5); }
  100% { transform: scale(1.08); box-shadow: 0 0 45px rgba(37, 211, 102, 0.9), 0 0 70px rgba(18, 140, 126, 0.5); }
}

.channel-lock-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.channel-lock-desc {
  font-size: 0.92rem;
  color: #c4b5fd;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 380px;
}

.channel-lock-box {
  width: 100%;
  padding: 16px 20px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px dashed rgba(248, 113, 113, 0.35);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.channel-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #f87171;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.channel-lock-hint {
  font-size: 0.82rem;
  color: #fca5a5;
  line-height: 1.4;
}

.channel-btn-group {
  width: 100%;
}

.btn-whatsapp-channel {
  width: 100% !important;
  padding: 16px 24px !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: var(--radius-lg) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.01em !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 20px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.btn-whatsapp-channel:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 16px 45px rgba(37, 211, 102, 0.7), 0 0 35px rgba(37, 211, 102, 0.5) !important;
  filter: brightness(1.1);
}

/* --------------------------------------------------------------------------
   ADMIN PANEL & TABLES (CYBER LUXURY EDITION)
   -------------------------------------------------------------------------- */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
  width: 100%;
}

.admin-section {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  margin-bottom: 32px;
  backdrop-filter: blur(20px);
  width: 100%;
}

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

.admin-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(11, 5, 24, 0.6);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.table th {
  padding: 16px 18px;
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
}

.table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
  font-size: 0.92rem;
  color: #f1e8ff;
  vertical-align: middle;
}

.table tr:hover td {
  background: rgba(168, 85, 247, 0.08);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pagination-item {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(19, 10, 38, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-item:hover {
  border-color: #c084fc;
  background: rgba(124, 58, 237, 0.25);
  color: #fff;
}

.pagination-item.active {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  border-color: #c084fc;
  color: #fff;
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.6);
}

/* --------------------------------------------------------------------------
   CONTACT PAGE STYLES
   -------------------------------------------------------------------------- */
.contact-hero {
  text-align: center;
  margin-bottom: 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
  width: 100%;
}

.contact-card {
  background: rgba(19, 10, 38, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: #c084fc;
  box-shadow: 0 12px 35px rgba(124, 58, 237, 0.25);
}

.contact-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.contact-item-row:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: #a855f7;
  transform: translateX(4px);
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-wa {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25d366;
}

.contact-icon-web {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #22d3ee;
}

.contact-icon-tg {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .ecosystem-banner {
    padding: 24px 18px;
    text-align: center;
    justify-content: center;
  }
  .ecosystem-banner .btn {
    width: 100%;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }
}