/* Solutions: 4-column bento; the lead card spans 2x2, the AI card 2x1 */
.solutions { overflow: hidden; }
.solutions .wrap { position: relative; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; margin-top: 56px; }
.bx { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005)); transition: border-color var(--dur), transform var(--dur); }
.bx:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-3px); }
/* Cursor spotlight: --mx/--my are set by bento-spotlight.js on pointer devices */
.bx::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 211, 238, 0.1), transparent 45%); opacity: 0; transition: opacity var(--dur); pointer-events: none; }
.bx:hover::after { opacity: 1; }
.bx-ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: auto; border: 1px solid var(--line-2); border-radius: 11px; color: var(--cyan); }
.bx-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bx .gr { margin: 18px 0 6px; font: 400 11px var(--mono); letter-spacing: 0.1em; color: var(--text-3); }
.bx h3 { font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
.bx p { color: var(--text-2); font-size: 14px; }
.bx ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.bx li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--text-2); }
.bx.lg { grid-column: span 2; grid-row: span 2; background: linear-gradient(180deg, rgba(5, 7, 13, 0.2), rgba(5, 7, 13, 0.92) 70%), url(../assets/hero-skyline.webp) center / cover; }
.bx.lg h3 { font-size: 30px; }
.bx.w2 { grid-column: span 2; }
.bx.ai { border-color: rgba(139, 92, 246, 0.35); background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(34, 211, 238, 0.05)); }
.bx.ai .bx-ic { color: var(--violet); }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bx.lg, .bx.w2 { grid-column: auto; grid-row: auto; }
  .bx.lg { min-height: 300px; }
  .bx p { font-size: 16px; }
  .bx li { font-size: 13px; }
}

/* ------------------------------------------------------------------------------
   3 Pillars Glassmorphic Bento Cards (.bcard)
   Used in Section 05: Creative Media, AI Media Solutions, Web & App Development
   ------------------------------------------------------------------------------ */
.bento:has(.bcard),
.bento.bento--pillars {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 24px;
}

.bcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 32px 28px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8), rgba(8, 12, 22, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bcard:hover {
  border-color: rgba(34, 211, 238, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 25px 55px -12px rgba(34, 211, 238, 0.22), inset 0 1px 0 rgba(34, 211, 238, 0.4);
}

.bcard-visual {
  width: 100%;
  height: 160px;
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.95), rgba(5, 7, 13, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.14);
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.bcard-visual svg {
  width: 100%;
  height: 100%;
  max-height: 160px;
  display: block;
}

.bcard-visual--creative {
  border-color: rgba(244, 63, 94, 0.25);
}
.bcard-visual--ai {
  border-color: rgba(34, 211, 238, 0.25);
}
.bcard-visual--dev {
  border-color: rgba(16, 185, 129, 0.25);
}

.bcard .tag {
  display: inline-flex;
  align-items: center;
  font: 600 11px var(--mono);
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  width: fit-content;
  margin-bottom: 14px;
}

.bcard h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.bcard p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.bcard .blist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bcard .blist li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

.bcard .blist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

@media (max-width: 1080px) {
  .bento:has(.bcard),
  .bento.bento--pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .bento:has(.bcard) .bcard:last-child,
  .bento.bento--pillars .bcard:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .bento:has(.bcard),
  .bento.bento--pillars {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .bento:has(.bcard) .bcard:last-child,
  .bento.bento--pillars .bcard:last-child {
    max-width: 100%;
  }
  .bcard {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .bcard-visual {
    height: 140px;
    margin-bottom: 18px;
  }
  .bcard-visual svg {
    max-height: 140px;
  }
  .bcard h3 {
    font-size: 20px;
  }
}

/* ==============================================================================
   2-Column Capabilities & Ecosystem Infographics (.capabilities-duo)
   ============================================================================== */
.capabilities-duo {
  margin-top: 56px;
  position: relative;
}

.capabilities-duo__head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}

.capabilities-duo__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.3);
  font: 600 12px var(--mono);
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.capabilities-duo__title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.capabilities-duo__desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

.capabilities-duo__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.cap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(8, 12, 22, 0.95) 100%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.cap-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 25px 60px -12px rgba(34, 211, 238, 0.2), inset 0 1px 0 rgba(34, 211, 238, 0.4);
}

.cap-card--creative:hover {
  border-color: rgba(244, 63, 94, 0.45);
  box-shadow: 0 25px 60px -12px rgba(244, 63, 94, 0.22), inset 0 1px 0 rgba(244, 63, 94, 0.4);
}

.cap-card--ai:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 25px 60px -12px rgba(56, 189, 248, 0.22), inset 0 1px 0 rgba(56, 189, 248, 0.4);
}

