/* css/main.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── APP LAYOUT ── */
.app-layout {
  display: flex;
  height: 100vh;
  width: 100%;
}

/* ── LEFT PANEL ── */
.left-panel {
  width: 50%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

#left-bg {
  position: absolute;
  inset: 0;
  background: #0d0d0f;
}

#left-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#left-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.logo {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 2;
}

.logo-text {
  font-family: "Syne", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.logo-text span {
  color: var(--pink);
}

.left-nav {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-signin {
  padding: 7px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-signin:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-start-trial {
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--pink);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-start-trial:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.tagline {
  position: absolute;
  bottom: 44px;
  left: 36px;
  right: 36px;
  z-index: 2;
}

.tagline h2 {
  font-family: "Inter", sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.22;
}

.tagline h2 span {
  color: var(--pink);
}

.tagline p {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.42);
  margin: 10px 0 0;
}

/* ── RIGHT PANEL ── */
.right-panel {
  flex: 1;
  min-width: 0;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
  scroll-behavior: smooth;
}

.right-panel::-webkit-scrollbar {
  width: 4px;
}

.right-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.right-panel::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 4px;
}

/* ── RIGHT NAV ── */
.right-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 14, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: #0a0a0f; /* Same as page background */
}

.tier-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
}

.tier-badge.free {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}

.tier-badge.premium {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.tier-badge.pro {
  background: rgba(253, 54, 110, 0.1);
  border-color: rgba(253, 54, 110, 0.3);
  color: var(--pink);
}

.tier-badge.agency {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--purple);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border2);
  border-radius: 40px;
  padding: 6px 16px;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  transition: 0.15s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── PAGE SWITCHER ── */
.page-nav {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  position: sticky;
  top: 56px;
  z-index: 99;
}

.page-nav::-webkit-scrollbar {
  height: 2px;
}

.page-nav::-webkit-scrollbar-track {
  background: var(--border);
}

.page-nav::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 4px;
}

.page-tab {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  letter-spacing: 0.3px;
  font-family: "DM Sans", sans-serif;
}

.page-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.page-tab.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
  background: transparent;
}

.page-tab:focus {
  outline: none;
}

.page-tab:active {
  transform: translateY(1px);
}

/* ── PAGE CONTENT ── */

.page {
  display: none;
  min-height: calc(100vh - 112px);
  /* display: flex; */
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
}

.page.active {
  display: block;
}

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .left-panel {
    display: none;
  }
  .right-panel {
    width: 100%;
  }
}

/* DEEPSEEK  LANDING*/

/* Urgency bar */
.urgency-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253, 54, 110, 0.12);
  border: 1px solid rgba(253, 54, 110, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 32px;
}

.urgency-icon {
  font-size: 14px;
}

.urgency-text {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* Sample preview card */
.sample-preview {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px 20px;
  margin: 24px 0;
  max-width: 420px;
  cursor: pointer;
  transition: all 0.2s;
}

.sample-preview:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(253, 54, 110, 0.3);
}

.sample-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sample-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(253, 54, 110, 0.15);
  border-radius: 20px;
  color: #fd366e;
}

.sample-domain {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.sample-scores {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.sample-score {
  text-align: center;
}

.score-number {
  font-size: 28px;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.score-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.sample-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
}

.sample-metric {
  text-align: center;
}

.metric-value {
  font-size: 18px;
  font-weight: 700;
}

.metric-value.good {
  color: #10b981;
}
.metric-value.bad {
  color: #ef4444;
}
.metric-value.medium {
  color: #f59e0b;
}

.metric-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
}

.sample-compete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
}

.sample-link {
  color: #fd366e;
  font-weight: 600;
  cursor: pointer;
}

.right-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 20px 32px;
  background: #0a0a0f;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-ghost:hover {
  border-color: var(--pink);
  color: white;
  background: rgba(253, 54, 110, 0.1);
}

