:root {
  --bg: #f7f1e8;
  --paper: rgba(255, 251, 246, 0.9);
  --paper-strong: #fffdfa;
  --ink: #171311;
  --muted: #6b6158;
  --line: rgba(87, 65, 44, 0.12);
  --accent: #c65d2e;
  --accent-deep: #8d411f;
  --accent-soft: rgba(198, 93, 46, 0.1);
  --dark: #15110f;
  --dark-soft: #211b18;
  --shadow: 0 24px 64px rgba(72, 48, 24, 0.12);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font: 15px/1.55 "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 221, 190, 0.92), transparent 28%),
    linear-gradient(180deg, #fbf6ef 0%, #efe4d4 100%);
}

.topbar,
.hero,
.section,
.footer {
  width: min(1180px, calc(100vw - 32px));
  margin-inline: auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 10px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand span {
  display: block;
}

.brand span,
.topnav a,
.subtitle,
.section-copy,
.price-note,
.table-note,
.faq p,
.footer p,
.footer-meta span {
  color: var(--muted);
}

.topnav {
  display: flex;
  gap: 18px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.language-switcher select {
  border: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: none;
  cursor: pointer;
}

.topnav a {
  text-decoration: none;
  font-weight: 600;
}

.topnav a:hover {
  color: var(--accent-deep);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  padding: 14px 0 26px;
}

.hero-copy,
.hero-card,
.section,
.price-card,
.referral-card {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 248, 242, 0.96), rgba(255, 253, 249, 0.88));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-copy,
.hero-card,
.section {
  padding: 30px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.small {
  margin-bottom: 6px;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.subtitle {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: 17px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #de7f4c);
  color: #fff;
  box-shadow: 0 14px 28px rgba(198, 93, 46, 0.22);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn.light {
  background: #fff;
  color: var(--dark);
}

.btn.full {
  width: 100%;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-tags span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(198, 93, 46, 0.12);
  font-size: 13px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.metric {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.metric strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.hero-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.section {
  margin-bottom: 24px;
}

.updates-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.update-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

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

.updates-page-title {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.update-card h3 {
  margin: 8px 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.update-card p,
.update-date {
  color: var(--muted);
}

.update-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: 32px;
  line-height: 1.08;
}

.section-copy {
  max-width: 380px;
}

.feature-grid,
.pricing-grid,
.referral-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  position: relative;
  padding: 24px;
}

.price-card.featured {
  transform: translateY(-6px);
  background:
    linear-gradient(160deg, rgba(255, 247, 240, 0.98), rgba(248, 228, 216, 0.94));
  border: 1px solid rgba(198, 93, 46, 0.22);
}

.price-card.dark {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(198, 93, 46, 0.25), transparent 32%),
    linear-gradient(180deg, var(--dark-soft), var(--dark));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.price-card.dark .price-head p,
.price-card.dark .price-note,
.price-card.dark li {
  color: rgba(255, 255, 255, 0.76);
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.price-head h3 {
  font-size: 28px;
}

.price-head p {
  margin: 6px 0 0;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 6px;
}

.price-line strong {
  font-size: 46px;
  line-height: 1;
}

.price-line span {
  color: var(--muted);
}

.price-card ul {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 20px;
  margin-top: 10px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.price-card.dark li::before {
  background: #fff;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  font-size: 13px;
  color: var(--muted);
}

td:first-child {
  font-weight: 600;
}

.referral-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.referral-card {
  padding: 22px;
}

.referral-card strong {
  display: block;
  font-size: 24px;
}

.referral-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feedback-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 160px;
}

.feedback-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feedback-status {
  margin: 0;
  font-weight: 700;
}

.feedback-status[data-state='success'] {
  color: #0b7f52;
}

.feedback-status[data-state='error'] {
  color: #b23a29;
}

.feedback-status[data-state='pending'] {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 10px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 44px;
}

.footer p {
  margin: 6px 0 0;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.footer-meta a {
  color: var(--accent-deep);
  text-decoration: none;
}

.site-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(20, 17, 15, 0.94);
  color: #fff;
  box-shadow: 0 18px 36px rgba(20, 17, 15, 0.28);
}

@media (max-width: 980px) {
  .topbar,
  .topbar-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .updates-list,
  .feature-grid,
  .pricing-grid,
  .referral-grid,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .footer-meta {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .topnav {
    flex-wrap: wrap;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 38px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .price-line strong {
    font-size: 40px;
  }

  .hero-copy,
  .hero-card,
  .section {
    padding: 22px;
  }
}