/* Image Visual Container with Zoom Overlay */
.cap-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020617;
  cursor: pointer;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.cap-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cap-card:hover .cap-visual img {
  transform: scale(1.03);
}

.cap-visual__zoom-hint {
  display: none !important;
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font: 500 11.5px var(--mono);
  color: #fff;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.cap-card:hover .cap-visual__zoom-hint {
  transform: translateY(-2px);
  border-color: var(--cyan);
  color: var(--cyan);
}

.cap-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cap-tag {
  display: inline-flex;
  align-items: center;
  font: 600 11px var(--mono);
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.cap-tag--rose {
  color: #fb7185;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.cap-tag--cyan {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.cap-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.cap-slogan {
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 22px;
  font-style: italic;
  line-height: 1.5;
}

/* 6-Module Subgrid for Creative Media */
.cap-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.cap-subitem {
  padding: 16px 16px;
  min-height: 82px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.25s ease;
}

.cap-card--creative .cap-subitem:hover {
  background: rgba(244, 63, 94, 0.06);
  border-color: rgba(244, 63, 94, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(244, 63, 94, 0.2);
}

.cap-subitem__num {
  font: 700 10.5px var(--mono);
  color: #fb7185;
  margin-bottom: 5px;
  letter-spacing: 0.06em;
}

.cap-subitem__title {
  font-size: 13.5px;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cap-subitem__title span {
  font-size: 15px;
  line-height: 1;
}

.cap-subitem__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.5;
}

.cap-subitem__list li::before {
  content: "• ";
  color: rgba(56, 189, 248, 0.7);
}

/* Dual Wing Box for AI Systems */
.cap-wings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.cap-wing {
  padding: 15px 18px;
  min-height: 128px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.25s ease;
}

.cap-wing:hover {
  background: rgba(56, 189, 248, 0.06);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(56, 189, 248, 0.2);
}

.cap-wing__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.cap-wing__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cap-wing__sub {
  font-size: 12px;
  color: #38bdf8;
  margin-bottom: 8px;
}

.cap-wing__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cap-wing__pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: #cbd5e1;
}

/* Triple Highlights Bar */
.cap-pillars-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 11px 16px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  margin-bottom: 20px;
}

.cap-pillars-bar--rose {
  background: rgba(244, 63, 94, 0.06);
  border-color: rgba(244, 63, 94, 0.22);
}

.cap-pillars-bar--rose .cap-pillar-item {
  color: #fb7185;
}

.cap-pillar-item {
  font: 700 11px var(--mono);
  color: #38bdf8;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cap-footer {
  margin-top: auto;
  padding-top: 44px;
  display: flex;
  gap: 12px;
}

/* Modal Lightbox */
.cap-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(2, 6, 23, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cap-modal.is-active {
  display: flex;
  opacity: 1;
}

.cap-modal__content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cap-modal__content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.2);
}

.cap-modal__caption {
  margin-top: 14px;
  font-size: 14px;
  color: #94a3b8;
  text-align: center;
}

.cap-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cap-modal__close:hover {
  background: #f43f5e;
  border-color: #f43f5e;
}

@media (max-width: 992px) {
  .capabilities-duo__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .cap-subgrid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cap-pillars-bar {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 14px;
  }
  .cap-pillars-bar > div:not(.cap-pillar-item) {
    display: none !important;
  }
  .cap-wing {
    min-height: auto;
    padding: 14px 12px;
  }
  .cap-wing__head {
    flex-wrap: wrap;
    gap: 4px;
  }
  .cap-wing__pills {
    gap: 5px;
  }
  .cap-wing__pill {
    font-size: 10.5px;
    padding: 3px 8px;
  }
  .cap-body {
    padding: 20px 16px;
  }
  .cap-title {
    font-size: 20px;
  }
  .cap-footer {
    flex-direction: column;
    padding-top: 20px;
    gap: 10px;
  }
  .cap-footer .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    text-align: center;
  }
}

