@charset "utf-8";

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #f5f7fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: #2563eb; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1d4ed8; text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ========== Navigation ========== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-brand:hover { color: #1e293b; text-decoration: none; }
.nav-brand .brand-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

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

.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #475569;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover {
  background: #f1f5f9;
  color: #1e293b;
  text-decoration: none;
}
.nav-links a.active {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
}

/* Mobile menu toggle */
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #475569; padding: 4px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 24px;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 16px; }
}

/* ========== Hero Section ========== */
.hero {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  width: 80px; height: 80px;
  border-radius: 20px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero .hero-subtitle {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary {
  background: #fff;
  color: #4f46e5;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-primary:hover { background: #f8fafc; color: #4f46e5; }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

@media (max-width: 768px) {
  .hero { padding: 60px 20px; }
  .hero h1 { font-size: 30px; }
  .hero .hero-subtitle { font-size: 16px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
}

/* ========== Section Common ========== */
.section {
  padding: 72px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.section-alt { background: #fff; }

@media (max-width: 768px) {
  .section { padding: 48px 20px; }
  .section-header h2 { font-size: 26px; }
}

/* ========== Product Showcase ========== */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  width: 220px;
  background: #1e1e2e;
  border-radius: 28px;
  border: 4px solid #3b3b5c;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.phone-screenshot {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.product-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.product-info .product-tagline {
  font-size: 16px;
  color: #7c3aed;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-info p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.8;
}

.product-highlights {
  list-style: none;
  padding: 0;
}

.product-highlights li {
  padding: 8px 0;
  font-size: 15px;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.product-highlights li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: #ede9fe;
  border-radius: 50%;
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%237c3aed'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 768px) {
  .product-showcase { grid-template-columns: 1fr; gap: 32px; }
  .product-info h3 { font-size: 24px; }
  .phone-frame { width: 180px; }
}

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

.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.feature-icon.purple { background: #ede9fe; color: #7c3aed; }
.feature-icon.blue { background: #dbeafe; color: #2563eb; }
.feature-icon.green { background: #dcfce7; color: #16a34a; }
.feature-icon.orange { background: #ffedd5; color: #ea580c; }
.feature-icon.pink { background: #fce7f3; color: #db2777; }
.feature-icon.teal { background: #ccfbf1; color: #0d9488; }

.feature-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ========== Screenshot Gallery ========== */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.screenshot-item {
  text-align: center;
}

.screenshot-frame {
  background: #1e1e2e;
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.screenshot-frame:hover {
  transform: translateY(-4px);
}

.screenshot-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.screenshot-caption {
  margin-top: 12px;
  font-size: 14px;
  color: #64748b;
}

@media (max-width: 768px) {
  .screenshot-gallery { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* ========== Company Intro ========== */
.company-intro {
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px;
  border: 1px solid #e5e7eb;
}

.company-intro p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.8;
  text-indent: 2em;
}
.company-intro p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .company-intro { padding: 24px 20px; }
}

/* ========== Services Section ========== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e5e7eb;
}

.service-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 12px;
}

.service-icon-wrap {
  font-size: 28px;
  margin-bottom: 14px;
}

.service-list {
  padding-left: 20px;
  margin-bottom: 12px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
}

.service-list li { margin-bottom: 4px; }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ========== App Intro Section ========== */
.app-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.intro-item {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e5e7eb;
}

.intro-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 12px;
}

.intro-item p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .app-intro-grid { grid-template-columns: 1fr; }
}

/* ========== About Section ========== */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text h3 {
  font-size: 22px;
  color: #1e293b;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.8;
  text-indent: 2em;
}

.about-values {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.about-values li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}
.about-values li:last-child { border-bottom: none; }

.about-sidebar {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #e5e7eb;
}

.about-sidebar h4 {
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ede9fe;
}

.sidebar-item {
  margin-bottom: 16px;
}
.sidebar-item:last-child { margin-bottom: 0; }

.sidebar-item .label {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.sidebar-item .value {
  font-size: 15px;
  color: #334155;
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-content { grid-template-columns: 1fr; }
}

/* ========== Contact Section ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e5e7eb;
}

.contact-card h4 {
  font-size: 18px;
  color: #1e293b;
  margin-bottom: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.contact-method-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-method-icon.qq { background: #dbeafe; color: #2563eb; }
.contact-method-icon.email { background: #dcfce7; color: #16a34a; }

.contact-method-info .method-label {
  font-size: 13px;
  color: #94a3b8;
}
.contact-method-info .method-value {
  font-size: 16px;
  color: #1e293b;
  font-weight: 600;
}

.qq-btn {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 16px;
}
.qq-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ========== Footer ========== */
.site-footer {
  background: #1e293b;
  color: #94a3b8;
  padding: 48px 24px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.footer-brand {
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s;
}
.footer-links a:hover { color: #e2e8f0; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: #94a3b8; }

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

/* ========== Legal Page Styles ========== */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  flex: 1;
}

.legal-page h1 {
  font-size: 30px;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 8px;
}

.legal-page .legal-update {
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.legal-page h3 {
  font-size: 17px;
  font-weight: 600;
  color: #334155;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-page p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 14px;
  line-height: 1.8;
  text-indent: 2em;
}

.legal-page p.no-indent { text-indent: 0; }

.legal-page ul, .legal-page ol {
  margin: 0 0 14px 2em;
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
}

.legal-page li { margin-bottom: 6px; }

.legal-page .legal-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: right;
  font-size: 15px;
  color: #1e293b;
  font-weight: 600;
}

@media (max-width: 768px) {
  .legal-page { padding: 32px 20px 48px; }
  .legal-page h1 { font-size: 24px; }
}
