/* 7Panel mobile-app — Chrome extension showcase */
.extension-wrap {
  margin: 56px 0 48px;
  position: relative;
  z-index: 2;
}

.extension-showcase {
  position: relative;
  border-radius: 28px;
  padding: 2px;
  background: linear-gradient(
    125deg,
    #31a0ff 0%,
    #7c3aed 25%,
    #0066ff 50%,
    #22c55e 75%,
    #31a0ff 100%
  );
  background-size: 300% 300%;
  animation: extension-border-flow 8s ease infinite;
  box-shadow:
    0 28px 70px rgba(49, 160, 255, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

@keyframes extension-border-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.extension-showcase-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 45%, #f1f5f9 100%);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}

.extension-showcase-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(49, 160, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 160, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.extension-visual {
  flex: 1 1 320px;
  min-height: 280px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, rgba(49, 160, 255, 0.08) 0%, transparent 55%);
}

.extension-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0066ff;
  background: rgba(49, 160, 255, 0.15);
  border: 1px solid rgba(49, 160, 255, 0.35);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.extension-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
  animation: extension-pulse-dot 2s ease-in-out infinite;
}

@keyframes extension-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.15); }
}

.extension-visual h3 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.extension-visual h3 span {
  background: linear-gradient(135deg, #31a0ff 0%, #0066ff 55%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.extension-visual > p {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 22px;
  max-width: 420px;
}

.extension-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.extension-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(49, 160, 255, 0.2);
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.extension-feature-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(49, 160, 255, 0.45);
  box-shadow: 0 8px 24px rgba(49, 160, 255, 0.15);
}

.extension-feature-pill i {
  color: #31a0ff;
  font-size: 15px;
}

.btn-chrome-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #1a73e8 0%, #4285f4 45%, #31a0ff 100%);
  box-shadow:
    0 12px 32px rgba(26, 115, 232, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-chrome-store::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-chrome-store:hover {
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(26, 115, 232, 0.55);
}

.btn-chrome-store:hover::after {
  transform: translateX(100%);
}

.btn-chrome-store .chrome-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.extension-steps-panel {
  flex: 1 1 340px;
  padding: 36px 36px 40px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, #ffffff 100%);
  border-left: 1px solid rgba(49, 160, 255, 0.12);
  position: relative;
  z-index: 1;
}

.extension-steps-panel h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 20px;
}

.extension-step-row {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.extension-step-row:last-of-type {
  margin-bottom: 0;
}

.extension-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, #31a0ff 0%, #0066ff 100%);
  box-shadow: 0 6px 16px rgba(49, 160, 255, 0.35);
}

.extension-step-row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
  font-weight: 500;
  padding-top: 4px;
}

.extension-step-row p a {
  color: #0066ff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 102, 255, 0.25);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.extension-step-row p a:hover {
  color: #31a0ff;
  border-bottom-color: rgba(49, 160, 255, 0.5);
}

.extension-store-link-note {
  margin-top: 20px;
  font-size: 13px;
  color: #64748b;
  word-break: break-all;
}

.extension-store-link-note code {
  font-size: 12px;
  background: rgba(49, 160, 255, 0.08);
  padding: 4px 8px;
  border-radius: 8px;
  color: #0f172a;
}

html.dark-mode .extension-showcase-inner {
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
}

html.dark-mode .extension-showcase-inner::before {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
}

html.dark-mode .extension-visual {
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.1) 0%, transparent 55%);
}

html.dark-mode .extension-badge {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
}

html.dark-mode .extension-visual h3 {
  color: #f1f5f9;
}

html.dark-mode .extension-visual h3 span {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html.dark-mode .extension-visual > p {
  color: #94a3b8;
}

html.dark-mode .extension-feature-pill {
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

html.dark-mode .extension-feature-pill:hover {
  border-color: rgba(56, 189, 248, 0.5);
}

html.dark-mode .extension-feature-pill i {
  color: #38bdf8;
}

html.dark-mode .extension-steps-panel {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 100%);
  border-left-color: rgba(56, 189, 248, 0.15);
}

html.dark-mode .extension-steps-panel h4 {
  color: #94a3b8;
}

html.dark-mode .extension-step-row p {
  color: #cbd5e1;
}

html.dark-mode .extension-step-row p a {
  color: #60a5fa;
  border-bottom-color: rgba(96, 165, 250, 0.35);
}

html.dark-mode .extension-step-row p a:hover {
  color: #38bdf8;
}

html.dark-mode .extension-store-link-note {
  color: #94a3b8;
}

html.dark-mode .extension-store-link-note code {
  background: rgba(56, 189, 248, 0.12);
  color: #e2e8f0;
}

@media (max-width: 991px) {
  .extension-steps-panel {
    border-left: none;
    border-top: 1px solid rgba(49, 160, 255, 0.12);
  }

  html.dark-mode .extension-steps-panel {
    border-top-color: rgba(56, 189, 248, 0.15);
  }

  .extension-visual {
    min-height: 0;
  }
}

@media (max-width: 575px) {
  .extension-wrap {
    margin: 36px 0 32px;
  }

  .extension-visual {
    padding: 28px 22px;
  }

  .extension-visual h3 {
    font-size: 22px;
  }

  .extension-steps-panel {
    padding: 28px 22px 32px;
  }

  .btn-chrome-store {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .extension-showcase {
    animation: none;
    background: linear-gradient(125deg, #31a0ff, #0066ff, #22c55e);
    background-size: 100% 100%;
  }

  .extension-badge-dot {
    animation: none;
  }
}