.tier-badge {
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-badge.free {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
}

.tier-badge.premium {
  background: linear-gradient(
    135deg,
    rgba(253, 54, 110, 0.2),
    rgba(255, 124, 58, 0.2)
  );
  border-color: rgba(253, 54, 110, 0.4);
  color: #fd366e;
}

.tier-badge.pro {
  background: linear-gradient(
    135deg,
    rgba(253, 54, 110, 0.25),
    rgba(255, 124, 58, 0.25)
  );
  border-color: rgba(255, 124, 58, 0.5);
  color: #ff7c3a;
}

.tier-badge.agency {
  background: linear-gradient(
    135deg,
    rgba(192, 19, 74, 0.25),
    rgba(253, 54, 110, 0.25)
  );
  border-color: rgba(192, 19, 74, 0.5);
  color: #c0134a;
}

/* Add at the end of your main.css */

/* Fix horizontal overflow */
.right-panel {
  overflow-x: hidden;
  width: 100%;
}

.page.active {
  overflow-x: hidden;
  width: 100%;
}

.tier-container {
  max-width: 100%;
  overflow-x: hidden;
}

/* Fix competitor table - make it scrollable on narrow screens */
.competitor-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.competitor-row {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 12px;
  min-width: 500px; /* Allows scroll on mobile instead of breaking layout */
}

/* Make container responsive */
.container {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px;
  overflow-x: hidden;
}

/* Fix metrics grid on small screens */
@media (max-width: 600px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .competitor-row {
    min-width: 450px;
  }

  .container {
    padding: 20px 16px;
  }
}

/* Ensure score card doesn't overflow */
.score-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Fix site pills wrapping */
.site-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.delete-site {
  margin-left: 8px;
  font-size: 11px;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  text-align: center;
  line-height: 14px;
}

.delete-site:hover {
  opacity: 1;
  color: #fd366e;
  background: rgba(253, 54, 110, 0.1);
}

/* Enhanced Tier Badge Styling */
.tier-badge.agency {
  background: linear-gradient(
    135deg,
    rgba(192, 19, 74, 0.25),
    rgba(253, 54, 110, 0.25)
  );
  border: 1px solid rgba(192, 19, 74, 0.5);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(192, 19, 74, 0.15);
}

.tier-badge.agency:hover {
  background: linear-gradient(
    135deg,
    rgba(192, 19, 74, 0.35),
    rgba(253, 54, 110, 0.35)
  );
  border-color: rgba(192, 19, 74, 0.7);
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

/* DASHBOARD RESULTS ANIMATION */

/* Score Update Animations */
@keyframes scorePop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes metricGlow {
  0% {
    background: rgba(253, 54, 110, 0);
    border-color: rgba(253, 54, 110, 0);
  }
  50% {
    background: rgba(253, 54, 110, 0.15);
    border-color: rgba(253, 54, 110, 0.5);
    box-shadow: 0 0 20px rgba(253, 54, 110, 0.3);
  }
  100% {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
  }
}

@keyframes slideUpFade {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(253, 54, 110, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(253, 54, 110, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(253, 54, 110, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Animation Classes */
.score-pop {
  animation: scorePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.metric-glow {
  animation: metricGlow 0.6s ease-out forwards;
}

.pulse-ring {
  animation: pulseRing 0.8s ease-out;
}

.slide-up-fade {
  animation: slideUpFade 0.4s ease-out forwards;
}

/* Shimmer loading effect for updating metrics */
.metric-updating {
  position: relative;
  overflow: hidden;
}

.metric-updating::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(253, 54, 110, 0.2),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

/* Score ring animation */
.score-ring-updating {
  animation: pulseRing 1s ease-in-out infinite;
}

/* New score highlight */
.score-highlight {
  position: relative;
}

.score-highlight::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 54, 110, 0.4), transparent);
  animation: pulseRing 1s ease-out;
}

/* Metric value change indicator */
.metric-change-up {
  position: relative;
}

.metric-change-up::after {
  content: "▲";
  position: absolute;
  top: -8px;
  right: -12px;
  font-size: 10px;
  color: #10b981;
  animation: slideUpFade 0.3s ease-out;
}

.metric-change-down::after {
  content: "▼";
  position: absolute;
  top: -8px;
  right: -12px;
  font-size: 10px;
  color: #ef4444;
  animation: slideUpFade 0.3s ease-out;
}

/* Add to main.css */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Skeleton loading for score card */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 20px;
  border-radius: 4px;
  width: 100%;
}

.skeleton-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

/* Pulsing glow on score ring during analysis */
.score-ring.analyzing {
  animation: pulseGlow 1.5s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(253, 54, 110, 0.5);
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(253, 54, 110, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(253, 54, 110, 0);
    transform: scale(1.02);
  }
}

/* Landing page progress bar */
.landing-progress-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px auto 24px;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideDown 0.3s ease;
  position: relative;
  overflow: hidden;
}

.landing-progress-container .progress-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.landing-progress-container .progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #fd366e, #ff5c8a);
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0%;
}

.landing-progress-container .progress-message {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.landing-progress-container .progress-percentage {
  font-size: 11px;
  font-weight: 600;
  color: #fd366e;
  min-width: 38px;
  text-align: right;
}

/* Button loading state */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Metric up/down indicators */
.metric-up,
.metric-down {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  animation: fadeOut 2s ease forwards;
}

.metric-up {
  color: #10b981;
}

.metric-down {
  color: #ef4444;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.score-pop {
  animation: scorePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scorePop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.metric-glow {
  animation: metricGlow 0.6s ease-out forwards;
}

@keyframes metricGlow {
  0% {
    text-shadow: 0 0 0 rgba(253, 54, 110, 0);
  }
  50% {
    text-shadow: 0 0 8px rgba(253, 54, 110, 0.8);
  }
  100% {
    text-shadow: 0 0 0 rgba(253, 54, 110, 0);
  }
}

/* Analysis Progress Bar */
.analysis-progress-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  animation: slideDown 0.3s ease;
}

.progress-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.progress-icon {
  font-size: 20px;
}

.progress-title {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
}

.progress-percentage {
  font-size: 13px;
  font-weight: 700;
  color: #fd366e;
}

.progress-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #fd366e, #ff5c8a);
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0%;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.step.active {
  background: rgba(253, 54, 110, 0.1);
}

.step-icon {
  font-size: 18px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.step.active .step-icon {
  opacity: 1;
}

.step-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.step.active .step-label {
  color: #fd366e;
  font-weight: 500;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Toast Container */
#toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  pointer-events: none;
}

.toast-message {
  background: #1a1a2e;
  border: 1px solid rgba(253, 54, 110, 0.3);
  border-radius: 40px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.toast-message.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 16px;
}

.toast-text {
  font-size: 13px;
  color: white;
}

.toast-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 16px;
  padding: 0 4px;
}

.toast-close:hover {
  color: white;
}

.toast-success {
  border-color: #10b981;
}
.toast-error {
  border-color: #ef4444;
}
.toast-warning {
  border-color: #f59e0b;
}
.toast-info {
  border-color: #fd366e;
}

/* Skeleton Loading */
.skeleton-loading {
  position: relative;
  overflow: hidden;
}

.skeleton-content {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

@keyframes skeletonShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Analysis Progress Steps */
.analysis-progress-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  animation: slideDown 0.3s ease;
}

.progress-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.progress-icon {
  font-size: 18px;
}

.progress-title {
  flex: 1;
  font-weight: 600;
  font-size: 13px;
}

.progress-percentage {
  font-size: 12px;
  font-weight: 700;
  color: #fd366e;
}

.progress-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #fd366e, #ff5c8a);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.step.active {
  background: rgba(253, 54, 110, 0.1);
}

.step-icon {
  font-size: 14px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.step.active .step-icon {
  opacity: 1;
}

.step-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
  text-align: center;
}

.step.active .step-label {
  color: #fd366e;
  font-weight: 500;
}

.progress-message {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  transition: opacity 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ad Waste Teaser - Landing Page */
.ad-waste-teaser-landing {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6),
    rgba(253, 54, 110, 0.08)
  );
  border: 1px solid rgba(253, 54, 110, 0.25);
  border-radius: 24px;
  padding: 28px;
  margin: 32px auto;
  max-width: 520px;
  text-align: left;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.ad-waste-teaser-landing:hover {
  border-color: rgba(253, 54, 110, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.teaser-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.teaser-icon {
  font-size: 28px;
}

.teaser-badge {
  background: rgba(253, 54, 110, 0.15);
  border: 1px solid rgba(253, 54, 110, 0.3);
  border-radius: 40px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #fd366e;
  letter-spacing: 0.5px;
}

.teaser-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.teaser-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.teaser-stat .stat-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #fd366e;
  font-family: "Syne", sans-serif;
  margin-bottom: 8px;
}

.teaser-stat .stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.teaser-pain-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pain-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.pain-icon {
  font-size: 18px;
  min-width: 32px;
}

.btn-teaser {
  width: 100%;
  background: linear-gradient(135deg, #fd366e, #ff5c8a);
  border: none;
  border-radius: 48px;
  padding: 14px 24px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.btn-teaser:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(253, 54, 110, 0.3);
}

.btn-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}

.teaser-note {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.3px;
}

@media (max-width: 640px) {
  .ad-waste-teaser-landing {
    margin: 24px 16px;
    padding: 20px;
  }

  .teaser-stats {
    flex-direction: column;
    gap: 12px;
  }

  .teaser-stat .stat-value {
    font-size: 28px;
  }
}

.teaser-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  cursor: pointer; /* Add this */
  transition: all 0.2s ease; /* Add this */
}

.teaser-stat:hover {
  background: rgba(253, 54, 110, 0.08); /* Add this */
  transform: scale(1.02); /* Add this */
}

.page-nav {
  display: none;
}

/* ── AI Battle Card ── */

.ai-battle-narrative {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.12),
    rgba(253, 54, 110, 0.08)
  );
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 16px;
  margin: 12px 0;
  display: flex;
  gap: 14px;
}

