/* ===== CSS Variables & Reset ===== */
:root {
  --color-primary: #E040A0;
  --color-secondary: #7B5EE7;
  --color-accent: #1A1F71;
  --color-bg: #FFFFFF;
  --color-bg-light: #F5F7FA;
  --color-bg-dark: #0D0F2B;
  --color-text: #333333;
  --color-text-secondary: #666666;
  --color-text-muted: #999999;
  --gradient-brand: linear-gradient(135deg, #E040A0, #7B5EE7);
  --gradient-hero: linear-gradient(135deg, #1A1F71 0%, #2D1B69 50%, #0D0F2B 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius-card: 12px;
  --radius-btn: 8px;
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-en: "Inter", "Poppins", sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-cn);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.3; }
h2 { font-size: 2rem; font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.4; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  margin-bottom: 12px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  gap: 8px;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(224,64,160,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(224,64,160,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--color-accent);
  font-weight: 600;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-logo span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--color-accent);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s;
}
.lang-switch:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.nav-cta {
  padding: 8px 24px;
  font-size: 0.9rem;
}
.nav-hotline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.nav-hotline .hotline-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224,64,160,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123,94,231,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-content {
  flex: 1;
}
.hero-content h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero-content h1 .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.hero-image img {
  max-height: 480px;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ===== Section Layout ===== */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--color-bg-light);
}
.section-dark {
  background: var(--gradient-hero);
  color: #fff;
}
.section-dark .section-title h2 {
  -webkit-text-fill-color: #fff;
}
.section-dark .section-title p {
  color: rgba(255,255,255,0.6);
}

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  gap: 24px;
}
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #fff;
}
.card h4 {
  margin-bottom: 8px;
  color: var(--color-accent);
}
.card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Product Cards ===== */
.product-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card .card-image {
  height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
  position: relative;
}
.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card .card-body {
  padding: 24px;
}
.product-card h4 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: var(--color-accent);
}
.product-card p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.product-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}
.product-card .card-link:hover { gap: 10px; }

/* ===== Phone Mockup ===== */
.phone-mockup {
  width: 280px;
  border-radius: 32px;
  border: 8px solid #1a1a2e;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  background: #000;
}
.phone-mockup img {
  width: 100%;
  display: block;
}

/* ===== Wide Image Container ===== */
.img-wide {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.img-wide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== Image Frame ===== */
.img-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.06);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Product Detail Section ===== */
.product-detail {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
}
.product-detail:nth-child(even) {
  flex-direction: row-reverse;
}
.product-detail .detail-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.product-detail .detail-content {
  flex: 1;
}
.product-detail .detail-content h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: var(--color-accent);
}
.product-detail .detail-content .subtitle {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 16px;
}
.product-detail .detail-content p {
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}
.feature-list li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  margin-top: 2px;
}

/* ===== Stats Section ===== */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .stat-label {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* ===== Solutions Cards ===== */
.solution-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 40px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.solution-card h4 {
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.solution-card .pain-points {
  background: #FFF5F5;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}
.solution-card .pain-points h5 {
  color: #E74C3C;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.solution-card .pain-points p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.solution-card .solution-list {
  margin-bottom: 16px;
}
.solution-card .solution-list h5 {
  color: var(--color-accent);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.solution-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.solution-card .tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  background: rgba(123,94,231,0.08);
  color: var(--color-secondary);
  font-weight: 500;
}
.solution-card.disabled {
  opacity: 0.5;
  filter: grayscale(1);
}
.solution-card.disabled::after {
  content: '即将推出';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-muted);
  border: 3px solid var(--color-text-muted);
  padding: 8px 24px;
  border-radius: 8px;
}
.solution-card.disabled-en {
  opacity: 0.5;
  filter: grayscale(1);
}
.solution-card.disabled-en::after {
  content: 'Coming Soon';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-muted);
  border: 3px solid var(--color-text-muted);
  padding: 8px 24px;
  border-radius: 8px;
}

/* ===== About Section ===== */
.about-intro {
  display: flex;
  gap: 60px;
  align-items: center;
}
.about-intro .intro-text {
  flex: 1;
}
.about-intro .intro-text p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.advantage-card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.advantage-card .adv-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
}
.advantage-card h4 {
  color: var(--color-accent);
  margin-bottom: 8px;
}
.advantage-card p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.gallery-grid img {
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
  height: 280px;
  object-fit: cover;
}
.gallery-grid img:hover { transform: scale(1.03); }

