/* ==========================================================================
   DIGYFYND ULTRA-PREMIUM WEBSITE SHOWCASE & LIVE PREVIEWER
   Typography: Outfit (Headings) + Plus Jakarta Sans (Body & UI)
   Aesthetic: Ultra-Luxurious, Glassmorphic, High-Tech, Responsive
   ========================================================================== */

:root {
  --pf-primary: #2563eb;
  --pf-primary-hover: #1d4ed8;
  --pf-primary-glow: rgba(37, 99, 235, 0.35);
  --pf-cyan: #0284c7;
  --pf-indigo: #4f46e5;
  --pf-purple: #7c3aed;
  --pf-pink: #db2777;
  --pf-emerald: #10b981;
  --pf-amber: #f59e0b;
  
  --pf-grad-primary: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  --pf-grad-vibrant: linear-gradient(135deg, #4f46e5 0%, #db2777 100%);
  --pf-grad-emerald: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --pf-grad-amber: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  --pf-grad-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --pf-grad-text: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #0284c7 100%);
  
  --pf-bg-body: #f8fafc;
  --pf-bg-card: #ffffff;
  --pf-text-heading: #0f172a;
  --pf-text-body: #334155;
  --pf-text-muted: #64748b;
  --pf-border: #e2e8f0;
  
  --pf-shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
  --pf-shadow-hover: 0 25px 50px -12px rgba(37, 99, 235, 0.2), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
}

/* Global Reset for Portfolio Page */
body.portfolio-body {
  background-color: var(--pf-bg-body);
  color: var(--pf-text-body);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

h1, h2, h3, h4, .brand-name, .hero-headline, .section-title, .cta-heading {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================================
   AMBIENT BACKGROUND GLOW ORBS
   ========================================================================== */
.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.ambient-glow-orb.orb-1 {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(2, 132, 199, 0) 70%);
}

.ambient-glow-orb.orb-2 {
  top: 600px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
}

.ambient-glow-orb.orb-3 {
  top: 1200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
}

/* ==========================================================================
   FLOATING GLASS NAVBAR
   ========================================================================== */
.showcase-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.showcase-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-glow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-glow img {
  height: 40px;
  width: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.showcase-brand:hover .brand-logo-glow img {
  transform: scale(1.05);
}

.brand-name-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-name span {
  color: var(--pf-primary);
}

.badge-showcase {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--pf-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Nav Stats Pills */
.nav-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #f1f5f9;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* Nav Buttons */
.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-nav-outline:hover {
  background: #f8fafc;
  color: var(--pf-primary);
  border-color: var(--pf-primary);
}

.btn-nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease;
}

.btn-nav-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  color: #ffffff;
}

/* ==========================================================================
   ULTRA-LUXURY HERO BANNER
   ========================================================================== */
.showcase-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  z-index: 1;
}

.hero-chip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pf-primary);
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.1);
  margin-bottom: 1.5rem;
}

.pulse-emerald-dot {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  animation: pulseEmerald 1.8s infinite;
}