.ai-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.ai-narrative-content {
  flex: 1;
}

.ai-narrative-content strong {
  display: block;
  color: #a855f7;
  font-size: 11px;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ai-narrative-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.metrics-details {
  margin: 8px 0;
}

.metrics-details summary {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  padding: 6px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.metrics-details summary::-webkit-details-marker {
  display: none;
}

.metrics-details summary::before {
  content: "▶ ";
  font-size: 9px;
}

.metrics-details[open] summary::before {
  content: "▼ ";
}

.btn-ask-ai {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 40px;
  padding: 8px;
  color: #a855f7;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-ask-ai:hover {
  background: rgba(139, 92, 246, 0.25);
}

/* Add to your global CSS */
.technical-details.hidden {
  display: none;
}

.toggle-icon.rotated {
  transform: rotate(180deg);
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.5;
  }
}

.keyword-skeleton {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Syne font for all headings */
h1,
h2,
h3,
h4 {
  font-family: "Syne", sans-serif;
}

/* Dashboard greeting */
.greeting {
  margin-bottom: 24px;
  padding: 4px 0;
}
.greeting h1 {
  font-family: "Syne", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0 0 6px;
}
.greeting h1 .time {
  color: rgba(255, 255, 255, 0.95);
}
.greeting h1 .name {
  color: var(--pink);
}
.greeting p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  font-family: "DM Sans", sans-serif;
}

/* Sign out button visibility */
.signed-in #dashSignOutBtn {
  display: inline-flex !important;
}
.signed-in #navSigninBtn {
  display: none !important;
}

