
/* hero-combo.css — split hero, animated hand-drawn arrow, playful tooltips + sparkle+bounce */

.hero-combo {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  align-items: center;
  gap: 28px;
  padding: 48px 0;
}
@media (max-width: 860px){
  .hero-combo { grid-template-columns: 1fr; }
  .hero-combo .hero-right { order: -1; justify-self: center; }
}

/* Headline (fade-in) + sparkle */
.hero-title {
  position: relative;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  color: #eaf2ff;
  margin: 0 0 18px 0;
  opacity: 0;
  transform: translateY(8px);
  animation: heroFade .6s ease-out .1s forwards;
}
.hero-title::after {
  content: "✨";
  position: absolute;
  right: -28px; top: -10px;
  opacity: 0;
  transform: scale(0.5) rotate(0deg);
  animation: sparkle 1.2s ease .8s forwards;
}
@keyframes heroFade { to { opacity: 1; transform: translateY(0) } }
@keyframes sparkle {
  0%   { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50%  { opacity: 1; transform: scale(1.25) rotate(45deg); }
  100% { opacity: 0; transform: scale(0.6) rotate(90deg); }
}

/* CTA buttons row */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-cta {
  background: #112033;
  color: #eaf2ff;
  border: 1px solid #27405f;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.35); }

/* Portrait with subtle bounce-in */
.hero-right img {
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
  animation: bounceIn .8s ease-out;
}
@keyframes bounceIn {
  0%   { transform: scale(0.9) translateY(20px); opacity: 0; }
  60%  { transform: scale(1.05) translateY(-6px); opacity: 1; }
  100% { transform: scale(1) translateY(0); }
}

/* Arrow overlay */
.arrow-layer { position: fixed; inset: 0; pointer-events: none; z-index: 20; }
.arrow-layer svg { width: 100%; height: 100%; }
.arrow-path {
  fill: none;
  stroke: #6bc2ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: opacity .2s ease;
}

/* Tooltips */
.tip {
  position: absolute;
  background: #0f1620;
  color: #eaf2ff;
  border: 1px solid #27405f;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.35;
  white-space: nowrap;
  transform: translate(-50%, -130%);
  box-shadow: 0 10px 18px rgba(0,0,0,.4);
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.tip::after {
  content: "";
  position: absolute;
  bottom: -7px; left: 50%;
  width: 12px; height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: #0f1620;
  border-right: 1px solid #27405f;
  border-bottom: 1px solid #27405f;
}
.tip.show { opacity: 1; transform: translate(-50%, -140%); }

/* Pulse once */
.pulse-once { animation: pulseOnce 1.6s ease-out 1; }
@keyframes pulseOnce {
  0%   { box-shadow: 0 0 0 0 rgba(107,194,255,.65) }
  70%  { box-shadow: 0 0 0 16px rgba(107,194,255,0) }
  100% { box-shadow: 0 0 0 0 rgba(107,194,255,0) }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .arrow-layer { display: none; }
  .pulse-once { animation: none; }
  .hero-right img { animation: none; }
  .hero-title::after { display: none; }
}
