/* ═══════════════════════════════════════════════════════════
   甜云智能 — Design System
   Based on minimal SaaS aesthetic (indigo accent, zinc grays)
   ═══════════════════════════════════════════════════════════ */

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Theme Variables (Light) ─── */
:root {
  --site-bg: #fafafa;
  --site-bg-elevated: #ffffff;
  --site-bg-subtle: #f4f4f5;
  --site-text: #18181b;
  --site-text-secondary: #52525b;
  --site-text-tertiary: #a1a1aa;
  --site-border: #e4e4e7;
  --nav-bg: rgba(255,255,255,0.82);
  --nav-border: rgba(0,0,0,0.06);
  --card-bg: #ffffff;
  --card-border: #f0f0f0;
  --card-shadow: 0 1px 2px rgba(0,0,0,0.03);
  --card-hover-shadow: 0 6px 16px rgba(0,0,0,0.06);
  --hero-bg: #0a0a0b;
  --footer-bg: #111113;
  --footer-border: #1e1e21;
  --footer-text: #71717a;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-subtle: #eef2ff;
  --accent-glow: rgba(99,102,241,0.18);
  --check-color: #22c55e;
  --table-stripe: #fafafa;
  --table-header-bg: #f8f9fa;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --max-w: 1080px;
  --transition: 0.25s ease;
  /* aliases used in inline styles */
  --site-card: #ffffff;
  --site-accent: #6366f1;
}

/* ─── Base ─── */
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--site-bg);
  color: var(--site-text);
  line-height: 1.6;
  font-size: 15px;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

/* ─── Container ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── Section ─── */
.s-section { padding: 80px 0; }
.s-section-alt { padding: 72px 0; background: var(--site-bg-elevated); }

/* ─── Section header ─── */
.s-label {
  font-size: 13px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px;
}
.s-title {
  font-size: clamp(24px, 4vw, 30px); font-weight: 700; color: var(--site-text);
  margin: 0 0 10px; letter-spacing: -0.01em; line-height: 1.3;
}
.s-subtitle {
  font-size: 16px; color: var(--site-text-secondary); margin: 0; max-width: 560px; line-height: 1.7;
}
.s-header { margin-bottom: 48px; }
.s-header-center { text-align: center; margin-bottom: 48px; }
.s-header-center .s-subtitle { margin-left: auto; margin-right: auto; }

/* ─── Navigation ─── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nav-border);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.06); }

.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}

.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand svg { flex-shrink: 0; }
.nav-brand-text { line-height: 1.15; }
.nav-brand-name { font-weight: 600; font-size: 16px; color: var(--site-text); display: block; }
.nav-brand-tagline { font-size: 10px; color: var(--site-text-tertiary); display: block; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a, .nav-links > li > a {
  background: none; border: none; color: var(--site-text-secondary);
  font-size: 14px; padding: 6px 12px; cursor: pointer; border-radius: 6px;
  transition: color 0.2s, background 0.2s; text-decoration: none; display: block;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--site-text); background: var(--accent-subtle);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a .arrow { font-size: 10px; transition: transform 0.2s; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 180px;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 6px; margin-top: 4px; z-index: 10;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 8px 12px; font-size: 13px; border-radius: 6px;
  color: var(--site-text-secondary);
}
.nav-dropdown-menu a:hover { background: var(--accent-subtle); color: var(--site-text); }

/* Mobile nav */
.nav-hamburger {
  display: none; background: none; border: 1px solid var(--site-border);
  color: var(--site-text-secondary); width: 34px; height: 34px; border-radius: var(--radius-sm);
  cursor: pointer; align-items: center; justify-content: center; font-size: 16px; padding: 0;
}
.nav-mobile-panel {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--nav-bg); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nav-border); padding: 8px 24px 16px;
}
.nav-mobile-panel.open { display: block; }
.nav-mobile-panel a {
  display: block; width: 100%; text-align: left; font-size: 14px; padding: 10px 0;
  color: var(--site-text-secondary); border-bottom: 1px solid var(--site-border);
  text-decoration: none;
}
.nav-mobile-panel a:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-brand-tagline { display: none; }
}

