:root {
  --bg: #050316;
  --bg-alt: #0a0820;
  --surface: rgba(13, 12, 36, 0.78);
  --surface-soft: rgba(255, 255, 255, 0.08);
  --line: rgba(147, 255, 248, 0.26);
  --line-soft: rgba(255, 255, 255, 0.14);
  --text: #f7fbff;
  --muted: rgba(247, 251, 255, 0.68);
  --cyan: #85f4ff;
  --pink: #ffa4da;
  --gold: #ffe28a;
  --blue: #94c0ff;
  --shadow: 0 24px 80px rgba(4, 1, 20, 0.48);
  --radius-xl: 34px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(133, 244, 255, 0.12), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(255, 164, 218, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    linear-gradient(180deg, var(--bg), var(--bg-alt));
  color: var(--text);
  font-family: "Space Grotesk", "Aptos", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

@media (pointer: fine) {
  body {
    cursor: none;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.13;
  pointer-events: none;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  background: url("/assets/img/section-wave.svg") center top / cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(5, 3, 22, 0.78);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-size: 0.92rem;
  letter-spacing: 0.44rem;
  text-transform: uppercase;
  font-weight: 700;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding-bottom: 0.45rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.22rem;
  color: var(--muted);
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

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

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
}

.page-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.2rem 4vw 5rem;
  position: relative;
}

.hero {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: stretch;
  margin-bottom: 2rem;
}

.hero.compact {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.hero-copy,
.hero-stage-frame,
.section-card,
.news-card,
.recommend-card,
.domain-card,
.carousel-card,
.docs-card,
.message-card {
  border: 1px solid var(--line-soft);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy,
.section-card,
.hero-stage-frame {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: clamp(1.5rem, 2vw, 2.6rem);
  position: relative;
  overflow: hidden;
}

.hero-copy::before,
.hero-stage-frame::before,
.section-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(133, 244, 255, 0.08), transparent 32%, rgba(255, 164, 218, 0.06) 74%, transparent 100%);
  pointer-events: none;
}

.eyebrow,
.label,
.card-kicker,
.hero-tag,
.section-title,
.kv {
  text-transform: uppercase;
  letter-spacing: 0.26rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.7rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.9rem, 5vw, 5rem);
  line-height: 0.98;
}

.hero.compact .hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.hero-text {
  margin: 1rem 0 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1rem;
}

.hero-copy-actions {
  margin-top: 1rem;
}

.hero-actions,
.control-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.btn-primary,
.btn-ghost,
.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.btn-primary {
  color: #0b0920;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-primary.secondary {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
}

.btn-primary.ghostline,
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-primary:hover,
.btn-ghost:hover,
.inline-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(133, 244, 255, 0.18);
}

.inline-link {
  margin-top: auto;
  width: fit-content;
  color: var(--cyan);
  border: 1px solid rgba(133, 244, 255, 0.22);
}

.hero-stage {
  min-height: 100%;
}

.hero-stage-frame {
  position: relative;
  min-height: 100%;
  padding: 1.2rem;
  overflow: hidden;
}

