/* ============================================================
   Bao Ling Shan — Xi'an Baolingshan Network Technology Co., Ltd.
   Design #15 — Crimson + Gold | Spotlight Beam | Icon Wall
   ============================================================ */

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

:root {
  --crimson: #991b1b;
  --crimson-dark: #7f1d1d;
  --crimson-deeper: #450a0a;
  --gold: #fbbf24;
  --gold-light: #fcd34d;
  --gold-pale: #fef3c7;
  --cream: #fffbeb;
  --white: #ffffff;
  --text: #1c1917;
  --text-secondary: #44403c;
  --text-muted: #78716c;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h2 { font-size: 2.4rem; text-align: center; margin-bottom: 0.5rem; }
h3 { font-size: 1.3rem; }
.section-label {
  display: block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--crimson);
  margin-bottom: 0.4rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--crimson);
  border-bottom: 2px solid var(--gold);
  transition: background 0.3s;
}
.site-header.scrolled {
  background: var(--crimson-dark);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}
.logo svg { width: 36px; height: 36px; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--gold-pale);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a:focus-visible::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =============================================================
   HERO — Spotlight Beam
   ============================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--crimson-deeper);
}

/* Spotlight beam — large radial gradient from top-center */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, #fef3c7 0%, #fde68a 8%, #fbbf24 18%, #b45309 35%, #991b1b 55%, #7f1d1d 72%, #450a0a 100%);
  opacity: 0.95;
  pointer-events: none;
}

/* Subtle golden grain overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(251,191,36,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 75%, rgba(251,191,36,0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  background: rgba(251,191,36,0.18);
  border: 1px solid rgba(251,191,36,0.4);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.3rem;
  text-shadow:
    0 0 40px rgba(251,191,36,0.5),
    0 0 80px rgba(251,191,36,0.25),
    0 0 120px rgba(251,191,36,0.15),
    0 2px 4px rgba(0,0,0,0.4);
  letter-spacing: -0.02em;
}

.hero-accent {
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gold);
  margin: 1.2rem auto;
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(251,191,36,0.6);
}

.hero p {
  font-size: 1.15rem;
  color: var(--gold-pale);
  max-width: 520px;
  margin: 0 auto 2.2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  font-family: inherit;
}
.btn-gold {
  background: var(--gold);
  color: var(--crimson-deeper);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(251,191,36,0.35);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 0 36px rgba(251,191,36,0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-crimson {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}
.btn-crimson:hover {
  background: var(--crimson-dark);
  transform: translateY(-2px);
}

/* --- Section Spacing --- */
.section {
  padding: 5rem 0;
}

/* =============================================================
   SERVICES — Icon Wall Grid (3×3)
   ============================================================= */
.services {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Subtle dot pattern overlay */
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(153,27,27,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  cursor: default;
  padding: 0.5rem;
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.service-item:hover .service-icon {
  transform: translateY(-6px) scale(1.08);
  box-shadow: var(--shadow-lg);
}

.service-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}

.service-item:hover .service-name {
  color: var(--crimson);
}

/* Tooltip */
.service-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--crimson);
  color: var(--white);
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.service-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--crimson);
}

.service-item:hover .service-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* =============================================================
   ABOUT — Geographic Reach Map
   ============================================================= */
.about {
  background: var(--white);
}

.map-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.map-area {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #f0f9e8 0%, #e8f5e9 20%, #f1f8e9 35%, #fff8e1 50%, #fef7e0 65%, #e8eaf6 80%, #e3f2fd 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Grid lines for topographic feel */
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120,113,108,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,113,108,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Terrain blobs */
.map-terrain {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.map-terrain.t1 { width: 30%; aspect-ratio: 1; top: 15%; left: 8%; background: rgba(144,190,109,0.25); }
.map-terrain.t2 { width: 22%; aspect-ratio: 1.3; top: 5%; left: 38%; background: rgba(129,178,154,0.2); }
.map-terrain.t3 { width: 28%; aspect-ratio: 1.2; top: 45%; left: 55%; background: rgba(165,165,141,0.18); }
.map-terrain.t4 { width: 18%; aspect-ratio: 1; top: 30%; left: 22%; background: rgba(180,200,160,0.22); }
.map-terrain.t5 { width: 24%; aspect-ratio: 1.4; top: 10%; right: 5%; background: rgba(144,190,109,0.15); }

/* City pins */
.city-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  transition: transform 0.3s ease;
}
.city-pin:hover { transform: translateY(-4px); }
.pin-dot {
  width: 14px;
  height: 14px;
  background: var(--crimson);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(153,27,27,0.4);
  position: relative;
}
/* Pin shadow/wave */
.pin-dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(153,27,27,0.15);
  animation: pin-pulse 2s ease-in-out infinite;
}
@keyframes pin-pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.3); opacity: 0; }
}
.pin-label {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--crimson-dark);
  background: var(--white);
  padding: 2px 10px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* Pin positions (percentage-based on map) */
