/* 
   FlyShelf - Premium Cross-Device Clipboard & Productivity Ecosystem
   Unified Master Website Styling (Vanilla CSS)
*/

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- THEME DEFINITIONS & CUSTOM VARIABLE SETS --- */
:root {
  /* Default: Midnight Theme variables */
  --bg-darker: #06070a;
  --bg-main: #0c0e15;
  --bg-card: rgba(20, 24, 38, 0.55);
  --bg-card-hover: rgba(26, 32, 51, 0.7);
  --bg-glass: rgba(12, 14, 21, 0.82);
  
  --color-cyan: #00d2ff;
  --color-blue: #0078d6;
  --color-emerald: #3ddc84;
  --color-purple: #9e00ff;
  --color-amber: #ff9d00;
  --color-red: #ff3b30;
  
  --text-primary: #f3f5f9;
  --text-secondary: #9aa2b5;
  --text-muted: #626a7e;
  
  --border-light: rgba(255, 255, 255, 0.07);
  --shadow-main: 0 12px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-neon: 0 0 25px rgba(0, 210, 255, 0.25);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;

  /* Premium high-performance static backgrounds */
  --bg-blob-cyan: rgba(0, 210, 255, 0.15);
  --bg-blob-purple: rgba(158, 0, 255, 0.15);
  --bg-blob-emerald: rgba(61, 220, 132, 0.12);
}

/* Ocean Theme Class */
body.theme-ocean {
  --bg-darker: #020710;
  --bg-main: #051022;
  --bg-card: rgba(10, 24, 45, 0.55);
  --bg-card-hover: rgba(14, 32, 60, 0.7);
  --bg-glass: rgba(5, 12, 26, 0.82);
  
  --color-cyan: #00f0ff;
  --color-blue: #06b6d4;
  --color-emerald: #08f0a0;
  --color-purple: #0ea5e9;
  --color-amber: #f59e0b;
  --shadow-neon: 0 0 25px rgba(6, 182, 212, 0.25);

  --bg-blob-cyan: rgba(0, 240, 255, 0.15);
  --bg-blob-purple: rgba(6, 182, 212, 0.15);
  --bg-blob-emerald: rgba(8, 240, 160, 0.12);
}

/* Sunset Theme Class */
body.theme-sunset {
  --bg-darker: #0c0303;
  --bg-main: #180707;
  --bg-card: rgba(45, 15, 15, 0.55);
  --bg-card-hover: rgba(60, 20, 20, 0.7);
  --bg-glass: rgba(26, 7, 7, 0.82);
  
  --color-cyan: #f97316;
  --color-blue: #ea580c;
  --color-emerald: #f43f5e;
  --color-purple: #ec4899;
  --color-amber: #ffb703;
  --shadow-neon: 0 0 25px rgba(244, 63, 94, 0.25);

  --bg-blob-cyan: rgba(249, 115, 22, 0.15);
  --bg-blob-purple: rgba(236, 72, 153, 0.15);
  --bg-blob-emerald: rgba(244, 63, 94, 0.12);
}

/* Emerald Theme Class */
body.theme-emerald {
  --bg-darker: #020a05;
  --bg-main: #051e0f;
  --bg-card: rgba(10, 45, 20, 0.55);
  --bg-card-hover: rgba(14, 60, 26, 0.7);
  --bg-glass: rgba(5, 26, 12, 0.82);
  
  --color-cyan: #10b981;
  --color-blue: #059669;
  --color-emerald: #34d399;
  --color-purple: #064e3b;
  --color-amber: #f59e0b;
  --shadow-neon: 0 0 25px rgba(52, 211, 153, 0.25);

  --bg-blob-cyan: rgba(16, 185, 129, 0.15);
  --bg-blob-purple: rgba(6, 78, 59, 0.15);
  --bg-blob-emerald: rgba(52, 211, 147, 0.12);
}

