/*
Theme Name: Yifanyi Landing
Theme URI: https://example.com/yifanyi
Author: Cursor Assistant
Description: A WordPress theme replicating the Yifanyi landing page layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yifanyi
Tags: one-column, custom-background, custom-logo
*/

:root {
  --blue-900: #1f4bd8;
  --blue-700: #2f6bff;
  --blue-600: #3e82ff;
  --blue-200: #e9f1ff;
  --blue-100: #f2f7ff;
  --gray-900: #1f1f1f;
  --gray-700: #4a4a4a;
  --gray-500: #7a7a7a;
  --gray-200: #eceef2;
  --white: #ffffff;
  --shadow-soft: 0 20px 40px rgba(20, 40, 90, 0.12);
  --shadow-card: 0 12px 24px rgba(20, 40, 90, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--gray-900);
  background: #f8fbff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.site-header {
  background: #f7fbff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--blue-900);
}

.brand img,
.brand svg {
  width: 32px;
  height: 32px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--gray-700);
  font-size: 14px;
}

.main-nav a.active {
  color: var(--blue-900);
  font-weight: 600;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-size: 13px;
}

.lang-pill img,
.lang-pill svg {
  width: 18px;
  height: 12px;
}

.hero {
  padding: 70px 0 40px;
  background: radial-gradient(circle at 10% 10%, #ffffff 0%, #f3f8ff 45%, #edf3ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 40px;
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 12px;
}

.hero p {
  color: var(--gray-500);
  font-size: 16px;
  margin: 0 0 26px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--blue-700);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(47, 107, 255, 0.3);
}

.hero-image {
  justify-self: end;
  width: min(520px, 100%);
}

.stats {
  margin-top: 40px;
  padding: 18px 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.stat-item {
  text-align: center;
  padding: 12px 4px;
}

.stat-item h3 {
  margin: 0;
  font-size: 20px;
  color: var(--gray-900);
}

.stat-item span {
  display: block;
  color: var(--gray-500);
  font-size: 12px;
  margin-top: 6px;
}

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

.features {
  background: #fff;
}

.feature-orbit {
  background: url("./assets/images/orbit-dots.svg") center / cover no-repeat;
  padding: 20px;
}

.feature-orbit-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.feature-card h4 {
  margin: 10px 0 6px;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-500);
}

.feature-center {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.feature-center img {
  width: 540px;
}

.functions {
  background: #f6f9ff;
}

.functions-grid--layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "account account app app"
    "auto channel app app"
    "multi multi db db"
    "group group more more";
  gap: 18px;
}

.function-card {
  background: var(--white);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #eef2f9;
}

.function-card--tint {
  background: #eaf5ff;
}

.function-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.function-card p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

.function-icon img {
  width: 72px;
  height: 72px;
}

.function-card--app .function-icon img {
  width: 150px;
  height: auto;
}

.function-card--account { grid-area: account; }
.function-card--app { grid-area: app; }
.function-card--auto { grid-area: auto; }
.function-card--channel { grid-area: channel; }
.function-card--multi { grid-area: multi; }
.function-card--db { grid-area: db; }
.function-card--group { grid-area: group; }
.function-card--more { grid-area: more; }

.why-us {
  background: #ffffff;
}

.carousel {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 22px;
  align-items: center;
}

.carousel-card {
  background: #f4f6f9;
  border-radius: var(--radius-lg);
  padding: 18px;
  min-height: 220px;
}

.carousel-card.active {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.carousel-card.active p {
  color: rgba(255, 255, 255, 0.85);
}

.carousel-card h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

.carousel-card p {
  margin: 0;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.6;
}

.carousel-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.carousel-media img {
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 460px;
  max-height: 260px;
  object-fit: contain;
  margin: 0 auto;
}

.latest-posts {
  background: #f6f9ff;
}

.latest-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.latest-post-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #eef2f9;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: grid;
  grid-template-rows: auto 1fr;
}

.latest-post-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.latest-post-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: #f2f5fb;
}

.latest-post-body {
  padding: 16px 16px 18px;
  display: grid;
  gap: 8px;
}

.latest-post-body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-post-body p {
  margin: 0;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-post-meta {
  display: flex;
  gap: 12px;
  color: #9aa5b1;
  font-size: 12px;
  flex-wrap: wrap;
}

.latest-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(20, 40, 90, 0.12);
}

.latest-post-empty {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  color: var(--gray-500);
  text-align: center;
  grid-column: 1 / -1;
}