/* ─── Hero ─── */
.s-hero {
  background: radial-gradient(ellipse 70% 50% at 50% -5%, var(--accent-glow), transparent), var(--hero-bg);
  color: #fff; text-align: center; padding: 96px 24px 80px;
}
.s-hero-inner { max-width: 680px; margin: 0 auto; }
.s-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 5px 14px; font-size: 12px; color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.s-hero h1 {
  font-size: clamp(32px, 5vw, 48px); font-weight: 700; line-height: 1.2;
  margin: 0 0 20px; letter-spacing: -0.02em;
}
.s-hero p { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.7); max-width: 550px; margin: 0 auto 36px; }
.s-hero-actions { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 28px; font-size: 15px; font-weight: 600;
  border-radius: 10px; border: none; cursor: pointer;
  background: var(--accent); color: #fff; transition: background 0.2s;
  text-decoration: none; white-space: nowrap;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 28px; font-size: 15px; font-weight: 500;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); cursor: pointer;
  background: transparent; color: rgba(255,255,255,0.7); transition: all 0.2s;
  text-decoration: none; white-space: nowrap;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 20px; font-size: 14px; font-weight: 500;
  border-radius: var(--radius-sm); border: 1px solid var(--site-border); cursor: pointer;
  background: var(--card-bg); color: var(--site-text-secondary); transition: all 0.2s;
  text-decoration: none; white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--accent); transition: gap 0.2s;
  text-decoration: none; border: none; background: none; cursor: pointer; padding: 0;
}
.btn-text:hover { gap: 10px; }

/* ─── Cards ─── */
.s-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--card-shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden; height: 100%;
}
.s-card:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-2px); }
.s-card-body { padding: 24px; }

/* ─── Feature Icon ─── */
.s-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-subtle); display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent); margin-bottom: 14px; flex-shrink: 0;
}
.s-icon-lg {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-subtle); display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--accent); margin-bottom: 16px; flex-shrink: 0;
}

/* ─── Grid ─── */
.s-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.s-grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.s-grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

/* ─── Product card ─── */
.product-card .s-card-body h3 {
  font-size: 16px; font-weight: 600; color: var(--site-text); margin: 0 0 8px;
}
.product-card .s-card-body p {
  font-size: 14px; line-height: 1.7; color: var(--site-text-secondary); margin: 0 0 16px;
}

/* ─── Feature row (text + image side by side) ─── */
.s-feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 40px 0;
}
.s-feature-row.reverse { direction: rtl; }
.s-feature-row.reverse > * { direction: ltr; }
.s-feature-row h3 {
  font-size: 22px; font-weight: 700; color: var(--site-text); margin: 0 0 12px;
}
.s-feature-row p {
  font-size: 15px; line-height: 1.8; color: var(--site-text-secondary); margin: 0 0 20px;
}
.s-feature-row .check-list { list-style: none; padding: 0; margin: 0; }
.s-feature-row .check-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--site-text-secondary); padding: 5px 0;
}
.s-feature-row .check-list li i { color: var(--check-color); font-size: 13px; }
.s-feature-row .feature-img {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--card-border);
}
.s-feature-row .feature-img img { width: 100%; height: auto; }

@media (max-width: 768px) {
  .s-feature-row { grid-template-columns: 1fr; gap: 24px; }
  .s-feature-row.reverse { direction: ltr; }
}

/* ─── Client logos ─── */
.s-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px;
  opacity: 0.6;
}
.s-logos > div { display: flex; align-items: center; }
.s-logos img { height: 36px; width: auto; filter: grayscale(100%); transition: filter 0.3s; }
.s-logos img:hover { filter: grayscale(0); }
.s-logos svg { height: 36px; width: auto; opacity: 0.5; transition: opacity 0.3s; }
.s-logos svg:hover { opacity: 1; }

/* ─── Case card (structured with .case-card wrapper) ─── */
.case-card .s-card-body { padding: 0; }
.case-card .case-img {
  height: 180px; overflow: hidden; background: var(--site-bg-subtle);
}
.case-card .case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card .case-text { padding: 20px 24px; }
.case-card .case-text h3 {
  font-size: 16px; font-weight: 600; color: var(--site-text); margin: 0 0 8px;
}
.case-card .case-text p {
  font-size: 14px; line-height: 1.7; color: var(--site-text-secondary); margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ─── Case card (flat img inside .s-card, e.g. case-study grid) ─── */
#case-grid .s-card { display: flex; flex-direction: column; }
#case-grid .s-card > img {
  width: 100%; height: 200px; object-fit: cover; flex-shrink: 0;
}
#case-grid .s-card > h3 {
  font-size: 16px; font-weight: 600; color: var(--site-text); margin: 0 0 8px;
  padding: 20px 20px 0;
}
#case-grid .s-card > p {
  font-size: 14px; line-height: 1.7; color: var(--site-text-secondary); margin: 0 0 16px;
  padding: 0 20px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
#case-grid .s-card > .case-link {
  padding: 0 20px 20px; display: block;
}

