/* 润实智联 — 命盘取向：喜金水，润为水润，实为沉稳，山下火为幽光而非烈焰 */
:root {
  --bg-deep: #060b14;
  --bg-card: rgba(12, 20, 36, 0.72);
  --bg-card-hover: rgba(16, 28, 50, 0.85);
  --border: rgba(148, 163, 184, 0.12);
  --border-hover: rgba(56, 189, 248, 0.35);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-cyan: #38bdf8;
  --accent-blue: #60a5fa;
  --accent-violet: #a78bfa;
  --accent-gold: #c9b896;
  --gradient-main: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #a78bfa 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, transparent 100%);
  --font-sans: "DM Sans", "Noto Sans SC", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-glow: 0 0 60px rgba(56, 189, 248, 0.12);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* Background */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--1 {
  width: 500px;
  height: 500px;
  top: -200px;
  right: -100px;
  background: rgba(56, 189, 248, 0.15);
}

.bg-glow--2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -150px;
  background: rgba(129, 140, 248, 0.1);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 11, 20, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  color: var(--accent-cyan);
}

.logo__mark svg {
  width: 22px;
  height: 22px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo__text small {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__cta {
  padding: 8px 18px !important;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.1) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: var(--accent-cyan) !important;
}

.nav__cta:hover {
  background: rgba(56, 189, 248, 0.18) !important;
  color: #7dd3fc !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 120px 0 80px;
}

.hero__inner {
  padding-left: max(4vw, calc((100vw - 1120px) / 2));
  padding-right: 24px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 28px;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn--primary {
  background: var(--gradient-main);
  color: #060b14;
  box-shadow: 0 4px 24px rgba(56, 189, 248, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--border-hover);
  background: rgba(56, 189, 248, 0.05);
}

.btn--block {
  width: 100%;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  max-width: 480px;
}

.stat__num {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat__label {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.stat__divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero visual */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: max(4vw, calc((100vw - 1120px) / 2));
}

.orbit {
  position: relative;
  width: 320px;
  height: 320px;
}

.orbit__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.orbit__ring--1 {
  animation: spin 20s linear infinite;
}

.orbit__ring--2 {
  inset: 40px;
  border-color: rgba(129, 140, 248, 0.2);
  animation: spin 15s linear infinite reverse;
}

.orbit__core {
  position: absolute;
  inset: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
}

.orbit__core svg {
  width: 64px;
  height: 64px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section__header {
  margin-bottom: 56px;
}

.section__header--center {
  text-align: center;
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
}

.about__card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.about__card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.about__card--main {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__card--main p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.about__card--main strong {
  color: var(--text);
}

.about__card--feature {
  text-align: center;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.about__card--feature h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.about__card--feature p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Services */
.services {
  background: var(--gradient-subtle);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.services__grid .service-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.service-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.service-card__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-violet);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card li {
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.15);
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}

.timeline__item {
  text-align: center;
  position: relative;
}

.timeline__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent-cyan);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.timeline__content h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.timeline__content p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Contact */
.contact__card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
}

.contact__info p {
  color: var(--text-muted);
  margin: 16px 0 32px;
  line-height: 1.75;
}

.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact__list a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition);
}

.contact__list a:hover {
  color: #7dd3fc;
}

.contact__label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.contact__action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.contact__hint {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact__note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__brand strong {
  font-size: 0.95rem;
}

.footer__brand span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    text-align: center;
  }

  .hero__inner {
    padding: 0 4vw;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    margin: 0 auto;
  }

  .hero__visual {
    padding: 0;
    order: -1;
  }

  .orbit {
    width: 240px;
    height: 240px;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__card--main {
    grid-row: auto;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .timeline::before {
    display: none;
  }

  .contact__card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    background: rgba(6, 11, 20, 0.95);
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }
}
