/* Ã¢â€â‚¬Ã¢â€â‚¬ LANDINGS TAB Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.landings-hero {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}
.landings-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}
.landings-hero h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.landings-hero p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.landings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.landing-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.landing-card:hover {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

/* --- Preview --- */
.landing-card-preview {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing-card-preview iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  transform-origin: center center;
  width: 1200px;
  height: 800px;
  border: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.landing-card-preview-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -40px 40px -20px rgba(15, 23, 42, 0.8);
  border-radius: 0;
}

.landing-preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #4b5563;
  gap: 0.5rem;
}
.landing-preview-placeholder .landing-preview-icon {
  font-size: 2.5rem;
  opacity: 0.3;
}
.landing-preview-placeholder span {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* --- Accent bar --- */
.landing-card-accent {
  height: 3px;
  width: 100%;
  flex-shrink: 0;
}
.landing-card-accent.accent-green {
  background: linear-gradient(90deg, #10b981, #34d399);
}
.landing-card-accent.accent-gray {
  background: linear-gradient(90deg, #4b5563, #6b7280);
}

.landing-card-body {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.landing-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.landing-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #e5e7eb;
  word-break: break-word;
  margin: 0;
  line-height: 1.3;
  text-decoration: none;
}

.landing-card-url {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  font-size: 0.7rem;
  color: #9ca3af;
  font-family: 'Cascadia Code', 'Fira Code', monospace;
  word-break: break-all;
  overflow-wrap: anywhere;
  margin-bottom: 0.4rem;
}
.landing-card-url i.fa-link {
  color: #6b7280;
  flex-shrink: 0;
  font-size: 0.6rem;
}
.landing-card-url span {
  flex: 1;
  min-width: 0;
  text-decoration: none;
}
.landing-card-url .btn-copy-url {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.1rem 0.25rem;
  border-radius: 4px;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: color 0.15s;
}
.landing-card-url .btn-copy-url:hover {
  color: #e5e7eb;
}

.landing-card-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.landing-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  color: #6b7280;
}
.landing-meta-item i {
  font-size: 0.6rem;
  opacity: 0.7;
}

.landing-card-status {
  font-size: 0.68rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.landing-card-status.published {
  background: rgba(16,185,129,0.12);
  color: #10b981;
  border: 1px solid rgba(16,185,129,0.15);
}
.landing-card-status.draft {
  background: rgba(107,114,128,0.1);
  color: #9ca3af;
  border: 1px solid rgba(107,114,128,0.12);
}

.landing-card-actions {
  display: flex;
  gap: 0.35rem;
  margin-top: auto;
  flex-wrap: wrap;
}
.landing-card-actions .btn {
  flex: 1;
  min-width: 65px;
  text-align: center;
  font-size: 0.72rem;
  padding: 0.35rem 0.4rem;
}
.landing-card-actions .btn-danger {
  background: rgba(239,68,68,0.08);
  color: #fca5a5;
  border-color: rgba(239,68,68,0.15);
}
.landing-card-actions .btn-danger:hover {
  background: rgba(239,68,68,0.18);
}

.landing-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
}
.landing-empty-state-icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.08);
  margin-bottom: 0.75rem;
}
.landing-empty-state h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.3rem;
}
.landing-empty-state p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* New landing modal */
.new-landing-modal { }
.new-landing-modal .form-group { margin-bottom: 1rem; }
.new-landing-modal label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #d1d5db;
  margin-bottom: 0.35rem;
}
.new-landing-modal input {
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: #e5e7eb;
  font-size: 0.85rem;
  outline: none;
}
.new-landing-modal input:focus { border-color: #6366f1; }

