/* ================= Home page ================= */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 120px;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(0, 67, 209, 0.35), transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(47, 107, 255, 0.18), transparent 70%),
    var(--navy);
  color: #c3cff0;
  overflow: hidden;
  isolation: isolate;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero .bg-grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(110, 155, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 155, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  animation: gridMove 18s linear infinite;
}
.hero .orb.o1 { top: 10%; right: 5%; }

.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }

.hero-anim { display: inline-block; opacity: 0; transform: translateY(40px); filter: blur(8px); }
.hero.is-ready .hero-anim { animation: heroIn 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; filter: none; } }

.hero-title { color: #fff; font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: 1.02; margin-bottom: 26px; letter-spacing: -0.035em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line .hero-anim { transform: translateY(105%); filter: none; }

.rotator-wrap { display: inline-block; perspective: 400px; }
.hero-sub .rotator { color: #fff; font-weight: 600; background: linear-gradient(90deg, rgba(47, 107, 255, 0.35), rgba(95, 180, 255, 0.15)); padding: 0 10px; border-radius: 8px; }
.rotator { display: inline-block; transition: transform 0.45s var(--ease), opacity 0.45s, filter 0.45s; }
.rotator.out { opacity: 0; transform: translateY(-40%) rotateX(60deg); filter: blur(6px); }
.rotator.in { animation: rotIn 0.6s var(--ease); }
@keyframes rotIn { from { opacity: 0; transform: translateY(40%) rotateX(-60deg); filter: blur(6px); } }

.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 520px; min-height: 3.4em; margin-bottom: 34px; color: #b3c1ea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.hero-chips span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem; color: #cfdaff;
  backdrop-filter: blur(6px);
}
.hero-chips i { color: #7fa6ff; }

/* Orbit visual */
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-left: auto; opacity: 0; transform: scale(0.85); }
.hero.is-ready .hero-visual { animation: visualIn 1.4s var(--ease) 0.4s forwards; }
@keyframes visualIn { to { opacity: 1; transform: none; } }

.orbit-system { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 0.3s ease-out; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(110, 155, 255, 0.22);
  animation: spin linear infinite;
}
.ring::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(95, 180, 255, 0.7) 85%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
}
.ring-1 { width: 46%; height: 46%; animation-duration: 18s; }
.ring-2 { width: 72%; height: 72%; animation-duration: 30s; animation-direction: reverse; border-style: dashed; }
.ring-3 { width: 98%; height: 98%; animation-duration: 44s; }

.planet {
  position: absolute;
  width: 52px; height: 52px; margin: -26px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: #fff; font-size: 1.25rem;
  background: linear-gradient(145deg, rgba(47, 107, 255, 0.9), rgba(0, 67, 209, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px -6px rgba(0, 67, 209, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: counterSpin linear infinite;
  animation-duration: inherit;
}
.ring-2 .planet { animation-direction: reverse; }
@keyframes counterSpin { to { transform: rotate(-360deg); } }
.planet.p1 { top: 0; left: 50%; background: linear-gradient(145deg, #25d366, #128c7e); box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6); }
.planet.p2 { top: 100%; left: 50%; }
.planet.p3 { top: 15%; left: 15%; }
.planet.p4 { top: 85%; left: 15%; width: 44px; height: 44px; margin: -22px; font-size: 1rem; }
.planet.p5 { top: 50%; left: 100%; }
.planet.p6 { top: 50%; left: 0; width: 44px; height: 44px; margin: -22px; font-size: 1rem; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(6px); }
.planet.p7 { top: 14.6%; left: 85.4%; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(6px); }

.core {
  position: relative;
  width: 24%; aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 80px rgba(47, 107, 255, 0.6), inset 0 0 30px rgba(95, 180, 255, 0.25);
}
.core img { width: 58%; filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(150, 190, 255, 0.9)); animation: corePulse 3s ease-in-out infinite; }
@keyframes corePulse { 50% { transform: scale(1.08); } }
.core-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(95, 180, 255, 0.6); animation: pulseOut 3s var(--ease) infinite; }
.core-pulse.d2 { animation-delay: 1.5s; }
@keyframes pulseOut { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.4); opacity: 0; } }

/* floating glass cards */
.float-card {
  position: absolute;
  z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.5);
  color: #fff;
  transition: transform 0.25s ease-out;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; }
