/* ===== 科技风配色 ===== */
:root {
  --background: #0a0f1a;
  --foreground: #f0f9ff;
  --card: rgba(15, 23, 42, 0.6);
  --card-foreground: #f0f9ff;
  --primary: #22d3ee;
  --primary-foreground: #0a0f1a;
  --secondary: rgba(34, 211, 238, 0.08);
  --secondary-foreground: #f0f9ff;
  --muted: rgba(30, 41, 59, 0.8);
  --muted-foreground: #94a3b8;
  --accent: #38bdf8;
  --accent-foreground: #0a0f1a;
  --border: rgba(34, 211, 238, 0.15);
  --glow: rgba(34, 211, 238, 0.4);
  --radius: 0.75rem;
  --max-w: 80rem;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 600;
}
.logo-img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 0.25rem;
  box-sizing: border-box;
  object-fit: contain;
}
.nav-desktop {
  display: none;
}
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav-desktop a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
  }
  .nav-desktop a:hover { color: var(--foreground); }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.25rem;
}
.lang-btn {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn:hover { color: var(--foreground); }
.lang-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 15px var(--glow);
}
.menu-btn {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}
@media (min-width: 768px) { .menu-btn { display: none; } }
.menu-icon, .close-icon { width: 1.25rem; height: 1.25rem; }
.hidden { display: none !important; }
.menu-open .menu-icon { display: none; }
.menu-open .close-icon { display: block; }
.nav-mobile {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  display: block;
  padding: 0.5rem 0;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--foreground); }
