
:root {
  --bg: #f4f5fb;
  --surface: #ffffff;
  --accent: #16a34a;
  --accent-soft: #dcfce7;
  --accent-strong: #15803d;
  --text: #0f172a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15,23,42,0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e0f2fe 0, #f9fafb 35%, #f4f5fb 100%);
  color: var(--text);
  line-height: 1.6;
}

/* Layout */
.section {
  padding: 3.5rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Top nav */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(226,232,240,0.9);
  backdrop-filter: blur(14px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.98rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.nav-links a {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.nav-links a:hover {
  background: rgba(34,197,94,0.12);
  color: var(--accent-strong);
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Translate bar */
.translate-section {
  padding: 0.75rem 1.5rem 0.5rem;
}

.translate-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Generic content from original site */
section[class^="video"],
section[class^="header"],
section[class^="content"],
section[class^="article"],
section[class^="features"],
section[class^="info"],
.people05 {
  margin: 2rem auto;
  padding: 2.25rem 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.mbr-section-title {
  margin-top: 0;
}

.mbr-text,
.mbr-description,
.mbr-section-subtitle {
  color: var(--muted);
}

/* Buttons */
.btn,
.btn-primary,
.btn-success,
.btn-white,
.btn-primary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(22,163,74,0.3);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  text-decoration: none;
}

/* Our custom buttons */
.btn.primary { }
.btn.secondary {
  background: #0f172a;
  box-shadow: 0 10px 25px rgba(15,23,42,0.35);
}

/* FAQ accordion */
.faq-section {
  background: transparent;
}

.faq-section .section-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.section-intro {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.faq-list {
  margin-top: 1rem;
}

.faq-item {
  background: var(--surface);
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 8px 22px rgba(15,23,42,0.04);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "＋";
  float: right;
  font-weight: 400;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Advertise & contact */
.advertise-section,
.contact-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.text-link {
  font-size: 0.9rem;
  color: var(--accent-strong);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(22,163,74,0.45);
  opacity: 0.8;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.back-to-top:hover {
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

/* Footer */
.site-footer {
  padding: 1.5rem 1.5rem 2.25rem;
  background: #f9fafb;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

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

.site-footer a:hover {
  text-decoration: underline;
}

/* Simple responsive tweaks for original rows/cols */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

[class*="col-"] {
  padding: 0.75rem;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
}
