/*
Theme Name: FluxTunnel Theme
Theme URI: https://example.com/fluxtunnel
Author: FluxTunnel
Author URI: https://example.com
Description: 基于 FluxTunnel 静态页面改造的 WordPress 主题。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: fluxtunnel
*/

:root {
  --bg: #070b1d;
  --bg-soft: #0d1430;
  --text: #eef2ff;
  --muted: #adb7d6;
  --primary: #5b8cff;
  --primary-2: #28d6ff;
  --card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] {
  --bg: #eef4ff;
  --bg-soft: #dfe9ff;
  --text: #18274a;
  --muted: #51638d;
  --card: rgba(255, 255, 255, 0.86);
  --border: rgba(70, 106, 173, 0.25);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% -20%, #203067 0%, var(--bg) 46%);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.25s ease;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

#main_home .section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}

.section {
  padding: 65px 0;
  position: relative;
  z-index: 1;
}

.article-section {
  padding-top: 45px;
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 82%);
}

#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(72px);
  z-index: 0;
  pointer-events: none;
  animation: floatGlow 12s ease-in-out infinite;
}

.bg-glow-1 {
  width: 360px;
  height: 360px;
  left: -80px;
  top: 110px;
  background: rgba(91, 140, 255, 0.45);
}

.bg-glow-2 {
  width: 300px;
  height: 300px;
  right: -90px;
  top: 320px;
  background: rgba(40, 214, 255, 0.35);
  animation-delay: -5s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(7, 11, 29, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 12px var(--primary);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover {
  color: #ffffff;
}

.tool-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tool-btn {
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.tool-actions .mobile-menu-btn {
  display: none;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 13px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.09);
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 24px rgba(53, 117, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(53, 117, 255, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

body[data-theme="light"] {
  background: radial-gradient(circle at 10% -20%, #bfd2f9 0%, #f3f7ff 48%, #ebf2ff 100%);
}

[data-theme="light"] .site-header {
  background: rgba(244, 248, 255, 0.84);
  border-bottom: 1px solid rgba(89, 129, 201, 0.2);
  box-shadow: 0 10px 22px rgba(88, 126, 189, 0.1);
}

[data-theme="light"] .nav-links a:hover {
  color: #1a2c56;
}

[data-theme="light"] .btn-ghost {
  color: #2c3b67;
  background: rgba(89, 129, 201, 0.14);
}

[data-theme="light"] .btn-outline {
  color: #2e3c65;
  border-color: rgba(62, 99, 170, 0.35);
}

[data-theme="light"] .btn-primary {
  box-shadow: 0 10px 24px rgba(76, 124, 210, 0.32);
}

[data-theme="light"] .badge {
  color: #2b4a72;
  background: rgba(91, 140, 255, 0.16);
  border-color: rgba(91, 140, 255, 0.32);
}

[data-theme="light"] h1 span {
  background: linear-gradient(120deg, #1a2f58, #2a67be);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(80, 118, 188, 0.28);
  box-shadow: 0 18px 36px rgba(95, 133, 196, 0.2);
}

[data-theme="light"] .card-top {
  color: #234672;
}

[data-theme="light"] .speed-circle {
  background: radial-gradient(circle at 45% 32%, #d8e8ff, #c4dbff 72%);
  border: 2px solid rgba(105, 149, 223, 0.48);
  box-shadow: inset 0 0 20px rgba(111, 158, 238, 0.24);
}

[data-theme="light"] .speed-circle span {
  color: #17345f;
}

[data-theme="light"] .speed-circle small {
  color: #4c648e;
}

[data-theme="light"] .glass-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .scenario-card,
[data-theme="light"] .plan-card,
[data-theme="light"] .step-item,
[data-theme="light"] .perf-panel,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .post-card,
[data-theme="light"] .article-content,
[data-theme="light"] .article-toc,
[data-theme="light"] .download-card,
[data-theme="light"] .security-box,
[data-theme="light"] .faq-item,
[data-theme="light"] .cta,
[data-theme="light"] .stat {
  box-shadow: 0 12px 32px rgba(112, 146, 210, 0.15);
}

[data-theme="light"] .perf-tags span {
  color: #194069;
}

[data-theme="light"] .platform-list span {
  color: #194069;
}

[data-theme="light"] .logo-wall span {
  color: #2a4970;
}

[data-theme="light"] .post-tag {
  color: #1d436a;
  background: rgba(69, 162, 255, 0.16);
  border-color: rgba(69, 162, 255, 0.36);
}


.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 46px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(91, 140, 255, 0.2);
  border: 1px solid rgba(91, 140, 255, 0.34);
  color: #dce7ff;
  font-size: 13px;
}

h1 {
  font-size: clamp(40px, 6vw, 45px);
  line-height: 1.1;
  margin: 16px 0;
}

h1 span {
  display: block;
  background: linear-gradient(120deg, #c5dbff, #66ebff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  color: var(--muted);
  line-height: 1.8;
  max-width: 630px;
}

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

.stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
}

.stat h3 {
  margin: 0;
  font-size: 26px;
}

.stat p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.glass-card {
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d7e8ff;
  font-size: 14px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #39ffbe;
  box-shadow: 0 0 16px #39ffbe;
  animation: pulse 1.8s infinite;
}

.speed-wrap {
  margin: 20px 0 24px;
  display: flex;
  justify-content: center;
}

.speed-circle {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 45% 32%, #223b8f, #0a143a 72%);
  border: 2px solid rgba(133, 195, 255, 0.4);
  box-shadow: inset 0 0 24px rgba(74, 140, 255, 0.4);
  text-align: center;
}

.speed-circle span {
  display: block;
  font-size: 40px;
  font-weight: 800;
}

.speed-circle small {
  color: #a9b7dc;
}

.speed-bars {
  display: grid;
  gap: 10px;
}

.bar {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #59b7ff, #45ffd0);
  animation: pulseWidth 2.2s ease-in-out infinite;
}

.section-title {
  margin: 0 0 24px;
  font-size: 34px;
}

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

.scenario-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 22px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.scenario-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 177, 255, 0.66);
}

.scenario-card h3 {
  margin: 0;
}

.scenario-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 24px;
  transition: transform 0.26s ease, border-color 0.26s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 177, 255, 0.66);
}

.feature-card h3 {
  margin: 0;
  font-size: 22px;
}

.feature-icon,
.scenario-icon {
  font-size: 22px;
  color: #7ec0ff;
  margin-bottom: 10px;
}

[data-theme="light"] .feature-icon,
[data-theme="light"] .scenario-icon {
  color: #3f75bf;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.72;
}

.performance {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.03));
}

.perf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.perf-text h2 {
  margin: 0;
  font-size: 34px;
}

.perf-text p {
  color: var(--muted);
  line-height: 1.8;
}

.perf-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 22px;
}