/* Lavender Theme Class */
body.theme-lavender {
  --bg-darker: #0a0312;
  --bg-main: #150624;
  --bg-card: rgba(35, 12, 60, 0.55);
  --bg-card-hover: rgba(46, 16, 78, 0.7);
  --bg-glass: rgba(21, 6, 36, 0.82);
  
  --color-cyan: #a78bfa;
  --color-blue: #8b5cf6;
  --color-emerald: #c084fc;
  --color-purple: #7c3aed;
  --color-amber: #ff9d00;
  --shadow-neon: 0 0 25px rgba(192, 132, 252, 0.25);

  --bg-blob-cyan: rgba(167, 139, 250, 0.15);
  --bg-blob-purple: rgba(124, 58, 237, 0.15);
  --bg-blob-emerald: rgba(192, 132, 252, 0.12);
}

/* --- RESET & GLOBAL RULES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-darker);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.6s ease, color 0.4s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- CORE REUSABLE UTILITIES --- */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-main);
  transition: var(--transition-smooth);
}

.glass:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.glow-text-cyan {
  text-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.gradient-text-cyan-purple {
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--transition-smooth);
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-cyan {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
  color: #02040a;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-cyan:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5), var(--shadow-neon);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
  transform: translateY(-3px);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.badge-cyan { background: rgba(0, 210, 255, 0.12); color: var(--color-cyan); border: 1px solid rgba(0, 210, 255, 0.2); }
.badge-emerald { background: rgba(61, 220, 132, 0.12); color: var(--color-emerald); border: 1px solid rgba(61, 220, 132, 0.2); }
.badge-purple { background: rgba(158, 0, 255, 0.12); color: var(--color-purple); border: 1px solid rgba(158, 0, 255, 0.2); }
.badge-amber { background: rgba(255, 157, 0, 0.12); color: var(--color-amber); border: 1px solid rgba(255, 157, 0, 0.2); }

/* --- BACKGROUND LIQUID ELEMENTS (BLOBS) --- */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: 
    radial-gradient(circle at 15% 15%, var(--bg-blob-cyan) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, var(--bg-blob-purple) 0%, transparent 50%),
    radial-gradient(circle at 75% 45%, var(--bg-blob-emerald) 0%, transparent 40%);
  transition: background 0.8s ease;
}

.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
}

/* --- PREMIUM NAVIGATION BAR --- */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  z-index: 1000;
  border-radius: 35px;
  border: 1px solid var(--border-light);
  background: rgba(12, 14, 21, 0.5);
  transition: var(--transition-smooth);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  cursor: pointer;
}

.brand-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-content: center;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
  border-radius: 8px;
  font-weight: 800;
  color: #000;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
  transition: var(--transition-smooth);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* --- HERO SECTION --- */
.hero {
  padding: 160px 20px 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.hero-tag span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-emerald);
  box-shadow: 0 0 10px var(--color-emerald);
  transition: var(--transition-smooth);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 30px auto;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

/* BRAND SWATCH THEME SWITCHER styling */
.theme-switcher-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.theme-switcher-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 25px;
  border-radius: 40px;
  background: rgba(20, 24, 38, 0.35);
  border: 1px solid var(--border-light);
}

.theme-switcher-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.theme-swatches {
  display: flex;
  gap: 10px;
}

.theme-swatch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.theme-swatch:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.theme-swatch.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-cyan);
  color: var(--text-primary);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

