/* Hero v2 — index.html (4 karty, marquee, trust) */
.hero-v2 {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0 40px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.hero-v2 .hero-floats {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-v2 .float-icon {
  position: absolute;
  font-size: 28px;
  opacity: 0;
  animation: heroV2FloatUp var(--dur, 8s) var(--delay, 0s) infinite ease-in-out;
}

@keyframes heroV2FloatUp {
  0%   { opacity: 0; transform: translateY(0) scale(0.8) rotate(var(--rot0, 0deg)); }
  15%  { opacity: 0.12; }
  50%  { opacity: 0.07; transform: translateY(-120px) scale(1.1) rotate(var(--rot1, 10deg)); }
  85%  { opacity: 0.03; }
  100% { opacity: 0; transform: translateY(-240px) scale(0.7) rotate(var(--rot2, 20deg)); }
}

.hero-v2 .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(176, 38, 255, 0.28);
  background: rgba(176, 38, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--acc);
  text-transform: uppercase;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
  animation: heroV2FadeUp 0.7s 0.1s ease both;
}

.hero-v2 .hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
  animation: heroV2Pulse 2s infinite;
}

@keyframes heroV2Pulse {
  0%, 100% { box-shadow: 0 0 6px var(--acc); }
  50% { box-shadow: 0 0 14px var(--acc); }
}

.hero-v2 h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 6.5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  color: #fff;
  animation: heroV2FadeUp 0.7s 0.2s ease both;
}

.hero-v2 h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--acc) 0%, #ffcc00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-v2 .hero-sub {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.65;
  position: relative;
  z-index: 2;
  animation: heroV2FadeUp 0.7s 0.3s ease both;
}

.hero-v2 .hero-sub strong { color: var(--text); font-weight: 500; }

.hero-v2 .svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: heroV2FadeUp 0.7s 0.4s ease both;
}

.hero-v2 .svc-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--bdr);
  background: var(--surf, #150d25);
  padding: 28px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text, #f0e0ff);
  cursor: pointer;
  min-height: 200px;
  transition: border-color 0.28s, transform 0.22s, box-shadow 0.28s;
}

.hero-v2 .svc-card:hover {
  border-color: rgba(176, 38, 255, 0.38);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(176, 38, 255, 0.18);
}

.hero-v2 .svc-card:active { transform: translateY(-1px); }

.hero-v2 .svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--card-glow, rgba(176, 38, 255, 0.15)) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.28s;
}

.hero-v2 .svc-card:hover::before { opacity: 1; }

.hero-v2 .svc-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-v2 .svc-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-v2 .svc-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(176, 38, 255, 0.12);
  border: 1px solid rgba(176, 38, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: transform 0.25s, background 0.25s;
}

.hero-v2 .svc-card:hover .svc-icon-wrap {
  transform: scale(1.08);
  background: rgba(176, 38, 255, 0.2);
}

.hero-v2 .svc-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  line-height: 1.25;
}

.hero-v2 .svc-desc {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.hero-v2 .svc-arrow {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(176, 38, 255, 0.15);
  border: 1px solid rgba(176, 38, 255, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: auto;
  transition: background 0.22s, transform 0.22s;
}

.hero-v2 .svc-card:hover .svc-arrow {
  background: var(--acc);
  transform: translateX(3px);
}

@media (max-width: 700px) {
  .hero-v2 .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-v2 .svc-card { min-height: 170px; padding: 22px 14px 18px; }
}

@media (max-width: 380px) {
  .hero-v2 .svc-grid { grid-template-columns: 1fr; }
}

.hero-v2 .marquee-wrap {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  margin-bottom: 32px;
  padding: 4px 0;
  position: relative;
  z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.hero-v2 .marquee-track {
  display: flex;
  gap: 10px;
  align-items: center;
  width: max-content;
  animation: heroV2Marquee 32s linear infinite;
}

.hero-v2 .marquee-wrap:hover .marquee-track,
.hero-v2 .marquee-wrap:focus-within .marquee-track {
  animation-play-state: paused;
}

@keyframes heroV2Marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-v2 .cpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--bdr);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hero-v2 .cpill:hover {
  border-color: rgba(176, 38, 255, 0.38);
  color: var(--text);
  background: rgba(176, 38, 255, 0.08);
}

.hero-v2 .trust-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 36px;
  position: relative;
  z-index: 2;
  animation: heroV2FadeUp 0.7s 0.65s ease both;
  border: 1px solid var(--bdr);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-v2 .trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 12px;
  border-right: 1px solid var(--bdr);
  transition: background 0.2s;
}

.hero-v2 .trust-item:last-child { border-right: none; }
.hero-v2 .trust-item:hover { background: rgba(176, 38, 255, 0.05); }

.hero-v2 .trust-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(135deg, var(--acc) 0%, #ffcc00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-v2 .trust-label {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  max-width: 90px;
}

@media (max-width: 480px) {
  .hero-v2 .trust-row { flex-wrap: wrap; border-radius: 14px; }
  .hero-v2 .trust-item { flex: 1 1 calc(50% - 1px); min-width: 0; }
  .hero-v2 .trust-item:nth-child(2) { border-right: none; }
  .hero-v2 .trust-item:nth-child(3),
  .hero-v2 .trust-item:nth-child(4) { border-top: 1px solid var(--bdr); }
  .hero-v2 .trust-item:nth-child(4) { border-right: none; }
}

.hero-v2 .scroll-hint {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: heroV2FadeUp 0.7s 0.75s ease both;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.hero-v2 .scroll-hint:hover { color: var(--text); }

.hero-v2 .scroll-dot {
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(176, 38, 255, 0.38);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.hero-v2 .scroll-dot::after {
  content: '';
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--acc);
  animation: heroV2ScrollBob 1.8s infinite;
}

@keyframes heroV2ScrollBob {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0.3; }
}

@keyframes heroV2FadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-v2 .hero-v2-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2 .float-icon,
  .hero-v2 .marquee-track,
  .hero-v2 .scroll-dot::after {
    animation: none !important;
  }
  .hero-v2 .hero-eyebrow,
  .hero-v2 h1,
  .hero-v2 .hero-sub,
  .hero-v2 .svc-grid,
  .hero-v2 .trust-row,
  .hero-v2 .scroll-hint {
    animation: none;
  }
}