.line-chart {
  position: relative;
  height: 220px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.2), rgba(91, 140, 255, 0.02));
  overflow: hidden;
}

.line {
  position: absolute;
  inset: 30px 14px 18px;
  background: linear-gradient(110deg, transparent 10%, rgba(148, 227, 255, 0.9) 34%, transparent 50%),
    linear-gradient(180deg, rgba(72, 158, 255, 0.6), rgba(72, 158, 255, 0.04));
  clip-path: polygon(0% 72%, 14% 70%, 26% 58%, 38% 62%, 51% 44%, 61% 40%, 72% 32%, 85% 20%, 100% 10%, 100% 100%, 0% 100%);
  animation: drift 4.2s ease-in-out infinite;
}

.perf-tags {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.perf-tags span {
  font-size: 12px;
  color: #dcf4ff;
  background: rgba(40, 214, 255, 0.18);
  border: 1px solid rgba(40, 214, 255, 0.4);
  padding: 5px 10px;
  border-radius: 999px;
}

.plans {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.025));
}

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

.plan-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 24px;
}

.plan-card-highlight {
  border-color: rgba(95, 163, 255, 0.72);
  box-shadow: 0 12px 30px rgba(62, 116, 224, 0.28);
}

.plan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  background: rgba(91, 140, 255, 0.26);
  border: 1px solid rgba(116, 173, 255, 0.52);
  border-radius: 999px;
  padding: 4px 10px;
}

.plan-name {
  color: var(--muted);
  margin: 0;
}

.plan-card h3 {
  margin: 8px 0 14px;
  font-size: 34px;
}

.plan-list {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

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

.step-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 20px;
}

.step-item span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: rgba(91, 140, 255, 0.26);
  border: 1px solid rgba(91, 140, 255, 0.38);
}

.step-item span i {
  font-size: 15px;
}

.step-item h3 {
  margin: 14px 0 8px;
}

