/* Ai Singularity V3 - UI/UX Pro Max Design System */
/* Style: Vibrant & Block-based | Pattern: Feature-Rich Showcase */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;500;600;700&family=Rubik:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* UI/UX Pro Max Palette - Orange adaptation */
  --primary: #FF6A00;
  --primary-dark: #E85D00;
  --primary-light: #FF8A33;
  --cta: #F97316;
  --cta-hover: #EA580C;
  --bg: #F8FAFC;
  --bg-warm: #FFF8F3;
  --surface: #FFFFFF;
  --text: #1E293B;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-orange: 0 10px 30px -5px rgba(255,106,0,0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

h1, h2, h3, h4 { font-family: 'Rubik', 'PingFang SC', sans-serif; font-weight: 700; letter-spacing: -0.02em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Floating Navbar - UI/UX Pro Max: top-4 spacing */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 1168px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-lg);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-links { list-style: none; display: flex; gap: 4px; }
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}
.nav-links a:hover { background: var(--border-light); color: var(--text); }
.nav-links a.active { background: var(--text); color: white; }

/* Hero - Vibrant Block Style */
.hero {
  padding: 200px 0 120px;
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
}
.hero-blocks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-block {
  position: absolute;
  border-radius: var(--radius-lg);
  opacity: 0.06;
}
.hero-block:nth-child(1) {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  transform: rotate(15deg);
}
.hero-block:nth-child(2) {
  width: 200px;
  height: 200px;
  background: var(--primary);
  bottom: 40px;
  left: 10%;
  transform: rotate(-10deg);
  border-radius: 40px;
}
.hero-block:nth-child(3) {
  width: 120px;
  height: 120px;
  background: var(--cta);
  top: 30%;
  left: -40px;
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; max-width: 800px; text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease backwards;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s 0.1s ease backwards;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--cta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
  font-weight: 400;
  animation: fadeInUp 0.6s 0.2s ease backwards;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  animation: fadeInUp 0.6s 0.3s ease backwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  font-family: 'Rubik', sans-serif;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 14px 36px -6px rgba(255,106,0,0.35); }
.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--text); transform: translateY(-2px); }

/* Page Hero */
.page-hero {
  padding: 180px 0 80px;
  text-align: center;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,106,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 12px; position: relative; z-index: 1; }
.page-hero p { color: var(--text-secondary); font-size: 17px; position: relative; z-index: 1; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* Features Section - Vibrant Blocks */
.features { padding: 120px 0; background: var(--bg); }
.features-header { text-align: center; margin-bottom: 72px; }
.features-header h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.features-header p { color: var(--text-muted); font-size: 16px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-light);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-img { transform: scale(1.08); }

.feature-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.feature-card:hover .feature-num {
  background: var(--primary);
  color: white;
}

.feature-body {
  padding: 24px;
  background: var(--surface);
}
.feature-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.feature-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Products Section - Feature-Rich Showcase */
.products-section {
  padding: 120px 0;
  background: var(--bg-warm);
}
.products-header { text-align: center; margin-bottom: 72px; }
.products-header h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }

.product-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.product-card-decoration {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: var(--bg-warm);
  border-radius: 50%;
  transition: all 0.5s ease;
}
.product-card:hover .product-card-decoration { transform: scale(1.5); background: rgba(255,106,0,0.06); }
.product-card > * { position: relative; z-index: 1; }
.product-card-num {
  font-family: 'Rubik', sans-serif;
  font-size: 64px;
  font-weight: 900;
  color: var(--bg-warm);
  line-height: 1;
  margin-bottom: -8px;
  transition: color 0.3s ease;
}
.product-card:hover .product-card-num { color: rgba(255,106,0,0.12); }
.product-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; margin-top: 4px; }
.product-card-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.product-card p { color: var(--text-secondary); font-size: 15px; margin-bottom: 24px; }
.product-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-warm);
  margin-bottom: 20px;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  cursor: pointer;
  transition: gap 0.2s ease;
}
.product-link:hover { gap: 14px; color: var(--primary); }
.product-link svg { transition: transform 0.2s ease; }
.product-link:hover svg { transform: translateX(3px); }

/* Product Detail Page */
.product-detail-section { padding: 80px 0; background: var(--bg); }
.product-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border-light);
}
.product-detail-block:last-child { border-bottom: none; }

.product-visual {
  aspect-ratio: 4/3;
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,106,0,0.06), transparent 60%);
}
.product-visual-icon { font-size: 100px; opacity: 0.25; }
.product-visual-logo {
  width: 65%;
  height: 65%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.product-detail-info .product-tag { margin-bottom: 16px; }
.product-detail-info h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.03em; }
.product-detail-info > p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--bg-warm);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.check-icon svg { width: 12px; height: 12px; }

/* Contact Page */
.contact-section { padding: 80px 0 120px; background: var(--bg); }
.contact-layout { max-width: 520px; margin: 0 auto; text-align: center; }
.contact-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}
.qr-frame {
  width: 200px;
  height: 200px;
  margin: 0 auto 32px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-warm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.qr-frame:hover { border-color: var(--primary); background: rgba(255,106,0,0.04); }
.qr-frame svg { opacity: 0.4; }
.qr-frame p { font-size: 13px; color: var(--text-muted); }
.contact-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.contact-card > p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.contact-divider {
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 24px auto;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 32px 0;
  background: var(--surface);
}
.footer .container { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 13px; }
.footer-beian { font-size: 11px; color: var(--text-muted); } color: var(--text-muted); }
.footer-nav { display: flex; gap: 24px; list-style: none; }
.footer-nav a { font-size: 13px; color: var(--text-muted); text-decoration: none; cursor: pointer; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--text); }

/* CTA Section */
.cta-section { padding: 100px 0; text-align: center; background: var(--bg); }
.cta-section h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.03em; }
.cta-section p { color: var(--text-secondary); margin-bottom: 32px; font-size: 16px; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-block { grid-template-columns: 1fr; gap: 40px; }
  .product-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .navbar { top: 8px; width: calc(100% - 16px); }
  .navbar .container { height: 52px; padding: 0 16px; }
  .nav-links a { padding: 6px 12px; font-size: 13px; }
  .logo { font-size: 17px; }
  .hero { padding: 160px 0 80px; }
  .hero h1 { font-size: 34px; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-card { padding: 40px 28px; }
  .product-detail-section { padding: 40px 0; }
  .product-detail-block { padding: 40px 0; }
  .contact-card { padding: 40px 24px; }
  .footer .container { flex-direction: column; gap: 12px; }
  .page-hero { padding: 150px 0 60px; }
  .page-hero h1 { font-size: 28px; }
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