.banner {
  background: linear-gradient(90deg, #377dff 0%, #3c5dff 100%);
  color: var(--white);
  text-align: center;
  padding: 40px 0;
  font-size: 22px;
  letter-spacing: 1px;
}

.site-footer {
  background: #f7f7f7;
  padding: 18px 0 12px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-brand p {
  margin: 4px 0 0;
  color: var(--gray-500);
  font-size: 11px;
  line-height: 1.4;
}

.socials {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.footer-col h4 {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--gray-900);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
  color: var(--gray-500);
  font-size: 10.5px;
}

.footer-bottom {
  margin-top: 16px;
  font-size: 11px;
  color: var(--gray-500);
  text-align: center;
}

.page-main {
  min-height: 60vh;
  background: #f8fbff;
}

.page-hero {
  padding: 80px 0 50px;
  background: radial-gradient(circle at 10% 10%, #ffffff 0%, #f3f8ff 45%, #edf3ff 100%);
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: 34px;
}

.page-hero p {
  margin: 0 auto 20px;
  max-width: 520px;
  color: var(--gray-500);
}

.page-section {
  padding: 60px 0;
}

.page-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.page-card img {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
}

.page-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.page-card p {
  margin: 0 0 14px;
  color: var(--gray-500);
  font-size: 14px;
}

.pricing-grid,
.docs-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.price-card.featured {
  border: 2px solid var(--blue-700);
  transform: translateY(-8px);
}

.price-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
}

.price-value {
  font-size: 32px;
  color: var(--blue-700);
  margin-bottom: 18px;
}

.price-value span {
  font-size: 14px;
  color: var(--gray-500);
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  color: var(--gray-500);
  font-size: 14px;
  display: grid;
  gap: 8px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  border: 1px solid var(--blue-700);
  color: var(--blue-700);
  font-weight: 600;
  background: var(--white);
}

.text-link {
  color: var(--blue-700);
  font-weight: 600;
  font-size: 14px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.step-card span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: var(--blue-200);
  color: var(--blue-900);
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
}

.step-card p {
  margin: 0;
  color: var(--gray-500);
  font-size: 14px;
}

.news-page .page-hero {
  text-align: center;
}

.news-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #eaf2ff 0%, #f7faff 100%);
  position: relative;
  overflow: hidden;
}

.news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(66, 133, 244, 0.12), transparent 60%);
  pointer-events: none;
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(66, 133, 244, 0.08), transparent 55%);
  pointer-events: none;
}

.news-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.news-hero-text h1 {
  margin: 0 0 12px;
  font-size: 30px;
}

.news-hero-text p {
  margin: 0 0 18px;
  color: var(--gray-500);
}

.news-hero-media img {
  width: min(520px, 100%);
  margin-left: auto;
}

.news-banner {
  background: #f7faff;
  padding: 24px 0 16px;
}

.news-banner img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(20, 40, 90, 0.08);
}

.news-banner svg,
.news-hero svg {
  width: 100%;
  height: auto;
  display: block;
}

.news-section {
  background: #f7faff;
  padding: 20px 0 80px;
}

.news-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 26px;
}

.news-list {
  display: grid;
  gap: 20px;
}

.news-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 32px rgba(20, 40, 90, 0.08);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  position: relative;
  border: 1px solid #eef2f9;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-item img {
  width: 100%;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(27, 48, 94, 0.04);
  height: 120px;
  object-fit: cover;
  display: block;
  background: #f2f5fb;
}

