/* coitancy landing — white style, discuzx5 blue accent (#0066ff) */

:root {
  --color-primary: #0066ff;
  --color-primary-light: #3385ff;
  --color-primary-dark: #0051cc;
  --color-accent: #d6e4ff;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f9fa;
  --color-text: #1a1a2e;
  --color-text-muted: #666666;
  --color-border: #eeeeee;
  --font-sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
  --radius-pill: 999px;
  --shadow-soft: 0 4px 24px rgba(0, 102, 255, 0.08);
  --shadow-btn: 0 8px 28px rgba(0, 102, 255, 0.22);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- background layers ---- */

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-gradient {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(214, 228, 255, 0.65), transparent 60%),
    radial-gradient(ellipse 40% 30% at 95% 85%, rgba(0, 102, 255, 0.06), transparent 50%),
    radial-gradient(ellipse 35% 28% at 5% 75%, rgba(51, 133, 255, 0.05), transparent 45%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-soft) 100%);
}

.bg-grid {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(0, 102, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, black 15%, transparent 78%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orb-float 20s ease-in-out infinite;
}

.bg-orb--1 {
  width: 480px;
  height: 480px;
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(214, 228, 255, 0.55);
}

.bg-orb--2 {
  width: 300px;
  height: 300px;
  bottom: 8%;
  right: -4%;
  background: rgba(0, 102, 255, 0.08);
  animation-delay: -6s;
}

.bg-orb--3 {
  width: 220px;
  height: 220px;
  bottom: 22%;
  left: 4%;
  background: rgba(51, 133, 255, 0.06);
  animation-delay: -12s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(10px, -14px) scale(1.03);
  }
  66% {
    transform: translate(-8px, 10px) scale(0.97);
  }
}

/* ---- layout ---- */

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 32px;
}

.hero__inner {
  width: 100%;
  max-width: 880px;
  text-align: center;
  animation: hero-in 1s ease-out both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- brand logo ---- */

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
}

.brand__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(360px, 88vw);
  max-height: 120px;
  object-fit: contain;
}

/* ---- headline ---- */

.hero__title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero__title span {
  display: block;
}

.hero__title span:first-child {
  color: var(--color-text);
}

.hero__title span:last-child {
  background: linear-gradient(120deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.75;
  text-wrap: balance;
}

/* ---- CTA ---- */

.cta-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
}

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 280px;
  padding: 20px 48px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  overflow: hidden;
}

.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.cta-btn:hover,
.cta-btn:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(0, 102, 255, 0.32);
  color: #fff;
  outline: none;
}

.cta-btn:hover::before,
.cta-btn:focus-visible::before {
  opacity: 1;
}

.cta-btn:active {
  transform: translateY(-1px) scale(1);
}

.cta-btn__arrow {
  width: 22px;
  height: 22px;
  transition: transform var(--transition);
}

.cta-btn:hover .cta-btn__arrow,
.cta-btn:focus-visible .cta-btn__arrow {
  transform: translateX(4px);
}

/* ---- tags ---- */

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  list-style: none;
}

.hero__tags li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
}

/* ---- footer ---- */

.footer {
  padding: 24px;
  text-align: center;
  font-size: 0.8125rem;
  color: #999;
  border-top: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.6);
}

.footer a {
  color: var(--color-primary);
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-primary-dark);
}

/* ---- accessibility & motion ---- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 480px) {
  .cta-btn {
    min-width: 100%;
    padding: 18px 32px;
  }

  .brand__logo {
    max-width: 92vw;
    max-height: 96px;
  }
}
