/* ShanHai (山海) Mirror Site — Mountain & Sea Design */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0066FF;
  --primary-dark: #0052CC;
  --accent: #00D4AA;
  --dark: #0A1628;
  --header-bg: #0A1628;
  --bg: #FFFFFF;
  --surface: #F5F7FA;
  --surface-2: #EEF2F8;
  --text: #0A1628;
  --text-muted: #5C6B80;
  --green: #00C78C;
  --red: #E03C31;
  --border: #DDE4EE;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 2px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
  --transition: 0.2s ease;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; max-width: 100%; }
body { font-family: 'Inter', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.2; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 var(--space-sm);
  height: 64px; gap: var(--space-sm);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo { height: 38px; width: auto; max-width: 160px; object-fit: contain; }

.nav-links {
  display: flex; align-items: center; gap: 2px;
  flex: 1; justify-content: center;
}
.nav-links > li > a {
  color: rgba(255,255,255,.80); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links > li > a:hover { color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }
.mobile-lang { display: none; }

/* ─── DROPDOWN ─── */
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: 100%; right: 0;
  margin-top: 0; padding-top: 8px;
  display: none; min-width: 150px; z-index: 1000;
}
.dropdown-panel-inner {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel,
.dropdown.open .dropdown-panel { display: block; }
.dropdown-panel a {
  display: block; padding: 10px 16px;
  color: var(--text); font-size: 14px;
  transition: background var(--transition);
  white-space: nowrap;
}
.dropdown-panel a:hover { background: var(--surface); text-decoration: none; }

.nav-right { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; margin-left: auto; }
.lang-btn {
  background: none; border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85); padding: 6px 12px;
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 13px; display: flex; align-items: center; gap: 6px;
  transition: border-color var(--transition); font-family: inherit;
}
.lang-btn:hover { border-color: rgba(255,255,255,.6); }

/* ─── CTA BUTTON ─── */
.btn-cta {
  background: var(--primary); color: #fff;
  padding: 10px 22px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 700;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap; display: inline-block;
}
.btn-cta:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }
.btn-cta-lg {
  padding: 16px 40px; font-size: 18px;
}

/* ─── HAMBURGER ─── */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: #fff; font-size: 22px; padding: 6px; order: 99;
}

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, #0A1628 0%, #0D2354 50%, #0A3B8C 100%);
  color: #fff; text-align: center;
  padding: 100px var(--space-sm) 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1400&q=60&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.08;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-inner { position: relative; max-width: 860px; margin: 0 auto; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,170,.15); border: 1px solid rgba(0,212,170,.4);
  color: var(--accent); padding: 6px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 600; margin-bottom: var(--space-md);
}
.hero h1 { font-size: clamp(30px, 5vw, 56px); font-weight: 800; margin-bottom: var(--space-sm); color: #fff; }
.hero p { font-size: clamp(16px, 2.5vw, 20px); color: rgba(255,255,255,.80); margin-bottom: var(--space-lg); max-width: 660px; margin-left: auto; margin-right: auto; }
.hero-cta-group { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }
.hero-price { margin-top: var(--space-sm); font-size: 14px; color: rgba(255,255,255,.5); }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: var(--space-md) var(--space-sm);
}
.trust-bar-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-lg); flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-num { font-size: 30px; font-weight: 800; color: var(--primary); display: block; line-height: 1; }
.trust-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-top: 6px; display: block; }
.trust-divider { width: 1px; height: 40px; background: var(--border); }

/* ─── SECTIONS ─── */
.section { padding: var(--space-xl) var(--space-sm); }
.section-alt { background: var(--surface); }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); margin-bottom: var(--space-xs); display: block; }
.section-title { font-size: clamp(26px, 4vw, 42px); font-weight: 800; margin-bottom: var(--space-sm); }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 600px; margin-bottom: var(--space-lg); line-height: 1.7; }
.section-head { margin-bottom: var(--space-lg); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── FEATURE GRID ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.feature-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-md);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0,102,255,.12), rgba(0,212,170,.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: var(--space-sm); color: var(--primary);
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* ─── SPLIT ROW ─── */
.split-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-xl); align-items: center;
}
.split-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-image img { width: 100%; height: 360px; object-fit: cover; }
.split-content .section-title { font-size: clamp(22px, 3vw, 36px); }

/* ─── STREAMING GRID ─── */
.streaming-grid {
  display: flex; flex-wrap: wrap; gap: 10px; margin: var(--space-sm) 0 var(--space-md);
}
.streaming-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 13px; font-weight: 600;
}
.streaming-badge i { color: var(--green); }

/* ─── IMAGE STRIP ─── */
.image-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
.image-strip-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.image-strip-item img { width: 100%; height: 100%; object-fit: cover; }

