/* ==========================================================================
   Product Dedicated Landing Page Styles (PrintFlow, Upscal Studio, TimeBack)
   Isolated namespaces: .ua-landing-printflow, .ua-landing-upscal, .ua-landing-timeback
   ========================================================================== */

/* Shared Hero & Section Wrappers */
.ua-product-landing {
  min-height: 100vh;
  padding-bottom: 80px;
}

.ua-pl-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. PRINTFLOW PRO v2.0 (Glassmorphism Dark Kiosk Theme)
   ========================================================================== */
.ua-landing-printflow {
  background-color: #090d16;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 10% 90%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(217, 70, 239, 0.15) 0%, transparent 50%);
  color: #ffffff;
  font-family: 'Outfit', 'Inter', sans-serif;
}

.ua-pf-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #c084fc;
  margin-bottom: 20px;
}

.ua-pf-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.ua-pf-hero-title {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.ua-pf-gradient-text {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ua-pf-hero-sub {
  font-size: 18px;
  color: #94a3b8;
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* PrintFlow Kiosk Demo Card */
.ua-pf-kiosk-frame {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  margin: 40px 0;
}

.ua-pf-kiosk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.ua-pf-kiosk-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ua-pf-kiosk-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.ua-pf-dropzone {
  border: 2px dashed rgba(139, 92, 246, 0.4);
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.4);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ua-pf-dropzone:hover {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.08);
}

.ua-pf-drop-icon {
  font-size: 42px;
  color: #a855f7;
  margin-bottom: 12px;
}

.ua-pf-receipt-panel {
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
}

.ua-pf-receipt-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 16px;
}

.ua-pf-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.ua-pf-stat-row.total {
  border-bottom: none;
  font-size: 18px;
  font-weight: 700;
  color: #10b981;
  padding-top: 16px;
}

.ua-pf-btn {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  color: #fff !important;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

/* Feature Grid */
.ua-pf-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.ua-pf-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px;
}

.ua-pf-card-icon {
  font-size: 28px;
  color: #06b6d4;
  margin-bottom: 14px;
}

/* ==========================================================================
   2. UPSCAL STUDIO (AI Master Upscal v2.0 Theme)
   ========================================================================== */
.ua-landing-upscal {
  background-color: #0B0F19;
  background-image: 
    radial-gradient(circle at 80% 10%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
  color: #F8FAFC;
  font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
}

.ua-up-lang-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 24px;
}

.ua-up-lang-btn {
  background: none;
  border: none;
  color: #94A3B8;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
}

.ua-up-lang-btn.active {
  background: #00DCFF;
  color: #0B0F19;
}

.ua-up-hero-title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.ua-up-cyan {
  color: #00DCFF;
}

.ua-up-slider-card {
  background: #151C2C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  margin: 40px 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.ua-up-slider-wrap {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #0B0F19;
}

.ua-up-split-left, .ua-up-split-right {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.ua-up-split-left {
  left: 0;
  width: 50%;
  background: #111827;
  border-right: 2px solid #00DCFF;
}

.ua-up-split-right {
  right: 0;
  width: 50%;
  background: #0f172a;
}

.ua-up-label-tag {
  position: absolute;
  top: 16px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.ua-up-label-before {
  left: 16px;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.ua-up-label-after {
  right: 16px;
  background: rgba(0, 220, 255, 0.2);
  color: #00DCFF;
  border: 1px solid rgba(0, 220, 255, 0.3);
}

.ua-up-2so-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.ua-up-so-card {
  background: #151C2C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
}

.ua-up-so-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: #FFC800;
  color: #000;
  display: inline-block;
  margin-bottom: 12px;
}

/* ==========================================================================
   3. TIMEBACK (Deep Work & Attention Recovery Theme)
   ========================================================================== */
.ua-landing-timeback {
  background-color: #0D1117;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  color: #E6EDF3;
  font-family: 'Inter', sans-serif;
}

.ua-tb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 20px;
}

.ua-tb-hero-title {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.ua-tb-amber-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ua-tb-timer-card {
  background: #161B22;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ua-tb-clock-face {
  font-size: 64px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #F59E0B;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
  margin: 20px 0;
}

.ua-tb-timer-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.ua-tb-btn {
  background: #F59E0B;
  color: #000 !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ua-tb-btn:hover {
  background: #d97706;
}

.ua-tb-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.ua-tb-stat-box {
  background: #161B22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.ua-tb-stat-val {
  font-size: 32px;
  font-weight: 800;
  color: #10B981;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .ua-pl-container {
    padding: 0 16px;
  }

  .ua-pf-kiosk-grid {
    grid-template-columns: 1fr !important;
  }

  /* 2 Cards per Row for Feature Grids on Mobile */
  .ua-up-2so-grid,
  .ua-pf-features,
  .ua-tb-features-grid,
  .ua-tb-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .ua-pf-hero-title,
  .ua-up-hero-title,
  .ua-tb-hero-title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .ua-pf-kiosk-frame {
    padding: 20px 14px;
    border-radius: 14px;
  }

  .ua-pf-kiosk-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ua-pf-dropzone {
    padding: 24px 14px;
  }

  .ua-up-slider-card > div:first-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px;
  }

  .ua-tb-timer-card {
    padding: 24px 16px;
  }

  .ua-tb-clock-face {
    font-size: clamp(38px, 11vw, 54px);
  }
}

@media (max-width: 480px) {
  .ua-pf-badge,
  .ua-tb-badge {
    font-size: 11px;
    padding: 5px 12px;
    max-width: 100%;
    text-align: center;
  }

  .ua-pf-btn,
  .ua-tb-btn,
  .ua-up-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .ua-tb-timer-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .ua-tb-timer-actions button {
    width: 100%;
    justify-content: center;
  }

  .ua-pf-stat-row {
    font-size: 13px;
  }
}

/* ==========================================================================
   STRICT 360px SCREEN ENFORCEMENT FOR PRODUCT LANDINGS
   Guarantees zero horizontal scrollbar on devices <= 360px
   ========================================================================== */
@media (max-width: 360px) {
  .ua-pl-container {
    padding: 0 12px;
  }

  .ua-pf-kiosk-frame,
  .ua-tb-timer-card,
  .ua-up-slider-card {
    padding: 16px 12px;
    border-radius: 12px;
  }

  .ua-pf-hero-title,
  .ua-up-hero-title,
  .ua-tb-hero-title {
    font-size: 24px !important;
  }

  .ua-pf-dropzone {
    padding: 18px 10px;
  }

  .ua-pf-receipt-panel {
    padding: 14px 10px;
  }

  .ua-tb-clock-face {
    font-size: 34px !important;
  }

  .ua-up-slider-wrap {
    height: 240px;
  }

  .ua-up-split-left,
  .ua-up-split-right {
    padding: 16px 10px;
  }

  .ua-up-so-card {
    padding: 18px 14px;
  }

  .ua-pf-card {
    padding: 18px 14px;
  }
}