.swatch-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.swatch-midnight { background: linear-gradient(135deg, #0f111a, #00d2ff, #9e00ff); }
.swatch-ocean { background: linear-gradient(135deg, #020710, #00f0ff, #06b6d4); }
.swatch-sunset { background: linear-gradient(135deg, #0c0303, #f97316, #ec4899); }
.swatch-emerald { background: linear-gradient(135deg, #020a05, #10b981, #34d399); }
.swatch-lavender { background: linear-gradient(135deg, #0a0312, #a78bfa, #c084fc); }


/* Platform Status Badges */
.platform-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  border-radius: 16px;
  background: rgba(20, 24, 38, 0.3);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.platform-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  background: rgba(20, 24, 38, 0.55);
}

.platform-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.platform-card.win .platform-icon { color: var(--color-cyan); }
.platform-card.android .platform-icon { color: var(--color-emerald); }

.platform-info {
  text-align: left;
}

.platform-name {
  font-weight: 700;
  font-size: 0.95rem;
}

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

/* --- THE SYNC SPACE (INTERACTIVE SIMULATOR) --- */
.sync-space-section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.sync-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  align-items: center;
  padding: 40px;
  position: relative;
  gap: 20px;
  min-height: 480px;
}

@media (max-width: 900px) {
  .sync-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sync-pathway {
    height: 100px;
    transform: rotate(90deg);
  }
}

/* Device Mockups: PC & Mobile */
.device-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.mockup-pc {
  width: 100%;
  max-width: 380px;
  height: 280px;
  border-radius: 12px;
  border: 4px solid #1a1e2b;
  background: #0d0f17;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Window Titlebar Control */
.mockup-titlebar {
  height: 24px;
  background: #141722;
  display: flex;
  align-items: center;
  padding: 0 10px;
  justify-content: space-between;
}

.titlebar-dots {
  display: flex;
  gap: 5px;
}

.titlebar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-body {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

/* Interactive Simulator Cards */
.sync-card {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sync-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

.sync-card.active-transfer {
  border-color: var(--color-cyan);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.15);
}

.sync-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sync-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.sync-card.active-transfer .sync-card-icon {
  color: var(--color-cyan);
  background: rgba(0, 210, 255, 0.1);
}

.sync-card-text {
  text-align: left;
}

.sync-card-title {
  font-weight: 700;
  color: var(--text-primary);
}

.sync-card-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Mockup Mobile Phone */
.mockup-phone {
  width: 190px;
  height: 360px;
  border-radius: 28px;
  border: 5px solid #1a1e2b;
  background: #0a0b10;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.phone-speaker {
  width: 45px;
  height: 12px;
  background: #1a1e2b;
  border-radius: 6px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding-top: 15px;
  position: relative;
}

/* Floating Ball overlay simulation */
.floating-ball {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-cyan), var(--color-blue));
  position: absolute;
  bottom: 20px;
  right: 10px;
  box-shadow: 0 0 15px var(--color-cyan);
  z-index: 100;
  opacity: 0.85;
  cursor: grab;
  animation: pulse-ring 2.5s infinite;
}

.phone-card {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  text-align: left;
  transform: translateY(20px);
  opacity: 0;
  animation: slide-in-phone-item 0.5s forwards cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.phone-card.empty-feed {
  text-align: center;
  color: var(--text-muted);
  border: none;
  background: transparent;
  padding: 40px 10px 0 10px;
  opacity: 1;
  transform: translateY(0);
}

/* Central Pathway Pipelines */
.sync-pathway {
  height: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pipeline-svg {
  width: 100%;
  height: 100px;
  overflow: visible;
}

.flow-line {
  fill: none;
  stroke: var(--border-light);
  stroke-width: 3;
  stroke-dasharray: 8 8;
  animation: dash-move 30s linear infinite;
  transition: var(--transition-smooth);
}

.flow-packet {
  fill: var(--color-cyan);
  filter: drop-shadow(0 0 8px var(--color-cyan));
  opacity: 0;
}

.flow-line.active-lane {
  stroke-width: 4;
}

.flow-line.lane-lan { stroke: var(--color-cyan); }
.flow-line.lane-cloud { stroke: var(--color-purple); }
.flow-line.lane-firebase { stroke: var(--color-amber); }

/* Transport Selectors */
.pathway-selectors {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
  width: 100%;
}

.selector-pill {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.selector-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.selector-pill.active {
  color: var(--text-primary);
}

.selector-pill.lan-pill.active { border-color: var(--color-cyan); background: rgba(0, 210, 255, 0.08); box-shadow: 0 0 12px rgba(0, 210, 255, 0.1); }
.selector-pill.cloud-pill.active { border-color: var(--color-purple); background: rgba(158, 0, 255, 0.08); box-shadow: 0 0 12px rgba(158, 0, 255, 0.1); }
.selector-pill.fb-pill.active { border-color: var(--color-amber); background: rgba(255, 157, 0, 0.08); box-shadow: 0 0 12px rgba(255, 157, 0, 0.1); }

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}
.lan-pill.active .pill-dot { background: var(--color-cyan); box-shadow: 0 0 8px var(--color-cyan); }
.cloud-pill.active .pill-dot { background: var(--color-purple); box-shadow: 0 0 8px var(--color-purple); }
.fb-pill.active .pill-dot { background: var(--color-amber); box-shadow: 0 0 8px var(--color-amber); }

/* --- "MOUSE SHAKE" SUMMON SANDBOX --- */
.summon-section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.summon-box {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  cursor: pointer;
  position: relative;
  overflow: visible;
  user-select: none;
  transition: var(--transition-smooth);
}

.summon-box:hover {
  border-color: rgba(0, 210, 255, 0.3);
  background: rgba(0, 210, 255, 0.01);
}

.summon-box.shaking {
  border-color: var(--color-cyan);
  box-shadow: 0 0 35px rgba(0, 210, 255, 0.1);
  animation: box-shake-effect 0.15s infinite;
}

.shake-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  transition: var(--transition-smooth);
}

.summon-box.shaking .shake-icon {
  color: var(--color-cyan);
  transform: rotate(15deg) scale(1.1);
}

.shake-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.shake-gauge-bg {
  width: 200px;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  margin-top: 15px;
  overflow: hidden;
}

.shake-gauge-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  border-radius: 3px;
  transition: width 0.1s ease;
}

/* Glassmorphic Summoned Sumo Dashboard Overlay */
.sumo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 380px;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  padding: 16px;
  transition: var(--transition-smooth);
  z-index: 10;
  will-change: transform, opacity;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.55), rgba(136, 14, 79, 0.55)), url('astronaut_bg.png');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 255, 0.25);
}

.sumo-overlay.unlocked {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 210, 255, 0.4);
}

/* --- THE CLIPBOARD DILEMMA SECTION (From Next.js) --- */
.dilemma-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.problem-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease;
}

.problem-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
}

/* Card specific borders and glowing shadows on hover utilizing :has() */
.problem-card:hover:has(.cyan) {
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 0 16px 36px -10px rgba(0, 210, 255, 0.25), 0 0 15px rgba(0, 210, 255, 0.08);
}
.problem-card:hover:has(.purple) {
  border-color: rgba(158, 0, 255, 0.3);
  box-shadow: 0 16px 36px -10px rgba(158, 0, 255, 0.25), 0 0 15px rgba(158, 0, 255, 0.08);
}
.problem-card:hover:has(.red) {
  border-color: rgba(255, 59, 48, 0.3);
  box-shadow: 0 16px 36px -10px rgba(255, 59, 48, 0.25), 0 0 15px rgba(255, 59, 48, 0.08);
}
.problem-card:hover:has(.amber) {
  border-color: rgba(255, 157, 0, 0.3);
  box-shadow: 0 16px 36px -10px rgba(255, 157, 0, 0.25), 0 0 15px rgba(255, 157, 0, 0.08);
}

.problem-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-content: center;
  font-size: 1.5rem;
  margin-bottom: 5px;
  will-change: transform, box-shadow;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
}

