.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.font-plus-jakarta,
.font-headline {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.font-body {
  font-family:
    "Inter",
    "Avenir Next",
    "SF Pro Text",
    "PingFang SC",
    "Hiragino Sans GB",
    "Noto Sans SC",
    "Microsoft YaHei",
    sans-serif;
}

.font-script {
  font-family: "Long Cang", "Ma Shan Zheng", "STKaiti", "KaiTi", cursive;
}

html,
body {
  min-height: 100%;
}

html {
  scrollbar-gutter: stable;
}

body.theme-root {
  margin: 0;
  background: #f7f9fb;
  color: #191c1e;
  overflow-x: hidden;
  line-height: 1.5;
  transition: background-color 280ms ease, color 280ms ease;
}

.site-nav .brand-wordmark,
.site-nav .nav-link,
.site-nav .nav-cta {
  font-family:
    "SF Pro Text",
    "SF Pro Display",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Noto Sans SC",
    "Avenir Next",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

html.theme-dark body.theme-root {
  background: #050810;
  color: #cbd5e1;
}

.site-nav {
  background: rgba(255, 255, 255, 0.8);
  border-color: #f1f5f9;
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  height: 4rem;
  margin-inline: auto;
  padding-inline: 2rem;
}

.site-nav-brand {
  display: flex;
  align-items: center;
}

.site-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

html.theme-dark .site-nav {
  background: rgba(5, 8, 16, 0.8);
  border-color: rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .site-nav-links {
    display: flex;
  }
}

.brand-logo-shell {
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.site-nav .brand-logo-shell {
  width: 2.5rem;
  height: 2.5rem;
}

html.theme-dark .brand-logo-shell {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0f172a;
}

.brand-wordmark {
  margin-left: 1rem;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  line-height: 1.75rem;
  letter-spacing: -0.02em !important;
  background: linear-gradient(to bottom right, #0284c7, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.theme-dark .brand-wordmark {
  background: linear-gradient(to bottom right, #38bdf8, #bae6fd);
  -webkit-background-clip: text;
  background-clip: text;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1.25rem;
  letter-spacing: -0.02em !important;
  color: #475569;
}

.nav-link:hover {
  color: #0ea5e9;
}

.nav-link-active {
  color: #0284c7;
  border-bottom: 2px solid #0284c7;
}

html.theme-dark .nav-link {
  color: #94a3b8;
}

html.theme-dark .nav-link:hover {
  color: #7dd3fc;
}

html.theme-dark .nav-link-active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  min-width: 1.5rem;
  height: 1.5rem;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
}

.theme-toggle:hover {
  color: #0f172a;
  opacity: 0.8;
}

html.theme-dark .theme-toggle {
  color: #94a3b8;
}

html.theme-dark .theme-toggle:hover {
  color: #38bdf8;
  opacity: 1;
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1.25rem;
  background: #006591;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.nav-cta:hover {
  opacity: 0.92;
}

html.theme-dark .nav-cta {
  background: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(14, 165, 233, 0.2);
}

html.theme-dark .nav-cta:hover {
  background: #38bdf8;
  opacity: 1;
}

.hero-section {
  background: #ffffff;
}

html.theme-dark .hero-section {
  background: #050810;
}

.hero-glow-a,
.hero-glow-b {
  opacity: 0.6;
}

.hero-glow-a {
  background: #f0f9ff;
}

.hero-glow-b {
  background: #eff6ff;
}

html.theme-dark .hero-glow-a {
  background: rgba(12, 74, 110, 0.2);
  opacity: 0.4;
}

html.theme-dark .hero-glow-b {
  background: rgba(30, 64, 175, 0.2);
  opacity: 0.4;
}

.hero-badge {
  background: #f1f5f9;
  color: #475569;
}

html.theme-dark .hero-badge {
  background: #0f172a;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-subtitle {
  color: #94a3b8;
  opacity: 0;
}

.brand-subtitle.animate-subtitle {
  animation: fade-in-up 0.8s ease-out forwards;
}

html.theme-dark .brand-subtitle {
  color: #64748b;
}

.hero-main-title {
  color: #191c1e;
}

.hero-main-highlight {
  color: #006591;
}

html.theme-dark .hero-main-title {
  color: #ffffff;
}

html.theme-dark .hero-main-highlight {
  color: #38bdf8;
}

.hero-description {
  color: #64748b;
}

html.theme-dark .hero-description {
  color: #94a3b8;
}

.tool-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
}

.tool-card:hover {
  border-color: #bae6fd;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
}

.tool-icon-shell {
  background: #f0f9ff;
}

.tool-icon {
  color: #0284c7;
}

.tool-card-title {
  color: #191c1e;
}

.tool-card-description {
  color: #64748b;
}

.tool-card-link {
  color: #006591;
}

html.theme-dark .tool-card {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

html.theme-dark .tool-card:hover {
  border-color: rgba(56, 189, 248, 0.2);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: none;
}

html.theme-dark .tool-icon-shell {
  background: rgba(14, 165, 233, 0.1);
}

html.theme-dark .tool-icon {
  color: #38bdf8;
}

html.theme-dark .tool-card-title {
  color: #ffffff;
}

html.theme-dark .tool-card-description {
  color: #94a3b8;
}

html.theme-dark .tool-card-link {
  color: #38bdf8;
}

.advantages-section {
  background: rgba(248, 250, 252, 0.5);
}

html.theme-dark .advantages-section {
  background: rgba(15, 23, 42, 0.3);
}

.section-kicker {
  color: #006591;
}

.section-title {
  color: #0f172a;
}

.section-title-spacious {
  line-height: 1.16;
}

.section-title-line {
  display: block;
}

.section-title-line + .section-title-line {
  margin-top: 0.2016em;
}

.section-description {
  color: #64748b;
}

.section-rule {
  background: #006591;
}

html.theme-dark .section-kicker {
  color: #38bdf8;
}

html.theme-dark .section-title {
  color: #ffffff;
}

html.theme-dark .section-description {
  color: #94a3b8;
}

html.theme-dark .section-rule {
  background: #0ea5e9;
}

@media (max-width: 768px) {
  .section-title-spacious {
    line-height: 1.14;
  }

  .section-title-line + .section-title-line {
    margin-top: 0.1536em;
  }
}

.advantage-card {
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.75);
}

.advantage-bar {
  background: rgba(56, 189, 248, 0.3);
}

.advantage-card:hover .advantage-bar {
  background: #0ea5e9;
}

.advantage-index {
  color: #cbd5e1;
}

.advantage-card:hover .advantage-index {
  color: #0ea5e9;
}

.advantage-title {
  color: #0f172a;
}

.advantage-copy {
  color: #64748b;
}

html.theme-dark .advantage-card {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.05);
}

html.theme-dark .advantage-bar {
  background: rgba(56, 189, 248, 0.2);
}

html.theme-dark .advantage-card:hover .advantage-bar {
  background: #0ea5e9;
}

html.theme-dark .advantage-index {
  color: #334155;
}

html.theme-dark .advantage-card:hover .advantage-index {
  color: #38bdf8;
}

html.theme-dark .advantage-title {
  color: #ffffff;
}

html.theme-dark .advantage-copy {
  color: #94a3b8;
}

.essence-section {
  background: rgba(248, 250, 252, 0.5);
  color: #0f172a;
}

html.theme-dark .essence-section {
  background: rgba(15, 23, 42, 0.3);
  color: #ffffff;
}

.efficiency-pattern {
  opacity: 0.2;
  background-image: radial-gradient(#cbd5e1 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to right, transparent, black 50%, transparent);
}

html.theme-dark .efficiency-pattern {
  opacity: 0.1;
  background-image: radial-gradient(#1e293b 0.5px, transparent 0.5px);
}

.orbital-ring-a {
  border: 1px solid rgba(203, 213, 225, 0.5);
}

.orbital-ring-b {
  border: 1px solid rgba(241, 245, 249, 0.3);
}

html.theme-dark .orbital-ring-a {
  border-color: rgba(255, 255, 255, 0.1);
}

html.theme-dark .orbital-ring-b {
  border-color: rgba(255, 255, 255, 0.05);
}

.orbital-dot-primary {
  background: #38bdf8;
}

.orbital-dot-secondary {
  background: #cbd5e1;
}

html.theme-dark .orbital-dot-secondary {
  background: #475569;
}

.orbital-center-glow {
  background: rgba(186, 230, 253, 0.2);
}

html.theme-dark .orbital-center-glow {
  background: rgba(14, 165, 233, 0.1);
}

.orbital-note {
  color: #cbd5e1;
}

html.theme-dark .orbital-note {
  color: #475569;
}

.essence-description {
  color: #475569;
}

.essence-item-title {
  color: #1e293b;
}

.essence-bullet {
  color: #0ea5e9;
}

.essence-item-copy {
  color: #64748b;
}

.essence-note {
  color: rgba(0, 101, 145, 0.8);
  border-top: 1px solid #e2e8f0;
}

html.theme-dark .essence-description {
  color: #94a3b8;
}

html.theme-dark .essence-item-title {
  color: #e2e8f0;
}

html.theme-dark .essence-bullet {
  color: #38bdf8;
}

html.theme-dark .essence-item-copy {
  color: #64748b;
}

html.theme-dark .essence-note {
  color: rgba(56, 189, 248, 0.8);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.quote-card {
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.footer-brand {
  color: #0f172a;
}

.footer-link {
  color: #64748b;
}

.footer-link:hover {
  color: #0ea5e9;
}

.footer-meta {
  color: #94a3b8;
  border-top: 1px solid #f8fafc;
}

.footer-meta a:hover {
  color: #475569;
}

html.theme-dark .site-footer {
  background: #050810;
  border-top-color: rgba(255, 255, 255, 0.05);
}

html.theme-dark .footer-brand {
  color: #ffffff;
}

html.theme-dark .footer-link {
  color: #94a3b8;
}

html.theme-dark .footer-link:hover {
  color: #7dd3fc;
}

html.theme-dark .footer-meta {
  color: #64748b;
  border-top-color: rgba(255, 255, 255, 0.05);
}

html.theme-dark .footer-meta a:hover {
  color: #cbd5e1;
}

@keyframes particle-assembly {
  0% {
    opacity: 0;
    filter: blur(15px);
    transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(2);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate(0, 0) scale(1);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer-sweep {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.particle-letter {
  display: inline-block;
  opacity: 0;
  background: linear-gradient(135deg, #0f172a 0%, #334155 25%, #94a3b8 50%, #334155 75%, #0f172a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.theme-dark .particle-letter {
  background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 25%, #38bdf8 50%, #94a3b8 75%, #f8fafc 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
}

.sweep-container {
  position: relative;
  display: inline-block;
  overflow: visible;
}

.sweep-container.animate-now .particle-letter {
  animation:
    particle-assembly 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards,
    shimmer-sweep 6s linear infinite 1.5s;
}

.particle-letter:nth-child(1) {
  --x: -120;
  --y: 80;
}

.particle-letter:nth-child(2) {
  --x: 40;
  --y: -150;
}

.particle-letter:nth-child(3) {
  --x: -200;
  --y: -30;
}

.particle-letter:nth-child(4) {
  --x: 150;
  --y: 120;
}

.particle-letter:nth-child(5) {
  --x: -80;
  --y: -180;
}

.particle-letter:nth-child(6) {
  --x: 220;
  --y: -60;
}

.particle-letter:nth-child(7) {
  --x: -30;
  --y: 200;
}

.particle-letter:nth-child(8) {
  --x: 180;
  --y: 50;
}

.sweep-container.animate-now .particle-letter:nth-child(1) {
  animation-delay: 0.05s, 1.5s;
}

.sweep-container.animate-now .particle-letter:nth-child(2) {
  animation-delay: 0.1s, 1.55s;
}

.sweep-container.animate-now .particle-letter:nth-child(3) {
  animation-delay: 0.15s, 1.6s;
}

.sweep-container.animate-now .particle-letter:nth-child(4) {
  animation-delay: 0.2s, 1.65s;
}

.sweep-container.animate-now .particle-letter:nth-child(5) {
  animation-delay: 0.25s, 1.7s;
}

.sweep-container.animate-now .particle-letter:nth-child(6) {
  animation-delay: 0.3s, 1.75s;
}

.sweep-container.animate-now .particle-letter:nth-child(7) {
  animation-delay: 0.35s, 1.8s;
}

.sweep-container.animate-now .particle-letter:nth-child(8) {
  animation-delay: 0.4s, 1.85s;
}

@keyframes float-gentle {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

.quiet-sphere {
  animation: float-gentle 6s infinite ease-in-out;
  background: radial-gradient(circle at 30% 30%, #e0f2fe, #7dd3fc);
  filter: blur(40px);
  opacity: 0.4;
}

html.theme-dark .quiet-sphere {
  background: radial-gradient(circle at 30% 30%, #0c4a6e, #0369a1);
  opacity: 0.3;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes shooting-star {
  0% {
    transform: translateX(0) translateY(0) rotate(315deg);
    opacity: 0;
    width: 0;
  }
  10% {
    opacity: 1;
    width: 120px;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateX(-1000px) translateY(1000px) rotate(315deg);
    opacity: 0;
    width: 0;
  }
}

@keyframes text-shimmer {
  0%,
  100% {
    opacity: 0.7;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  }
}

.star {
  position: absolute;
  background: white;
  border-radius: 999px;
  opacity: 0.5;
  animation: twinkle 3s infinite ease-in-out;
}

.shooting-star {
  position: absolute;
  height: 1.5px;
  background: linear-gradient(90deg, white, transparent);
  animation: shooting-star 2.5s linear forwards;
  opacity: 0;
  pointer-events: none;
  border-radius: 2px;
}

.quote-script {
  color: rgba(241, 245, 249, 0.9);
  font-family: "Long Cang", "Ma Shan Zheng", "STKaiti", "KaiTi", cursive;
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 2.05;
  animation: text-shimmer 4s infinite ease-in-out;
  font-size: 1.45rem;
  text-shadow: 0 0 18px rgba(241, 245, 249, 0.08);
}

@media (max-width: 768px) {
  .quote-script {
    font-size: 1.18rem;
    line-height: 1.9;
  }
}
