/* ═══════════════════════════════════════════
   Sparkly Features — Deep-dive pages
   Extends styles.css w/ layout for /features/
   ═══════════════════════════════════════════ */

/* ── Feature hero ── */

.feature-hero {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 80px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.feature-breadcrumb a { color: rgba(255, 255, 255, 0.6); }
.feature-breadcrumb a:hover { color: white; }
.feature-breadcrumb span { color: rgba(255, 255, 255, 0.3); }

.feature-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--feature-soft, rgba(99, 102, 241, 0.18));
  border: 1px solid var(--feature-border, rgba(99, 102, 241, 0.45));
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--feature-accent, #c7c9ff);
  letter-spacing: 0.08em;
  width: fit-content;
  text-transform: uppercase;
  box-shadow: 0 0 24px var(--feature-glow, rgba(99, 102, 241, 0.15));
}

.feature-title {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: white;
}

.feature-subtitle {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
}

.feature-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 8px;
}

.feature-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.feature-meta-chip svg { color: var(--feature-accent, #6366f1); }

.feature-hero-cta {
  display: flex;
  gap: 12px;
  padding-top: 12px;
  flex-wrap: wrap;
}

/* ── Infographic container ── */

.feature-infographic {
  position: relative;
  min-height: 440px;
  border-radius: 24px;
  padding: 28px;
  background: var(--glass-bg, rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.feature-infographic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% -20%,
    var(--feature-glow, rgba(99, 102, 241, 0.22)) 0%,
    transparent 60%
  );
  pointer-events: none;
}

/* ── Section layout ── */

.feature-section {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.feature-section-split {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.feature-section-split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-section-split.reverse .feature-section-text { order: 2; }
.feature-section-split.reverse .feature-section-visual { order: 1; }

.feature-section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--feature-accent, #c7c9ff);
  margin-bottom: 12px;
}

.feature-section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 18px;
}

.feature-section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.feature-section-desc strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.feature-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  background: var(--feature-accent, #6366f1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.feature-check-list li strong {
  color: white;
  font-weight: 600;
}

/* ── Feature visual cards (glass, generic) ── */

.feature-visual-card {
  position: relative;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.feature-visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 0%,
    var(--feature-glow, rgba(99, 102, 241, 0.18)) 0%,
    transparent 60%
  );
  pointer-events: none;
}

/* ── Stat grid ── */

.feature-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 24px;
}

.feature-stat {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.feature-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* ── FAQ ── */

.feature-faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-faq-item {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.feature-faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: white;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.feature-faq-item summary::-webkit-details-marker { display: none; }

.feature-faq-item summary::after {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.5;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.2s ease;
}

.feature-faq-item[open] summary::after { transform: rotate(180deg); }

.feature-faq-item p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

/* ── Related features ── */

.feature-related {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.feature-related-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.feature-related-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.feature-related-card .related-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--tile-bg, rgba(99, 102, 241, 0.18));
  color: var(--tile-accent, #c7c9ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-related-card .related-title {
  font-size: 15px;
  font-weight: 700;
  color: white;
}

.feature-related-card .related-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.feature-related-card .related-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--tile-accent, #c7c9ff);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Features index hub ── */

.features-hub-hero {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 160px 24px 60px;
}

.features-hub-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.hub-card {
  position: relative;
  padding: 28px 28px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top left,
    var(--tile-glow, rgba(99, 102, 241, 0.18)) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.hub-card:hover::before { opacity: 1; }

.hub-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--tile-bg, rgba(99, 102, 241, 0.16));
  color: var(--tile-accent, #c7c9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hub-card-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 1;
}

.hub-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  position: relative;
  z-index: 1;
}

.hub-card-link {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tile-accent, #c7c9ff);
  position: relative;
  z-index: 1;
}

.hub-card-link svg {
  transition: transform 0.2s ease;
}

.hub-card:hover .hub-card-link svg {
  transform: translateX(4px);
}

/* ── Footer (overrides styles.css minimal footer for feature pages) ── */

.footer {
  padding: 72px 0 24px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: white;
}

.footer-logo .logo-img {
  width: 26px;
  height: 26px;
}

.footer-tagline {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin: 8px 0 0;
  max-width: 320px;
}

.footer-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s ease;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-col:first-child { grid-column: 1 / -1; }
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .feature-hero,
  .feature-section-split,
  .feature-section-split.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-section-split.reverse .feature-section-text { order: 1; }
  .feature-section-split.reverse .feature-section-visual { order: 2; }
}

/* ═══════════════════════════════════════════
   Per-feature infographics — custom CSS art
   ═══════════════════════════════════════════ */

/* Universal search — overlay mock */

.info-search {
  position: relative;
  background: rgba(15, 15, 20, 0.7);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  overflow: hidden;
}

.info-search-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-search-input-icon { color: rgba(255, 255, 255, 0.3); }