.problem-icon.cyan { 
  color: var(--color-cyan); 
  background: radial-gradient(circle at center, rgba(0, 210, 255, 0.15) 0%, rgba(0, 210, 255, 0.03) 70%); 
  border: 1px solid rgba(0, 210, 255, 0.25); 
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.1); 
}
.problem-icon.purple { 
  color: var(--color-purple); 
  background: radial-gradient(circle at center, rgba(158, 0, 255, 0.15) 0%, rgba(158, 0, 255, 0.03) 70%); 
  border: 1px solid rgba(158, 0, 255, 0.25); 
  box-shadow: 0 0 12px rgba(158, 0, 255, 0.1); 
}
.problem-icon.red { 
  color: var(--color-red); 
  background: radial-gradient(circle at center, rgba(255, 59, 48, 0.15) 0%, rgba(255, 59, 48, 0.03) 70%); 
  border: 1px solid rgba(255, 59, 48, 0.25); 
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.1); 
}
.problem-icon.amber { 
  color: var(--color-amber); 
  background: radial-gradient(circle at center, rgba(255, 157, 0, 0.15) 0%, rgba(255, 157, 0, 0.03) 70%); 
  border: 1px solid rgba(255, 157, 0, 0.25); 
  box-shadow: 0 0 12px rgba(255, 157, 0, 0.1); 
}

