.hero {
  position: relative;
  min-height: 92vh;
  background: var(--background);
  color: var(--foreground);
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(250, 250, 250, 0.0) 0%, rgba(250, 250, 250, 0.35) 70%, rgba(250, 250, 250, 0.7) 100%),
    linear-gradient(180deg, rgba(250, 250, 250, 0.4) 0%, transparent 25%, transparent 75%, rgba(250, 250, 250, 0.85) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content.hero-split {
  max-width: 1240px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
  text-align: left;
}
.hero-text-col { display: flex; flex-direction: column; min-width: 0; }
.hero-h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--foreground);
  margin: 0 0 0.25em 0;
}
.hero-p {
  font-size: clamp(1.1875rem, 1.6vw, 1.4375rem);
  color: var(--foreground-muted, rgba(10, 10, 10, 0.7));
  letter-spacing: 0.01em;
  line-height: 1.6;
  margin: 1rem 0 0;
  max-width: 32rem;
}
.hero-p[data-text-effect] .te-char,
.hero-p[data-text-effect] .te-block {
  opacity: 0;
  animation: te-char-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes te-char-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-p[data-text-effect] .te-char.te-glow {
  animation: te-char-in-glow 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes te-char-in-glow {
  0%   { opacity: 0; text-shadow: none; }
  35%  { opacity: 1; text-shadow: 0 0 8px rgba(80, 150, 255, 0.7), 0 0 16px rgba(80, 150, 255, 0.35); }
  100% { opacity: 1; text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-p[data-text-effect] .te-char,
  .hero-p[data-text-effect] .te-block {
    opacity: 1;
    animation: none;
  }
}
.hero-split .hero-buttons {
  justify-content: flex-start;
  margin-top: 2.25rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-stat-icon svg { width: 20px; height: 20px; }
.hero-stat-v {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.1;
}
.hero-stat-l {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* Image collage */
.hero-collage {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: visible;
}
.hero-collage-img {
  position: absolute;
  background: var(--muted);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: 0 30px 60px -20px rgba(10, 10, 10, 0.2), 0 10px 20px -10px rgba(10, 10, 10, 0.1);
}
.hero-collage-img img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 0.25rem);
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-dash {
  position: absolute;
  top: calc(var(--nav-height) + 9rem);
  left: 58%;
  width: 595px;
  z-index: 2;
  pointer-events: none;
}
.hero-dash img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  background: var(--muted);
  box-shadow: 0 30px 60px -20px rgba(10, 10, 10, 0.2), 0 10px 20px -10px rgba(10, 10, 10, 0.1);
  object-fit: cover;
  object-position: top left;
}
.hero-collage-img--2 {
  top: 55%;
  right: -8rem;
  width: 240px;
  height: auto;
  aspect-ratio: 4 / 3;
  z-index: 4;
}
.hero-collage-img--3 {
  bottom: -3rem;
  left: 0;
  width: 145px;
  height: auto;
  aspect-ratio: 436 / 527;
  z-index: 2;
}

/* Floating decorative shapes */
.hero-shape {
  position: absolute;
  pointer-events: none;
  animation: hero-shape-float 3s ease-in-out infinite;
}
.hero-shape--1 {
  top: -1rem;
  left: 25%;
  width: 64px;
  height: 64px;
  background: rgba(191, 219, 254, 0.55);
  border-radius: 999px;
}
.hero-shape--2 {
  bottom: 0.5rem;
  right: 22%;
  width: 48px;
  height: 48px;
  background: rgba(233, 213, 255, 0.55);
  border-radius: 0.75rem;
  animation-delay: -1s;
}
.hero-shape--3 {
  bottom: 28%;
  left: 1rem;
  width: 24px;
  height: 24px;
  background: rgba(187, 247, 208, 0.6);
  border-radius: 999px;
  animation-delay: -2s;
}
@keyframes hero-shape-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shape { animation: none; }
}

@media (max-width: 900px) {
  .hero-content.hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero-p, .hero-stats { margin-left: auto; margin-right: auto; }
  .hero-split .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-collage { height: 380px; max-width: 480px; margin: 0 auto; }
  .hero-collage-img--1 { width: 200px; height: 200px; }
  .hero-collage-img--2 { width: 170px; height: 170px; }
  .hero-collage-img--3 { width: 150px; height: 150px; }
}
.hero-logo {
  margin-bottom: 2rem;
  line-height: 0;
  transform: translateY(-15vh);
}
.hero-logo svg {
  height: clamp(52px, 9vw, 108px);
  width: auto;
  fill: var(--foreground);
}
.hero-subtitle {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  color: rgba(10, 10, 10, 0.78);
  line-height: 1.5;
  max-width: 44rem;
  margin-bottom: 2.5rem;
  transform: translateY(-15vh);
}
.hero-subtitle strong {
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(
    90deg,
    #0a0a0a 0%,
    #1e293b 15%,
    #334155 30%,
    #475569 45%,
    #64748b 55%,
    #94a3b8 62%,
    #64748b 72%,
    #334155 85%,
    #0a0a0a 100%
  );
  background-size: 280% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: hero-subtitle-gradient 7s linear infinite;
  filter:
    drop-shadow(0 0 14px rgba(100, 116, 139, 0.35))
    drop-shadow(0 2px 6px rgba(15, 23, 42, 0.3));
}

.hero-subtitle-accent {
  font-weight: 800;
  background: linear-gradient(
    90deg,
    #fb7185 0%,
    #e879f9 20%,
    #a78bfa 35%,
    #38bdf8 50%,
    #22d3ee 65%,
    #a3e635 80%,
    #fb7185 100%
  );
  background-size: 280% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: hero-subtitle-gradient 7s linear infinite;
  animation-delay: -1.2s;
  filter:
    drop-shadow(0 0 14px rgba(232, 121, 249, 0.5))
    drop-shadow(0 0 28px rgba(34, 211, 238, 0.35));
}
@keyframes hero-subtitle-gradient {
  from { background-position: 0% 50%; }
  to   { background-position: 300% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-subtitle strong { animation: none; }
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 3%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 8px 32px rgba(0, 0, 0, 0.08);
  color: var(--foreground);
  transition: background var(--t-base), border-color var(--t-base);
  animation: heroScrollBounce 2.4s var(--ease) infinite;
  z-index: 3;
}
.hero-scroll svg {
  width: 22px;
  height: 22px;
}
.hero-scroll:hover {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.7);
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll { animation: none; }
}

/* Marquee */
.marquee {
  display: none; /* hidden until real client logos are provided */
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 1.5rem 0 2rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}
.marquee-logo span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
