/* Yitu Growth Limited — dark theme, purple-magenta accent */

:root {
  --bg: #0B0E14;
  --bg-soft: #10131B;
  --bg-raised: #151927;
  --bg-card: #171B28;
  --line: #232839;
  --text: #E8EAED;
  --text-muted: #9AA2B1;
  --accent: #8B5CF6;
  --accent-deep: #7C3AED;
  --accent-hot: #C026D3;
  --accent-soft: #6D28D9;
  --on-accent: #FFFFFF;
  --grad: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 45%, #C026D3 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background-color: #0B0E14;
  color: #E8EAED;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.section-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C026D3;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #E8EAED;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #7C3AED 0%, #C026D3 100%);
  color: #FFFFFF;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #E8EAED;
  border-color: #3A4054;
}

.btn-ghost:hover {
  border-color: #C026D3;
  color: #C026D3;
}

/* ---------- Site header / hamburger ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: #E8EAED;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7C3AED 0%, #C026D3 100%);
  position: relative;
  display: inline-block;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 4px;
  background: #0B0E14;
}

.nav-toggle {
  position: relative;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #2A3043;
  background: #12151F;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: #8B5CF6;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #E8EAED;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Fullscreen overlay nav ---------- */

.overlay-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #0B0E14;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.overlay-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.overlay-close {
  position: absolute;
  top: 26px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #2A3043;
  background: transparent;
  color: #E8EAED;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.overlay-close:hover {
  border-color: #C026D3;
  color: #C026D3;
}

.overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.overlay-link {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #E8EAED;
  line-height: 1.1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.overlay-link:hover {
  color: #C026D3;
  transform: translateX(8px);
}

.overlay-meta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #9AA2B1;
  font-size: 15px;
}

.overlay-meta a:hover {
  color: #8B5CF6;
}

/* ---------- Slant hero ---------- */

.slant-hero {
  position: relative;
  padding: 160px 0 140px;
  background: #10131B;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  overflow: hidden;
}

.slant-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.slant-hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,38,211,0.28) 0%, transparent 70%);
  pointer-events: none;
}

.slant-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C026D3;
  padding: 8px 16px;
  border: 1px solid #3A2C55;
  border-radius: 999px;
  background: #151022;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #E8EAED;
  margin-bottom: 22px;
}

.hero-text {
  font-size: 18px;
  color: #B7BECB;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  position: relative;
  background: #151927;
  border: 1px solid #232839;
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.panel-orbit {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed #3A2C55;
  border-radius: 50%;
  animation: spin 22s linear infinite;
}

.orbit-dot {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #C026D3;
  box-shadow: 0 0 18px #C026D3;
}

.orbit-core {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED 0%, #C026D3 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.stat-stack {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: #10131B;
  border: 1px solid #1C2130;
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #E8EAED;
}

.stat-label {
  font-size: 14px;
  color: #9AA2B1;
}

/* ---------- Intro duo ---------- */

.intro-duo {
  padding: 110px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.media-block {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(124, 58, 237, 0.18) 0%, rgba(192, 38, 211, 0.12) 100%),
    #10131B;
  border: 1px solid #232839;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  gap: 10px;
  padding: 24px;
  overflow: hidden;
}

.media-block::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.5) 0%, transparent 70%);
}

.media-tag {
  position: relative;
  z-index: 1;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #3A2C55;
  background: #151022;
  color: #E8EAED;
  font-size: 13px;
  font-weight: 600;
}

.intro-copy p {
  color: #B7BECB;
  margin-bottom: 18px;
}

.intro-points {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intro-points li {
  position: relative;
  padding-left: 28px;
  color: #E8EAED;
  font-weight: 600;
}

.intro-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6 0%, #C026D3 100%);
}

/* ---------- Services scroll ---------- */

.services-scroll {
  padding: 100px 0;
  background: #10131B;
}

.services-head {
  margin-bottom: 48px;
}

.scroll-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 12px 24px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-track::-webkit-scrollbar {
  height: 8px;
}

.scroll-track::-webkit-scrollbar-track {
  background: #151927;
  border-radius: 8px;
}

.scroll-track::-webkit-scrollbar-thumb {
  background: #3A2C55;
  border-radius: 8px;
}

.service-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #151927;
  border: 1px solid #232839;
  border-radius: 20px;
  padding: 30px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  border-color: #8B5CF6;
  transform: translateY(-6px);
}

.service-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #C026D3;
  margin-bottom: 18px;
}

.service-name {
  font-size: 21px;
  font-weight: 800;
  color: #E8EAED;
  margin-bottom: 12px;
}

.service-desc {
  color: #9AA2B1;
  font-size: 15px;
}

/* ---------- Metric band ---------- */

.metric-band {
  padding: 90px 0;
  background: linear-gradient(135deg, #7C3AED 0%, #C026D3 100%);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.metric-value,
.metric-plus,
.metric-decimal {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1;
}

.metric-label {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}

/* ---------- Quote slider ---------- */

.quote-slider {
  padding: 110px 0;
}

.quote-head {
  text-align: center;
  margin-bottom: 48px;
}

.slider {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  min-height: 220px;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

.quote-text {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.5;
  font-weight: 600;
  color: #E8EAED;
  margin-bottom: 22px;
}

.quote-author {
  font-size: 15px;
  color: #C026D3;
  font-weight: 700;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #2A3043;
  background: #12151F;
  color: #E8EAED;
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.slider-btn:hover {
  border-color: #C026D3;
  color: #C026D3;
}

.slider-count {
  font-size: 14px;
  color: #9AA2B1;
  letter-spacing: 0.08em;
}

/* ---------- Contact panel ---------- */

.contact-panel {
  padding: 110px 0;
  background: #10131B;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info p {
  color: #B7BECB;
  margin-bottom: 24px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9AA2B1;
}

.contact-list a {
  color: #E8EAED;
  font-weight: 600;
}

.contact-list a:hover {
  color: #C026D3;
}

.contact-list span:not(.contact-label) {
  color: #B7BECB;
}

.contact-form {
  background: #151927;
  border: 1px solid #232839;
  border-radius: 24px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 700;
  color: #E8EAED;
}

.field input,
.field textarea {
  background: #10131B;
  border: 1px solid #2A3043;
  border-radius: 12px;
  padding: 13px 16px;
  color: #E8EAED;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #8B5CF6;
}

.form-note {
  font-size: 14px;
  color: #C026D3;
  min-height: 20px;
}

/* ---------- Footer ---------- */

.footer-cols {
  background: #080A0F;
  padding: 70px 0 0;
  border-top: 1px solid #1C2130;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.brand-footer {
  margin-bottom: 18px;
}

.footer-brand p {
  color: #9AA2B1;
  font-size: 15px;
  margin-bottom: 12px;
}

.footer-address {
  color: #6B7280;
  font-size: 14px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E8EAED;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #9AA2B1;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #C026D3;
}

.footer-bottom {
  border-top: 1px solid #1C2130;
  padding: 22px 0;
}

.footer-bottom p {
  color: #6B7280;
  font-size: 14px;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .slant-hero-inner,
  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .slant-hero {
    padding: 130px 0 110px;
  }

  .hero-visual {
    order: -1;
  }
}

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

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .slant-hero {
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
