:root {
  --primary: #1a56db;
  --primary-dark: #1442a8;
  --primary-light: #3b82f6;
  --gold: #d4a853;
  --gold-light: #e8c97a;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --bg-section: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text-primary);
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.logo-text {
  font-size: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(26, 86, 219, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(26, 86, 219, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(212, 168, 83, 0.1), transparent),
    linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent);
  border-radius: 50%;
  filter: blur(80px);
  animation: float 6s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.1), transparent);
  border-radius: 50%;
  filter: blur(100px);
  animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.1), rgba(212, 168, 83, 0.1));
  color: var(--primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 24px;
}

.title-main {
  display: block;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-sub {
  display: block;
  font-size: 24px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 12px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 14px 0 rgba(26, 86, 219, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(26, 86, 219, 0.5);
}

.btn-secondary {
  background: white;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(135deg, #1e293b, #334155);
  border-radius: 48px;
  padding: 12px;
  box-shadow: 
    0 25px 50px -12px rgb(0 0 0 / 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.1);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #0f172a;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-preview {
  padding: 50px 16px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.preview-header {
  margin-bottom: 16px;
}

.preview-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.preview-tabs {
  display: flex;
  gap: 8px;
}

.preview-tabs .tab {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 100px;
  background: #e2e8f0;
  color: var(--text-secondary);
  transition: var(--transition);
}

.preview-tabs .tab.active {
  background: var(--primary);
  color: white;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
}

.preview-item {
  border-radius: 12px;
  min-height: 80px;
  transition: var(--transition);
}

.preview-item:hover {
  transform: scale(1.02);
}

.preview-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}

.input-icon {
  font-size: 16px;
}

.input-text {
  font-size: 13px;
  color: var(--text-light);
}

.features {
  padding: 100px 0;
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(26, 86, 219, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 86, 219, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
}

.icon-ai {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.icon-3d {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.icon-factory {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.icon-gallery {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.icon-order {
  background: linear-gradient(135deg, #fa709a, #fee140);
}

.icon-team {
  background: linear-gradient(135deg, #30cfd0, #330867);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.download {
  padding: 100px 0;
}

.download-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.3), transparent);
  border-radius: 50%;
}

.download-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.download-desc {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 48px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.download-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qr-code {
  background: white;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 12px;
}

.qr-label {
  display: block;
  text-align: center;
  color: var(--text-secondary);
  font-size: 12px;
  margin-top: 4px;
}

.btn-download {
  background: white;
  color: var(--primary);
  padding: 12px 24px;
  font-size: 14px;
}

.btn-download-lg {
  padding: 18px 48px;
  font-size: 18px;
  font-weight: 700;
}

.btn-download:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.download-tip {
  font-size: 13px;
  opacity: 0.7;
}

.about {
  padding: 100px 0;
  background: var(--bg-section);
}

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

.about-content .section-tag {
  margin-bottom: 16px;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: rgba(26, 86, 219, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-label {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.info-value {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

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

.about-gallery {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 380px;
}

.gallery-item {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-xl);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(26, 86, 219, 0.25);
}

.gallery-main {
  width: 65%;
  height: 70%;
  top: 0;
  left: 0;
  z-index: 3;
}

.gallery-sub1 {
  width: 40%;
  height: 45%;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.gallery-sub2 {
  width: 38%;
  height: 45%;
  top: 0;
  right: 0;
  z-index: 1;
}

.gallery-sub3 {
  width: 30%;
  height: 38%;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.footer {
  background: var(--bg-dark);
  color: white;
  padding: 64px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-logo .logo-icon {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin-bottom: 8px;
}

.footer-icp {
  font-size: 12px;
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .title-main {
    font-size: 42px;
  }

  .title-sub {
    font-size: 18px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .download-card {
    padding: 40px 24px;
  }

  .download-title {
    font-size: 28px;
  }

  .download-buttons {
    gap: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content .section-title {
    text-align: center;
  }

  .about-gallery {
    max-width: 360px;
    height: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .phone-frame {
    width: 240px;
    height: 480px;
  }

  .features {
    padding: 60px 0;
  }

  .feature-card {
    padding: 24px;
  }

  .download {
    padding: 60px 0;
  }

  .about {
    padding: 60px 0;
  }

  .about-gallery {
    max-width: 300px;
    height: 260px;
  }

  .gallery-main {
    width: 60%;
    height: 65%;
  }

  .gallery-sub1 {
    width: 42%;
    height: 42%;
  }

  .gallery-sub2 {
    width: 36%;
    height: 42%;
  }

  .gallery-sub3 {
    width: 28%;
    height: 35%;
  }

  .footer {
    padding: 48px 0 24px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-num {
    font-size: 24px;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-divider {
    height: 30px;
  }
}