/* ─── HERO ─────────────────────────────────────────────────────────── */
.hero {
  padding-top: 140px;
  padding-bottom: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 80px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(0,212,170,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.hero-logo img.hero-mark     { height: 96px; width: auto; }
.hero-logo img.hero-wordmark { height: 80px; width: auto; }

h1 {
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto 0;
  line-height: 1.65;
}

/* ─── BENTO GRID ───────────────────────────────────────────────────── */
/* 12 tracks so the top row (3 equal-width apps) and bottom row (4
   equal-width DCTLs/scripts/free tools) both divide evenly:
   top: 3 x span-4 = 12   bottom: 4 x span-3 = 12
   Rows are auto-height so every tile can show its full description
   with nothing clamped or truncated. */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: auto;
  align-items: stretch;
  column-gap: 16px;
  row-gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.bento-hero { grid-column: span 4; }
.bento-sm { grid-column: span 3; }

.bento-tile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid rgba(var(--tile-accent-rgb), 0.5);
  border-radius: 16px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.bento-tile::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(ellipse, rgba(var(--tile-accent-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.bento-tile:hover {
  border-top-color: var(--tile-accent);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 50px rgba(var(--tile-accent-rgb), 0.05);
}

.bento-tile-soon { opacity: 0.75; }
.bento-tile-soon:hover { opacity: 1; }

.coming-soon-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  z-index: 1;
}

.bento-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bento-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.bento-hero .bento-icon { width: 44px; height: 44px; border-radius: 12px; }

.bento-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bento-name-badge {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bento-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bento-hero .bento-name { font-size: 20px; }

.bento-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.bento-hero .bento-desc { font-size: 14.5px; }

.bento-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ─── BADGES (page-scoped) ─────────────────────────────────────────── */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #00d4aa;
  width: fit-content;
  white-space: nowrap;
}

.product-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #00d4aa;
}

.product-badge.free {
  background: rgba(74,222,128,0.08);
  border-color: rgba(74,222,128,0.2);
  color: #4ade80;
}

.product-badge.free .product-badge-dot { background: #4ade80; }

.product-badge.dctl {
  background: rgba(240,146,43,0.1);
  border-color: rgba(240,146,43,0.25);
  color: #f0922b;
}

.product-badge.dctl .product-badge-dot { background: #f0922b; }

.product-badge.scripts {
  background: rgba(56,189,248,0.08);
  border-color: rgba(56,189,248,0.2);
  color: #38bdf8;
}

.product-badge.scripts .product-badge-dot { background: #38bdf8; }

/* ─── PLATFORMS + LINK ─────────────────────────────────────────────── */
.product-platforms { display: flex; gap: 8px; min-width: 0; overflow: hidden; }

.product-platform {
  font-size: 11.5px;
  color: var(--subtle);
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.product-platform svg { opacity: 0.45; flex-shrink: 0; }

.product-link {
  font-size: 13px;
  font-weight: 600;
  color: #00d4aa;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  margin-left: auto;
}

/* ─── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-hero { grid-column: span 2; }
  .bento-sm { grid-column: span 1; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-hero, .bento-sm { grid-column: span 1; }
}

@media (max-width: 640px) {
  .bento { padding-left: 16px; padding-right: 16px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero-logo { flex-direction: column; gap: 10px; }
  .hero-logo img.hero-mark { height: 64px; }
  .hero-logo img.hero-wordmark { height: 44px; }
}
