:root {
  --bg: #080a0d;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: #f8f5f3;
  --muted: #c7bebb;
  --red: #ff2a22;
  --red-bright: #ff5048;
  --red-deep: #b41313;
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  font-family: "Manrope", "Noto Sans SC", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 10% -20%, #402219 0%, #080a0d 35%),
    radial-gradient(circle at 90% 0%, #2d1010 0%, transparent 40%),
    #080a0d;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 90%);
}

.bg-glow {
  position: fixed;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(85px);
  z-index: -2;
  opacity: 0.45;
  animation: float 12s ease-in-out infinite;
}

.bg-glow-a {
  top: -12vw;
  right: -8vw;
  background: var(--red);
}

.bg-glow-b {
  bottom: -18vw;
  left: -10vw;
  background: #ff6f61;
  animation-delay: -4s;
}

.container {
  width: min(1120px, calc(100vw - 2.5rem));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0.8rem;
  z-index: 20;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 10, 13, 0.74);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(155deg, var(--red-bright), var(--red-deep));
  display: grid;
  place-content: center;
  font-size: 0.76rem;
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

.lang-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.hero {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-visual {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(circle at 40% 38%, rgba(255, 80, 72, 0.22), rgba(8, 10, 13, 0.65));
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -12% -30% auto;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 83, 74, 0.35), transparent 70%);
}

.hero-network {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.orbit {
  fill: none;
  stroke: rgba(255, 138, 132, 0.38);
  stroke-width: 1.2;
  transform-origin: 300px 250px;
}

.orbit-a {
  animation: orbitSpin 14s linear infinite;
}

.orbit-b {
  animation: orbitSpin 10s linear infinite reverse;
}

.orbit-c {
  animation: orbitSpin 7s linear infinite;
}

.network-line {
  fill: none;
  stroke: url(#orbitLine);
  stroke-width: 1.6;
  stroke-dasharray: 5 7;
  animation: pulseLine 5s linear infinite;
}

.network-node {
  fill: #ff7a73;
  filter: drop-shadow(0 0 7px rgba(255, 122, 115, 0.8));
  animation: nodePulse 2.1s ease-in-out infinite;
}

.core-pulse {
  fill: rgba(255, 93, 84, 0.17);
  stroke: rgba(255, 122, 115, 0.82);
  stroke-width: 1.4;
  animation: coreBeat 2.8s ease-in-out infinite;
}

.eyebrow {
  color: #f59f98;
  letter-spacing: 0.17em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1 {
  margin: 0.6rem 0;
  font-size: clamp(2rem, 6vw, 4.35rem);
  line-height: 1.02;
  max-width: 13ch;
}

.hero-sub,
.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  max-width: 72ch;
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  box-shadow: 0 15px 40px rgba(255, 42, 34, 0.35);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  grid-column: 1 / -1;
}

.hero-stats > div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: var(--surface);
}

.stat-value {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  margin-top: 5rem;
}

.section-head h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.flow-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.card::before,
.flow-card::before {
  content: "";
  position: absolute;
  inset: -50% auto auto -10%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 80, 72, 0.22), transparent 70%);
}

.card h3,
.flow-card h3 {
  margin: 0;
}

.card p,
.flow-card li,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.flow-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.flow-card ul {
  margin-bottom: 0;
  padding-left: 1rem;
}

.pill-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  color: #f7d2cd;
  background: rgba(255, 80, 72, 0.08);
  font-size: 0.88rem;
}

.contact {
  margin-bottom: 6rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 80, 72, 0.15), rgba(180, 19, 19, 0.07));
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 1rem;
}

.contact-main {
  display: grid;
  gap: 1rem;
}

.contact-methods {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 8, 11, 0.45);
  padding: 1rem;
}

.contact-methods-title {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: #f8e6e1;
  font-weight: 700;
}

.method-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.method-card + .method-card {
  margin-top: 0.7rem;
}

.qr-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  display: grid;
  place-content: center;
  color: #f59f98;
  font-size: 0.8rem;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.08) 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0;
}

.method-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #89ffb3, #22d66f);
  box-shadow: 0 0 15px rgba(34, 214, 111, 0.65);
  margin-left: 4px;
}

.method-name {
  margin: 0;
  color: #f1e5e2;
  font-size: 0.86rem;
}

.method-value {
  margin: 0.2rem 0 0;
  color: #ffc4be;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .header {
    border-radius: 20px;
    top: 0;
  }

  .nav {
    display: none;
  }

  .hero-stats,
  .card-grid,
  .flow-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 280px;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@keyframes orbitSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseLine {
  0% {
    stroke-dashoffset: 50;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

@keyframes coreBeat {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }

  50% {
    transform: translateY(16px) translateX(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow,
  .orbit-a,
  .orbit-b,
  .orbit-c,
  .network-line,
  .network-node,
  .core-pulse,
  .reveal {
    animation: none !important;
    transition: none !important;
  }
}