.info-search-input-field {
  flex: 1;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.info-search-input-field .cursor {
  display: inline-block;
  width: 1.5px;
  height: 16px;
  background: #6366f1;
  vertical-align: text-bottom;
  animation: cursor-blink 1.1s step-start infinite;
  margin-left: 2px;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

.info-search-esc {
  padding: 3px 8px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-family: 'SF Mono', monospace;
  letter-spacing: 0.5px;
}

.info-search-group {
  padding: 10px 10px 4px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.info-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  margin: 0 6px;
}

.info-search-row.selected { background: rgba(99, 102, 241, 0.14); border: 1px solid rgba(99, 102, 241, 0.3); }
.info-search-row.plain { background: transparent; }

.info-search-row-ico {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.info-search-row-text {
  flex: 1;
  min-width: 0;
}

.info-search-row-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-search-row-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.info-search-footer {
  margin-top: 10px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 16px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'SF Mono', monospace;
}

.info-search-footer kbd {
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 4px;
}

/* Tab manager anatomy */

.info-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-tabs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
}

.info-tabs-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-tabs-count {
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
}

.info-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.info-tab.active {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
}

.info-tab.sleeping { opacity: 0.55; }

.info-tab.duplicate {
  background: rgba(234, 4, 126, 0.1);
  border-color: rgba(234, 4, 126, 0.28);
}

.info-tab-fav {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-tab.sleeping .info-tab-fav { filter: grayscale(0.6); }

.info-tab-fav.o { background: linear-gradient(135deg, #f97316, #ef4444); }
.info-tab-fav.g { background: linear-gradient(135deg, #10b981, #06b6d4); }
.info-tab-fav.r { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.info-tab-fav.b { background: linear-gradient(135deg, #6366f1, #3b82f6); }
.info-tab-fav.y { background: linear-gradient(135deg, #eab308, #f97316); }

.info-tab-sleep-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  background: #6366f1;
  border: 1.5px solid #1a1a20;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
}

.info-tab-title {
  flex: 1;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-tab.duplicate .info-tab-title { color: #fbb6ce; }

.info-sleep-card {
  margin-top: 4px;
  padding: 12px 14px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-sleep-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.info-sleep-count {
  margin-left: auto;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7c9ff;
  border-radius: 999px;
}

.info-sleep-chips {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.info-sleep-chip {
  flex: 1;
  text-align: center;
  padding: 5px 0;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  border-radius: 6px;
}

.info-sleep-chip.on {
  background: #6366f1;
  color: white;
}

.info-sleep-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  background: rgba(99, 102, 241, 0.22);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 8px;
  color: #c7c9ff;
  font-size: 12px;
  font-weight: 700;
}

/* Workspace anatomy */

.info-ws-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.info-ws-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.info-ws-email {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'SF Mono', monospace;
}

.info-ws-section {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  margin: 12px 0 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.info-ws-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-ws-ico {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.info-ws-ico.cal { background: rgba(52, 168, 83, 0.16); }
.info-ws-ico.drive { background: rgba(66, 133, 244, 0.16); }
.info-ws-ico.gmail { background: rgba(234, 67, 53, 0.16); }

.info-ws-body {
  flex: 1;
  min-width: 0;
}

.info-ws-body-t {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-ws-body-s {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.info-ws-join {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(52, 168, 83, 0.18);
  border: 1px solid rgba(52, 168, 83, 0.35);
  color: #86efac;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
}

.info-ws-badge {
  padding: 2px 7px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  margin-left: auto;
}

.info-ws-badge.promo { background: rgba(167, 139, 250, 0.18); color: #c4b5fd; }
.info-ws-badge.social { background: rgba(96, 165, 250, 0.18); color: #93c5fd; }

/* Feed hub anatomy */

.info-feed-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-feed-tab {
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 4px;
}

.info-feed-tab.on {
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: #f59e0b;
}

.info-feed-tab .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f59e0b;
}

.info-feed-tab .dot.gh { background: #a78bfa; }
.info-feed-tab .dot.dev { background: #22d3ee; }

.info-feed-item {
  padding: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.info-feed-meta {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.info-feed-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
  margin-bottom: 6px;
}

.info-feed-stats {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

/* Launchpad anatomy */

.info-launch {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-launch-tabs {
  display: flex;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-launch-tab {
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.info-launch-tab.on {
  color: white;
  background: rgba(249, 115, 22, 0.18);
  border-color: rgba(249, 115, 22, 0.4);
}

.info-launch-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.info-launch-tile {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 15px;
  font-family: 'SF Mono', monospace;
  position: relative;
}

.info-launch-tile.g { background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.15)); color: #c7c9ff; border-color: rgba(99, 102, 241, 0.35); }
.info-launch-tile.o { background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(234, 88, 12, 0.15)); color: #fdba74; border-color: rgba(249, 115, 22, 0.35); }
.info-launch-tile.p { background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(236, 72, 153, 0.15)); color: #e9d5ff; border-color: rgba(167, 139, 250, 0.35); }
.info-launch-tile.t { background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(16, 185, 129, 0.15)); color: #5eead4; border-color: rgba(6, 182, 212, 0.35); }
.info-launch-tile.r { background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(244, 63, 94, 0.15)); color: #fbb6ce; border-color: rgba(236, 72, 153, 0.35); }

/* Wallpaper anatomy */

.info-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  aspect-ratio: 3 / 2;
}

.info-wall-card {
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: #1a1a20;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-wall-card.featured {
  grid-row: 1 / span 2;
  grid-column: 1 / span 2;
}

.info-wall-card.c1 { background: linear-gradient(135deg, #0b2f6a, #6c2bd9, #ec4899); }
.info-wall-card.c2 { background: linear-gradient(135deg, #065f46, #0891b2); }
.info-wall-card.c3 { background: linear-gradient(135deg, #7c2d12, #eab308); }
.info-wall-card.c4 { background: linear-gradient(135deg, #581c87, #db2777); }
.info-wall-card.c5 { background: linear-gradient(135deg, #0f172a, #334155); }

.info-wall-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 60%);
  pointer-events: none;
}

.info-wall-card .tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  z-index: 2;
}

/* Wallpaper source selector */

.info-wall-sources {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.info-wall-source {
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.info-wall-source.on {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #a5f3fc;
}

.info-wall-source svg { color: currentColor; }