/* Micro-animations inside icon containers on hover */
.problem-card:hover .problem-icon {
  transform: scale(1.12) rotate(4deg);
}

.problem-card:hover .problem-icon.cyan {
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
  border-color: rgba(0, 210, 255, 0.45);
}
.problem-card:hover .problem-icon.purple {
  box-shadow: 0 0 20px rgba(158, 0, 255, 0.35);
  border-color: rgba(158, 0, 255, 0.45);
}
.problem-card:hover .problem-icon.red {
  box-shadow: 0 0 20px rgba(255, 59, 48, 0.35);
  border-color: rgba(255, 59, 48, 0.45);
}
.problem-card:hover .problem-icon.amber {
  box-shadow: 0 0 20px rgba(255, 157, 0, 0.35);
  border-color: rgba(255, 157, 0, 0.45);
}

.problem-card h3 {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.problem-card:hover h3 {
  color: #fff;
}

.problem-card p,
.problem-card ul {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.problem-card ul li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: color 0.3s ease;
}

.problem-card:hover p,
.problem-card:hover ul,
.problem-card:hover ul li {
  color: var(--text-primary);
}

/* --- COMPARISON MATRIX TABLE (From Next.js) --- */
.comparison-section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-table-wrapper {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  background: rgba(20, 24, 38, 0.25);
  box-shadow: var(--shadow-main);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comparison-table th, 
.comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.comparison-table th {
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td strong {
  color: var(--text-primary);
}

/* Highlight the FlyShelf Column */
.highlight-col {
  background: rgba(0, 210, 255, 0.03);
  color: var(--text-primary);
  font-weight: 600;
  border-left: 1px solid rgba(0, 210, 255, 0.1);
  border-right: 1px solid rgba(0, 210, 255, 0.1);
}

tr th.highlight-col {
  background: rgba(0, 210, 255, 0.05);
  border-top: 1px solid rgba(0, 210, 255, 0.2);
}

/* --- THE ADVANCED SMART ACTIONS MODULES --- */
.smart-actions-section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.smart-widgets-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
}

@media (max-width: 850px) {
  .smart-widgets-grid {
    grid-template-columns: 1fr;
  }
}

.widget-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.widget-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.widget-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 5px;
}

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

.widget-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* A. THE PDF MERGER VISUALIZER (CUSTOM ORDER & MERGE SIMULATOR) */
.pdf-merger-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.pdf-queue {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.pdf-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  transition: var(--transition-fast);
}

.pdf-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.pdf-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdf-file-icon {
  color: #ff3b30;
  font-size: 1.1rem;
}

.pdf-file-name {
  font-weight: 600;
}

.pdf-controls {
  display: flex;
  gap: 8px;
}

.pdf-ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.pdf-ctrl-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.pdf-merge-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.pdf-status-log {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: 'Fira Code', monospace;
}

.btn-merge-action {
  background: linear-gradient(135deg, var(--color-purple), #bf55ec);
  border: none;
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(158, 0, 255, 0.2);
  transition: var(--transition-smooth);
}

.btn-merge-action:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(158, 0, 255, 0.2);
}

.btn-merge-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Merger progress overlay */
.pdf-merger-loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px dashed var(--color-purple);
  animation: pulse-merging 1.5s infinite alternate;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(158, 0, 255, 0.1);
  border-top-color: var(--color-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

.pdf-output-card {
  display: none;
  background: linear-gradient(135deg, rgba(158, 0, 255, 0.05), rgba(0, 210, 255, 0.05));
  border: 1px solid var(--color-purple);
  box-shadow: 0 0 15px rgba(158, 0, 255, 0.2);
  padding: 15px;
  border-radius: 12px;
  align-items: center;
  justify-content: space-between;
  animation: slide-in-phone-item 0.4s forwards;
}

.output-meta {
  text-align: left;
}

.output-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.output-size {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-output-dl {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-output-dl:hover {
  background: var(--text-primary);
  color: #000;
}

/* B. SPEED COMMAND COUNTDOWN TIMER */
.timer-widget-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.timer-input-group {
  display: flex;
  gap: 10px;
  width: 100%;
}

.timer-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-fast);
}

.timer-field:focus {
  border-color: var(--color-cyan);
}

.btn-timer-trigger {
  background: var(--color-cyan);
  color: #000;
  border: none;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.timer-display {
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-content: center;
}

.timer-circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 6;
}

.timer-circle-progress {
  fill: none;
  stroke: var(--color-cyan);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 339;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.1s linear, stroke 0.4s ease;
}

.timer-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Fira Code', monospace;
}

/* C. DYNAMIC COLOR SWATCH PREVIEW */
.color-widget-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.color-swatch-box {
  height: 80px;
  border-radius: 12px;
  background: var(--color-cyan);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.25);
  transition: var(--transition-smooth);
}