/* ─── News card ─── */
.news-card .s-card-body { padding: 0; }
.news-card .news-img {
  height: 160px; overflow: hidden; background: var(--site-bg-subtle);
}
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card .news-text { padding: 16px 20px 20px; }
.news-card .news-date {
  font-size: 12px; color: var(--site-text-tertiary); margin-bottom: 6px;
}
.news-card .news-text h3 {
  font-size: 15px; font-weight: 600; color: var(--site-text); margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .news-text p {
  font-size: 13px; line-height: 1.7; color: var(--site-text-secondary); margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ─── Contact section ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px;
}
.contact-item .ci-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-subtle); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 16px; flex-shrink: 0;
}
.contact-item h3 { font-size: 14px; font-weight: 600; color: var(--site-text); margin: 0 0 2px; }
.contact-item p { font-size: 14px; color: var(--site-text-secondary); margin: 0; }

/* ─── Form ─── */
.s-form label {
  display: block; font-size: 14px; font-weight: 500; color: var(--site-text); margin-bottom: 6px;
}
.s-form input,
.s-form textarea,
.s-form select {
  width: 100%; padding: 10px 14px; font-size: 14px;
  border: 1px solid var(--site-border); border-radius: var(--radius-sm);
  background: var(--site-bg); color: var(--site-text);
  transition: border-color 0.2s; outline: none;
  font-family: inherit;
}
.s-form input:focus,
.s-form textarea:focus,
.s-form select:focus { border-color: var(--accent); }
.s-form select { cursor: pointer; }
.s-form .form-group { margin-bottom: 14px; }
.s-form textarea { resize: vertical; min-height: 100px; }
.s-form .validation-message {
  display: none; font-size: 12px; color: #ef4444; margin-top: 4px;
}
.s-form .input-error { border-color: #ef4444; }
.s-form .loading { display: none; font-size: 13px; color: var(--site-text-tertiary); }
.s-form .error-message { display: none; font-size: 13px; color: #ef4444; padding: 8px 0; }
.s-form .sent-message {
  display: none; font-size: 13px; color: var(--check-color);
  background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius-sm); padding: 10px 14px;
}

/* ─── CTA section ─── */
.s-cta {
  background: radial-gradient(ellipse 60% 60% at 50% 110%, rgba(99,102,241,0.15), transparent), var(--hero-bg);
  text-align: center; padding: 72px 24px;
}
.s-cta h2 { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.s-cta p { color: rgba(255,255,255,0.6); font-size: 16px; margin-bottom: 32px; }

/* ─── Footer ─── */
.site-footer { background: var(--footer-bg); padding: 48px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 32px; border-bottom: 1px solid var(--footer-border);
}
.footer-grid h3 {
  font-size: 13px; font-weight: 600; color: #a1a1aa;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px;
}
.footer-grid p { font-size: 13px; color: var(--footer-text); line-height: 1.7; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid ul a {
  font-size: 13px; color: var(--footer-text); text-decoration: none; transition: color 0.2s;
}
.footer-grid ul a:hover { color: var(--accent); }
.footer-brand-name { font-size: 18px; font-weight: 700; color: #e4e4e7; margin-bottom: 10px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: 1px solid #27272a; display: flex; align-items: center; justify-content: center;
  color: #71717a; font-size: 14px; transition: all 0.2s;
}
.social-links a:hover { border-color: var(--accent); color: var(--accent); }

.footer-bottom {
  text-align: center; padding-top: 20px;
  font-size: 12px; color: #3f3f46;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(.4,0,.2,1), transform 0.55s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── Scroll to top ─── */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; width: 40px; height: 40px;
  border-radius: 10px; background: var(--card-bg); border: 1px solid var(--card-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center;
  color: var(--site-text-secondary); cursor: pointer; opacity: 0; transform: translateY(8px);
  transition: all 0.3s; z-index: 50; font-size: 14px;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Page banner (inner pages) ─── */
.s-page-banner {
  background: var(--hero-bg); color: #fff; text-align: center;
  padding: 72px 24px 56px;
  background-image: radial-gradient(ellipse 60% 40% at 50% 0%, var(--accent-glow), transparent);
}
.s-page-banner h1 {
  font-size: clamp(26px, 4vw, 36px); font-weight: 700; margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.s-page-banner p { font-size: 16px; color: rgba(255,255,255,0.6); margin: 0; max-width: 500px; margin-inline: auto; }

/* ─── Breadcrumb ─── */
.s-breadcrumb {
  font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.s-breadcrumb a { color: rgba(255,255,255,0.5); }
.s-breadcrumb a:hover { color: rgba(255,255,255,0.8); }

/* ─── Responsive utilities ─── */
.hide-mobile { display: block; }
.show-mobile { display: none; }
@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .show-mobile { display: block; }
  .s-section { padding: 56px 0; }
  .s-section-alt { padding: 48px 0; }
  .s-hero { padding: 72px 24px 60px; }
  .s-header, .s-header-center { margin-bottom: 32px; }
}

/* ─── Misc ─── */
.accent-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 8px; vertical-align: middle;
}
/* ─── About intro grid ─── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center;
}
.about-grid .about-img {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--card-border);
}
.about-grid .about-img img { width: 100%; height: auto; }
.about-grid .about-text p {
  font-size: 15px; line-height: 1.8; color: var(--site-text-secondary); margin: 0 0 16px;
}
.about-grid .about-text p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Timeline ─── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute; left: 5px; top: 0; bottom: 0;
  width: 2px; background: var(--card-border);
}
.timeline-item {
  position: relative; padding-bottom: 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--site-bg);
  z-index: 1;
}
.timeline-date {
  font-size: 12px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 4px;
}
.timeline-item h3 {
  font-size: 15px; font-weight: 600; color: var(--site-text); margin: 0 0 4px;
}
.timeline-item p {
  font-size: 14px; line-height: 1.7; color: var(--site-text-secondary); margin: 0;
}

/* ─── Team avatar (inline card variant) ─── */
.team-avatar {
  width: 100%; height: 220px; overflow: hidden; border-radius: var(--radius);
  margin-bottom: 16px; background: var(--site-bg-subtle);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Team member card ─── */
.team-card .s-card-body { padding: 0; text-align: center; }
.team-card .team-img {
  height: 200px; overflow: hidden; background: var(--site-bg-subtle);
}
.team-card .team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card .team-text { padding: 16px 20px 20px; }
.team-card .team-text h3 {
  font-size: 15px; font-weight: 600; color: var(--site-text); margin: 0 0 2px;
}
.team-card .team-title {
  font-size: 13px; color: var(--accent); font-weight: 500; margin: 0 0 6px;
}
.team-card .team-bio {
  font-size: 13px; color: var(--site-text-secondary); line-height: 1.6; margin: 0;
}

/* ─── Stat / counter ─── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; }
.stat-item { text-align: center; }
.stat-number {
  font-size: 32px; font-weight: 700; color: var(--accent);
  line-height: 1; margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--site-text-secondary); }

/* ─── Job card (join page) ─── */
.job-card .s-card-body { padding: 20px 24px; }
.job-card h3 {
  font-size: 16px; font-weight: 600; color: var(--site-text); margin: 0 0 6px;
}
.job-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.job-meta span {
  font-size: 12px; color: var(--site-text-tertiary);
  display: inline-flex; align-items: center; gap: 4px;
}
.job-card p {
  font-size: 14px; color: var(--site-text-secondary); line-height: 1.7; margin: 0 0 14px;
}

/* ─── FAQ ─── */
.faq-section { display: none; }
.faq-section.active { display: block; }
.faq-item {
  border: 1px solid var(--card-border); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden; transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: var(--card-hover-shadow); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; cursor: pointer; background: var(--card-bg);
  font-size: 15px; font-weight: 500; color: var(--site-text);
}
.faq-question .faq-arrow {
  font-size: 12px; color: var(--site-text-tertiary); transition: transform 0.3s;
  flex-shrink: 0; margin-left: 12px;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px; font-size: 14px; line-height: 1.8; color: var(--site-text-secondary);
}
.faq-item.active .faq-answer {
  max-height: 500px; padding: 0 20px 16px;
}

/* ─── Pricing ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.pricing-card { position: relative; }
.pricing-card.featured { border-color: var(--accent); }
.pricing-card .pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 14px; border-radius: 10px; white-space: nowrap;
}
.pricing-header { text-align: center; padding-bottom: 16px; border-bottom: 1px solid var(--card-border); margin-bottom: 16px; }
.pricing-name { font-size: 16px; font-weight: 600; color: var(--site-text); margin: 0 0 4px; }
.pricing-price { font-size: 28px; font-weight: 700; color: var(--accent); margin: 0; }
.pricing-price span { font-size: 14px; font-weight: 400; color: var(--site-text-tertiary); }
.pricing-features { list-style: none; padding: 0; margin: 0 0 20px; }
.pricing-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--site-text-secondary); padding: 5px 0;
}
.pricing-features li i { color: var(--check-color); font-size: 13px; }

/* ─── Product hero (product pages) ─── */
.s-product-hero {
  background: radial-gradient(ellipse 60% 50% at 50% -10%, var(--accent-glow), transparent), var(--hero-bg);
  color: #fff; padding: 80px 24px 64px;
}
.s-product-hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.s-product-hero h1 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.2;
  margin: 0 0 16px; letter-spacing: -0.02em;
}
.s-product-hero p {
  font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.7); margin: 0 0 28px;
}
.s-product-hero .hero-img {
  border-radius: var(--radius); overflow: hidden;
}
.s-product-hero .hero-img img { width: 100%; height: auto; }
@media (max-width: 768px) {
  .s-product-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .s-product-hero .hero-img { max-width: 400px; margin: 0 auto; }
}

/* ─── Content page (news detail, blog detail) ─── */
.s-content { max-width: 760px; margin: 0 auto; }
.s-content h2 { font-size: 22px; font-weight: 700; color: var(--site-text); margin: 32px 0 12px; }
.s-content h3 { font-size: 18px; font-weight: 600; color: var(--site-text); margin: 24px 0 10px; }
.s-content p { font-size: 15px; line-height: 1.8; color: var(--site-text-secondary); margin: 0 0 16px; }
.s-content ul, .s-content ol { padding-left: 20px; margin: 0 0 16px; }
.s-content li { font-size: 14px; line-height: 1.8; color: var(--site-text-secondary); margin-bottom: 6px; }
.s-content img { border-radius: var(--radius); margin: 16px 0; }
.s-content blockquote {
  border-left: 3px solid var(--accent); padding: 12px 20px; margin: 16px 0;
  background: var(--accent-subtle); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px; color: var(--site-text-secondary); line-height: 1.7;
}

/* ─── Case study modal ─── */
.case-modal {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 200; overflow-y: auto; backdrop-filter: blur(4px);
  justify-content: center; align-items: flex-start;
}
.case-modal-inner {
  background: var(--card-bg); width: 90%; max-width: 900px; margin: 40px auto;
  border-radius: var(--radius-lg); padding: 32px; position: relative;
  border: 1px solid var(--card-border);
}
.case-modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  font-size: 24px; cursor: pointer; color: var(--site-text-tertiary); transition: color 0.2s;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
.case-modal-close:hover { color: var(--site-text); background: var(--site-bg-subtle); }
.case-modal h2 { font-size: 24px; font-weight: 700; color: var(--site-text); margin: 0 0 16px; }
.case-modal h3 { font-size: 18px; font-weight: 600; color: var(--site-text); margin: 24px 0 10px; }
.case-modal p { font-size: 15px; line-height: 1.8; color: var(--site-text-secondary); margin: 0 0 14px; }
.case-modal ul, .case-modal ol { padding-left: 20px; margin: 0 0 14px; }
.case-modal li { font-size: 14px; line-height: 1.8; color: var(--site-text-secondary); margin-bottom: 6px; }
.case-modal .case-info {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.case-modal .info-item {
  padding: 6px 14px; background: var(--site-bg-subtle); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--site-text-secondary);
}
.case-modal .info-item span { font-weight: 600; color: var(--site-text); }
.case-modal .case-image-full { margin-bottom: 20px; }
.case-modal .case-image-full img { width: 100%; border-radius: var(--radius); }
.case-modal .testimonial {
  background: var(--site-bg-subtle); border-radius: var(--radius);
  padding: 20px; margin: 16px 0; position: relative;
}
.case-modal .testimonial .fa-quote-left {
  color: var(--accent); font-size: 20px; margin-bottom: 8px; opacity: 0.5;
}
.case-modal .testimonial .author h4 {
  font-size: 14px; font-weight: 600; color: var(--site-text); margin: 8px 0 0;
}
.case-modal .testimonial .author p {
  font-size: 13px; color: var(--site-text-tertiary);
}
.case-modal .highlights {
  background: var(--site-bg-subtle); border-radius: var(--radius);
  padding: 20px; margin: 16px 0;
}
.case-modal .example-case, .case-modal .application-showcase, .case-modal .future-plans {
  background: var(--site-bg-subtle); border-radius: var(--radius);
  padding: 20px; margin: 16px 0;
}
.case-modal h4 { font-size: 16px; font-weight: 600; color: var(--site-text); margin: 16px 0 8px; }

/* ─── Filter buttons (case study page) ─── */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 18px; border: 1px solid var(--card-border); border-radius: 20px;
  background: var(--card-bg); color: var(--site-text-secondary);
  font-size: 13px; cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ─── Case card link ─── */
.case-link { color: var(--accent); font-size: 14px; font-weight: 500; text-decoration: none; }
.case-link:hover { text-decoration: underline; }
.case-modal ul ul { margin-bottom: 0; }

/* ─── Utilities ─── */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0 !important; }