/* Contact info */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item .ci-text h5 {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.contact-item .ci-text p {
  font-size: 0.95rem;
  color: var(--color-text);
}
.qr-code-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.qr-code-box img {
  width: 200px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.qr-code-box p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== Trial Form ===== */
.trial-form-box {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.trial-form-box h3 {
  text-align: center;
  margin-bottom: 24px;
  color: var(--color-accent);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}
.form-group label .required {
  color: #E74C3C;
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E0E0E0;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-family: var(--font-cn);
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(123,94,231,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* ===== SMS Verification Code Button ===== */
.sms-code-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.sms-code-row input {
  flex: 1;
  min-width: 0;
}
.btn-sms-code {
  flex-shrink: 0;
  padding: 0 18px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-cn);
  color: var(--color-secondary);
  background: rgba(123, 94, 231, 0.08);
  border: 1px solid rgba(123, 94, 231, 0.25);
  border-radius: var(--radius-btn);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  min-width: 108px;
  letter-spacing: 0.5px;
}
.btn-sms-code:hover:not(:disabled) {
  color: #fff;
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}
.btn-sms-code:disabled {
  color: #999;
  background: #f5f5f5;
  border-color: #e8e8e8;
  cursor: not-allowed;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--gradient-hero);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224,64,160,0.12) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateX(-50%);
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  font-size: 1.05rem;
  position: relative;
}
.cta-banner .btn { position: relative; }

/* ===== Footer ===== */
.footer {
  background: #0D0F2B;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .footer-logo img {
  height: 36px;
  filter: brightness(1.5);
}
.footer-brand .footer-logo span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-col h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--color-primary); }
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.footer-qr {
  text-align: center;
}
.footer-qr img {
  width: 120px;
  margin: 0 auto 8px;
  border-radius: 8px;
}
.footer-qr p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ===== Technology Page ===== */
.tech-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.tech-tab {
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #E0E0E0;
  background: #fff;
  color: var(--color-text-secondary);
  transition: all 0.3s;
}
.tech-tab:hover, .tech-tab.active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}
.tech-content {
  display: none;
}
.tech-content.active {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: fadeInUp 0.4s ease;
}
.tech-content .tech-text {
  flex: 1;
}
.tech-content .tech-text h3 {
  font-size: 1.75rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.tech-content .tech-text p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}