.color-input-field {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  outline: none;
}

.color-input-field:focus {
  border-color: var(--color-emerald);
}

.color-pills-row {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.color-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-family: 'Fira Code', monospace;
  padding: 6px 10px;
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.color-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* D. UTM TRACKER scrub */
.utm-widget-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.utm-input-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.utm-input-area {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px;
  color: var(--text-muted);
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  min-height: 80px;
  outline: none;
  resize: none;
}

.utm-input-area.cleaned {
  color: var(--color-emerald);
  border-color: var(--color-emerald);
  box-shadow: 0 0 15px rgba(61, 220, 132, 0.1);
}

.utm-action-row {
  display: flex;
  justify-content: flex-end;
}

.btn-utm-scrub {
  background: var(--color-emerald);
  color: #02040a;
  border: none;
  padding: 8px 16px;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-utm-scrub:hover {
  box-shadow: 0 0 15px rgba(61, 220, 132, 0.25);
  transform: translateY(-1px);
}



/* --- DETAILED FEATURES GRID --- */
.features-section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.feature-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  display: grid;
  place-content: center;
  font-size: 1.25rem;
  color: var(--color-cyan);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-box {
  background: rgba(0, 210, 255, 0.08);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.feature-card h3 {
  font-weight: 700;
  font-size: 1.15rem;
}

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

/* --- STATS GRID --- */
.stats-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.stat-card {
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--transition-smooth);
}

.stat-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --- PRIVACY SHIELD BLOCK --- */
.privacy-section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.privacy-banner {
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
}

@media (max-width: 750px) {
  .privacy-banner {
    flex-direction: column;
    text-align: center;
  }
}

.privacy-shield-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(61, 220, 132, 0.08);
  border: 1px solid rgba(61, 220, 132, 0.2);
  display: grid;
  place-content: center;
  font-size: 2.2rem;
  color: var(--color-emerald);
  box-shadow: 0 0 25px rgba(61, 220, 132, 0.25);
  flex-shrink: 0;
  animation: float-slow 4s infinite ease-in-out;
  transition: var(--transition-smooth);
  will-change: transform;
}

.privacy-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.privacy-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- THE PREMIUM FOOTER --- */
footer {
  padding: 80px 20px 40px 20px;
  border-top: 1px solid var(--border-light);
  background: rgba(6, 7, 10, 0.9);
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand-col {
  max-width: 320px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 15px;
}

.footer-nav-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- KEYFRAME ANIMATION SET --- */


@keyframes dash-move {
  to {
    stroke-dashoffset: -1000;
  }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(0, 210, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); }
}

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

@keyframes pulse-merging {
  from { background: var(--bg-card); }
  to { background: rgba(158, 0, 255, 0.04); }
}

@keyframes slide-in-phone-item {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes box-shake-effect {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(0px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  75% { transform: translate(2px, 1px) rotate(-1deg); }
  90% { transform: translate(-1px, -1px) rotate(1deg); }
  100% { transform: translate(1px, -2px) rotate(0deg); }
}

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

/* Scroll Animation Hooks */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- PREMIUM DESKTOP WIDGET PDF MERGER CLONE --- */
.desktop-merger-widget {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.4), rgba(136, 14, 79, 0.4)), url('astronaut_bg.png');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(158, 0, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  will-change: transform;
}

/* Top bar style */
.widget-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  gap: 8px;
}

.top-bar-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.top-bar-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.top-bar-btn.close-btn:hover {
  background: rgba(255, 59, 48, 0.2);
  color: var(--color-red);
}

/* Categories row */
.widget-filter-row {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.1);
}

