:root {
  --ink: #0b1c24;
  --ink-2: #14303b;
  --fog: #d7e6ea;
  --paper: #f4f8f9;
  --teal: #1f8a8a;
  --teal-deep: #0f5e62;
  --stamp: #c45c26;
  --stamp-soft: #e8a078;
  --line: rgba(255, 255, 255, 0.14);
  --text: #e8f2f4;
  --muted: #9db4bb;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Syne", "Avenir Next", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background: var(--ink);
  line-height: 1.55;
}

a {
  color: var(--stamp-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.lang-switch {
  display: flex;
  gap: 0.55rem;
  font-size: 0.85rem;
}

.lang-switch a {
  color: var(--fog);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.lang-switch a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 70% 10%, rgba(31, 138, 138, 0.35), transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(196, 92, 38, 0.22), transparent 55%),
    linear-gradient(160deg, #07141a 0%, #0f2c35 45%, #0b1c24 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 8% 4% auto auto;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  border-radius: 42% 58% 38% 62% / 48% 42% 58% 52%;
  background:
    radial-gradient(circle at 30% 30%, rgba(232, 160, 120, 0.55), transparent 42%),
    radial-gradient(circle at 70% 60%, rgba(31, 138, 138, 0.7), transparent 50%),
    linear-gradient(135deg, #1a4e55, #0b2430);
  filter: blur(0.2px);
  box-shadow: var(--shadow);
  animation: drift 14s ease-in-out infinite alternate;
}

.hero-visual::after {
  content: "GATE";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.28em;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: rgba(255, 255, 255, 0.18);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(-18px, 22px, 0) rotate(4deg);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 7.5rem 1.4rem 4rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1.2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  line-height: 1.2;
  max-width: 16ch;
  margin: 0 0 0.9rem;
}

.hero-lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.6rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.2rem;
  border-radius: 0.55rem;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--stamp);
  color: #fff;
}

.btn-primary:hover {
  background: #d66a2f;
}

.btn-ghost {
  background: transparent;
  color: var(--fog);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

main section {
  max-width: 860px;
  margin: 0 auto;
  padding: 4.5rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

main section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.7rem;
  letter-spacing: -0.03em;
}

main section .sec-lead {
  color: var(--muted);
  margin: 0 0 1.4rem;
  max-width: 42rem;
}

.price-line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 0.8rem;
}

.list-clean {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-clean li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--fog);
}

.list-clean strong {
  color: #fff;
  font-weight: 700;
}

pre,
code {
  font-family: var(--font-mono);
}

pre {
  background: #071116;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.7rem;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #cfe3e7;
}

.buy-box {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem 0 0;
}

.buy-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.buy-status {
  min-height: 1.4em;
  color: var(--stamp-soft);
  font-size: 0.92rem;
}

.site-footer {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.4rem 3rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0.55rem 0 0.2rem;
  color: var(--muted);
}

.done-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.2rem;
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(31, 138, 138, 0.28), transparent 60%),
    var(--ink);
}

.done-panel {
  width: min(640px, 100%);
}

.done-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.8rem;
}

.done-panel p {
  color: var(--muted);
}

.key-box {
  margin-top: 1.2rem;
  padding: 1rem;
  background: #071116;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  word-break: break-all;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .hero-visual {
    width: 58vw;
    inset: 12% 0 auto auto;
    opacity: 0.85;
  }

  .hero-inner {
    padding-top: 8.5rem;
  }
}
