/* TangoEra Premium Dark Editorial (Ink-Wash & White Crane) Theme - 2026-09-29 */

/* == 0929 修版#3 · 原图白鹤首屏（凤箫）== */
.hero{position:relative}
.hero > *:not(.crane-hero-watermark){position:relative;z-index:1}
.crane-hero-watermark{position:absolute;right:2vw;top:12%;width:min(400px,34vw);z-index:0;pointer-events:none;opacity:.55;animation:crane-float 8s ease-in-out infinite}
.crane-hero-watermark img{width:100%;height:auto;filter:drop-shadow(0 0 30px rgba(212,175,55,.22))}
@keyframes crane-float{0%,100%{transform:translateY(0) rotate(.5deg)}50%{transform:translateY(-12px) rotate(-.5deg)}}
@media(max-width:900px){
  .crane-hero-watermark{right:-46px;top:1%;width:200px;opacity:.32;animation:none}
}


:root {
  /* Core Color Palette: Ink-Wash & White Crane Premium Dark Editorial */
  --bg-dark-editorial: #0A0B0E;
  --bg-primary: #0E1015;
  --bg-secondary: #14171F;
  --bg-card: #1A1E27;
  --bg-card-hover: #222733;
  --bg-glass: rgba(20, 23, 31, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-editorial: rgba(212, 175, 55, 0.22);
  --border-active: rgba(212, 175, 55, 0.55);
  
  --text-primary: #F2F4F8;
  --text-body: #C4C8D2;
  --text-muted: #888E9E;
  --text-accent-gold: #D4AF37;
  --text-gold-light: #EAD07C;

  /* Legacy variable mappings for full backwards compatibility */
  --bg: var(--bg-primary);
  --primary: var(--bg-primary);
  --primary-soft: var(--bg-secondary);
  --bg-secondary: #14171F;
  --bg-card: #1A1E27;
  --border: var(--border-subtle);
  --text: var(--text-primary);
  --body-text: var(--text-body);
  --text-secondary: var(--text-muted);
  --muted: var(--text-muted);
  --white: #FFFFFF;
  --accent: #D4AF37;
  --accent-hover: #EAD07C;
  --accent-light: #EAD07C;
  --accent-nocturne: #D4AF37;
  --accent2: #D4AF37;
  --gold: #D4AF37;
  --gold-muted: #9E8852;
  --grid: rgba(255, 255, 255, 0.06);
  --success: #6EAD87;
  --warning: #D4AF37;
  --danger: #C86B6B;
}

/* Base Styles & Editorial Typography */
html {
  background-color: var(--bg-dark-editorial);
  color: var(--text-body);
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: radial-gradient(circle at 50% 0%, #151821 0%, var(--bg-dark-editorial) 70%);
  background-attachment: fixed;
  color: var(--text-body);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Headings with Editorial Serif Grace */
h1, h2, h3, h4, h5, h6, .editorial-heading {
  font-family: 'Lora', 'Lora Fallback', 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-body);
}

a {
  color: var(--text-accent-gold);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--text-gold-light);
}

/* Ink-Wash Background Accents & Vignettes */
.ink-decor-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 600px;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 20%, rgba(212, 175, 55, 0.08) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 70%);
  z-index: 0;
}

.ink-vignette {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 16, 21, 0.8) 0%, rgba(20, 23, 31, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

/* Layout Containers & Sections */
.container, .main-content, .hero-container, .content-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  padding: 70px 0;
  position: relative;
}

/* Editorial Hero Section */
.hero {
  background: radial-gradient(circle at 50% 30%, rgba(26, 30, 39, 0.8) 0%, var(--bg-dark-editorial) 100%);
  padding: 90px 20px 80px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #D8DCE5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.6;
}

/* Hero Badge / Tag */
.editorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-editorial);
  color: var(--text-accent-gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Crane Decorative Artwork Header */
.crane-hero-art {
  display: block;
  margin: 0 auto 24px;
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  opacity: 0.95;
}

/* Buttons & CTA System */
.cta-button, .hero-primary-cta, button[type="submit"], input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #D4AF37 0%, #B89228 100%);
  color: #0A0B0E !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.cta-button:hover, .hero-primary-cta:hover, button[type="submit"]:hover {
  background: linear-gradient(135deg, #EAD07C 0%, #D4AF37 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-primary-cta {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  padding: 20px 48px;
  border-radius: 12px;
}

.cta-button.secondary, .hero-secondary-cta {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-subtle);
  box-shadow: none;
}

.cta-button.secondary:hover, .hero-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Pain Cards & Feature Cards Grid */
.pain-cards-grid, .grid, .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.pain-card, .card, .feature-card, .methodology-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.pain-card::before, .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-editorial), transparent);
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.pain-card:hover, .card:hover, .methodology-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-editorial);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.pain-card:hover::before, .card:hover::before {
  opacity: 1;
}

/* Trust Strip / Value Bar */
.hero-trust-strip, .trust-bar, .value-props {
  background: rgba(20, 23, 31, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px 28px;
  margin: 36px auto 0;
  max-width: 1000px;
  backdrop-filter: blur(6px);
}

/* Pricing Section & Cards */
.pricing-grid, .pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.pricing-card.featured, .pricing-card.popular {
  border-color: var(--border-editorial);
  background: linear-gradient(180deg, rgba(26, 30, 39, 0.95) 0%, rgba(20, 23, 31, 0.95) 100%);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.12);
}

.pricing-card .price {
  font-family: 'Lora', serif;
  font-size: 2.8rem;
  color: var(--text-primary);
  margin: 16px 0;
  font-weight: 400;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

/* Sticky CTA Bar */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 16, 21, 0.92);
  border-top: 1px solid var(--border-editorial);
  padding: 14px 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
}

.sticky-cta .price-tag {
  color: var(--text-accent-gold);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Form Inputs & Controls */
input[type="text"], input[type="email"], select, textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--border-editorial);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Navigation Header */
header, nav, .site-header {
  background: rgba(10, 11, 14, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* FAQ Accordion & Text Sections */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 20px 24px;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-editorial);
}

.faq-question {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.faq-answer {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Editorial Footer */
footer, .site-footer {
  background: var(--bg-dark-editorial);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

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

footer a:hover {
  color: var(--text-accent-gold);
}

/* Mobile Responsive Optimizations */
@media (max-width: 768px) {
  .hero {
    padding: 60px 16px 50px;
  }
  
  .hero-primary-cta {
    width: 100%;
    padding: 18px 24px;
  }

  .hero-secondary-cta {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
  }

  .sticky-cta {
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
  }

  .pain-cards-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
}