.news-thumb-svg {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.news-thumb-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

.news-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item p {
  margin: 0 0 10px;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item--featured {
  grid-template-columns: 1.3fr 0.9fr;
  padding: 22px;
}

.news-item-thumb {
  border-radius: 16px;
  padding: 18px;
  color: #fff;
  display: grid;
  gap: 6px;
  background: linear-gradient(135deg, #2aa6a6, #3bc1c1);
  background-size: cover;
  background-position: center;
  min-height: 160px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.news-item-thumb strong {
  font-size: 16px;
}

.news-item-thumb span {
  font-size: 12px;
  opacity: 0.9;
}

.news-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: #9aa5b1;
}

.news-item-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(20, 40, 90, 0.12);
}

.news-sidebar {
  display: grid;
  gap: 16px;
}

.sidebar-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 32px rgba(20, 40, 90, 0.08);
  border: 1px solid #eef2f9;
}

.sidebar-card--promo {
  padding: 0;
  overflow: hidden;
}

.sidebar-promo {
  background: linear-gradient(135deg, #2aa6a6, #3bc1c1);
  color: #fff;
  padding: 18px;
  border-radius: 18px;
  display: grid;
  gap: 8px;
  min-height: 150px;
}

.sidebar-promo-title {
  font-weight: 600;
  font-size: 16px;
}

.sidebar-promo-sub {
  font-weight: 600;
  font-size: 14px;
}

.sidebar-promo-desc {
  font-size: 12px;
  opacity: 0.9;
}

.sidebar-promo-btn {
  align-self: start;
  background: #ffffff;
  color: #2aa6a6;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  width: fit-content;
}

.sidebar-title {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 15px;
}

.download-mini {
  display: grid;
  gap: 10px;
}

.download-mini button,
.download-mini a {
  border: none;
  background: #f3f6ff;
  color: var(--blue-900);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 12px;
  text-align: left;
}

.news-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

.news-pagination a,
.news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e6e9f2;
  color: #6b7a90;
  font-size: 12px;
  padding: 0 8px;
}

.news-pagination .current {
  background: var(--blue-700);
  color: #fff;
  border-color: var(--blue-700);
}

.news-empty {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  color: var(--gray-500);
  text-align: center;
}

.search-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e6e9f2;
  border-radius: 12px;
  padding: 11px 14px;
  color: #9aa5b1;
  font-size: 12px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud span {
  background: #f1f4fb;
  color: #6b7a90;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.single-page .single-hero {
  padding: 40px 0 24px;
  background: linear-gradient(180deg, #eef4ff 0%, #f7faff 100%);
}

.single-page .single-hero h1 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--gray-900);
}

.single-meta {
  display: flex;
  gap: 12px;
  color: #9aa5b1;
  font-size: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.single-content {
  background: #f7faff;
  padding: 28px 0 60px;
}

.single-layout {
  display: grid;
  grid-template-columns: 2.2fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.single-article {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 32px rgba(20, 40, 90, 0.08);
  border: 1px solid #eef2f9;
}

.single-thumb img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 16px;
  display: block;
  box-shadow: 0 12px 24px rgba(20, 40, 90, 0.08);
}

.single-body {
  color: var(--gray-700);
  line-height: 1.8;
}

.single-body p {
  margin: 0 0 14px;
}

.single-body img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 12px 0;
  box-shadow: 0 10px 22px rgba(20, 40, 90, 0.08);
}

.single-body h2,
.single-body h3,
.single-body h4 {
  color: var(--gray-900);
  margin: 22px 0 10px;
  line-height: 1.4;
}

.single-body h2 {
  font-size: 20px;
}

.single-body h3 {
  font-size: 18px;
}

.single-body h4 {
  font-size: 16px;
}

.single-body ul,
.single-body ol {
  margin: 0 0 14px 18px;
  padding: 0;
  color: var(--gray-700);
}

.single-body li {
  margin-bottom: 6px;
}

.single-body a {
  color: var(--blue-700);
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 140, 255, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.single-body a:hover {
  color: var(--blue-900);
  border-color: rgba(44, 140, 255, 0.6);
}

.single-body blockquote {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 4px solid #2c8cff;
  background: #f4f8ff;
  color: var(--gray-700);
  border-radius: 10px;
}

.single-body code {
  background: #f3f6ff;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 13px;
  color: #2c3a57;
}

.single-body pre {
  background: #0f1d38;
  color: #e6ecff;
  padding: 14px 16px;
  border-radius: 12px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0;
}

.single-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.single-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
}

.single-body th,
.single-body td {
  border: 1px solid #e6ecff;
  padding: 10px 12px;
  text-align: left;
}

.single-body th {
  background: #f4f7ff;
  color: var(--gray-900);
}

.single-body hr {
  border: none;
  border-top: 1px solid #eef2f9;
  margin: 20px 0;
}

.tag-page .page-hero {
  text-align: center;
}

.tag-list {
  display: grid;
  gap: 16px;
}

.tag-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid #eef2f9;
}

.tag-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.tag-item h3 a {
  color: var(--gray-900);
}

.tag-item p {
  margin: 0 0 10px;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.6;
}

.tag-item-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #9aa5b1;
}

.single-recent {
  display: grid;
  gap: 10px;
}

.single-page .news-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
}

.single-recent h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--gray-900);
}

.single-recent ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.single-recent li {
  display: grid;
  gap: 6px;
  color: var(--gray-700);
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f9ff;
  border: 1px solid #e9effb;
}

.single-recent li a {
  color: var(--gray-900);
  font-weight: 600;
  line-height: 1.4;
}