.float-card small { color: #a9b9e8; font-size: 0.76rem; }
.fc-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.fc-icon.ok { background: rgba(18, 183, 106, 0.2); color: #3ee39a; }
.fc-icon.wa { background: #25d366; color: #fff; font-size: 1.2rem; }

.fc-sync { top: 8%; left: -6%; animation: bob 6s ease-in-out infinite; }
.fc-chart { bottom: 10%; right: -4%; flex-direction: column; align-items: stretch; width: 190px; animation: bob 7s ease-in-out -2s infinite; }
.fc-chat { bottom: 22%; left: -10%; align-items: flex-start; max-width: 250px; animation: bob 8s ease-in-out -4s infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.fc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fc-head strong { font-size: 1.2rem; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin-top: 10px; }
.bars i {
  flex: 1; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #6e9bff, #0043d1);
  height: var(--h);
  transform-origin: bottom;
  animation: barGrow 2.6s var(--ease) infinite alternate;
}
.bars i:nth-child(2) { animation-delay: 0.2s; } .bars i:nth-child(3) { animation-delay: 0.4s; }
.bars i:nth-child(4) { animation-delay: 0.6s; } .bars i:nth-child(5) { animation-delay: 0.8s; } .bars i:nth-child(6) { animation-delay: 1s; }
@keyframes barGrow { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }

.chat .bubble { margin: 0 0 6px; padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: rgba(255, 255, 255, 0.95); color: var(--ink); font-size: 0.82rem; line-height: 1.4; }
.typing { display: inline-flex; gap: 4px; margin: 0; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.15); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 96px; z-index: 2;
  width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 20px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollCue 1.8s var(--ease) infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Tech strip ---------- */
.tech-strip { padding: 40px 0 30px; }
.strip-label { text-align: center; color: var(--muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 24px; }
.tech {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.tech i { color: var(--primary); font-size: 1.15rem; }
.tech:hover { color: var(--primary); border-color: var(--primary-200); transform: translateY(-3px); }

/* ---------- Products bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.bento-item { display: flex; flex-direction: column; }
.bento-item h3 { font-size: 1.6rem; margin: 14px 0 10px; }
.bento-item p { color: var(--muted); }
.bento-item .link-arrow { margin-top: auto; }
.b-wa { grid-column: 1 / span 4; grid-row: 1 / span 2; }
.b-doc { grid-column: 5 / span 4; grid-row: 1; }
.b-flow { grid-column: 9 / span 4; grid-row: 1; }
.b-busy { grid-column: 5 / span 8; grid-row: 2; }
.bento-item .tag { align-self: flex-start; }
.b-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: auto; }
.link-arrow.muted { color: var(--muted); }
.link-arrow.muted:hover { color: var(--primary); }

.b-visual { height: 160px; border-radius: 18px; background: var(--bg-soft); margin-bottom: 22px; position: relative; overflow: hidden; }

/* DocBridge visual */
.doc-visual { display: flex; align-items: center; justify-content: center; gap: 18px; }
.doc { width: 74px; height: 92px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; }
.doc i { font-size: 1.6rem; color: #e5484d; margin-bottom: 4px; }
.doc.d2 i { color: var(--success); }
.doc span { height: 5px; width: 80%; border-radius: 3px; background: var(--line); }
.doc span + span { width: 55%; }
.doc.d1 { animation: docSend 3.2s var(--ease) infinite; }
@keyframes docSend { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.doc.d2 { animation: docRecv 3.2s var(--ease) infinite; }
@keyframes docRecv { 0%, 40% { transform: scale(0.92); opacity: 0.5; } 60%, 100% { transform: scale(1); opacity: 1; } }
.doc-path { display: flex; gap: 8px; }
.doc-path i { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); animation: dotTravel 1.6s infinite; opacity: 0.2; }
.doc-path i:nth-child(2) { animation-delay: 0.2s; } .doc-path i:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotTravel { 50% { opacity: 1; transform: scale(1.3); } }

/* WA visual */
.wa-visual { height: auto; flex: 1; min-height: 300px; display: grid; place-items: center; background: linear-gradient(160deg, var(--primary-50), #e8fff1); padding: 24px 0; }
.phone { width: 220px; padding: 14px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); border: 6px solid var(--ink); display: grid; gap: 8px; }
.phone-top { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--ink); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.phone-top i { color: var(--whatsapp); font-size: 1.1rem; }
.msg { margin: 0; padding: 8px 11px; font-size: 0.78rem; line-height: 1.35; border-radius: 12px; max-width: 85%; opacity: 0; animation: msgIn 6s var(--ease) infinite; animation-delay: var(--d); }
.msg.in { background: var(--bg-soft); color: var(--ink-2); border-top-left-radius: 3px; }
.msg.out { background: #d9fdd3; color: var(--ink); justify-self: end; border-top-right-radius: 3px; }
.quick { display: flex; gap: 6px; opacity: 0; animation: msgIn 6s var(--ease) infinite; animation-delay: var(--d); }
.quick span { font-size: 0.7rem; padding: 5px 9px; border-radius: 100px; border: 1px solid var(--primary-200); color: var(--primary); font-weight: 600; }
@keyframes msgIn { 0% { opacity: 0; transform: translateY(10px) scale(0.95); } 8%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }

/* FlowDeck visual */
.flow-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; }
.kcol { background: #fff; border-radius: 10px; padding: 8px; display: grid; gap: 6px; align-content: start; }
.kcol b { font-size: 0.66rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.kc { height: 22px; border-radius: 6px; background: var(--primary-100); }
.kc.done { background: #d1fadf; }
.kc.k2 { background: var(--primary-200); }
.kc.mover { position: absolute; width: calc((100% - 44px) / 3 - 16px); left: 22px; top: 54px; background: var(--primary); box-shadow: 0 6px 14px -4px rgba(0, 67, 209, 0.6); animation: kanban 6s var(--ease) infinite; }
@keyframes kanban {
  0%, 15% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(calc(100% + 24px), 0) rotate(4deg); }
  35%, 50% { transform: translate(calc(100% + 24px), 28px) rotate(0); }
  60% { transform: translate(calc(200% + 48px), 28px) rotate(4deg); }
  70%, 90% { transform: translate(calc(200% + 48px), 56px) rotate(0); background: var(--success); }
  100% { transform: translate(0, 0); }
}

/* Busy card */
.b-busy {
  background: linear-gradient(135deg, var(--navy-2), var(--primary-700) 60%, var(--primary));
  border: 0;
  color: #c8d5ff;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}
.b-busy h3 { color: #fff; }
.b-busy p { color: #c3d0f5; }
.tag.on-dark { background: rgba(255, 255, 255, 0.12); color: #cfe0ff; }
.link-arrow.light { color: #fff; }
.busy-copy { flex: 1.1; display: flex; flex-direction: column; }
.busy-copy .b-links { margin-top: 10px; }
.busy-flow { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0; }
.node {
  width: 78px; height: 78px; border-radius: 20px;
  display: grid; place-items: center; align-content: center; gap: 4px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; font-size: 1.4rem; flex-shrink: 0;
}
.node small { font-size: 0.64rem; color: #b9c8f5; font-family: var(--font-head); }
.node.hub { width: 92px; height: 92px; background: #fff; box-shadow: 0 0 40px rgba(110, 155, 255, 0.6); animation: corePulse 3s ease-in-out infinite; }
.node.hub img { width: 40px; }
.node.hub small { color: var(--primary); font-weight: 600; }
.wire { flex: 1; min-width: 30px; height: 2px; background: rgba(255, 255, 255, 0.2); position: relative; overflow: hidden; }
.wire span { position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, #9fc2ff, transparent); animation: wireFlow 1.6s linear infinite; }
.wire.rev span { animation-direction: reverse; }
@keyframes wireFlow { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { color: var(--ink-2); display: block; }
.svc p { color: var(--muted); margin-bottom: 0; }
.svc-num {
  position: absolute; top: 22px; right: 28px;
  font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--primary-100);
  transition: -webkit-text-stroke-color 0.4s, transform 0.5s var(--ease);
}
.svc:hover .svc-num { -webkit-text-stroke-color: var(--primary-300); transform: translateY(-4px) scale(1.06); }
.svc-go {
  position: absolute; right: 26px; bottom: 26px;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  transform: scale(0) rotate(-90deg);
  transition: transform 0.45s var(--ease-back);
}
.svc:hover .svc-go { transform: scale(1) rotate(-45deg); }
.svc h3 { padding-right: 40px; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-copy > p { color: var(--muted); font-size: 1.05rem; }
.why-list { display: grid; gap: 16px; margin-top: 30px; }
.why-list li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.why-list li:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: var(--primary-200); }
.why-list li > span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); flex-shrink: 0; }
.why-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-weight: 600; }
.why-list small { color: var(--muted); font-size: 0.9rem; }
.why-stats { grid-template-columns: 1fr 1fr; }
.why-stats .stat:nth-child(2), .why-stats .stat:nth-child(4) { transform: translateY(30px); }
.why-stats .stat.revealed:nth-child(2), .why-stats .stat.revealed:nth-child(4) { transform: translateY(30px); }
.why-stats .stat:nth-child(1) { background: var(--grad); border: 0; }
.why-stats .stat:nth-child(1) .num { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.why-stats .stat:nth-child(1) .label { color: #dce6ff; }

/* ---------- Process ---------- */
.process { overflow: hidden; isolation: isolate; }
.process .bg-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(110, 155, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 155, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.steps-line { position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; background: rgba(255, 255, 255, 0.1); }
.steps-line span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px rgba(95, 180, 255, 0.8); transition: width 0.2s linear; }
.step-dot {
  position: relative; z-index: 1;
  width: 72px; height: 72px; margin: 0 auto 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.4rem; color: #fff;
  background: var(--navy-2);
  border: 2px solid rgba(110, 155, 255, 0.35);
  transition: background 0.5s, box-shadow 0.5s, transform 0.5s var(--ease-back);
}
.step.lit .step-dot { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 8px rgba(47, 107, 255, 0.15), 0 0 40px rgba(47, 107, 255, 0.6); transform: scale(1.06); }
.step p { color: #a9b6dc; font-size: 0.95rem; max-width: 220px; margin: 0 auto; }

/* ---------- API spotlight ---------- */
.api-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.api-copy > p { color: var(--muted); font-size: 1.05rem; }
.api-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.code-window { border-radius: 20px; background: #0b1230; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(110, 155, 255, 0.15); overflow: hidden; }
.cw-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.cw-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.cw-bar i:nth-child(2) { background: #febc2e; } .cw-bar i:nth-child(3) { background: #28c840; }
.cw-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 0.8rem; color: #8fa3d9; }
.cw-body { margin: 0; padding: 22px 24px; min-height: 340px; font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.7; color: #d6e0ff; white-space: pre-wrap; word-break: break-word; }
.cw-body .k { color: #7fb2ff; } .cw-body .s { color: #a5e8a0; } .cw-body .n { color: #ffb86b; } .cw-body .c { color: #6a7aa8; }
.caret { display: inline-block; width: 8px; height: 1.1em; background: #7fb2ff; vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind {
  display: flex; align-items: center; gap: 14px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s, color 0.3s;
}
.ind i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); font-size: 1.15rem; transition: background 0.3s, color 0.3s, transform 0.5s var(--ease-back); }
.ind:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary-200); color: var(--primary); }
.ind:hover i { background: var(--primary); color: #fff; transform: rotate(-10deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; max-width: 560px; }
  .hero-actions, .hero-chips { justify-content: center; }
  .hero-visual { margin: 30px auto 0; max-width: 460px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-doc, .b-wa, .b-flow, .b-busy { grid-column: span 1; grid-row: auto; }
  .b-busy { grid-column: span 2; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .api-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .hero { padding-bottom: 140px; }
  .hero-visual { max-width: 340px; }
  .planet { width: 40px; height: 40px; margin: -20px; font-size: 1rem; border-radius: 12px; }
  .planet.p4, .planet.p6 { width: 34px; height: 34px; margin: -17px; }
  .fc-sync { left: -2%; top: 0; padding: 10px 12px; }
  .fc-chart { width: 150px; right: -2%; bottom: 2%; }
  .fc-chat { display: none; }
  .float-card strong { font-size: 0.8rem; }
  .scroll-cue { display: none; }
  .bento, .svc-grid { grid-template-columns: 1fr; }
  .b-busy { grid-column: span 1; flex-direction: column; align-items: stretch; }
  .busy-flow { order: -1; }
  .node { width: 62px; height: 62px; font-size: 1.1rem; }
  .node.hub { width: 72px; height: 72px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps-line { top: 36px; bottom: 36px; left: 50%; right: auto; width: 2px; height: auto; }
  .steps-line span { width: 100% !important; height: var(--fill, 0%); }
  .why-stats .stat:nth-child(2), .why-stats .stat:nth-child(4),
  .why-stats .stat.revealed:nth-child(2), .why-stats .stat.revealed:nth-child(4) { transform: none; }
  .ind-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ind { flex-direction: column; text-align: center; padding: 18px 12px; font-size: 0.88rem; }
  .cw-body { font-size: 0.75rem; min-height: 300px; }
}