/* Hide left panel when signed in (dashboard mode) */
body.signed-in .left-panel {
  display: none;
}

body.signed-in .right-panel {
  width: 100%;
}

/* Syne font for all headings */
h1,
h2,
h3,
h4 {
  font-family: "Syne", sans-serif;
}

/* Dashboard greeting */
.greeting {
  margin-bottom: 24px;
  padding: 4px 0;
}

.greeting h1 {
  font-family: "Syne", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.greeting h1 .time {
  color: rgba(255, 255, 255, 0.95);
}

.greeting h1 .name {
  color: var(--pink);
}

.greeting p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  font-family: "DM Sans", sans-serif;
}

/* Landing page headline */
.tagline h2 {
  font-family: "Syne", sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 16px;
}

.tagline h2 span {
  color: var(--pink);
}

/* Modal left panel headline */
#sml-tagline h2 {
  font-family: "Syne", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.28;
  letter-spacing: -0.5px;
  margin: 0;
}

#sml-tagline h2 span {
  color: var(--pink);
}

.tier-badge.pro {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

@media (max-width: 768px) {
  #sml-left {
    display: none !important;
  }
  #sml-right {
    width: 100% !important;
    padding: 20px !important;
  }
  #sml-mobile-logo {
    display: block !important;
    margin: 0 auto 16px;
    height: 40px;
    width: auto;
  }
}