.city-pin.xian     { top: 42%; left: 50%; }
.city-pin.beijing  { top: 22%; left: 58%; }
.city-pin.shanghai { top: 48%; left: 72%; }
.city-pin.shenzhen { top: 72%; left: 60%; }
.city-pin.chengdu  { top: 55%; left: 34%; }

.map-caption {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* =============================================================
   INDUSTRIES — Segmented Bar Chart
   ============================================================= */
.industries {
  background: var(--cream);
}

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

.chart-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chart-item {
  display: grid;
  grid-template-columns: 130px 1fr 50px;
  align-items: center;
  gap: 1rem;
}

.chart-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.chart-bar-bg {
  height: 32px;
  background: rgba(153,27,27,0.06);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}

.chart-bar-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  position: relative;
  transition: width 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Subtle shimmer on fill */
.chart-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.chart-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--crimson);
  font-family: var(--font-mono);
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.chart-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

/* =============================================================
   APPROACH — Curved Roadmap
   ============================================================= */
.approach {
  background: var(--white);
}

.roadmap {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0 1rem;
}

/* The winding SVG path */
.roadmap-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.roadmap-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.roadmap-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roadmap-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--crimson);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--cream), 0 4px 16px rgba(153,27,27,0.3);
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Offset circles vertically to create wave */
.roadmap-step:nth-child(1) .roadmap-circle { margin-top: 0; }
.roadmap-step:nth-child(2) .roadmap-circle { margin-top: 40px; }
.roadmap-step:nth-child(3) .roadmap-circle { margin-top: 0; }
.roadmap-step:nth-child(4) .roadmap-circle { margin-top: 40px; }

.roadmap-step:hover .roadmap-circle {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px var(--cream), 0 0 28px rgba(251,191,36,0.5), 0 4px 20px rgba(153,27,27,0.4);
}

.roadmap-step-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-top: 1.2rem;
}

.roadmap-step:nth-child(1) .roadmap-step-title,
.roadmap-step:nth-child(1) .roadmap-step-desc { margin-top: 0.6rem; }
.roadmap-step:nth-child(2) .roadmap-step-title,
.roadmap-step:nth-child(2) .roadmap-step-desc { margin-top: 2.6rem; }
.roadmap-step:nth-child(3) .roadmap-step-title,
.roadmap-step:nth-child(3) .roadmap-step-desc { margin-top: 0.6rem; }
.roadmap-step:nth-child(4) .roadmap-step-title,
.roadmap-step:nth-child(4) .roadmap-step-desc { margin-top: 2.6rem; }

.roadmap-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  max-width: 160px;
}

/* Connecting SVG line */
.roadmap-line-svg {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  z-index: 1;
}

/* =============================================================
   CONTACT — Calendar Booking Card
   ============================================================= */
.contact {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.calendar-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(153,27,27,0.08);
}

.calendar-header {
  background: var(--crimson);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
}

.calendar-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.calendar-header p {
  font-size: 0.85rem;
  color: var(--gold-pale);
  opacity: 0.85;
}

/* Month selector */
.calendar-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--gold-pale);
}

.month-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--crimson-dark);
}

.month-arrows {
  display: flex;
  gap: 0.5rem;
}

.month-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(153,27,27,0.2);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crimson);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.month-arrow:hover {
  background: var(--crimson);
  color: var(--white);
}

/* Day-of-week headers */
.calendar-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Date grid */
.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 0 1rem 1rem;
}

.calendar-date {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s;
  font-weight: 500;
}

.calendar-date:hover {
  background: var(--gold-pale);
  color: var(--crimson);
}

.calendar-date.selected {
  background: var(--crimson);
  color: var(--white);
  font-weight: 700;
}

.calendar-date.dimmed {
  color: #ccc;
  pointer-events: none;
}

.calendar-footer {
  padding: 1rem 1.5rem 1.5rem;
  text-align: center;
}

