/* ==========================================================================
   BINKOD TECH — homepage.css
   The redesigned, product-focused homepage. Loaded only by index.html.
   Shared header, footer and article cards live in css/site.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Page base, shared section headings and buttons
   -------------------------------------------------------------------------- */
.home-page {
  overflow-x: clip;
}

.home-page main {
  overflow-x: clip;
}

.home-section-head {
  max-width: 44rem;
}

.home-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--s-blue-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-eyebrow::before {
  content: "";
  width: 1.55rem;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}

.home-section-head h2 {
  margin: 0;
  color: var(--s-ink);
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.home-section-head p {
  max-width: 40rem;
  margin-top: 1rem;
  color: var(--s-ink-soft);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.11rem);
  line-height: 1.7;
}

.home-section-head--center p {
  margin-inline: auto;
}

.home-section-head--dark h2 {
  color: #f5f8ff;
}

.home-section-head--dark p {
  color: #aebdd8;
}

.home-section-head--dark .home-eyebrow {
  color: #7db2ff;
}

.btn--ghost {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(180, 205, 250, 0.34);
  color: #eaf1ff;
}

.btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(180, 205, 250, 0.65);
  color: #ffffff;
  box-shadow: 0 16px 34px -22px rgba(125, 178, 255, 0.55);
}

.home-page .btn {
  min-height: 2.9rem;
  padding-inline: 1.35rem;
}

.home-page .btn:focus-visible {
  outline-color: #9cc4ff;
}

/* --------------------------------------------------------------------------
   2. Hero
   -------------------------------------------------------------------------- */
.hero {
  --hero-ink: #eef4ff;
  --hero-soft: #b9c8e4;
  --hero-chip-text: #c5d7f8;
  --hero-chip-border: rgba(148, 180, 255, 0.22);
  --hero-chip-bg: rgba(125, 178, 255, 0.06);
  --hero-dot: #67e8f9;
  --hero-card-bg: rgba(8, 20, 40, 0.9);
  --hero-card-border: rgba(148, 180, 255, 0.24);
  --hero-card-text: #dbe7fb;
  --hero-icon-bg: rgba(125, 178, 255, 0.09);
  --hero-icon-color: #9cc4ff;
  --hero-ring: rgba(125, 178, 255, 0.22);
  --hero-grid: rgba(125, 178, 255, 0.055);
  --hero-testing-border: rgba(251, 191, 36, 0.28);
  --hero-testing-bg: rgba(251, 191, 36, 0.065);
  --hero-testing-title: #f4f7ff;
  --hero-testing-text: #e8d39b;
  --hero-tag-text: #cfe2ff;
  --hero-tag-border: rgba(125, 178, 255, 0.34);
  --hero-tag-bg: rgba(125, 178, 255, 0.08);
  --hero-tag-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(1.5rem, 1rem + 1.6vw, 2.6rem) clamp(2.2rem, 1.4rem + 2.4vw, 3.5rem);
  background:
    radial-gradient(48rem 30rem at 79% -6%, rgba(45, 100, 245, 0.3), transparent 64%),
    radial-gradient(36rem 25rem at 3% 18%, rgba(124, 58, 237, 0.16), transparent 65%),
    radial-gradient(40rem 29rem at 58% 112%, rgba(34, 211, 238, 0.09), transparent 65%),
    linear-gradient(180deg, #061022 0%, #07152b 62%, #08162c 100%);
  color: var(--hero-ink);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(112% 86% at 52% 0%, #000 22%, transparent 76%);
  mask-image: radial-gradient(112% 86% at 52% 0%, #000 22%, transparent 76%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
}

.hero__orb--a {
  top: -14rem;
  right: -9rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.26), transparent 72%);
  animation: hero-orb 20s ease-in-out infinite alternate;
}

.hero__orb--b {
  bottom: -19rem;
  left: -15rem;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.15), transparent 72%);
  animation: hero-orb 27s ease-in-out infinite alternate-reverse;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.6rem, 1.1rem + 2.2vw, 2.8rem);
  align-items: center;
}

@media (min-width: 62em) {
  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 4.8rem - 1px);
    min-height: calc(100svh - 4.8rem - 1px);
    padding-block: clamp(1.1rem, 0.75rem + 1.3vh, 2.1rem);
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(1.2rem, 0.4rem + 2.2vw, 2.8rem);
  }
}

