/* ========================================================================
   Spiritort 斯伯芮拓 - 主样式
   风格: 苹果极简 / 蓝白 / 圆角 / 磨砂玻璃 / 渐变光影
   ======================================================================== */

/* ---------- CSS 变量 - 浅色主题 ---------- */
:root {
  /* 颜色 */
  --c-bg: #ffffff;
  --c-bg-soft: #f7faff;
  --c-text: #0a1628;
  --c-text-soft: #4a5568;
  --c-text-mute: #8a94a6;
  --c-primary: #2b7fff;
  --c-primary-soft: #e8f1ff;
  --c-primary-deep: #1e5dd8;
  --c-border: rgba(43, 127, 255, 0.08);
  --c-border-soft: rgba(10, 22, 40, 0.06);
  --c-card: rgba(255, 255, 255, 0.9);
  --c-card-soft: rgba(247, 250, 255, 0.6);

  /* 渐变 */
  --g-hero: linear-gradient(180deg, #ffffff 0%, #eaf2ff 60%, #d6e6ff 100%);
  --g-card: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(232,241,255,0.7) 100%);
  --g-button: linear-gradient(135deg, #4a8cff 0%, #2b7fff 100%);
  --g-glow: radial-gradient(circle at 30% 0%, rgba(74, 140, 255, 0.18) 0%, transparent 50%);

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* 阴影 */
  --sh-soft: 0 4px 24px rgba(43, 127, 255, 0.06);
  --sh-card: 0 8px 40px rgba(43, 127, 255, 0.08);
  --sh-button: 0 6px 20px rgba(43, 127, 255, 0.25);

  /* 字体 */
  --ff-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
             "Helvetica Neue", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;

  /* 间距 */
  --container: 1200px;
  --section-pad: 120px;
}

/* ---------- CSS 变量 - 暗色主题 ---------- */
[data-theme="dark"] {
  --c-bg: #0a1628;
  --c-bg-soft: #0f1d33;
  --c-text: #e8f1ff;
  --c-text-soft: #b0bdd0;
  --c-text-mute: #6b7a93;
  --c-primary: #4a8cff;
  --c-primary-soft: rgba(74, 140, 255, 0.12);
  --c-primary-deep: #6da9ff;
  --c-border: rgba(74, 140, 255, 0.15);
  --c-border-soft: rgba(232, 241, 255, 0.06);
  --c-card: rgba(20, 32, 53, 0.8);
  --c-card-soft: rgba(15, 29, 51, 0.6);

  --g-hero: linear-gradient(180deg, #0a1628 0%, #0f1d33 60%, #142540 100%);
  --g-card: linear-gradient(135deg, rgba(20, 32, 53, 0.9) 0%, rgba(15, 29, 51, 0.7) 100%);
  --g-button: linear-gradient(135deg, #4a8cff 0%, #2b7fff 100%);
  --g-glow: radial-gradient(circle at 30% 0%, rgba(74, 140, 255, 0.25) 0%, transparent 50%);

  --sh-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
  --sh-card: 0 8px 40px rgba(0, 0, 0, 0.4);
  --sh-button: 0 6px 20px rgba(74, 140, 255, 0.4);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
em { font-style: normal; }
small { font-size: 0.75em; opacity: 0.7; }

/* ---------- 容器 ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- 背景层(柔渐变 + 网格) ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.bg-gradient {
  background: var(--g-hero);
}
.bg-grid {
  background-image:
    linear-gradient(rgba(43, 127, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 127, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--c-border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.brand-logo { height: 44px; width: auto; }
.brand-text-fallback { display: none; }
.brand-text-fallback em { color: var(--c-primary); margin: 0 2px; }
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  color: var(--c-text-soft);
}
.nav-links a {
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--c-primary); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--c-primary);
  transition: all 0.3s;
  transform: translateX(-50%);
}
.nav-links a:hover::after { width: 100%; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--g-button);
  color: #fff;
  box-shadow: var(--sh-button);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(43, 127, 255, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn-ghost:hover {
  background: var(--c-primary-soft);
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.nav-cta { height: 38px; padding: 0 20px; font-size: 13px; }

/* ---------- Section 通用 ---------- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-head {
  text-align: center;
  margin-bottom: 72px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--c-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-title {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--c-text);
}
.section-desc {
  font-size: 18px;
  color: var(--c-text-soft);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: var(--g-glow);
  filter: blur(60px);
  opacity: 0.6;
  z-index: -1;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}
.hero-title {
  font-size: 88px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--c-text);
}
.hero-title-accent {
  background: linear-gradient(135deg, #4a8cff 0%, #2b7fff 50%, #6da9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-subtitle {
  font-size: 19px;
  color: var(--c-text-soft);
  margin-bottom: 48px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 80px;
}
.hero-poster {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(43, 127, 255, 0.15);
  position: relative;
}
.hero-poster img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-img {
  filter: contrast(1.05) saturate(0.85);
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(74, 140, 255, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(10, 22, 40, 0.3) 100%);
  pointer-events: none;
}

/* ---------- 图片占位 ---------- */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--c-primary-soft) 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px dashed rgba(43, 127, 255, 0.2);
  border-radius: var(--r-lg);
  color: var(--c-text-soft);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 玻璃卡片 ---------- */
.glass {
  background: var(--g-card);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--sh-card);
}

/* ---------- 业务卡片 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  padding: 40px 32px;
  border-radius: var(--r-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(43, 127, 255, 0.15);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--c-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-icon img { width: 32px; height: 32px; }
.card h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--c-text);
}
.card p {
  font-size: 14px;
  color: var(--c-text-soft);
  line-height: 1.6;
}

/* ---------- 产品卡片 ---------- */
.product-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px;
  border-radius: var(--r-xl);
  margin-bottom: 32px;
}
.product-card-reverse { grid-template-columns: 1fr 1.1fr; }
.product-card-reverse .product-media { order: 2; }
.product-card-reverse .product-body { order: 1; }
.product-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-img {
  filter: contrast(1.05) saturate(0.9);
  transition: transform 0.6s ease;
}
.product-card:hover .product-img { transform: scale(1.03); }
.product-img-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(43, 127, 255, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, transparent 70%, rgba(10, 22, 40, 0.2) 100%);
  pointer-events: none;
}
.product-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--c-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.product-name {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--c-text);
}
.product-desc {
  font-size: 16px;
  color: var(--c-text-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}
.product-features {
  margin-bottom: 32px;
}
.product-features li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--c-text-soft);
  margin-bottom: 10px;
  line-height: 1.6;
}
.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  border: 2px solid var(--c-primary);
}