.btn-book {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--crimson-deeper);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(251,191,36,0.3);
}

.btn-book:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 24px rgba(251,191,36,0.45);
}

.contact-fallback {
  text-align: center;
  margin-top: 1.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-fallback a {
  color: var(--crimson);
  font-weight: 600;
  transition: color 0.2s;
}

.contact-fallback a:hover { color: var(--crimson-dark); }

/* =============================================================
   CTA — FAQ Help Card
   ============================================================= */
.cta {
  background: var(--crimson-deeper);
  color: var(--white);
}

.cta .section-label {
  color: var(--gold-light);
}

.cta h2 {
  color: var(--white);
}

.cta .section-subtitle {
  color: rgba(255,251,235,0.6);
}

.faq-card {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(4px);
}

.faq-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }

.faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.faq-qmark {
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
}

.faq-answer {
  font-size: 0.92rem;
  color: rgba(255,251,235,0.7);
  line-height: 1.6;
  padding-left: 2rem;
}

.cta-footer {
  text-align: center;
  margin-top: 2rem;
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--crimson-deeper);
  color: rgba(255,251,235,0.6);
  padding: 3rem 0 1.5rem;
  border-top: 3px solid var(--gold);
}

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

.footer-brand .logo { margin-bottom: 0.6rem; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--gold-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li { margin-bottom: 0.4rem; }

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,251,235,0.55);
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--gold-light);
  margin-left: 1rem;
}

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

/* =============================================================
   PRIVACY & TERMS PAGES
   ============================================================= */
.legal-page {
  padding-top: 120px;
  padding-bottom: 5rem;
  background: var(--white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(153,27,27,0.06);
}

.legal-content h1 {
  font-size: 2.2rem;
  color: var(--crimson);
  margin-bottom: 0.3rem;
}

.legal-content .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.3rem;
  text-align: left;
  color: var(--crimson-dark);
  margin: 2rem 0 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(153,27,27,0.08);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  margin: 0 0 1rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-content address {
  font-style: normal;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--crimson);
  text-decoration: underline;
}

/* =============================================================
   ANIMATIONS
   ============================================================= */
.rise-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.rise-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.rise-up-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.rise-up-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.rise-up-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.rise-up-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.rise-up-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.rise-up-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.rise-up-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.rise-up-stagger.visible > *:nth-child(7) { transition-delay: 0.6s; }
.rise-up-stagger.visible > *:nth-child(8) { transition-delay: 0.7s; }
.rise-up-stagger.visible > *:nth-child(9) { transition-delay: 0.8s; }

.rise-up-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .roadmap-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .roadmap-step:nth-child(1) .roadmap-circle,
  .roadmap-step:nth-child(2) .roadmap-circle,
  .roadmap-step:nth-child(3) .roadmap-circle,
  .roadmap-step:nth-child(4) .roadmap-circle { margin-top: 0; }

  .roadmap-step:nth-child(1) .roadmap-step-title,
  .roadmap-step:nth-child(1) .roadmap-step-desc,
  .roadmap-step:nth-child(2) .roadmap-step-title,
  .roadmap-step:nth-child(2) .roadmap-step-desc,
  .roadmap-step:nth-child(3) .roadmap-step-title,
  .roadmap-step:nth-child(3) .roadmap-step-desc,
  .roadmap-step:nth-child(4) .roadmap-step-title,
  .roadmap-step:nth-child(4) .roadmap-step-desc { margin-top: 0.6rem; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--crimson-dark);
    padding: 1.5rem;
    gap: 1.2rem;
    transform: translateY(-150%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--gold);
  }
  .nav-links.open { transform: translateY(0); }

  h2 { font-size: 1.8rem; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .chart-item {
    grid-template-columns: 100px 1fr 44px;
    gap: 0.6rem;
  }
  .chart-label { font-size: 0.78rem; }

  .roadmap-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .legal-content { padding: 2rem 1.5rem; }
  .legal-content h1 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0.8rem; }
  .service-icon { width: 64px; height: 64px; font-size: 30px; }

  .chart-item { grid-template-columns: 80px 1fr 38px; gap: 0.4rem; }

  .roadmap-steps { grid-template-columns: 1fr; gap: 1rem; }

  .calendar-card { border-radius: var(--radius-md); }

  .faq-card { padding: 1.5rem; }

  .section { padding: 3.5rem 0; }
}