.hero__copy {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.36rem 0.72rem;
  border: 1px solid var(--hero-chip-border);
  border-radius: 999px;
  background-color: var(--hero-chip-bg);
  color: var(--hero-chip-text);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero__eyebrow-dot {
  width: 0.42rem;
  height: 0.42rem;
  flex: none;
  border-radius: 50%;
  background-color: var(--hero-dot);
  box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.11);
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.85rem, 1.35rem + 4.1vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.01;
  text-wrap: balance;
}

@media (min-width: 62em) {
  .hero h1 {
    font-size: clamp(3.1rem, 1.2rem + 3.2vw, 4.15rem);
    line-height: 1.02;
  }
}

.hero h1 span {
  display: inline;
  color: var(--hero-accent, #7db2ff);
  background-image: linear-gradient(96deg, #78adff 2%, #7deefc 48%, #c4b5fd 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  max-width: 34rem;
  margin: 0;
  color: var(--hero-soft);
  font-size: clamp(0.98rem, 0.92rem + 0.26vw, 1.08rem);
  line-height: 1.64;
}

.hero__lead--secondary {
  margin-top: -0.3rem;
  color: var(--hero-soft);
  font-size: clamp(0.92rem, 0.88rem + 0.2vw, 1rem);
  opacity: 0.92;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.2rem 0 0.1rem;
  padding: 0;
  list-style: none;
}

.hero__tags li {
  padding: 0.32rem 0.68rem;
  border: 1px solid var(--hero-tag-border);
  border-radius: 999px;
  background-color: var(--hero-tag-bg);
  color: var(--hero-tag-text);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: var(--hero-tag-shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.hero__arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.hero__actions .btn:hover .hero__arrow {
  transform: translateX(4px);
}

.hero__testing {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  max-width: 100%;
  margin-top: 0.45rem;
  padding: 0.45rem 0.75rem 0.45rem 0.45rem;
  border: 1px solid var(--hero-testing-border);
  border-radius: 13px;
  background-color: var(--hero-testing-bg);
}

.hero__testing--available {
  --hero-testing-border: rgba(103, 232, 249, 0.3);
  --hero-testing-bg: rgba(103, 232, 249, 0.07);
  --hero-testing-text: #a7e8f5;
}

.hero__testing img {
  width: 1.8rem;
  height: 1.8rem;
  flex: none;
  border-radius: 8px;
}

.hero__testing-text {
  display: grid;
  gap: 0.05rem;
  line-height: 1.35;
}

.hero__testing-text strong {
  color: var(--hero-testing-title);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero__testing-text span {
  color: var(--hero-testing-text);
  font-size: 0.71rem;
  font-weight: 600;
}

.hero__testing-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 2rem;
  padding: 0.35rem 0.62rem;
  border: 1px solid rgba(148, 180, 255, 0.34);
  border-radius: 999px;
  background-color: #0e1b33;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease,
    box-shadow 180ms ease;
}

.hero__testing-play:hover {
  background-color: #1d3055;
  color: #ffffff;
  box-shadow: 0 6px 16px -8px rgba(2, 12, 27, 0.8);
  transform: translateY(-1px);
}

.hero__testing-play-icon {
  width: auto;
  height: 0.82rem;
  flex: none;
}

/* Hero visual: tilted app phone + three separate elliptical orbits --------- */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
}

.hero-stage {
  position: relative;
  width: min(100%, 33rem);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 1%;
  border-radius: 50%;
  background-image: radial-gradient(circle, rgba(148, 197, 255, 0.3) 1px, transparent 1px);
  background-size: 2.8rem 2.8rem;
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 73%);
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 73%);
  pointer-events: none;
}

.hero-stage__glow {
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.36), rgba(34, 211, 238, 0.08) 56%, transparent 74%);
  filter: blur(9px);
  animation: hero-stage-breathe 11s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-stage__disc {
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(125, 178, 255, 0.1);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(37, 99, 235, 0.11), transparent 64%),
    repeating-radial-gradient(circle at 50% 50%, rgba(125, 178, 255, 0.035) 0 1px, transparent 1px 3.1rem);
  box-shadow: inset 0 0 4.8rem rgba(37, 99, 235, 0.12);
  pointer-events: none;
}