@keyframes pulseEmerald {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.chip-divider {
  width: 1px;
  height: 12px;
  background: #cbd5e1;
}

.chip-action {
  color: #64748b;
  font-weight: 500;
}

.hero-headline {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -1.2px;
  margin-bottom: 1.2rem;
}

.headline-gradient-text {
  background: var(--pf-grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead-text {
  font-size: 1.15rem;
  color: #475569;
  max-width: 760px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Hero Trust Strip */
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Command & Search Filter Bar */
.showcase-command-wrapper {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.command-search-bar {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.command-search-bar .search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.15rem;
}

.command-input {
  width: 100%;
  padding: 0.95rem 1.4rem 0.95rem 3.2rem;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.98rem;
  font-family: inherit;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  outline: none;
  transition: all 0.25s ease;
}

.command-input:focus {
  border-color: var(--pf-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), 0 10px 28px rgba(37, 99, 235, 0.12);
}

.search-clear-btn {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1.1rem;
}

.search-clear-btn:hover {
  color: #0f172a;
}

/* Stage Filter Pills Bar (All / Completed / Ongoing) */
.stage-filter-pills-bar {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
}

.stage-tab-btn {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.55rem 1.3rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.stage-tab-btn:hover {
  background: #ffffff;
  border-color: #94a3b8;
  transform: translateY(-2px);
  color: #0f172a;
}

.stage-tab-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
}

.stage-tab-btn[data-stage="Completed"].active {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-color: #059669;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.stage-tab-btn[data-stage="Ongoing"].active {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  border-color: #d97706;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.stage-pill-count {
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

.stage-tab-btn.active .stage-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Category Pills Bar (Floating Glass Capsule) */
.category-pills-bar {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  background: #ffffff;
  padding: 6px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  margin: 0 auto;
}

.category-pill-btn {
  background: transparent;
  border: none;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
}

.category-pill-btn:hover {
  background: #f1f5f9;
  color: var(--pf-primary);
}

.category-pill-btn.active {
  background: var(--pf-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.pill-count-badge {
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 6px;
}

.category-pill-btn:not(.active) .pill-count-badge {
  background: #e2e8f0;
  color: #475569;
}

/* ==========================================================================
   SHOWCASE GRID & PROJECT CARDS
   ========================================================================== */
.showcase-grid-section {
  padding: 3.5rem 0 5rem;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
}

.project-card {
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--pf-shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--pf-shadow-hover);
  border-color: #bfdbfe;
}

/* Card Content Area & Clean Meta Bar */
.card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  gap: 0.5rem;
}

.meta-tags-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.category-pill-tag {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.featured-sparkle-tag {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

/* Stage Status Badges */
.stage-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.stage-badge-completed {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.stage-badge-ongoing {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.pulse-green {
  background: #10b981;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulseGreenGlow 2s infinite;
}

.pulse-amber {
  background: #f59e0b;
  box-shadow: 0 0 0 rgba(245, 158, 11, 0.4);
  animation: pulseAmberGlow 2s infinite;
}

@keyframes pulseGreenGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulseAmberGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.live-dot.dot-amber {
  background: #f59e0b;
  box-shadow: 0 0 0 rgba(245, 158, 11, 0.4);
  animation: pulseAmberGlow 2s infinite;
}

.client-name-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.35rem;
}

/* Card Mockup Media Wrap */
.project-media-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #0b0f19;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.project-media-img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.project-card:hover .project-media-img {
  transform: scale(1.02);
}

/* Category Gradient Themes */
.project-media-wrap.theme-interior,
.project-media-wrap.theme-interiorarchitecture {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
}
.project-media-wrap.theme-manufacturing,
.project-media-wrap.theme-manufacturingfurniture,
.project-media-wrap.theme-manufacturingindustrial {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1d4ed8 100%);
}
.project-media-wrap.theme-healthcare,
.project-media-wrap.theme-healthcarepharma,
.project-media-wrap.theme-healthcarehospital {
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
}
.project-media-wrap.theme-tech,
.project-media-wrap.theme-techsoftware,
.project-media-wrap.theme-techsaas {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
}
.project-media-wrap.theme-ecommerce,
.project-media-wrap.theme-ecommerceretail {
  background: linear-gradient(135deg, #4a044e 0%, #701a75 50%, #86198f 100%);
}
.project-media-wrap.theme-staffing,
.project-media-wrap.theme-staffinghrsolutions {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%);
}
.project-media-wrap.theme-corporate,
.project-media-wrap.theme-corporateconglomerate {
  background: linear-gradient(135deg, #18181b 0%, #27272a 50%, #3f3f46 100%);
}

/* Stylized Mockup Wireframe Placeholder */
.project-mockup-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}

.project-mockup-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 0;
  margin-bottom: auto;
}

.browser-dots {
  display: flex;
  gap: 4px;
}

.browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.browser-dots .dot-red { background: #ef4444; }
.browser-dots .dot-yellow { background: #f59e0b; }
.browser-dots .dot-green { background: #10b981; }

.browser-mockup-url {
  font-size: 0.72rem;
  color: #e2e8f0;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.mockup-body-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.8rem 0;
  gap: 0.4rem;
}

.mockup-category-icon-box {
  font-size: 2.3rem;
  color: #ffffff;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}

.mockup-text-headline {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  max-width: 90%;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.mockup-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255,255,255,0.25);
  color: #38bdf8;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.mockup-live-indicator .live-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

/* Hover Overlay Actions */
.project-overlay-actions {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.project-card:hover .project-overlay-actions {
  opacity: 1;
}

.btn-overlay-preview {
  background: var(--pf-grad-primary);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .btn-overlay-preview {
  transform: translateY(0);
}

.btn-overlay-preview:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.55);
}

/* Card Content Area */
.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-client-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.client-pill {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pf-primary);
}

.live-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
}

.live-status-badge .dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pf-text-heading);
  margin-bottom: 0.65rem;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--pf-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tech Stack Tags */
.tech-tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.tech-tag {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* Action Buttons Row */
.card-action-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 1.1rem;
  border-top: 1px solid #f1f5f9;
}

.btn-primary-preview {
  flex-grow: 1;
  background: var(--pf-grad-primary);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  text-decoration: none;
}

.btn-primary-preview:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.4);
  color: #ffffff;
}

.btn-tool-icon {
  width: 42px;
  height: 42px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #64748b;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-tool-icon:hover {
  background: #ffffff;
  color: var(--pf-primary);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* Empty State */
.empty-state-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.empty-icon-circle {
  width: 64px;
  height: 64px;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
}

/* ==========================================================================
   INTERACTIVE IN-PAGE LIVE PREVIEWER MODAL
   ========================================================================== */
.live-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.live-viewer-modal.active {
  display: flex;
  opacity: 1;
}

/* Modal Top Control Bar */
.viewer-top-bar {
  background: #090d16;
  border-bottom: 1px solid #1e293b;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

.viewer-site-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 220px;
}

.viewer-site-info .avatar-icon {
  width: 40px;
  height: 40px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 1.25rem;
}

.viewer-site-info .title-text {
  font-weight: 700;
  font-size: 0.98rem;
  color: #f8fafc;
  line-height: 1.2;
}

.viewer-site-info .client-sub {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Center Controls */
.viewer-center-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-grow: 1;
  max-width: 820px;
  justify-content: center;
}

/* Device Switcher Pills */
.device-switcher {
  display: flex;
  background: #1e293b;
  padding: 0.3rem;
  border-radius: 12px;
  border: 1px solid #334155;
  gap: 0.3rem;
}

.device-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.device-btn:hover {
  color: #ffffff;
}

.device-btn.active {
  background: var(--pf-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45);
}

/* Simulated Address Bar */
.simulated-url-bar {
  display: flex;
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  color: #cbd5e1;
  font-size: 0.84rem;
  flex-grow: 1;
  max-width: 400px;
  gap: 0.5rem;
}

.simulated-url-bar .ssl-lock {
  color: #10b981;
}

.simulated-url-text {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: monospace;
}

/* Right Tools */
.viewer-right-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-viewer-tool {
  background: #1e293b;
  border: 1px solid #334155;
  color: #cbd5e1;
  padding: 0.5rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-viewer-tool:hover {
  background: #334155;
  color: #ffffff;
}

.btn-close-viewer {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.2rem;
}

.btn-close-viewer:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   VIEWER CANVAS & DEVICE FRAMES
   ========================================================================== */
.viewer-viewport-canvas {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle, #1e293b 0%, #090d16 100%);
}

.canvas-loading-spinner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #ffffff;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.canvas-loading-spinner.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner-circle {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(56, 189, 248, 0.2);
  border-top-color: #38bdf8;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.spinner-text {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
}

/* Device Frame Containers */
.device-frame-wrapper {
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  background: #ffffff;
  overflow: hidden;
}

/* Desktop Viewport */
.device-frame-wrapper.mode-desktop {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  border-radius: 14px;
  border: 1px solid #334155;
}

/* Laptop Viewport (MacBook Pro Frame) */
.device-frame-wrapper.mode-laptop {
  width: 1024px;
  height: 92%;
  border-radius: 18px;
  border: 8px solid #334155;
}

/* Tablet Viewport (iPad Pro Frame) */
.device-frame-wrapper.mode-tablet {
  width: 768px;
  height: 94%;
  border-radius: 30px;
  border: 12px solid #1e293b;
}

/* Mobile Viewport (iPhone 16 Pro Frame) */
.device-frame-wrapper.mode-mobile {
  width: 385px;
  height: 96%;
  border-radius: 44px;
  border: 12px solid #1e293b;
}

.device-frame-wrapper.mode-mobile::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #1e293b;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.live-iframe-element {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

/* Fallback Banner */
.iframe-fallback-banner {
  display: none;
  position: absolute;
  inset: 0;
  background: #ffffff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  z-index: 20;
}

.iframe-fallback-banner.show {
  display: flex;
}

.fallback-icon-box {
  width: 80px;
  height: 80px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--pf-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.fallback-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.fallback-desc {
  font-size: 1rem;
  color: #64748b;
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

/* ==========================================================================
   CONVERSION CTA & FOOTER
   ========================================================================== */
.showcase-cta-section {
  padding: 2rem 0 5rem;
  position: relative;
  z-index: 1;
}

.cta-glass-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 28px;
  padding: 3.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-glass-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #38bdf8;
}

.cta-heading {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.cta-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
}

.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
}

.btn-cta-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.55);
  color: #ffffff;
}

.btn-cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-cta-phone:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Footer */
.showcase-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.footer-brand-wrap img {
  height: 28px;
}

.footer-copy-text {
  font-size: 0.82rem;
  color: #64748b;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: flex-end;
}

.footer-links a {
  color: #475569;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--pf-primary);
}

/* Toast */
.showcase-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 991px) {
  .hero-headline { font-size: 2.5rem; }
  .viewer-site-info { display: none; }
  .simulated-url-bar { max-width: 240px; }
  .device-frame-wrapper.mode-laptop { width: 100%; }
  .cta-glass-card { padding: 2.5rem 1.75rem; }
  .footer-links { justify-content: flex-start; margin-top: 0.5rem; }
}

@media (max-width: 767px) {
  .hero-headline { font-size: 2rem; }
  .showcase-hero { padding: 3rem 0 2rem; }
  .hero-trust-strip { gap: 0.75rem; }
  .category-pill-btn { font-size: 0.82rem; padding: 0.4rem 0.9rem; }
  .device-switcher .device-label { display: none; }
  .simulated-url-bar { display: none; }
  .viewer-viewport-canvas { padding: 0.5rem; }
  .device-frame-wrapper.mode-mobile { width: 100%; height: 100%; border: none; border-radius: 0; }
  .device-frame-wrapper.mode-mobile::before { display: none; }
  .cta-heading { font-size: 1.75rem; }
}