.single-recent-empty {
  color: var(--gray-500);
}

.single-tags {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eef2f9;
}

.single-tags h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--gray-900);
}

.single-tags .tag-cloud {
  gap: 10px;
}

.single-tags .tag-cloud a,
.single-tags .tag-cloud span {
  background: #f1f4fb;
  color: #6b7a90;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.single-nav {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eef2f9;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  font-size: 13px;
  color: var(--gray-700);
}

.single-nav a {
  color: var(--blue-700);
}

.single-nav-item {
  background: #f3f6ff;
  border: 1px solid #e6ecff;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.single-nav-item a {
  color: var(--blue-700);
  font-weight: 600;
  display: grid;
  gap: 4px;
}

.single-nav-prev::before,
.single-nav-next::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dfe6ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  font-size: 14px;
  flex-shrink: 0;
}

.single-nav-prev::before {
  content: "←";
}

.single-nav-next::after {
  content: "→";
}

.nav-label {
  font-size: 11px;
  color: #9aa5b1;
}

.nav-title {
  font-size: 13px;
  color: var(--gray-900);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card,
.form-card,
.statement-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-list span {
  background: var(--blue-200);
  color: var(--blue-900);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

form input,
form textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-family: inherit;
}

.statement-card ul {
  margin: 0 0 18px 18px;
  color: var(--gray-500);
}

.docs-page {
  background: #f2f6ff;
}

.docs-hero {
  padding: 60px 0 40px;
  background: #e8f0ff;
}

.docs-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.docs-hero-text h1 {
  margin: 0 0 12px;
  font-size: 30px;
}

.docs-hero-text p {
  margin: 0 0 18px;
  color: var(--gray-500);
}

.docs-hero-media img {
  width: min(520px, 100%);
  margin-left: auto;
}

.docs-section {
  padding: 40px 0 10px;
  background: #fff;
}

.docs-flow {
  background: #fff;
  padding: 20px 0 80px;
}

.docs-block {
  padding: 30px 0 50px;
  border-top: 1px solid #f1f2f5;
}

.docs-block:first-of-type {
  border-top: none;
}

.docs-number {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 24px;
}

.docs-number span {
  font-size: 48px;
  font-weight: 700;
  color: #d9d9d9;
}

.docs-number h3 {
  margin: 0;
  font-size: 22px;
}

.docs-block-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.docs-block--alt .docs-block-content {
  grid-template-columns: 1fr 1.1fr;
}

.docs-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.docs-card img {
  width: 100%;
  border-radius: var(--radius-md);
}

.docs-orbit {
  position: relative;
  min-height: 320px;
  padding: 20px 10px 20px 40px;
}

.docs-orbit-bg {
  position: absolute;
  inset: 0;
  background: url("./assets/images/docs-orbit.svg") center / contain no-repeat;
  opacity: 0.8;
}

.docs-orbit-item {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
}

.docs-orbit-item img {
  width: 56px;
  height: 56px;
}

.docs-orbit-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.docs-orbit-item p {
  margin: 0;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.6;
}

.docs-orbit--text {
  min-height: 0;
  padding-left: 0;
}

.docs-text-list {
  margin-top: 12px;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.8;
}

.docs-text-list ul {
  margin: 10px 0 0 18px;
}

.download-page {
  background: #f2f6ff;
}

.download-hero {
  padding: 60px 0 40px;
  background: #e8f0ff;
}

.download-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.download-hero-text h1 {
  margin: 0 0 12px;
  font-size: 30px;
}

.download-hero-text p {
  margin: 0 0 18px;
  color: var(--gray-500);
}

.download-hero-media img {
  width: min(520px, 100%);
  margin-left: auto;
}

.download-section {
  padding: 40px 0 80px;
  background: #fff;
}

.download-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.download-card {
  background: url("./assets/images/download-card-bg.svg") center / cover no-repeat;
  border-radius: 16px;
  min-height: 260px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  color: #1f3a6d;
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.download-card-header {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
}

.download-card-header img {
  width: 40px;
  height: 40px;
}

.download-card-title {
  font-weight: 600;
  font-size: 18px;
}

.download-card-sub {
  margin-top: 10px;
  color: #5b6f95;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-700);
  color: var(--white);
  border-radius: 18px;
  padding: 8px 18px;
  font-size: 12px;
  width: 86px;
  box-shadow: 0 10px 16px rgba(47, 107, 255, 0.25);
}

.download-faq {
  padding: 30px 0 90px;
  background: #f2f6ff;
}

.faq-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.faq-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid #eef2f9;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  float: right;
  color: var(--blue-700);
  font-weight: 700;
}

.faq-card[open] summary::after {
  content: "−";
}

.faq-card p,
.faq-card ul {
  margin: 12px 0 0;
  color: var(--gray-500);
  line-height: 1.7;
}

.faq-card ul {
  padding-left: 18px;
}

.pricing-page {
  background: #eef5ff;
}

.pricing-hero {
  padding: 70px 0 40px;
  background: #e7f0ff;
}

.pricing-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pricing-hero-text h1 {
  margin: 0 0 12px;
  font-size: 32px;
}

.pricing-hero-text p {
  margin: 0 0 20px;
  color: var(--gray-500);
}

.pricing-hero-media img {
  width: min(520px, 100%);
  margin-left: auto;
}

.pricing-section {
  padding: 50px 0 70px;
}

.pricing-block {
  margin-top: 40px;
}

.pricing-subtitle {
  font-size: 16px;
  margin: 0 0 18px;
  color: var(--gray-700);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pricing-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid #e7ecf5;
}

.plan-head {
  background: linear-gradient(90deg, #3b7dff, #4d8bff);
  color: var(--white);
  padding: 14px 16px 12px;
  font-weight: 600;
  font-size: 15px;
  display: grid;
  gap: 6px;
  min-height: 64px;
}

.plan-title {
  font-size: 15px;
}

.plan-desc {
  font-size: 11px;
  opacity: 0.9;
}

.plan-card--blue .plan-head {
  background: linear-gradient(90deg, #2f6bff, #4d8bff);
}

.plan-card--orange .plan-head {
  background: linear-gradient(90deg, #ff8b3d, #ffb35f);
}

.plan-card--purple .plan-head {
  background: linear-gradient(90deg, #6a6cff, #8c8fff);
}

.plan-card--ai .plan-head {
  background: linear-gradient(90deg, #2476ff, #00a0ff);
}

.plan-card--monthly .plan-head {
  background: linear-gradient(90deg, #2f6bff, #3e82ff);
}

.plan-card--monthly-strong .plan-head {
  background: linear-gradient(90deg, #1f6bd8, #4090ff);
}

.plan-body {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.plan-row {
  display: flex;
  justify-content: space-between;
  color: var(--gray-700);
  font-size: 13px;
}

.price-highlight {
  color: #e04b3f;
  font-weight: 700;
}

.plan-meta {
  display: grid;
  gap: 6px;
  color: #2c8b5a;
  font-size: 12px;
}

.plan-meta--warn {
  color: #d9534f;
}

.tag-ok,
.tag-warn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    justify-self: center;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-orbit-inner {
    grid-template-columns: 1fr;
  }

  .functions-grid--layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "account"
      "app"
      "auto"
      "channel"
      "multi"
      "db"
      "group"
      "more";
  }

  .carousel {
    grid-template-columns: 1fr;
  }

  .latest-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .docs-grid,
  .download-grid,
  .steps-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .news-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .news-hero-media img {
    margin: 0 auto;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-item--featured {
    grid-template-columns: 1fr;
  }

  .single-layout {
    grid-template-columns: 1fr;
  }

  .pricing-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pricing-hero-media img {
    margin: 0 auto;
  }

  .pricing-cards,
  .pricing-cards--two {
    grid-template-columns: 1fr;
  }

  .docs-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .docs-hero-media img {
    margin: 0 auto;
  }

  .docs-block-content,
  .docs-block--alt .docs-block-content {
    grid-template-columns: 1fr;
  }

  .docs-orbit {
    min-height: 0;
    padding-left: 0;
  }

  .download-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-hero-media img {
    margin: 0 auto;
  }

  .download-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .brand {
    font-size: 18px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    font-size: 13px;
  }

  .lang-pill {
    font-size: 12px;
    padding: 4px 10px;
  }

  .hero {
    padding: 48px 0 30px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 14px;
  }

  .btn-primary {
    padding: 10px 22px;
    font-size: 14px;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 14px 10px;
  }

  .stat-item h3 {
    font-size: 18px;
  }

  .feature-center img {
    width: 100%;
  }

  .carousel-card {
    min-height: auto;
  }

  .banner {
    font-size: 18px;
    padding: 28px 0;
  }

  .latest-posts-grid {
    grid-template-columns: 1fr;
  }

  .latest-post-thumb img {
    height: 150px;
  }
}