/* The orbit wrapper is tilted permanently; the track turns inside it and
   every label counter-rotates so its text stays upright. */
.hero-solar {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: var(--orbit-width);
  height: var(--orbit-height);
  transform: translate(-50%, -50%) rotate(var(--orbit-tilt));
  pointer-events: none;
}

.hero-solar--apps {
  z-index: 3;
}

.hero-solar--services {
  z-index: 2;
}

.hero-solar--tech {
  z-index: 4;
}

.hero-solar__path {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--orbit-line, rgba(125, 178, 255, 0.44));
  box-shadow:
    0 0 1.25rem -0.2rem var(--orbit-halo, rgba(125, 178, 255, 0.28)),
    inset 0 0 1.4rem var(--orbit-inner, rgba(125, 178, 255, 0.09));
  pointer-events: none;
}

.hero-solar__path::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    transparent 0 16%,
    var(--orbit-sheen, rgba(103, 232, 249, 0.7)) 27%,
    transparent 39%,
    transparent 58%,
    var(--orbit-sheen-alt, rgba(125, 178, 255, 0.45)) 72%,
    transparent 84%
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  animation: hero-ring-sheen var(--ring-duration, 9s) linear infinite;
  opacity: 0.9;
  will-change: transform;
}

.hero-solar__path::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid var(--orbit-halo, rgba(125, 178, 255, 0.28));
  border-radius: inherit;
  filter: blur(5px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-solar--apps .hero-solar__path {
  border-style: dashed;
  --orbit-line: rgba(125, 178, 255, 0.52);
  --orbit-halo: rgba(103, 232, 249, 0.3);
  --orbit-sheen: rgba(103, 232, 249, 0.75);
  --orbit-sheen-alt: rgba(125, 178, 255, 0.5);
  --ring-duration: 8s;
}

.hero-solar--services .hero-solar__path {
  --orbit-line: rgba(103, 232, 249, 0.44);
  --orbit-halo: rgba(103, 232, 249, 0.32);
  --orbit-sheen: rgba(103, 232, 249, 0.8);
  --orbit-sheen-alt: rgba(96, 165, 250, 0.5);
  --orbit-inner: rgba(103, 232, 249, 0.08);
  --ring-duration: 10s;
}

.hero-solar--tech .hero-solar__path {
  border-style: dotted;
  --orbit-line: rgba(167, 243, 208, 0.46);
  --orbit-halo: rgba(167, 243, 208, 0.28);
  --orbit-sheen: rgba(167, 243, 208, 0.7);
  --orbit-sheen-alt: rgba(103, 232, 249, 0.4);
  --orbit-inner: rgba(167, 243, 208, 0.07);
  --ring-duration: 12s;
}

.hero-solar__track {
  position: absolute;
  inset: 0;
  animation: hero-solar-spin var(--orbit-duration) linear infinite;
  animation-delay: var(--orbit-delay);
  will-change: transform;
}

.hero-solar__track::before {
  content: "";
  position: absolute;
  top: -0.16rem;
  left: 50%;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background-color: var(--orbit-dot, #67e8f9);
  box-shadow: 0 0 0.75rem var(--orbit-dot, #67e8f9);
  transform: translateX(-50%);
}

.hero-solar--apps {
  --orbit-dot: #67e8f9;
}

.hero-solar--services {
  --orbit-dot: #7db2ff;
}

.hero-solar--tech {
  --orbit-dot: #a7f3d0;
}

.hero-solar__chip {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
}

/* All eight labels share the outer orbit, evenly spaced. Keeping them on one
   path stops the three rings from crossing and making labels collide. */
.hero-solar--tech .hero-solar__chip:nth-child(1) { top: 50%; left: 100%; }
.hero-solar--tech .hero-solar__chip:nth-child(2) { top: 85.36%; left: 85.36%; }
.hero-solar--tech .hero-solar__chip:nth-child(3) { top: 100%; left: 50%; }
.hero-solar--tech .hero-solar__chip:nth-child(4) { top: 85.36%; left: 14.64%; }
.hero-solar--tech .hero-solar__chip:nth-child(5) { top: 50%; left: 0; }
.hero-solar--tech .hero-solar__chip:nth-child(6) { top: 14.64%; left: 14.64%; }
.hero-solar--tech .hero-solar__chip:nth-child(7) { top: 0; left: 50%; }
.hero-solar--tech .hero-solar__chip:nth-child(8) { top: 14.64%; left: 85.36%; }

.hero-solar__chip-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.38rem 0.6rem;
  border: 1px solid rgba(148, 180, 255, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(13, 35, 63, 0.88), rgba(6, 17, 34, 0.72));
  box-shadow:
    0 14px 26px -20px rgba(0, 0, 0, 0.95),
    0 0 18px -8px rgba(125, 178, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #dbe7fb;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  transform: rotate(calc(-1 * var(--orbit-tilt)));
  animation: hero-solar-upright var(--orbit-duration) linear infinite;
  animation-delay: var(--orbit-delay);
  will-change: transform;
}

.hero-chip--app .hero-solar__chip-inner {
  border-color: rgba(125, 178, 255, 0.44);
  background:
    linear-gradient(145deg, rgba(16, 42, 74, 0.92), rgba(7, 22, 41, 0.76));
}

.hero-solar__chip-inner img {
  width: 1rem;
  height: 1rem;
  flex: none;
  border-radius: 0.26rem;
}

.hero-chip--service .hero-solar__chip-inner {
  border-color: rgba(103, 232, 249, 0.34);
  background:
    linear-gradient(145deg, rgba(10, 45, 64, 0.88), rgba(7, 26, 42, 0.7));
  color: #c9f7ff;
  box-shadow:
    0 14px 26px -20px rgba(0, 0, 0, 0.95),
    0 0 20px -8px rgba(103, 232, 249, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-solar__label {
  display: inline-block;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-solar__label.is-swapping {
  opacity: 0;
  transform: translateY(-0.22rem);
}

.hero-solar__spark {
  width: 0.32rem;
  height: 0.32rem;
  flex: none;
  border-radius: 50%;
  background-color: #67e8f9;
  box-shadow: 0 0 0.5rem rgba(103, 232, 249, 0.8);
}

.hero-chip--tech .hero-solar__chip-inner {
  padding: 0.3rem 0.48rem;
  border-color: rgba(167, 243, 208, 0.28);
  background:
    linear-gradient(145deg, rgba(12, 42, 55, 0.75), rgba(7, 20, 36, 0.62));
  color: #b8d1f2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.03em;
  box-shadow:
    0 14px 26px -20px rgba(0, 0, 0, 0.95),
    0 0 16px -8px rgba(167, 243, 208, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Tilted phone slider ------------------------------------------------------ */
.hero-device {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: min(31%, 10.6rem);
  transform: translate(-50%, -50%);
}

.hero-device__wrap {
  animation: hero-device-float 7s ease-in-out infinite alternate;
}

.hero-device__frame {
  position: relative;
  aspect-ratio: 9 / 19.2;
  padding: 0.28rem;
  border-radius: 2.2rem;
  background: linear-gradient(152deg, #60708d 0%, #202a42 28%, #090e19 74%);
  box-shadow:
    0 40px 70px -34px rgba(0, 0, 0, 0.9),
    0 24px 58px -30px rgba(37, 99, 235, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transform: perspective(1000px) rotateY(-18deg) rotateX(6deg) rotateZ(-5deg);
  transform-style: preserve-3d;
}

.hero-device__frame::after {
  content: "";
  position: absolute;
  inset: -0.34rem;
  z-index: -1;
  border: 1px solid rgba(125, 178, 255, 0.15);
  border-radius: 2.55rem;
  pointer-events: none;
}

.hero-device__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 1.93rem;
  background-color: #071426;
}

.hero-device__slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 850ms ease, transform 1.1s ease;
}

.hero-device__slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1);
}

.hero-device__slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-device__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 12, 27, 0.16) 0%, transparent 22%, transparent 64%, rgba(5, 12, 27, 0.62) 100%);
  pointer-events: none;
}

.hero-device__app {
  position: absolute;
  right: 0.55rem;
  bottom: 0.95rem;
  left: 0.55rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.3rem 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background-color: rgba(5, 15, 28, 0.64);
  color: #f1f7ff;
  font-size: 0.47rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.hero-device__app img {
  width: 0.9rem;
  height: 0.9rem;
  flex: none;
  border-radius: 0.23rem;
}

.hero-device__island {
  position: absolute;
  top: 0.54rem;
  left: 50%;
  z-index: 4;
  width: 27%;
  height: 0.32rem;
  border-radius: 999px;
  background-color: #050b15;
  transform: translateX(-50%);
}

.hero-device__shine {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: 2.05rem;
  background: linear-gradient(123deg, rgba(255, 255, 255, 0.17), transparent 27%, transparent 70%, rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

.hero-device__slide--abc {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(34, 211, 238, 0.22), transparent 42%),
    linear-gradient(160deg, #0b203b 0%, #071426 72%);
}

.hero-device__slide--abc::before {
  content: "";
  position: absolute;
  top: 31%;
  left: 50%;
  width: 77%;
  aspect-ratio: 1;
  border: 1px dashed rgba(125, 178, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-device__abc-mark {
  position: absolute;
  top: 29%;
  left: 50%;
  width: 38%;
  transform: translate(-50%, -50%);
}

.hero-device__abc-mark img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 23%;
  box-shadow: 0 15px 30px -14px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(125, 178, 255, 0.22);
}

.hero-device__slide--dm {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(37, 99, 235, 0.3), transparent 44%),
    linear-gradient(160deg, #0b203b 0%, #071426 72%);
}

.hero-device__slide--dm::before {
  content: "";
  position: absolute;
  top: 42%;
  left: 50%;
  width: 78%;
  aspect-ratio: 1;
  border: 1px dashed rgba(125, 178, 255, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-device__dm-mark {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 44%;
  transform: translate(-50%, -50%);
}

.hero-device__dm-mark img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 23%;
  box-shadow: 0 15px 30px -14px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(125, 178, 255, 0.22);
}

.hero-device__abc-row {
  position: absolute;
  top: 49%;
  left: 50%;
  display: flex;
  gap: 0.32rem;
  transform: translateX(-50%);
}

.hero-device__abc-row span {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid rgba(125, 178, 255, 0.22);
  border-radius: 0.42rem;
  background-color: rgba(8, 27, 50, 0.75);
  color: #dbeafe;
  font-size: 0.62rem;
  font-weight: 800;
}

@media (min-width: 75em) {
  .hero-stage {
    width: min(100%, 34rem);
  }
}

/* --------------------------------------------------------------------------
   3. Applications showcase
   -------------------------------------------------------------------------- */
.apps {
  position: relative;
  padding-block: clamp(4rem, 2.8rem + 5vw, 6.5rem);
  background:
    radial-gradient(44rem 26rem at 92% 2%, rgba(37, 99, 235, 0.07), transparent 64%),
    linear-gradient(180deg, #f7f9fd 0%, #f2f6fc 100%);
  border-bottom: 1px solid var(--s-line);
}

.apps__grid {
  display: grid;
  gap: 1.4rem;
  margin-top: clamp(2rem, 1.4rem + 3vw, 3.3rem);
}

@media (min-width: 46em) {
  .apps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 84em) {
  .apps__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (min-width: 46em) and (max-width: 83.99em) {
  .apps__note {
    max-width: 46rem;
  }
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  background-color: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: 24px;
  box-shadow: 0 12px 34px -32px rgba(12, 25, 48, 0.4);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #67e8f9);
  opacity: 0.85;
}

.app-card--dev::before {
  background: linear-gradient(90deg, #f97316, #ef4444 55%, #fbbf24);
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--s-line-strong);
  box-shadow: var(--s-shadow);
}

.app-card__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.app-card__icon {
  display: grid;
  place-items: center;
  width: 3.9rem;
  height: 3.9rem;
  flex: none;
  padding: 0.28rem;
  border: 1px solid var(--s-line);
  border-radius: 17px;
  background-color: #f8fbff;
  box-shadow: 0 10px 22px -18px rgba(12, 25, 48, 0.5);
}

.app-card__icon img {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
}

.app-card__identity {
  min-width: 0;
}

.app-card__name {
  margin: 0;
  color: var(--s-ink);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.2;
}

.app-card__tagline {
  margin-top: 0.28rem;
  color: var(--s-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.app-card .bk-status {
  align-self: flex-start;
  margin-top: -0.15rem;
}

.app-card__play {
  align-self: flex-start;
  border-color: rgba(148, 180, 255, 0.24);
  white-space: nowrap;
}

.app-card__desc {
  color: var(--s-ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.app-card__availability {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.58rem 0.65rem;
  border: 1px solid #f0dca9;
  border-radius: 10px;
  background-color: #fffaf0;
  color: #7a520d;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.45;
}

.app-card__availability svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
  margin-top: 0.08rem;
}

.app-features {
  display: grid;
  gap: 0.52rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--s-ink-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.app-features svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  margin-top: 0.12rem;
  color: var(--s-blue);
}

.app-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--s-line);
}

.app-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--s-blue-strong);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.app-card__link span {
  transition: transform 180ms ease;
}

.app-card__link:hover span {
  transform: translateX(3px);
}

.app-card__platform {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--s-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.app-card__platform svg {
  width: 0.95rem;
  height: 0.95rem;
}

.app-card__informational {
  color: var(--s-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

/* Device Matrix bottom CTAs - root homepage app card only. */
.app-card__actions {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}

.app-card__actions .app-card__play {
  align-self: stretch;
  width: 100%;
}

.apps .app-card .dm-ph-embed__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.9rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background-color: #ff6154;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease,
    transform 180ms ease;
}

.apps .app-card .dm-ph-embed__cta:hover {
  background-color: #ef5043;
  box-shadow: 0 10px 22px -16px rgba(255, 97, 84, 0.8);
  transform: translateY(-2px);
}

.apps .app-card .dm-ph-embed__cta:focus-visible {
  outline: 2px solid var(--s-blue-strong);
  outline-offset: 3px;
}

.dm-ph-embed__arrow {
  white-space: nowrap;
}

.apps__note {
  max-width: 54rem;
  margin-top: 1.6rem;
  color: var(--s-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.apps__note strong {
  color: var(--s-ink-soft);
}

/* --------------------------------------------------------------------------
   4. BINKOD TECH blog slider
   -------------------------------------------------------------------------- */
.home-blogs {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 3rem + 5vw, 6.5rem);
  background:
    radial-gradient(52rem 28rem at 8% -10%, rgba(37, 99, 235, 0.2), transparent 66%),
    radial-gradient(44rem 30rem at 92% 112%, rgba(124, 58, 237, 0.14), transparent 66%),
    linear-gradient(150deg, #071226 0%, #08152b 52%, #0a1832 100%);
  color: #eef4ff;
}

.home-blogs__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 178, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 178, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(90% 100% at 40% 40%, #000 20%, transparent 82%);
  mask-image: radial-gradient(90% 100% at 40% 40%, #000 20%, transparent 82%);
}

.home-blogs .container {
  position: relative;
  z-index: 1;
}

.home-blogs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 1.4rem + 3vw, 3rem);
}

.home-blogs__head .home-section-head {
  max-width: 44rem;
}

.blog-rail {
  position: relative;
}

.blog-rail__viewport {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0.35rem 1.1rem;
  margin-inline: -0.35rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.35rem;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.blog-rail__viewport::-webkit-scrollbar {
  display: none;
}

.blog-rail__viewport:focus-visible {
  outline: 3px solid #7db2ff;
  outline-offset: 5px;
  border-radius: 6px;
}

.blog-rail .post-card {
  flex: 0 0 calc((100% - 2.5rem) / 3.12);
  scroll-snap-align: start;
  height: auto;
}

.blog-rail .post-card__title {
  min-height: 4.3em;
}

.blog-rail .post-card__summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-rail__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
}

.blog-rail__hint {
  max-width: 27rem;
  color: #8fa2c4;
  font-size: 0.79rem;
  line-height: 1.5;
}

.blog-rail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.blog-rail__all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #9fc4ff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.blog-rail__all:hover {
  color: #ffffff;
}

.blog-rail__all span {
  transition: transform 180ms ease;
}

.blog-rail__all:hover span {
  transform: translateX(3px);
}

.blog-rail__buttons {
  display: flex;
  gap: 0.55rem;
}

.blog-rail__btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(148, 180, 255, 0.27);
  border-radius: 50%;
  background-color: rgba(125, 178, 255, 0.08);
  color: #eef4ff;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.blog-rail__btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.blog-rail__btn:hover:not(:disabled) {
  background-color: rgba(125, 178, 255, 0.18);
  border-color: rgba(148, 180, 255, 0.58);
}

.blog-rail__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.blog-rail__btn:focus-visible {
  outline-color: #9cc4ff;
}

@media (max-width: 64em) {
  .blog-rail .post-card {
    flex-basis: calc((100% - 1.25rem) / 2.08);
  }
}

@media (max-width: 38em) {
  .blog-rail .post-card {
    flex-basis: 87%;
  }

  .blog-rail .post-card__title {
    min-height: 0;
  }

  .blog-rail__bar {
    align-items: flex-start;
  }

  .blog-rail__actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   5. Technology icon wall
   -------------------------------------------------------------------------- */
.home-tech {
  position: relative;
  padding-block: clamp(4rem, 3rem + 4vw, 5.75rem);
  background:
    radial-gradient(38rem 22rem at 90% 8%, rgba(37, 99, 235, 0.06), transparent 64%),
    #ffffff;
  border-bottom: 1px solid var(--s-line);
}

.home-tech__panel {
  position: relative;
  margin-top: clamp(2rem, 1.4rem + 2.5vw, 3rem);
  padding: clamp(1.4rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--s-line);
  border-radius: 26px;
  background:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdff 0%, #f5f8fe 100%);
  background-size: 38px 38px, 38px 38px, 100% 100%;
  box-shadow: 0 24px 60px -48px rgba(12, 25, 48, 0.55);
}

.tech-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.6rem, 1fr));
  gap: clamp(0.65rem, 0.5rem + 0.8vw, 1.05rem);
  max-width: 50rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.tech-wall li {
  display: flex;
  justify-content: center;
}

.tech-wall__item {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 5.4rem;
  aspect-ratio: 1 / 1;
  padding: 0.85rem;
  border: 1px solid var(--s-line);
  border-radius: 18px;
  background-color: #ffffff;
  box-shadow: 0 8px 18px -16px rgba(12, 25, 48, 0.4);
  cursor: default;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tech-wall__item img {
  width: min(100%, 2.25rem);
  height: auto;
  max-height: 2.25rem;
  object-fit: contain;
}

.tech-wall__item:hover,
.tech-wall__item:focus-visible {
  transform: translateY(-3px);
  border-color: #b9cdf0;
  box-shadow: 0 16px 30px -20px rgba(12, 25, 48, 0.42);
}

.tech-wall__item::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.55rem);
  z-index: 5;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--s-line);
  border-radius: 8px;
  background-color: var(--s-ink);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 4px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  pointer-events: none;
}

.tech-wall__item:hover::after,
.tech-wall__item:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.tech-wall__item--text {
  background:
    radial-gradient(8rem 6rem at 50% 0%, rgba(37, 99, 235, 0.12), transparent 68%),
    #ffffff;
}

.tech-wall__monogram {
  color: var(--s-blue-strong);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.home-tech__note {
  margin-top: 1.4rem;
  color: var(--s-muted);
  font-size: 0.77rem;
  line-height: 1.55;
  text-align: center;
}

/* --------------------------------------------------------------------------
   6. Closing CTA
   -------------------------------------------------------------------------- */
.home-closing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 3rem + 4vw, 6rem);
  background:
    radial-gradient(50rem 28rem at 50% -10%, rgba(59, 130, 246, 0.32), transparent 65%),
    radial-gradient(34rem 24rem at 10% 120%, rgba(34, 211, 238, 0.12), transparent 65%),
    linear-gradient(150deg, #071226 0%, #0a1a36 58%, #0b1e3d 100%);
  color: #eef4ff;
}

.home-closing__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 178, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 178, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(80% 100% at 50% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(80% 100% at 50% 50%, #000 20%, transparent 80%);
}

.home-closing__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.home-closing .home-eyebrow {
  color: #7db2ff;
}

.home-closing .home-eyebrow::before {
  display: none;
}

.home-closing h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 1.5rem + 2.7vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.08;
  text-wrap: balance;
}

.home-closing__lead {
  max-width: 36rem;
  margin: 1.1rem auto 0;
  color: #b7c6e2;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  line-height: 1.7;
}

.home-closing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.home-closing__mail {
  margin-top: 1.2rem;
  color: #8fa2c4;
  font-size: 0.85rem;
}

.home-closing__mail a {
  color: #d8e6ff;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.home-closing__mail a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   7. Reveal and motion
   -------------------------------------------------------------------------- */
html.home-js [data-home-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

html.home-js [data-home-reveal].home-in {
  opacity: 1;
  transform: none;
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes hero-orb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-1.4rem, 1rem, 0) scale(1.04); }
}

@keyframes hero-stage-breathe {
  from { opacity: 0.68; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1.06); }
}

@keyframes hero-device-float {
  from { transform: translateY(0); }
  to { transform: translateY(-0.55rem); }
}

@keyframes hero-solar-spin {
  to { transform: rotate(360deg); }
}

@keyframes hero-solar-upright {
  from { transform: rotate(calc(-1 * var(--orbit-tilt))); }
  to { transform: rotate(calc(-1 * var(--orbit-tilt) - 360deg)); }
}

@keyframes hero-ring-sheen {
  to { transform: rotate(360deg); }
}

@media (max-width: 61.99em) {
  .hero__visual {
    width: min(100%, 30rem);
    margin-inline: auto;
  }
}

@media (max-width: 38em) {
  .hero__visual {
    width: min(100%, calc(100vw - 3.5rem), 23rem);
  }

  .hero-solar--apps {
    width: 70%;
  }

  .hero-solar--tech {
    width: 86%;
  }

  .hero-solar__chip-inner {
    gap: 0.24rem;
    padding: 0.3rem 0.43rem;
    font-size: 0.5rem;
  }

  .hero-solar__chip-inner img {
    width: 0.82rem;
    height: 0.82rem;
  }

  .hero-chip--tech .hero-solar__chip-inner {
    padding: 0.26rem 0.38rem;
    font-size: 0.45rem;
  }

  .hero-device {
    width: min(32%, 7.5rem);
  }

  .hero-device__frame {
    padding: 0.22rem;
    border-radius: 1.7rem;
  }

  .hero-device__frame::after {
    inset: -0.24rem;
    border-radius: 1.95rem;
  }

  .hero-device__screen {
    border-radius: 1.5rem;
  }

  .hero-device__shine {
    border-radius: 1.55rem;
  }

  .hero-device__island {
    top: 0.4rem;
    height: 0.24rem;
  }

  .hero-device__app {
    right: 0.35rem;
    bottom: 0.7rem;
    left: 0.35rem;
    gap: 0.2rem;
    padding: 0.23rem 0.3rem;
    font-size: 0.39rem;
  }

  .hero-device__app img {
    width: 0.7rem;
    height: 0.7rem;
  }

  .hero-device__abc-row span {
    width: 1rem;
    height: 1rem;
    font-size: 0.5rem;
  }
}

@media (max-width: 24em) {
  .hero__eyebrow {
    padding-inline: 0.55rem;
    font-size: 0.56rem;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .hero-solar__chip-inner {
    padding: 0.26rem 0.36rem;
    font-size: 0.44rem;
  }

  .hero-chip--service .hero-solar__chip-inner {
    padding: 0.26rem 0.36rem;
  }

  .hero-solar__spark {
    display: none;
  }
}

@media (max-width: 34em) {
  .hero__actions {
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__testing {
    width: 100%;
  }

  .hero__testing-text {
    flex: 0 1 auto;
    min-width: 0;
  }

  .app-card__footer {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.home-js [data-home-reveal] {
    opacity: 1;
    transform: none;
  }

  html.home-js [data-home-reveal].home-in {
    transition: none;
  }

  .hero__orb,
  .hero-stage__glow,
  .hero-solar__track,
  .hero-solar__path::before,
  .hero-solar__chip-inner,
  .hero-device__wrap {
    animation: none;
  }

  .hero-device__slide {
    transition: none;
  }

  .btn,
  .hero__arrow,
  .hero__testing-play,
  .app-card,
  .app-card__link span,
  .blog-rail__all span,
  .post-card,
  .post-card__media img,
  .tech-wall__item {
    transition: none;
  }

  .app-card:hover,
  .post-card:hover,
  .post-card:hover .post-card__media img,
  .tech-wall__item:hover,
  .tech-wall__item:focus-visible {
    transform: none;
  }
}