.menu-open .nav-mobile { display: block; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 211, 238, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(56, 189, 248, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(34, 211, 238, 0.06), transparent);
}
.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, transparent 70%);
  filter: blur(100px);
  animation: pulse 4s ease-in-out infinite;
}
.hero-bg::before { top: 20%; left: 10%; }
.hero-bg::after {
  top: auto;
  bottom: 20%;
  left: auto;
  right: 10%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
  animation-delay: 2s;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.1);
}
.hero-badge .icon-sm,
.hero-badge [data-lucide],
.hero-badge svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; }
.icon-btn { width: 1rem; height: 1rem; margin-left: 0.5rem; flex-shrink: 0; }
.icon-tab { width: 1rem; height: 1rem; margin-right: 0.25rem; flex-shrink: 0; }
.about-icon [data-lucide],
.about-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); flex-shrink: 0; }
.service-icon [data-lucide],
.service-icon svg { width: 1.75rem; height: 1.75rem; color: var(--primary-foreground); flex-shrink: 0; }
.feature-icon [data-lucide],
.feature-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); flex-shrink: 0; }
.product-icon [data-lucide],
.product-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); flex-shrink: 0; }
.contact-icon [data-lucide],
.contact-icon svg { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; }
.hero-badge span { font-size: 0.875rem; color: var(--muted-foreground); }
.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 5rem;
}
@media (min-width: 640px) {
  .hero-cta { flex-direction: row; justify-content: center; }
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
.stat { text-align: center; }
.stat-value {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) { .stat-value { font-size: 2.25rem; } }
.stat-label { font-size: 0.875rem; color: var(--muted-foreground); }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--muted-foreground);
  border-radius: 9999px;
  animation: bounce 2s infinite;
}
.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.375rem;
  height: 0.75rem;
  background: var(--muted-foreground);
  border-radius: 9999px;
  animation: pulse 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(0.5rem); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
}
.btn-primary:hover { 
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.5);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}
.btn-outline:hover { 
  background: rgba(34, 211, 238, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-full { width: 100%; }

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
}
.section-card { 
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(10, 15, 26, 0.2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
}
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.section-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(4, 1fr); }
}
.about-card {
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.about-card:hover { 
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.1);
}
.about-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(56, 189, 248, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.about-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.about-card p { font-size: 0.875rem; color: var(--muted-foreground); }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  position: relative;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.service-card:hover { 
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
}
.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 25px var(--glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon svg { color: #0a0f1a !important; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.service-card > p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.service-features li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--primary);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.service-link:hover { color: var(--accent); }
.service-link .icon-btn { width: 0.875rem; height: 0.875rem; margin-left: 0; }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
.feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.feature-item:hover { 
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.08);
}
.feature-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(56, 189, 248, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-item h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-item p { color: var(--muted-foreground); line-height: 1.6; }

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
.product-card {
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.product-card:hover { 
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 35px rgba(34, 211, 238, 0.12);
}
.product-bar {
  height: 4px;
}
.gradient-1 { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.gradient-2 { background: linear-gradient(90deg, var(--accent), var(--primary)); }
.gradient-3 { background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary)); }
.product-body { padding: 2rem; }
.product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.product-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(34, 211, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-status {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.product-status.live { background: rgba(34, 211, 238, 0.15); color: #22d3ee; }
.product-status.dev { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.product-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.product-card > .product-body > p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.product-card .btn { margin-top: 0.5rem; }

/* ===== API Docs ===== */
.api-tabs { margin-bottom: 3rem; position: relative; }
.api-tabs .api-loading {
  text-align: center;
  padding: 3rem;
  color: var(--muted-foreground);
}
.api-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.api-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}
.api-tab .api-tab-img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  border-radius: 0.25rem;
}
.api-tab .api-tab-placeholder {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(34, 211, 238, 0.3);
  border-radius: 0.25rem;
  color: #0a0f1a;
}
.api-tab:hover { color: var(--foreground); border-color: rgba(34, 211, 238, 0.3); }
.api-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #0a0f1a;
  font-weight: 500;
}
.api-tab.active .api-tab-placeholder { background: rgba(10, 15, 26, 0.4); color: var(--primary); }
.api-panels { position: relative; }
.api-panel {
  display: none;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.api-panel.active { display: block; }
.api-panel-header {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.api-panel-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 25px var(--glow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.api-panel-icon .api-panel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.api-panel-icon .api-panel-placeholder {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0a0f1a;
}
.api-panel-icon [data-lucide],
.api-panel-icon svg { width: 1.75rem; height: 1.75rem; color: #0a0f1a !important; flex-shrink: 0; }
.api-panel-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary);
  font-size: 0.875rem;
  text-decoration: none;
}
.api-panel-link:hover { color: var(--accent); }
.api-panel-header h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.api-panel-desc,
.api-panel-header > div > p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.api-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.api-badges .badge {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-family: monospace;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 0.375rem;
  color: var(--primary);
}
.api-examples {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.api-examples:empty { display: none; }
.api-error {
  text-align: center;
  padding: 2rem;
  color: var(--muted-foreground);
}
.api-examples h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
}
.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}
.dot.green { background: #22c55e; }
.dot.blue { background: #3b82f6; }
.api-examples pre {
  margin: 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0.5rem;
  overflow-x: auto;
  font-size: 0.8rem;
  line-height: 1.5;
}
.api-examples code {
  font-family: ui-monospace, monospace;
  color: #fff;
  white-space: pre;
}
.api-cta { text-align: center; margin-top: 2rem; }
.api-docs-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.api-docs-link:hover { opacity: 0.8; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-grid > div > h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.contact-info { margin-bottom: 2.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(34, 211, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}
.office-hours {
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.office-hours h4 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.office-hours p { color: var(--muted-foreground); margin-bottom: 0.25rem; }
.contact-form-wrap {
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  backdrop-filter: blur(10px);
}
.contact-form-wrap h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-form > div { margin-bottom: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 639px) {
  .form-row { grid-template-columns: 1fr; }
}
.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 1rem;
  transition: all 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted-foreground);
}
.contact-form textarea { resize: none; }
.contact-form button { margin-top: 0.5rem; }

/* ===== Footer ===== */
.footer {
  background: rgba(10, 15, 26, 0.95);
  border-top: 1px solid var(--border);
  padding: 4rem 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.3);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .footer-brand { grid-column: span 2; }
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  max-width: 20rem;
}
.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-links a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.75rem;
  transition: background 0.2s;
}
.social-links a:hover { background: rgba(34, 211, 238, 0.2); }
.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.75rem; }
.footer a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover { color: var(--foreground); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.footer-bottom a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  margin-left: 1.5rem;
}
.footer-bottom a:hover { color: var(--foreground); }
.footer-icp { margin-top: 0.5rem; }
.footer-icp a { margin-left: 0; }

/* ===== 悬浮窗 WhatsApp 联系按钮 ===== */
.float-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}
.float-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: #fff;
}
.float-whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.float-whatsapp-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.float-whatsapp-text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.35s ease, opacity 0.3s ease;
}
@media (min-width: 769px) {
  .float-whatsapp:hover .float-whatsapp-text {
    max-width: 12rem;
    opacity: 1;
  }
  .float-whatsapp:hover {
    padding: 0.75rem 1.25rem;
  }
}
@media (max-width: 768px) {
  .float-whatsapp-text {
    display: none;
  }
}