/* ---------- 理念(简洁版) ---------- */
.philosophy-words {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin: 64px 0 32px;
  flex-wrap: wrap;
}
.philosophy-word {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.philosophy-en {
  font-size: 64px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #4a8cff, #2b7fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.philosophy-cn {
  font-size: 14px;
  color: var(--c-text-soft);
  letter-spacing: 0.2em;
  font-weight: 400;
}
.philosophy-divider {
  font-size: 32px;
  color: var(--c-primary);
  font-weight: 200;
  flex-shrink: 0;
}
.philosophy-slogan {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #4a8cff 0%, #2b7fff 50%, #6da9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.philosophy-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  color: var(--c-text-soft);
  line-height: 1.9;
}

/* ---------- About ---------- */
.about {
  background: var(--c-bg-soft);
}
.about-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--c-text-soft);
  line-height: 1.9;
}
.about-body p { margin-bottom: 20px; }
.about-body strong { color: var(--c-text); font-weight: 500; }
.about-body em {
  font-style: normal;
  color: var(--c-primary);
  font-weight: 500;
}

/* ---------- 联系(简洁列表) ---------- */
.contact-list {
  max-width: 720px;
  margin: 0 auto;
  list-style: none;
}
.contact-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-border-soft);
}
.contact-item:last-child { border-bottom: none; }
.contact-label {
  font-size: 13px;
  color: var(--c-text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 84px;
  font-weight: 500;
}
.contact-value {
  font-size: 16px;
  color: var(--c-text);
  font-weight: 400;
  flex: 1;
}
.contact-link {
  color: var(--c-primary);
  transition: opacity 0.2s;
  border-bottom: 1px solid transparent;
}
.contact-link:hover {
  opacity: 0.7;
  border-bottom-color: var(--c-primary);
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--c-border-soft);
  background: var(--c-bg);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.footer-meta {
  font-size: 12px;
  color: var(--c-text-mute);
  letter-spacing: 0.02em;
}
.footer-icp {
  font-size: 13px;
  color: var(--c-text-mute);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-icp a {
  color: var(--c-text-mute);
  transition: color 0.2s;
}
.footer-icp a:hover { color: var(--c-primary); }
.footer-icp-sep {
  color: var(--c-border);
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  :root {
    --section-pad: 80px;
  }
  .nav-links { display: none; }
  .hero { padding: 100px 0 60px; }
  .hero-title { font-size: 56px; }
  .section-title { font-size: 32px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card, .product-card-reverse { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .product-card-reverse .product-media { order: 0; }
  .product-card-reverse .product-body { order: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .philosophy-plus { display: none; }
  .product-name { font-size: 28px; }
}
@media (max-width: 600px) {
  :root {
    --section-pad: 60px;
  }
  .container { padding: 0 20px; }
  .hero-title { font-size: 40px; }
  .section-title { font-size: 26px; }
  .cards-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .philosophy-letter { font-size: 40px; }
  .philosophy-slogan { font-size: 22px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ========================================================================
   新增模块:加载动画 / 暗色切换 / 悬浮按钮 / Stats / FAQ / Contact Form
   ======================================================================== */

/* ---------- 加载动画 ---------- */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--c-primary-soft);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- 主题切换按钮(悬浮) ---------- */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-card);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--c-border-soft);
  box-shadow: var(--sh-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--c-text);
  transition: all 0.3s ease;
  cursor: pointer;
}
.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(43, 127, 255, 0.2);
  color: var(--c-primary);
}
/* 主题图标切换 */
.fab-theme .theme-icon-dark { display: none; }
[data-theme="dark"] .fab-theme .theme-icon-light { display: none; }
[data-theme="dark"] .fab-theme .theme-icon-dark { display: inline; }
.fab-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.fab-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 数据展示 Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 48px 32px;
  border-radius: var(--r-xl);
  text-align: center;
}
.stat {
  position: relative;
  padding: 16px 24px;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--c-border);
}
.stat-number {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #4a8cff, #2b7fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}
.stat-suffix {
  font-size: 24px;
  font-weight: 500;
  color: var(--c-primary);
  margin-left: 2px;
  display: inline-block;
}
.stat-label {
  font-size: 13px;
  color: var(--c-text-soft);
  margin-top: 12px;
  letter-spacing: 0.05em;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item[open] {
  box-shadow: 0 12px 40px rgba(43, 127, 255, 0.12);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-primary); }
.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--c-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 28px 22px;
  color: var(--c-text-soft);
  font-size: 15px;
  line-height: 1.75;
}
.faq-answer p { margin: 0; }

/* ---------- 联系表单 ---------- */
.contact-form {
  max-width: 720px;
  margin: 64px auto 0;
  padding: 48px;
  border-radius: var(--r-xl);
}
.form-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 8px;
}
.form-desc {
  font-size: 14px;
  color: var(--c-text-soft);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.required { color: var(--c-primary); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-sm);
  transition: all 0.2s ease;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ff4d4f;
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.1);
}
.form-counter {
  text-align: right;
  font-size: 12px;
  color: var(--c-text-mute);
  margin-top: 6px;
}
.form-submit {
  width: 100%;
  margin-top: 8px;
  height: 50px;
  font-size: 15px;
}
.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-status {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  min-height: 20px;
}
.form-status.success { color: #10b981; }
.form-status.error { color: #ff4d4f; }