@media (max-width: 768px) {
  #sml-left {
    display: none !important;
  }
  #sml-right {
    width: 100% !important;
    padding: 20px !important;
    justify-content: flex-start !important;
    padding-top: 80px !important;
  }
  #sml-mobile-logo {
    display: block !important;
    margin: 0 auto 16px;
    height: 40px;
    width: auto;
  }
  #sml-xcl {
    top: 12px;
    right: 12px;
    z-index: 10;
  }
}

/* ---- Right-panel landing overrides ---- */
#page-landing .landing {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

#page-landing .headline {
  font-family: "Syne", sans-serif;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 16px;
  max-width: 720px;
}
#page-landing .headline .pink {
  color: #fd366e;
}

#page-landing .sub-headline {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ---- Hero Input ---- */
/* Make the container span full width */
#page-landing .hero-input {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%; /* force full width */
  margin-bottom: 48px;
}

/* Input takes all remaining space */
#page-landing .hero-input input {
  flex: 1 1 0; /* grow, shrink if needed, auto basis */
  min-width: 0; /* allow shrinking below 200px if needed */
  padding: 14px 20px;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 16px;
  font-family: "DM Sans", sans-serif;
  outline: none;
  transition: border 0.2s;
}
#page-landing .hero-input input:focus {
  border-color: #fd366e;
}
#page-landing.hero-input input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

#page-landing .btn-primary {
  flex-shrink: 0;
  background: #fd366e;
  border: none;
  border-radius: 60px;
  padding: 14px 32px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "DM Sans", sans-serif;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(253, 54, 110, 0.3);
}
#page-landing .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(253, 54, 110, 0.4);
}
#page-landing .btn-primary:active {
  transform: translateY(0);
}

#page-landing .social-proof {
  display: flex;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
#page-landing .social-proof .sp-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
#page-landing .social-proof .sp-item strong {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

#page-landing .loss-hook {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 40px;
  margin-bottom: 40px;
}
#page-landing .loss-hook h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}
#page-landing .loss-hook h2 span {
  color: #fd366e;
}
#page-landing .loss-hook p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
}

#page-landing .stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
#page-landing .stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.2s;
}
#page-landing .stat-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(253, 54, 110, 0.2);
  transform: translateY(-2px);
}
#page-landing .stat-number {
  font-family: "Syne", sans-serif;
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 900;
  color: #fd366e;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}
#page-landing .stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}
#page-landing .stat-label strong {
  color: #fff;
  font-weight: 600;
}

#page-landing .pain-points {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
#page-landing .pain-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}
#page-landing .pain-point .icon {
  font-size: 18px;
  flex-shrink: 0;
}

#page-landing .bottom-cta {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
#page-landing .bottom-cta .btn-primary {
  font-size: 18px;
  padding: 16px 44px;
}
#page-landing .bottom-cta .sub {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}

/* Responsive */
@media (max-width: 640px) {
  #page-landing .landing {
    padding: 20px 12px 40px;
  }
  #page-landing .stats-grid {
    grid-template-columns: 1fr;
  }
  #page-landing .pain-points {
    grid-template-columns: 1fr;
  }
  #page-landing .hero-input {
    flex-direction: column;
  }
  #page-landing .hero-input input {
    min-width: unset;
  }
  #page-landing .btn-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  #page-landing .social-proof {
    gap: 16px;
  }
  #page-landing .social-proof .sp-item {
    font-size: 12px;
  }
  #page-landing .social-proof .sp-item strong {
    font-size: 14px;
  }
  #page-landing .bottom-cta .btn-primary {
    font-size: 16px;
    padding: 14px 28px;
    width: 100%;
  }
}
@media (max-width: 480px) {
  #page-landing .stat-number {
    font-size: 40px;
  }
  #page-landing .headline {
    font-size: 28px;
  }
  #page-landing .loss-hook h2 {
    font-size: 22px;
  }
}

