* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f7f7f8;
  color: #1a1a1a;
  line-height: 1.6;
}

header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header a {
  font-weight: 600;
  font-size: 1.1rem;
  color: #1a1a1a;
  text-decoration: none;
}

.lang {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
}

.lang a, .lang span {
  color: #888;
  text-decoration: none;
  font-weight: 500;
  padding: 2px 4px;
}

.lang a:hover { color: #1a1a1a; }

.lang .active {
  color: #1a1a1a;
  font-weight: 700;
  cursor: default;
}

.container {
  max-width: 760px;
  margin: 48px auto;
  padding: 0 24px 80px;
}

h1 { font-size: 2rem; margin-bottom: 8px; }
h2 { font-size: 1.2rem; margin: 32px 0 10px; }
p  { margin-bottom: 12px; color: #333; }
ul { margin: 0 0 12px 20px; color: #333; }
li { margin-bottom: 6px; }

.updated {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 32px;
}

.nav {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  font-size: 0.9rem;
}

.nav a { color: #555; text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* index only */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 24px 60px;
  background: #fff;
}

.hero > *:not(.hero-bg) { position: relative; z-index: 1; }

.hero h1 { font-size: 2.4rem; margin-bottom: 16px; }
.hero p  { font-size: 1.1rem; color: #555; max-width: 520px; margin: 0 auto 32px; }

/* animated background orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.38;
  will-change: transform;
}

.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle at center, #5b9cf6, #a78bfa);
  top: -160px; left: -120px;
  animation: orb-drift 12s ease-in-out infinite;
}

.orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle at center, #38bdf8, #34d399);
  top: 20px; right: -100px;
  animation: orb-drift 15s ease-in-out infinite reverse;
  animation-delay: -4s;
}

.orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle at center, #f472b6, #fb923c);
  bottom: -60px; left: 40%;
  animation: orb-drift 10s ease-in-out infinite;
  animation-delay: -7s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30%       { transform: translate(40px, -30px) scale(1.06); }
  60%       { transform: translate(-25px, 35px) scale(0.94); }
}

.btn {
  display: inline-block;
  background: #229ed9;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.btn:hover { background: #1a8bbf; }

/* features */
.features {
  background: #fff;
  padding: 64px 24px;
  border-top: 1px solid #e5e5e5;
}

.features-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature { padding: 8px 0; }

.feature-icon { font-size: 1.8rem; margin-bottom: 10px; }

.feature h3 { font-size: 1rem; margin-bottom: 6px; }

.feature p { font-size: 0.9rem; color: #555; margin: 0; }

/* pricing */
.pricing {
  background: #f7f7f8;
  padding: 64px 24px;
  text-align: center;
  border-top: 1px solid #e5e5e5;
}

.pricing h2 { font-size: 1.6rem; margin-bottom: 32px; }

.pricing-grid {
  max-width: 860px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.plan {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: left;
}

.plan-featured {
  border-color: #229ed9;
  box-shadow: 0 0 0 2px #229ed926;
}

.plan-name { font-size: 0.85rem; color: #888; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }

.plan-price { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }

.plan-price span { font-size: 0.9rem; font-weight: 400; color: #888; }

.plan-desc { font-size: 0.88rem; color: #555; }

.pricing-note { font-size: 0.85rem; color: #888; margin-top: 8px; }

/* cta */
.cta {
  background: #fff;
  padding: 64px 24px;
  text-align: center;
  border-top: 1px solid #e5e5e5;
}

.cta h2 { font-size: 1.6rem; margin-bottom: 12px; }

.cta p { font-size: 1rem; color: #555; margin-bottom: 28px; }

/* footer */
footer {
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
  padding: 32px 0;
  border-top: 1px solid #e5e5e5;
}

footer a { color: #aaa; }
