/* ============================================
   凡剪AI 企业官网 - 共享样式
   主题：深蓝 + 金色（与落地页一致）
   ============================================ */

:root {
  --bg-primary: #0a0e27;
  --bg-secondary: #111640;
  --bg-card: #161b4a;
  --bg-card-hover: #1c2260;
  --gold: #f5c842;
  --gold-light: #ffd866;
  --gold-dark: #d4a82e;
  --text-primary: #ffffff;
  --text-secondary: #a8b0d3;
  --text-muted: #6b7299;
  --border: rgba(245, 200, 66, 0.15);
  --border-strong: rgba(245, 200, 66, 0.3);
  --glow: rgba(245, 200, 66, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --max-width: 1200px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; }

/* ---- Header / Navigation ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

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

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--bg-primary);
}

.site-nav { display: flex; gap: 6px; align-items: center; }

.site-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold);
  background: var(--glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(10, 14, 39, 0.98);
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--border);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 16px; font-size: 15px; }
}

/* ---- Page Layout ---- */
.page-body {
  padding-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
}

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

.section {
  padding: 60px 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .section { padding: 40px 0; }
}

/* ---- Hero Section ---- */
.hero {
  text-align: center;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  position: relative;
}

.hero h1 .highlight {
  color: var(--gold);
  display: inline;
}

.hero .subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
}

.hero-cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

@media (max-width: 768px) {
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 28px; }
  .hero .subtitle { font-size: 15px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(245, 200, 66, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 200, 66, 0.4);
  color: var(--bg-primary);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--border-strong);
}

.btn-outline:hover {
  background: var(--glow);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---- Section Titles ---- */
.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

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

@media (max-width: 768px) {
  .section-title { font-size: 24px; }
  .section-desc { font-size: 14px; margin-bottom: 28px; }
}

/* ---- Cards Grid ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--glow), rgba(245, 200, 66, 0.05));
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 24px; }
}

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(245, 200, 66, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 40px;
  font-weight: 800;
  color: var(--gold);
  margin: 16px 0;
}

.pricing-card .price .unit {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-card .price .original {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 24px 0;
  padding: 0;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: var(--text-muted);
}

.pricing-features li.disabled::before {
  content: '—';
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ---- Tables ---- */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--bg-card);
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

.data-table td {
  color: var(--text-secondary);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(245, 200, 66, 0.03);
}

/* ---- Process Steps ---- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--bg-primary);
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  transition: background 0.3s;
}

.faq-q:hover { background: var(--bg-card-hover); }

.faq-q .arrow {
  color: var(--gold);
  font-size: 14px;
  transition: transform 0.3s;
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner {
  padding: 0 24px 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.faq-item.open .faq-a {
  max-height: 500px;
}

/* ---- Contact Info ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.contact-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.contact-item .icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group label .required {
  color: #ff5252;
  margin-left: 4px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 15px;
  transition: border-color 0.3s;
  outline: none;
}

.form-input:focus {
  border-color: var(--gold);
}

.form-input::placeholder {
  color: var(--text-muted);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* ---- Timeline ---- */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-strong);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
}

.timeline-item .year {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ---- Stats ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item .num {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
}

.stat-item .label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .stat-item .num { font-size: 28px; }
}

/* ---- Payment Page ---- */
.pay-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.pay-amount {
  text-align: center;
  margin: 24px 0;
}

.pay-amount .currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  vertical-align: top;
}

.pay-amount .value {
  font-size: 56px;
  font-weight: 800;
  color: var(--gold);
}

.pay-amount .original {
  display: block;
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 4px;
}

.pay-order-info {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
}

.pay-order-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.pay-order-row .label { color: var(--text-secondary); }
.pay-order-row .value { color: var(--text-primary); font-weight: 500; }

.pay-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}

.pay-status {
  text-align: center;
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-size: 14px;
}

.pay-status.pending {
  background: rgba(245, 200, 66, 0.1);
  color: var(--gold);
}

.pay-status.success {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.pay-status.error {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}

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

.footer-brand .name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.8;
}

.footer-links h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  padding: 4px 0;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  margin: 0 8px;
}

.footer-bottom a:hover { color: var(--text-secondary); }

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}

/* ---- Utility ---- */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h3 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--text-primary);
}

.prose p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.9;
}

.prose ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.prose ul li {
  color: var(--text-secondary);
  font-size: 15px;
  padding: 4px 0 4px 20px;
  position: relative;
}

.prose ul li::before {
  content: '•';
  color: var(--gold);
  position: absolute;
  left: 0;
}

.callout {
  background: var(--bg-card);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.callout p {
  color: var(--text-secondary);
  margin: 0;
}

.callout strong {
  color: var(--text-primary);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