/* ─── PLATFORM GRID ─── */
.platform-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-sm); margin-bottom: var(--space-md);
}
.platform-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm); text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.platform-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.platform-card i { font-size: 36px; color: var(--primary); margin-bottom: var(--space-sm); display: block; }
.platform-card span { font-size: 13px; font-weight: 600; }

/* ─── PRICING ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-md); }
.pricing-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-md);
  position: relative; transition: box-shadow var(--transition), transform var(--transition);
}
.pricing-card.popular { border-color: var(--primary); border-width: 2px; box-shadow: 0 0 0 4px rgba(0,102,255,.08); }
.pricing-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 4px 16px;
  border-radius: 100px; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.pricing-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: var(--space-xs); }
.pricing-price { font-size: 44px; font-weight: 800; color: var(--text); line-height: 1; }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-sm); margin-top: 6px; }
.pricing-divider { height: 1px; background: var(--border); margin: var(--space-sm) 0; }
.pricing-features li { padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.pricing-features li::before { content: '\2713'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pricing-cta {
  width: 100%; padding: 13px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 700; cursor: pointer; margin-top: var(--space-sm);
  display: block; text-align: center; transition: all var(--transition);
  background: var(--primary); color: #fff; border: none; font-family: inherit;
}
.pricing-cta:hover { background: var(--primary-dark); text-decoration: none; }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: var(--space-sm) 0; font-size: 16px; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: var(--text); font-family: inherit; gap: 12px;
}
.faq-q i { color: var(--primary); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 var(--space-sm); font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ─── CTA BANNER ─── */
.guarantee-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #0A3B8C 100%);
  color: #fff; text-align: center;
  padding: var(--space-lg) var(--space-sm); border-radius: var(--radius-xl);
}
.guarantee-banner h2 { font-size: clamp(22px, 4vw, 36px); margin-bottom: var(--space-sm); color: #fff; }
.guarantee-banner p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: var(--space-md); max-width: 560px; margin-left: auto; margin-right: auto; }
.guarantee-banner .btn-cta { background: #fff; color: var(--primary); }
.guarantee-banner .btn-cta:hover { background: var(--surface); color: var(--primary-dark); }

/* ─── PAGE HERO ─── */
.page-hero {
  background: linear-gradient(135deg, #0A1628 0%, #0D2354 100%);
  color: #fff; text-align: center;
  padding: 80px var(--space-sm) var(--space-xl);
}
.page-hero-inner { max-width: 700px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; margin-bottom: var(--space-sm); color: #fff; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.80); max-width: 600px; margin: 0 auto; }

/* ─── PROSE ─── */
.prose { font-size: 15px; line-height: 1.8; }
.prose h2 { font-size: 22px; margin-top: 40px; margin-bottom: 12px; color: var(--text); }
.prose h3 { font-size: 17px; margin-top: 28px; color: var(--text); }
.prose p { margin-bottom: 16px; color: var(--text-muted); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,.65);
  padding: var(--space-xl) var(--space-sm) var(--space-md);
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg); margin-bottom: var(--space-xl);
}
.footer-brand .logo-footer { height: 38px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-sm); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: 14px; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--space-sm);
  text-align: center;
}
.footer-bottom p { font-size: 13px; margin: 0; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .nav { padding: 0 8px; }
  .nav-links {
    display: none;
    position: absolute; top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    height: auto; max-height: none;
    overflow: visible;
    background: var(--header-bg);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    padding: 12px 0;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { width: 100%; text-align: center; padding: 14px 0; font-size: 17px; }
  .mobile-lang { display: flex; justify-content: center; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); width: 100%; flex-wrap: nowrap; }
  .nav-links li.mobile-lang a { display: inline-block; width: auto; padding: 4px 10px; font-size: 15px; line-height: 1.4; white-space: nowrap; color: rgba(255,255,255,.75); }
  .mobile-lang a.active { color: var(--accent); font-weight: 700; }
  .nav-right .lang-switcher { display: none; }
  .nav-right .btn-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-right { margin-left: auto; }

  .hero { padding: 60px var(--space-sm) 60px; }
  .hero h1 { font-size: clamp(26px, 7vw, 36px); }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn-cta,
  .btn-cta-lg {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: max-content;
    max-width: 90%;
  }
  .hero-cta-group,
  .cta-wrap,
  .feature-card[style*="text-align:center"] > div[style*="margin-top"],
  [style*="text-align:center"] > [style*="margin-top"] {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .split-row { grid-template-columns: 1fr; gap: var(--space-md); }
  .split-image { order: -1; }
  .split-image img { height: 220px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .footer-brand { grid-column: 1/-1; }

  .image-strip { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: var(--space-md); }
  .trust-divider { display: none; }

  .section { padding: 48px var(--space-sm); }
  .guarantee-banner { border-radius: var(--radius-lg); }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