.step-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.security-box,
.cta {
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  padding: 40px 20px;
}

.security-box p,
.cta p {
  color: var(--muted);
}

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

.testimonial-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 20px;
}

.quote-icon {
  color: #76b6ff;
  font-size: 20px;
  margin-bottom: 6px;
}

.testimonial-card p {
  margin: 0 0 14px;
  line-height: 1.75;
  color: var(--text);
}

.testimonial-user strong {
  display: block;
  font-size: 14px;
}

.testimonial-user span {
  color: var(--muted);
  font-size: 13px;
}

.sub-title {
  margin: 34px 0 14px;
  color: var(--muted);
  font-size: 18px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.logo-wall span {
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  border: 1px dashed rgba(155, 189, 255, 0.36);
  color: #dbe9ff;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 12px;
}

.updates {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.03));
}

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

.post-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 20px;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  border-radius: 999px;
  padding: 4px 10px;
  color: #d8f3ff;
  background: rgba(40, 214, 255, 0.2);
  border: 1px solid rgba(40, 214, 255, 0.45);
}

.post-card h3 {
  margin: 14px 0 10px;
  font-size: 20px;
}

.post-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.post-card a {
  color: #8cc4ff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-hero {
  padding-bottom: 30px;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.archive-search {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.archive-search input {
  flex: 1;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

.archive-search input:focus {
  border-color: rgba(91, 140, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.18);
}

.archive-search input::placeholder {
  color: var(--muted);
}

.archive-category {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 20px;
}

.archive-category h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.archive-category ul {
  margin: 0;
  padding-left: 20px;
}

.archive-category li + li {
  margin-top: 8px;
}

.archive-category a {
  color: #8cc4ff;
  text-decoration: none;
}

.archive-category a:hover {
  text-decoration: underline;
}

.article-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 18px;
}

.article-content,
.article-toc,
.download-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
}

.article-content {
  padding: 24px;
}

.article-content h2 {
  margin: 0 0 10px;
}

.article-content p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.article-sidebar {
  align-self: start;
}

.article-toc {
  padding: 20px;
}

.article-toc h3 {
  margin-top: 0;
}

.article-toc a {
  display: block;
  color: #93beff;
  text-decoration: none;
  margin: 10px 0;
}

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

.download-card {
  padding: 22px;
  text-align: center;
}

.download-card i {
  font-size: 24px;
  color: #73bcff;
}

.download-card p {
  color: var(--muted);
}


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

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 14px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.platform-list {
  margin: 14px 0 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-list span {
  font-size: 12px;
  color: #dcf4ff;
  background: rgba(40, 214, 255, 0.18);
  border: 1px solid rgba(40, 214, 255, 0.4);
  border-radius: 999px;
  padding: 5px 10px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-wrap p,
.footer-wrap a {
  color: #9eb0db;
  text-decoration: none;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-18px) translateX(10px) scale(1.05);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.24);
    opacity: 0.55;
  }
}

@keyframes pulseWidth {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.25);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateX(-3%);
  }
  50% {
    transform: translateX(3%);
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(9, 16, 40, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    z-index: 30;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nav-wrap {
    position: relative;
  }

  .nav-links a {
    padding: 9px 10px;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  [data-theme="light"] .nav-links {
    background: rgba(248, 251, 255, 0.98);
    border-color: rgba(89, 129, 201, 0.25);
  }

  [data-theme="light"] .nav-links a:hover {
    background: rgba(89, 129, 201, 0.12);
  }

  .nav-links.is-open {
    display: grid;
  }

  .tool-actions {
    gap: 6px;
    margin-left: auto;
  }

  .nav-tool-btn {
    min-width: 36px;
    height: 34px;
    padding: 0 8px;
    border-radius: 10px;
  }

  .nav-tool-btn .btn-label {
    display: none;
  }

  #langToggle .btn-label {
    display: inline;
    font-size: 12px;
  }

  .tool-actions .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .perf-grid,
  .features,
  .scenarios,
  .plan-grid,
  .steps,
  .updates-grid,
  .testimonial-grid,
  .archive-grid,
  .article-layout,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-wrap {
    flex-direction: column;
  }

  .section {
    padding: 70px 0;
  }

  .archive-search {
    flex-direction: column;
    align-items: stretch;
  }

  .archive-search .btn {
    width: 100%;
  }
}