.filter-pill.active {
  background: rgba(136, 14, 79, 0.8);
  border-color: rgba(255, 59, 48, 0.4);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.3);
}

.filter-pill-clear {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 2px 4px;
}

.filter-pill-clear:hover {
  color: #fff;
}

/* Inner glass PDF list container */
.desktop-pdf-list {
  background: rgba(20, 10, 30, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
  max-height: 180px;
  overflow-y: auto;
}

/* Item row card */
.desktop-pdf-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
  margin-left: 10px; /* spacing to let checklist check-badge float */
}

.desktop-pdf-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Check badge at top-left */
.item-checkbox-badge {
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 59, 48, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-content: center;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  box-shadow: 0 0 8px rgba(255, 59, 48, 0.4);
  z-index: 2;
}

.pdf-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.pdf-icon-red {
  color: rgba(255, 59, 48, 0.95);
  font-size: 1.25rem;
}

.pdf-item-controls {
  display: flex;
  gap: 6px;
}

/* Merge Button styling (Dark blue glass + bright blue neon border) */
.widget-bottom-bar {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.btn-merge-desktop {
  background: rgba(13, 27, 42, 0.8);
  border: 2px solid #00d2ff;
  color: #fff;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3), 0 0 15px rgba(0, 210, 255, 0.15);
  transition: var(--transition-smooth);
  width: 100%;
  justify-content: center;
}

.btn-merge-desktop:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5), 0 0 25px rgba(0, 210, 255, 0.3);
  border-color: #00f0ff;
}

/* Loader style */
.pdf-merger-loader-desktop {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 5, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
}

.loader-spinner-desktop {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(0, 210, 255, 0.1);
  border-top-color: #00d2ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}

.pdf-status-log-desktop {
  font-size: 0.78rem;
  font-family: 'Fira Code', monospace;
  color: #00d2ff;
}

/* Success Card styled exactly */
.pdf-output-card-desktop {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 210, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
  border-radius: 16px;
  width: 100%;
  animation: slide-in-phone-item 0.4s forwards;
}

.output-success-icon {
  font-size: 2.2rem;
  color: #00d2ff;
  filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.5));
}

.output-meta-desktop {
  text-align: center;
}

.output-title-desktop {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}

.btn-reset-desktop {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-reset-desktop:hover {
  background: #fff;
  color: #000;
}

/* Custom layout constraints for PDF Merger Card to reduce empty space and padding */
.widget-card.pdf-merger-card {
  align-self: start;
  padding: 20px;
}

/* Coupon Badge Styling (floating off the top right of the summon popup) */
.coupon-badge {
  position: absolute;
  right: -25px;
  top: -20px;
  background: linear-gradient(135deg, #ff9d00 0%, #ff5e00 100%);
  color: #000;
  padding: 6px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(255, 157, 0, 0.4), 0 0 10px rgba(255, 157, 0, 0.2);
  transform: rotate(8deg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  font-family: inherit;
  animation: pulse-coupon 2s infinite ease-in-out;
  will-change: transform, box-shadow;
}

@keyframes pulse-coupon {
  0% { transform: rotate(8deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.05); box-shadow: 0 8px 25px rgba(255, 157, 0, 0.6), 0 0 15px rgba(255, 157, 0, 0.35); }
  100% { transform: rotate(8deg) scale(1); }
}

/* Pricing Section Glass Card Hover Transitions */
.pricing-section .widget-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease !important;
}

.pricing-section .widget-card:hover {
  transform: translateY(-8px) !important;
}

.pricing-section .widget-card:first-child:hover {
  border-color: rgba(255, 157, 0, 0.4) !important;
  box-shadow: 0 16px 36px -10px rgba(255, 157, 0, 0.25), 0 0 15px rgba(255, 157, 0, 0.08) !important;
}

.pricing-section .widget-card:last-child:hover {
  border-color: rgba(0, 210, 255, 0.6) !important;
  box-shadow: 0 16px 36px -10px rgba(0, 210, 255, 0.35), 0 0 25px rgba(0, 210, 255, 0.15) !important;
}