.hero-stage.slim .hero-stage-frame {
  min-height: 320px;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(133, 244, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.66rem;
}

.hero-layers {
  position: absolute;
  inset: 0;
}

.hero-layer {
  position: absolute;
  inset: 10%;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.layer-a {
  background: radial-gradient(circle at 18% 20%, rgba(133, 244, 255, 0.26), transparent 40%);
}

.layer-b {
  inset: 18%;
  background: radial-gradient(circle at 78% 20%, rgba(255, 164, 218, 0.2), transparent 42%);
  transform: rotate(-6deg);
}

.layer-c {
  inset: 26%;
  background: url("/assets/img/hero-glow.svg") center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.72;
}

.hero-panel {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.hero-panel > span {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 9, 30, 0.6);
  font-size: 0.82rem;
  letter-spacing: 0.06rem;
}

.copyable-value {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.copyable-value.hero-copyable,
.copyable-value.otp-copy,
.copyable-value.copy-inline,
.copyable-value.sender-copy,
.copyable-value.message-otp-copy {
  flex-direction: column;
  align-items: flex-start;
}

.copyable-text {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.copyable-prefix {
  font-size: 0.66rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: var(--cyan);
}

.copyable-text.message-otp-code {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0.18rem;
  color: var(--text);
  text-shadow: 0 0 18px rgba(133, 244, 255, 0.2);
}

.copy-button {
  appearance: none;
  border: 1px solid rgba(133, 244, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  min-height: 32px;
  padding: 0.42rem 0.72rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.copy-button:hover,
.copy-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(133, 244, 255, 0.52);
  background: rgba(133, 244, 255, 0.12);
  outline: none;
}

.copy-button.copied {
  border-color: rgba(133, 244, 255, 0.62);
  background: rgba(133, 244, 255, 0.2);
  color: var(--cyan);
}

.section-head,
.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.section-head {
  margin-bottom: 0.9rem;
}

.title-row {
  margin-bottom: 0.8rem;
}

.section-head .section-title,
.title-row .section-title {
  margin-bottom: 0;
}

.message-otp-banner .copyable-value {
  align-items: flex-start;
}

.otp-chip .copyable-value,
.hint-item .copyable-value {
  width: 100%;
}

.hero-panel .copy-button,
.otp-chip .copy-button,
.hint-item .copy-button,
.message-card .copy-button {
  align-self: flex-start;
}

.stat-grid,
.poster-grid,
.docs-grid,
.domains-list,
.message-list,
.hint-grid,
.form-grid,
.message-view,
.footer-grid,
.recommends {
  display: grid;
  gap: 1rem;
}

.stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 1.8rem;
}

.stat-card {
  border-radius: 22px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.05);
}

.section-card {
  position: relative;
  padding: 1.4rem;
  margin-bottom: 1.35rem;
  overflow: hidden;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.84rem;
  margin-bottom: 1.1rem;
}

.section-title::before {
  content: "";
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.poster-grid,
.docs-grid,
.recommends,
.domains-list,
.message-view {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.mail-html-frame {
  width: 100%;
  min-height: 540px;
  border: 1px solid rgba(133, 244, 255, 0.18);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.mail-html-source {
  display: grid;
  gap: 0.8rem;
}

.mail-html-source summary {
  cursor: pointer;
  color: var(--cyan);
  user-select: none;
}

.news-card,
.recommend-card,
.domain-card,
.docs-card,
.message-card {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  background: var(--surface-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
}

.news-card::after,
.recommend-card::after,
.domain-card::after,
.docs-card::after,
.message-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), transparent 40%, transparent 60%, rgba(133, 244, 255, 0.08));
  pointer-events: none;
}

.news-card h3,
.recommend-card h3,
.domain-card h4,
.docs-card h3,
.message-card h3,
.carousel-card h4 {
  margin: 0;
  font-size: 1.16rem;
}

.news-card p,
.recommend-card p,
.domain-card p,
.docs-card p,
.message-card p,
.carousel-card p,
li,
.status-line,
pre,
label span {
  color: var(--muted);
}

.accent-cyan {
  box-shadow: inset 0 0 0 1px rgba(133, 244, 255, 0.25);
}

.accent-gold {
  box-shadow: inset 0 0 0 1px rgba(255, 226, 138, 0.25);
}

.accent-pink {
  box-shadow: inset 0 0 0 1px rgba(255, 164, 218, 0.25);
}

.carousel-shell {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.45s ease;
}

.carousel-card {
  min-width: min(320px, calc(100vw - 8rem));
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  background: linear-gradient(145deg, rgba(148, 192, 255, 0.16), rgba(255, 164, 218, 0.12));
}

.card-kicker {
  display: block;
  color: var(--cyan);
  font-size: 0.66rem;
  margin-bottom: 0.7rem;
}

.field {
  width: 100%;
  min-width: 0;
  border-radius: 18px;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.domain-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.95rem;
}

.domain-pill {
  appearance: none;
  border: 1px solid rgba(133, 244, 255, 0.18);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.domain-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(133, 244, 255, 0.42);
  color: var(--text);
}

.domain-pill.active {
  background: linear-gradient(135deg, rgba(133, 244, 255, 0.2), rgba(255, 164, 218, 0.18));
  border-color: rgba(133, 244, 255, 0.55);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(133, 244, 255, 0.18) inset;
}

.field:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(133, 244, 255, 0.14);
}

.form-grid.two-up {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  display: grid;
  gap: 0.4rem;
}

.status-line,
.empty-state {
  border-radius: 18px;
  padding: 0.95rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.status-line.good {
  color: var(--cyan);
}

.status-line.warn {
  color: var(--gold);
}

.status-line.bad {
  color: #ff9ea9;
}

.hint-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1rem;
}

.hint-item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(133, 244, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.kv {
  font-size: 0.7rem;
  color: var(--cyan);
}

.message-list {
  grid-template-columns: 1fr;
}

.message-card {
  min-height: 0;
}

.message-card .row,
.docs-card .row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.message-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.message-card-head h3 {
  flex: 1 1 auto;
}

.message-otp-banner {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(133, 244, 255, 0.28);
  background: linear-gradient(135deg, rgba(133, 244, 255, 0.14), rgba(255, 164, 218, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.message-otp-banner.empty {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.message-otp-label {
  font-size: 0.68rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--cyan);
}

.message-otp-code {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0.18rem;
  color: var(--text);
  text-shadow: 0 0 18px rgba(133, 244, 255, 0.2);
}

.message-otp-meta {
  color: rgba(247, 251, 255, 0.72);
  font-size: 0.88rem;
}

.code-block {
  margin: 0;
  min-height: 180px;
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(1, 3, 10, 0.48);
  white-space: pre-wrap;
  word-break: break-word;
}

.code-block-tall {
  min-height: 320px;
  max-height: 640px;
  overflow: auto;
}

.otp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.otp-chip {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.site-footer {
  padding: 1.8rem 4vw 3rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(3, 2, 14, 0.75);
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pointer-hud,
.pointer-trail,
.pointer-click {
  position: fixed;
  pointer-events: none;
  z-index: 80;
  transform: translate(-50%, -50%);
}

.pointer-hud {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  transition: width 0.16s ease, height 0.16s ease, border-color 0.16s ease;
}

.pointer-hud.active-hover {
  width: 44px;
  height: 44px;
  border-color: var(--gold);
}

.pointer-trail {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(133, 244, 255, 1) 0%, rgba(133, 244, 255, 0.08) 100%);
}

.pointer-click {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 226, 138, 0.45);
  opacity: 0;
}

.pointer-click.active {
  animation: clickPulse 0.45s ease forwards;
}

@keyframes clickPulse {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.45);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@media (max-width: 980px) {
  .hero,
  .hero.compact {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding-top: 1.25rem;
  }

  .hero-copy h1,
  .hero.compact .hero-copy h1 {
    font-size: 2.1rem;
  }

  .masthead {
    position: relative;
  }

  nav ul {
    gap: 0.7rem;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }

  .control-row {
    flex-direction: column;
  }
}
