:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #0d1a2d;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-border: rgba(255, 255, 255, 0.12);
  --text: #f6f8fb;
  --muted: #a8b3c4;
  --accent: #76f0bb;
  --accent-dark: #173f34;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 18%, rgba(42, 194, 137, 0.18), transparent 28rem),
    radial-gradient(circle at 8% 76%, rgba(68, 108, 255, 0.12), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.6;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.hero {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  object-fit: cover;
}

.header-link {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 180ms ease;
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
  min-height: 0;
  padding-block: 42px 68px;
  padding-block: 84px 120px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(118, 240, 187, 0.1);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1.07;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--accent);
}

.hero-description {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-telegram {
  gap: 10px;
  min-height: 56px;
  padding-inline: 24px;
  background: #2aabee;
  color: #fff;
  box-shadow: 0 16px 34px rgba(42, 171, 238, 0.2);
}

.button-telegram span {
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 0.78rem;
  font-weight: 650;
  opacity: 0.84;
}

.consult-note {
  margin: 14px 0 0;
  color: #7f8da2;
  font-size: 0.78rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #bac4d2;
  font-size: 0.76rem;
}

.hero-proof span {
  color: var(--accent);
  font-weight: 900;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 750;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--bg);
}

.button-secondary {
  border-color: var(--surface-border);
  background: var(--surface);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  inset: 12% 0 7% 4%;
  border: 1px solid rgba(118, 240, 187, 0.16);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.hero-visual::after {
  position: absolute;
  inset: 4% -4% 0 2%;
  z-index: -2;
  border-radius: 28px;
  background-image:
    linear-gradient(rgba(118, 240, 187, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 240, 187, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}

.visual-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(118, 240, 187, 0.12);
  border-radius: 50%;
}

.visual-orbit-one {
  inset: 13% 2% 10% 6%;
  transform: rotate(14deg);
}

.visual-orbit-two {
  inset: 24% 13% 19% 15%;
  border-style: dashed;
  transform: rotate(-18deg);
}

.metric-card {
  position: absolute;
  border: 1px solid var(--surface-border);
  background: rgba(13, 26, 45, 0.86);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.metric-card-main {
  inset: 50% 0 auto 0;
  padding: 30px;
  border-radius: 24px;
  transform: translateY(-50%) rotate(2deg);
}

.metric-card-header {
  display: block;
}

.metric-card-header strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  white-space: nowrap;
}

.metric-card-header > div {
  width: 100%;
  min-width: 0;
}

.metric-card-header .ad-flow-title {
  display: grid;
  grid-template-columns: auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: 10px;
  font-size: clamp(1.25rem, 1.75vw, 1.55rem);
}

.ad-flow-title i {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  text-align: center;
}

.card-badge {
  position: absolute;
  top: 50px;
  right: -42px;
  padding: 6px 9px;
  border: 1px solid rgba(118, 240, 187, 0.2);
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.process-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 34px;
}

.process-flow > div {
  min-width: 0;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.process-flow span,
.process-flow strong,
.process-flow small {
  display: block;
}

.process-flow span {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 900;
}

.metric-card .process-flow strong {
  font-size: 0.86rem;
  letter-spacing: 0;
}

.process-flow small {
  overflow: hidden;
  margin-top: 3px;
  color: #7f8da2;
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.process-flow i {
  color: rgba(118, 240, 187, 0.55);
  font-style: normal;
}

.signal-line {
  height: 3px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.signal-line span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #2aabee);
}

.metric-card p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card strong {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.metric-card-small {
  right: -14px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 14px;
}

.metric-card-small p {
  margin: 0 0 2px;
}

.metric-card-small strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.telegram-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #2aabee;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

.metric-card-top {
  top: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 13px;
  z-index: 2;
  padding: 14px 18px;
  border-radius: 14px;
  transform: rotate(-2deg);
}

.metric-card-top p {
  margin: 0 0 1px;
}

.metric-card-top strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(118, 240, 187, 0.12);
}

.site-footer {
  width: 100%;
  margin-top: 0;
  border-top: 1px solid var(--surface-border);
  background: rgba(5, 12, 22, 0.7);
  color: var(--muted);
}

.footer-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
  padding-block: 30px 22px;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 26px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-brand span {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.footer-intro p {
  margin: 8px 0 0;
  color: #8897ab;
  font-size: 0.82rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 238px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(15, 27, 46, 0.96);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.footer-contact:hover,
.footer-contact:focus-visible {
  border-color: rgba(118, 240, 187, 0.55);
  background: rgba(18, 34, 55, 0.98);
  transform: translateY(-2px);
}

.footer-contact-copy,
.footer-contact-copy small,
.footer-contact-copy strong {
  display: block;
}

.footer-contact-copy small {
  margin-bottom: 1px;
  color: var(--muted);
  font-size: 0.7rem;
}

.footer-contact-copy strong {
  color: var(--text);
  font-size: 0.88rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 42px 72px;
  }

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

  .footer-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .footer-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-link {
    display: none;
  }

  h1 {
    font-size: 2.75rem;
  }

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

  .metric-card-main {
    padding: 22px;
  }

  .metric-card-small {
    right: 4px;
    bottom: 12px;
    padding: 12px 14px;
  }

  .metric-card-top {
    top: 8px;
    right: 8px;
  }

  .process-flow {
    gap: 6px;
  }

  .process-flow > div {
    padding: 11px 8px;
  }

  .process-flow small,
  .process-flow i {
    display: none;
  }

  .footer-row {
    gap: 28px;
    padding-bottom: 26px;
  }

  .footer-contact {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
