
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.hero-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 86, 184, 0.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: floatSlow 8s ease-in-out infinite;
}

.hero-orb--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(75, 191, 107, 0.2) 0%, transparent 70%);
  bottom: 0;
  left: -80px;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

.hero-orb--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(45, 140, 218, 0.25) 0%, transparent 70%);
  top: 40%;
  right: 30%;
  animation: floatSlow 6s ease-in-out infinite 2s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(26, 86, 184, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  min-height: calc(100svh - 80px);
  padding-block: var(--sp-20);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-primary);
  background: rgba(26, 86, 184, 0.08);
  border: 1px solid rgba(26, 86, 184, 0.2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--clr-accent);
  border-radius: 50%;
  animation: pulseGlow 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, var(--fs-7xl));
  font-weight: 700;
  line-height: 1.1;
  color: var(--clr-text);
  letter-spacing: -0.02em;
}

.hero-title span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: var(--fs-lg);
  color: var(--clr-text-3);
  line-height: 1.8;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 0.85rem 2rem;
  transition: transform var(--tr-spring), box-shadow var(--tr-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--grad-brand);
  color: var(--clr-white);
  box-shadow: 0 6px 20px rgba(26, 86, 184, 0.35);
  font-size: var(--fs-base);
}

.btn--primary:hover {
  box-shadow: 0 12px 30px rgba(26, 86, 184, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid rgba(26, 86, 184, 0.3);
  font-size: var(--fs-base);
}

.btn--outline:hover {
  border-color: var(--clr-primary);
  background: rgba(26, 86, 184, 0.05);
  box-shadow: 0 6px 20px rgba(26, 86, 184, 0.12);
}

.hero-stats {
  display: flex;
  gap: var(--sp-8);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--clr-border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-number {
  font-size: var(--fs-3xl);
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--clr-text-3);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8);
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-img-main-graphic {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(13, 46, 110, 0.12));
}

.hero-logo-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--grad-brand) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: spin 12s linear infinite;
  opacity: 0.5;
}

.hero-logo-ring--inner {
  inset: 20px;
  border-width: 1px;
  animation-direction: reverse;
  animation-duration: 8s;
  opacity: 0.35;
}

.hero-logo-bg {
  width: 200px;
  height: 200px;
  background: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(13, 46, 110, 0.18),
              0 0 0 1px rgba(26, 86, 184, 0.1);
  animation: floatSlow 6s ease-in-out infinite;
}

.hero-logo {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

.hero-card {
  position: absolute;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-3) var(--sp-4);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-width: 160px;
  border: 1px solid var(--clr-border);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text);
  z-index: 2;
}

.hero-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-card--1 {
  top: 10px;
  right: -20px;
  animation: float 5s ease-in-out infinite;
}

.hero-card--2 {
  bottom: 30px;
  left: -20px;
  animation: float 6s ease-in-out infinite 1.5s;
}

.hero-card--3 {
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  animation: float 7s ease-in-out infinite 0.8s;
}

.hero-scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--clr-text-4);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeInUp 1s ease 1s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.hero-scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(26, 86, 184, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero-scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--clr-primary);
  border-radius: var(--radius-full);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  50%  { transform: translateY(10px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: var(--sp-16);
    gap: var(--sp-12);
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-badge {
    margin-inline: auto;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-wrap {
    width: 220px;
    height: 220px;
  }

  .hero-logo-bg {
    width: 160px;
    height: 160px;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }

  .hero-card--3 {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    gap: var(--sp-6);
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-card {
    font-size: var(--fs-xs);
    min-width: 130px;
    padding: var(--sp-2) var(--sp-3);
  }

  .hero-card-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .hero-card--1 {
    right: 0;
  }

  .hero-card--2 {
    left: 0;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--fs-sm);
  }
}
