/* ==========================================================================
   BentoCoder — home.css
   Home-only sections (clients page).
   ========================================================================== */

/* ---------- Hero bento visual ---------- */
.bento-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding-right: 56px; /* room for the chopsticks */
}

.bento-tray {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(8px, 1.4vw, 14px);
  padding: clamp(10px, 1.8vw, 18px);
  background: linear-gradient(160deg, #26262a, #141416);
  border: 1px solid #333338;
  border-radius: clamp(22px, 3vw, 34px);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 30px 90px -40px rgba(235, 100, 52, 0.45);
  transform: rotate(-2deg);
  animation: tray-float 7s ease-in-out infinite;
}
@keyframes tray-float {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-12px); }
}

.bento-cell {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: clamp(12px, 1.8vw, 18px);
  background: var(--c);
  color: var(--ink);
  box-shadow:
    inset 0 -7px 0 rgba(0, 0, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    0 6px 0 #0c0c0d;
  transition: transform 0.45s var(--spring), box-shadow 0.45s var(--ease);
  cursor: default;
}
.bento-cell--top { grid-column: span 3; aspect-ratio: 1.15; }
.bento-cell--bottom { grid-column: span 2; aspect-ratio: 0.82; }

.bento-cell:hover,
.bento-cell:focus-visible {
  transform: translateY(-8px) rotate(-1.5deg);
  box-shadow:
    inset 0 -7px 0 rgba(0, 0, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    0 16px 24px -8px rgba(0, 0, 0, 0.7);
}

.bento-cell__glyph {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.6rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.bento-cell--bottom .bento-cell__glyph { font-size: clamp(1.3rem, 4vw, 2.3rem); }

.bento-cell__label {
  position: absolute;
  left: 50%; bottom: 10%;
  transform: translate(-50%, 6px);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.78);
  color: var(--rice);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s, transform 0.3s var(--ease);
  pointer-events: none;
}
.bento-cell:hover .bento-cell__label,
.bento-cell:focus-visible .bento-cell__label,
.bento-cell.is-peek .bento-cell__label { opacity: 1; transform: translate(-50%, 0); }

/* Chopsticks */
.chopsticks {
  position: absolute;
  top: -4%; right: 6px;
  height: 104%;
  width: 40px;
  transform: rotate(5deg);
  transform-origin: bottom center;
  animation: chopsticks 7s ease-in-out infinite;
}
.chopsticks span {
  position: absolute;
  top: 0; bottom: 0;
  width: 9px;
  border-radius: 6px 6px 3px 3px;
  background:
    linear-gradient(180deg, transparent 76%, var(--orange) 76%, var(--orange) 81%, transparent 81%),
    linear-gradient(90deg, #2c2c30, #47474d 50%, #232326);
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.8);
}
.chopsticks span:first-child { left: 4px; transform: rotate(-2deg); }
.chopsticks span:last-child { left: 22px; transform: rotate(1deg); }
@keyframes chopsticks {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-6px); }
}

/* Floating status chip */
.bento-chip {
  position: absolute;
  left: -4%; bottom: -26px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: rgba(24, 24, 26, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9);
  animation: chip-float 7s ease-in-out infinite 0.6s;
}
.bento-chip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.bento-chip strong { color: var(--green); font-weight: 500; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 899px) {
  .bento-visual { max-width: 440px; padding-right: 46px; margin-top: 1rem; }
  .chopsticks { width: 32px; }
  .chopsticks span { width: 7px; }
  .chopsticks span:last-child { left: 18px; }
}
@media (max-width: 420px) {
  .bento-chip { left: 0; font-size: 0.68rem; }
}

/* ---------- In every box ---------- */
.perks-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2rem;
}
.perk {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.9rem;
}
.perk::before {
  content: '';
  grid-row: span 2;
  width: 14px; height: 14px;
  margin-top: 0.3rem;
  border-radius: 4px;
  background: var(--c, var(--orange));
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}
.perk__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.perk__text { font-size: 0.92rem; color: var(--text-muted); }

@media (max-width: 899px) {
  .perks-layout { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .perks { grid-template-columns: 1fr; }
}

/* ---------- FAQ layout ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq-layout .section-head { grid-template-columns: 1fr; margin-bottom: 1.5rem; }
.faq-layout .section-num { margin-bottom: 0.6rem; }
.faq-layout .section-lead { grid-column: 1; }
@media (max-width: 899px) {
  .faq-layout { grid-template-columns: 1fr; gap: 0; }
}