.tech-content .tech-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* ===== Page Header (sub-pages) ===== */
.page-header {
  background: var(--gradient-hero);
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(224,64,160,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.page-header h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 12px;
  position: relative;
}
.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  position: relative;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .cards-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ===== V3: Architecture Overview (Left-Right Interactive) ===== */
.arch-overview {
  display: flex;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 60px;
}

/* LEFT: Stack Diagram */
.arch-stack {
  width: 440px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Top row: two side-by-side boxes */
.arch-top-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

/* Shared card style */
.arch-layer-card {
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  overflow: hidden;
}
.arch-layer-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.arch-layer-card.active {
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}

/* Card header bar */
.arch-layer-card .al-header {
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
/* Card body with tags */
.arch-layer-card .al-body {
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.arch-layer-card .al-tag {
  font-size: 0.73rem;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 500;
  background: rgba(0,0,0,0.04);
  color: #555;
  transition: background 0.2s;
}

/* --- Layer 1a: AI Software (top-left) --- */
.arch-layer-card.al-ai {
  flex: 1;
}
.arch-layer-card.al-ai .al-header {
  background: linear-gradient(135deg, #1A1F71, #3A4FCF);
}
.arch-layer-card.al-ai .al-body { background: #f0f2f8; }
.arch-layer-card.al-ai .al-tag { background: rgba(26,31,113,0.06); color: var(--color-accent); }
.arch-layer-card.al-ai.active {
  border-color: var(--color-accent);
}

/* --- Layer 1b: AI Agents (top-right) --- */
.arch-layer-card.al-agent {
  flex: 1;
}
.arch-layer-card.al-agent .al-header {
  background: linear-gradient(135deg, #1A1F71, #3A4FCF);
}
.arch-layer-card.al-agent .al-body { background: #f0f2f8; }
.arch-layer-card.al-agent .al-tag { background: rgba(26,31,113,0.06); color: var(--color-accent); }
.arch-layer-card.al-agent.active {
  border-color: var(--color-accent);
}

/* --- Layer 2: SaaS (middle, full width) --- */
.arch-layer-card.al-mid {
  width: 100%;
}
.arch-layer-card.al-mid .al-header {
  background: linear-gradient(135deg, #1A1F71, #3A4FCF);
}
.arch-layer-card.al-mid .al-body { background: #f0f2f8; }
.arch-layer-card.al-mid .al-tag { background: rgba(26,31,113,0.06); color: var(--color-accent); }
.arch-layer-card.al-mid.active {
  border-color: var(--color-accent);
}

/* --- Layer 3: Hardware (bottom, full width) --- */
.arch-layer-card.al-bot {
  width: 100%;
}
.arch-layer-card.al-bot .al-header {
  background: linear-gradient(135deg, #1A1F71, #3A4FCF);
}
.arch-layer-card.al-bot .al-body { background: #f0f2f8; }
.arch-layer-card.al-bot .al-tag { background: rgba(26,31,113,0.06); color: var(--color-accent); }
.arch-layer-card.al-bot.active {
  border-color: var(--color-accent);
}

/* Connector lines (clean, no text) */
.arch-connector-line {
  width: 2px;
  height: 28px;
  background: #d0d0d0;
  position: relative;
}
.arch-connector-line::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid #d0d0d0;
}

/* RIGHT: Description Panel */
.arch-desc-panel {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 36px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.arch-desc-panel.anim-enter {
  animation: fadeInUp 0.3s ease;
}
.arch-desc-panel h3 {
  font-size: 1.4rem;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.arch-desc-panel .desc-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
  background: rgba(26,31,113,0.06);
  color: var(--color-accent);
}
.arch-desc-panel .desc-badge.badge-warn {
  background: rgba(231,76,60,0.08);
  color: #c0392b;
}
.arch-desc-panel .desc-lead {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.arch-desc-panel .desc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.arch-desc-panel .desc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.arch-desc-panel .desc-list li .dl-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.6rem;
  margin-top: 2px;
}
.arch-desc-panel .desc-highlight {
  margin-top: auto;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--color-bg-light);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  border-left: 3px solid var(--color-accent);
}

/* ===== Mobile Nav Simplification (960px and below) ===== */
@media (max-width: 960px) {
  .nav-links { display: none !important; }
  .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .nav-toggle { display: flex !important; }
  .nav-hotline { display: none !important; }
  .lang-switch { display: none !important; }
  .nav-right { gap: 8px; }
  .nav-cta {
    padding: 6px 16px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
  }
  .nav-logo span { font-size: 0.95rem; }
  .nav-logo img { height: 32px; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .nav-links { display: none !important; }
  .nav-toggle { display: flex !important; }
  .nav-hotline { display: none !important; }
  .lang-switch { display: none !important; }
  .nav-right { gap: 6px; }
  .nav-cta {
    padding: 5px 14px !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
  }
  .nav-logo span { font-size: 0.9rem; }
  .nav-logo img { height: 30px; }
  .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }

  .hero .container { flex-direction: column; text-align: center; padding-top: 40px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { margin: 0 auto 28px; }
  .hero-buttons { justify-content: center; }
  .hero-image img { max-height: 320px; }

  .section { padding: 48px 0; }
  .section-title { margin-bottom: 32px; }

  .cards-grid-3, .cards-grid-4, .cards-grid-5 {
    grid-template-columns: 1fr;
  }

  .product-detail,
  .product-detail:nth-child(even) {
    flex-direction: column;
    gap: 32px;
  }

  .about-intro { flex-direction: column; }
  .advantages-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }

  .stats-row { gap: 32px; }
  .stat-item .stat-number { font-size: 2rem; }

  .tech-content.active { flex-direction: column; gap: 32px; }
  .tech-tabs { gap: 8px; }
  .tech-tab { padding: 8px 16px; font-size: 0.85rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .phone-mockup { width: 220px; }
  .arch-overview { flex-direction: column; }
  .arch-stack { max-width: 100%; }
  .arch-desc-panel { max-width: 100%; }
  .arch-top-row { flex-direction: column; }
  .arch-layer-card { flex-direction: column; gap: 8px; }
}

/* ===== V3: Solution Architecture ===== */
.arch-diagram {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 60px;
}
.arch-layer {
  border-radius: var(--radius-card);
  padding: 24px 32px;
  position: relative;
}
.arch-layer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.arch-layer .arch-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.arch-layer .arch-item {
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
}
.arch-layer-ai {
  background: linear-gradient(135deg, rgba(224,64,160,0.1), rgba(123,94,231,0.1));
  border: 1px solid rgba(224,64,160,0.2);
}
.arch-layer-ai h4 { color: var(--color-primary); }
.arch-layer-ai .arch-item {
  background: rgba(224,64,160,0.08);
  border-color: rgba(224,64,160,0.15);
  color: var(--color-primary);
}
.arch-layer-saas {
  background: linear-gradient(135deg, rgba(26,31,113,0.06), rgba(123,94,231,0.06));
  border: 1px solid rgba(123,94,231,0.15);
}
.arch-layer-saas h4 { color: var(--color-accent); }
.arch-layer-saas .arch-item {
  background: rgba(123,94,231,0.08);
  border-color: rgba(123,94,231,0.15);
  color: var(--color-accent);
}
.arch-layer-agent {
  background: linear-gradient(135deg, rgba(46,204,113,0.08), rgba(52,152,219,0.08));
  border: 1px solid rgba(46,204,113,0.15);
}
.arch-layer-agent h4 { color: #27AE60; }
.arch-layer-agent .arch-item {
  background: rgba(46,204,113,0.08);
  border-color: rgba(46,204,113,0.15);
  color: #27AE60;
}
.arch-layer-hw {
  background: var(--color-bg-light);
  border: 1px solid rgba(0,0,0,0.06);
}
.arch-layer-hw h4 { color: var(--color-text); }
.arch-layer-hw .arch-item {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  color: var(--color-text);
}
.arch-connector {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin: -8px 0;
  position: relative;
}
.arch-connector::before {
  content: '';
  display: block;
  width: 2px;
  height: 16px;
  background: #ddd;
  margin: 0 auto 4px;
}
.arch-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  font-style: italic;
}

/* SaaS Modules Grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.module-card {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.module-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.module-card .module-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.module-card h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}
.module-card p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* AI Software Grid */
.ai-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ai-product-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
  text-align: center;
}
.ai-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ai-product-card .ap-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: #fff;
}
.ai-product-card h4 {
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.ai-product-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.ai-product-card .ap-features {
  margin-top: 12px;
  text-align: left;
}
.ai-product-card .ap-features li {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ai-product-card .ap-features li::before {
  content: '·';
  font-weight: 700;
  color: var(--color-primary);
}

/* Agent Cards */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.agent-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px 20px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
  text-align: center;
  position: relative;
}
.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.agent-card .agent-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ECC71, #3498DB);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
  color: #fff;
}
.agent-card h4 {
  font-size: 0.95rem;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.agent-card p {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.agent-bindnote {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(46,204,113,0.08);
  color: #27AE60;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Hardware Grid */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hw-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px 20px;
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
  transition: all 0.3s;
}
.hw-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.hw-card .hw-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.hw-card h4 {
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.hw-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.hw-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 12px 20px;
  background: var(--color-bg-light);
  border-radius: 8px;
}

@media (max-width: 768px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-products-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
  .hardware-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Configurator Layout ===== */
.config-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.config-panel {
  flex: 1;
  min-width: 0;
}
.config-sidebar {
  width: 360px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
}

/* Config Sections */
.config-section {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-bottom: 24px;
}
.config-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}
.config-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.config-step-header h3 {
  font-size: 1.15rem;
  color: var(--color-text);
  margin: 0;
}

/* Config Groups */
.config-group {
  margin-bottom: 20px;
}
.config-group:last-child { margin-bottom: 0; }
.config-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.config-required {
  font-size: 0.78rem;
  font-weight: 600;
  color: #E74C3C;
}
.config-hint {
  font-size: 0.78rem;
  font-weight: 400;
  color: #999;
}

/* Checkboxes */
.config-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.config-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--color-text);
  transition: all 0.2s;
  user-select: none;
}
.config-check:hover {
  border-color: var(--color-primary);
  background: #fdf5fa;
}
.config-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.config-check input[type="checkbox"]:checked ~ * {
  color: var(--color-primary);
  font-weight: 600;
}

/* Radio-style checkbox with description */
.config-radio-style {
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 16px;
  flex: 1;
  min-width: 180px;
}
.config-radio-style .check-label-text {
  font-weight: 600;
  font-size: 0.9rem;
}
.config-radio-style .check-desc {
  font-size: 0.78rem;
  color: #888;
  margin-top: 2px;
  line-height: 1.4;
}

/* Readonly (SaaS modules) */
.config-readonly {
  opacity: 0.65;
  cursor: default;
  pointer-events: none;
}

/* Disabled state (AI agents when no SaaS) */
.config-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.config-disabled .config-group-title { color: #aaa; }

/* Conditional sections (hidden by default) */
.config-conditional {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-bottom 0.3s ease;
}
.config-conditional.config-visible {
  max-height: 600px;
  opacity: 1;
  margin-bottom: 20px;
}

/* Summary Sidebar */
.config-summary {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-bottom: 20px;
}
.config-summary h4 {
  font-size: 1rem;
  color: var(--color-accent);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}
.summary-empty {
  text-align: center;
  color: #bbb;
  font-size: 0.88rem;
  padding: 20px 0;
}
.summary-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.summary-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-text);
  padding: 5px 0;
}
.summary-item::before {
  content: '\2713';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}
.summary-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}
.summary-category:first-child { margin-top: 0; border-top: none; padding-top: 0; }

/* Config Form */
.config-form {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.config-form h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.form-subtitle {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 960px) {
  .config-layout { flex-direction: column; }
  .config-sidebar { width: 100%; position: static; }
}
@media (max-width: 600px) {
  .config-section { padding: 20px 16px; }
  .config-checks { gap: 8px; }
  .config-check { font-size: 0.82rem; padding: 6px 12px; }
  .config-radio-style { min-width: 140px; }

  .navbar { height: 56px; }
  .nav-logo span { font-size: 0.82rem !important; }
  .nav-logo img { height: 26px !important; }
  .nav-logo { gap: 6px; }
  .nav-cta {
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
  }
  .container { padding: 0 16px; }
  .page-header { padding: 100px 0 36px; }
  .page-header h1 { font-size: 1.4rem; }
  .page-header p { font-size: 0.85rem; }
}