/*Logo*/
#page-landing .landing-logo {
  font-family: "Syne", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
}
#page-landing .landing-logo span {
  color: #fd366e;
}

/* Force full width container */
#page-landing .hero-input {
  display: flex !important;
  gap: 12px;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 48px;
}

/* Input takes all leftover space */
#page-landing .hero-input input {
  flex: 1 1 0 !important;
  min-width: 200px !important;
  width: auto !important; /* reset any fixed width */
  max-width: 100% !important;
  padding: 14px 20px;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 16px;
  font-family: "DM Sans", sans-serif;
  outline: none;
  box-sizing: border-box; /* ensures padding doesn't overflow */
}

/* Button never shrinks */
#page-landing .btn-primary {
  flex: 0 0 auto !important;
  /* keep your existing button styles */
}

/* Tier badge - responsive sizing */
.tier-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Mobile: smaller badge */
@media (max-width: 640px) {
  .tier-badge {
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 16px;
    gap: 3px;
  }
  .tier-badge .emoji,
  .tier-badge .icon {
    font-size: 10px;
  }
}

/* Even smaller on very narrow screens */
@media (max-width: 400px) {
  .tier-badge {
    font-size: 8px;
    padding: 2px 6px;
    gap: 2px;
  }
}

/* Tier badge: match Settings button exactly */
.tier-badge {
  font-size: 12px !important;
  padding: 6px 16px !important;
  border-radius: 40px !important;
  font-weight: 500 !important;
  line-height: 1.2; /* keep text vertically centred */
}
/* Tier badge: match Settings button exactly */
.tier-badge {
  font-size: 12px !important;
  padding: 6px 16px !important;
  border-radius: 40px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Right nav — prevent clipping on small screens */
@media (max-width: 640px) {
  .right-nav {
    padding: 0 12px;
    gap: 8px;
    flex-wrap: wrap; /* allows items to drop to next line */
    justify-content: flex-end; /* keeps them right-aligned */
    min-height: 56px; /* maintain height if wrapped */
    height: auto; /* let it grow if needed */
  }

  .tier-badge {
    font-size: 11px !important; /* slightly smaller but still readable */
    padding: 4px 12px !important; /* matches btn-ghost at this size */
    gap: 4px !important;
  }

  .btn-ghost {
    font-size: 11px !important;
    padding: 4px 12px !important;
  }
}

.score-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  aspect-ratio: 1 / 1; /* keeps it perfectly round */
  flex-shrink: 0; /* prevents squishing in flex layouts */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05); /* optional */
}

/* On phones, shrink it a bit but keep it round */
@media (max-width: 480px) {
  .score-ring {
    width: 60px;
    height: 60px;
  }
  .score-ring .num {
    font-size: 18px;
  }
  .score-ring .lbl {
    font-size: 8px;
  }
}

/* ── Sample preview — full width ── */
.sample-preview {
  max-width: 100%;
}

.sample-scores {
  justify-content: space-between;
}

.sample-score {
  flex: 1;
}

.score-number {
  font-size: 36px;
}

.metric-value {
  font-size: 22px;
}

.sample-compete {
  font-size: 13px;
}

.add-site-dashed {
  opacity: 1 !important;
  cursor: pointer;
}

/* ── Agency Tier New Design ──────────────────────────────────────────────── */
.agency-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.agency-header h1 {
  font-size: 22px;
  margin: 0 0 4px;
}
.agency-header p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.agency-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.agency-analyze-all-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  padding: 8px 16px;
  color: white;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.agency-add-btn {
  background: #fd366e;
  border: none;
  border-radius: 40px;
  padding: 8px 16px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.agency-alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}
.agency-alert-site {
  color: #ef4444;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}
.agency-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.agency-filter-btn {
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.agency-filter-btn.active {
  background: #fd366e;
  border-color: #fd366e;
  color: white;
}
.agency-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.agency-client-card {
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: background 0.15s;
}
.agency-client-card:hover {
  background: rgba(255, 255, 255, 0.06);
}
.agency-add-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 140px;
  transition: background 0.15s;
}
.agency-add-card:hover {
  background: rgba(255, 255, 255, 0.04);
}
