/* ─── Oranix 幻橙科技 ─────────────────────────────────────────── */

:root {
  --bg: #0c0d10;
  --bg-soft: #121318;
  --bg-card: #17181f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f3f5;
  --text-dim: #9aa0ab;
  --accent: #ff6b1f;
  --accent-soft: #ff9a3d;
  --accent-glow: rgba(255, 107, 31, 0.35);
  --radius: 16px;
  --header-h: 72px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1160px, 92%); margin: 0 auto; }
.pc-only { display: inline; }

.accent {
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ─── Reveal animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .scroll-hint span { animation: none !important; }
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(12, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  width: min(1240px, 94%);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; }
.logo-text { font-size: 19px; font-weight: 700; letter-spacing: 0.02em; }
.logo-text em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--text-dim);
  display: block;
  line-height: 1.1;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--text); }
.main-nav a.nav-cta {
  color: #fff;
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  margin-left: 10px;
  box-shadow: 0 4px 18px var(--accent-glow);
}
.main-nav a.nav-cta:hover { filter: brightness(1.08); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 16s ease-in-out infinite alternate;
}
.orb-1 { width: 460px; height: 460px; background: #ff6b1f; top: -120px; left: -80px; }
.orb-2 { width: 380px; height: 380px; background: #ff9a3d; bottom: -100px; right: -60px; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: #7c3aed; bottom: 20%; left: 12%; opacity: 0.22; animation-delay: -9s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, -40px) scale(1.12); }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 75%);
}

.hero-inner { position: relative; z-index: 1; padding: 120px 20px 80px; }
.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.42em;
  color: var(--accent-soft);
  font-weight: 600;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.hero-sub {
  margin: 28px auto 0;
  max-width: 640px;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-dim);
}
.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  box-shadow: 0 6px 24px var(--accent-glow);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-lg { padding: 18px 46px; font-size: 18px; }

.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
}
.scroll-hint span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--accent-soft);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ─── Sections ─── */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-en {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent-soft);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-head h2, .about-text h2, .contact-inner h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
}
.section-desc { margin-top: 16px; color: var(--text-dim); font-size: 16px; }

/* ─── Services ─── */
.services { background: var(--bg-soft); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 31, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.service-icon {
  width: 52px; height: 52px;
  color: var(--accent-soft);
  margin-bottom: 22px;
}
.service-card h3 { font-size: 19px; margin-bottom: 12px; }
.service-card p { font-size: 14.5px; color: var(--text-dim); }

/* ─── Work ─── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.work-card:hover { transform: translateY(-6px); border-color: rgba(255, 107, 31, 0.45); }
.work-cover {
  height: 240px;
  position: relative;
  background-size: cover;
  transition: filter 0.3s;
}
.work-card:hover .work-cover { filter: brightness(1.1); }
.cover-a { background: linear-gradient(135deg, #2b1a0e, #7a3407 60%, #ff6b1f); }
.cover-b { background: linear-gradient(135deg, #10131f, #1e2b57 60%, #4f74ff); }
.cover-c { background: linear-gradient(135deg, #101c17, #145239 60%, #22c55e); }
.cover-d { background: linear-gradient(135deg, #1d1024, #4c1d95 60%, #a855f7); }
.work-tag {
  position: absolute;
  top: 18px; left: 18px;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.work-info { padding: 22px 24px 26px; }
.work-info h3 { font-size: 19px; margin-bottom: 6px; }
.work-info p { font-size: 14px; color: var(--text-dim); }

/* ─── Stats ─── */
.stats {
  background: linear-gradient(120deg, rgba(255, 107, 31, 0.12), rgba(124, 58, 237, 0.1)),
    var(--bg-soft);
  border-block: 1px solid var(--line);
  padding: 64px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat strong {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { display: block; margin-top: 6px; color: var(--text-dim); font-size: 15px; }

/* ─── Process ─── */
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.process-steps li {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
}
.step-no {
  font-size: 42px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 154, 61, 0.55);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}
.process-steps h3 { font-size: 18px; margin-bottom: 10px; }
.process-steps p { font-size: 14.5px; color: var(--text-dim); }

/* ─── About ─── */
.about { background: var(--bg-soft); }
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text .section-en { margin-bottom: 14px; }
.about-text h2 { margin-bottom: 22px; }
.about-text p { color: var(--text-dim); margin-bottom: 18px; }
.about-text .btn { margin-top: 10px; }

.visual-card {
  background: #101116;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(1.5deg);
}
.visual-dot-row { display: flex; gap: 7px; margin-bottom: 16px; }
.visual-dot-row i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #2c2e37;
}
.visual-dot-row i:first-child { background: #ff5f57; }
.visual-dot-row i:nth-child(2) { background: #febc2e; }
.visual-dot-row i:nth-child(3) { background: #28c840; }
.visual-card pre {
  font-family: "SF Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.9;
  overflow-x: auto;
  color: #c8ccd4;
}
.c-k { color: #ff7b72; }
.c-v { color: #79c0ff; }
.c-p { color: #d2a8ff; }
.c-s { color: #a5d6a7; }

/* ─── Contact ─── */
.contact { text-align: center; }
.contact-inner .section-desc { margin-bottom: 40px; }
.contact-inner h2 { margin-top: 4px; }

/* ─── Footer ─── */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding: 56px 0 40px;
}
.footer-brand p { color: var(--text-dim); font-size: 14px; margin-top: 10px; }
.footer-nav { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.footer-nav a { color: var(--text-dim); font-size: 15px; transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }
.footer-contact { text-align: right; }
.footer-contact p { margin-bottom: 6px; }
.footer-contact a { color: var(--text-dim); transition: color 0.2s; }
.footer-contact a:hover { color: var(--accent-soft); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .service-grid, .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .pc-only { display: none; }
  .section { padding: 76px 0; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: min(78vw, 320px);
    height: calc(100dvh - var(--header-h));
    padding: 24px 22px;
    background: rgba(12, 13, 16, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 14px 16px; font-size: 17px; }
  .main-nav a.nav-cta { margin: 14px 0 0; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .work-grid { grid-template-columns: 1fr; }
  .work-cover { height: 190px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .about-inner { grid-template-columns: 1fr; gap: 44px; }
  .visual-card { transform: none; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-contact { text-align: left; }
}

@media (max-width: 480px) {
  .service-grid, .process-steps { grid-template-columns: 1fr; }
}

/* ─── Pricing ─── */
.pricing-hero { padding-top: calc(var(--header-h) + 60px); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: rgba(255, 107, 31, 0.55);
  box-shadow: 0 18px 50px rgba(255, 107, 31, 0.12);
}
.price-card h3 { font-size: 20px; margin-bottom: 14px; }
.price-card .price { margin-bottom: 22px; }
.price-card .price strong {
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-card .price span { color: var(--text-dim); font-size: 14px; }
.price-card ul {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.price-card ul li {
  padding: 7px 0 7px 26px;
  position: relative;
  color: var(--text-dim);
  font-size: 14.5px;
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-soft);
  font-weight: 700;
}
.price-card .btn { text-align: center; }
.pricing-faq {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
}
.pricing-faq h3 { margin-bottom: 16px; font-size: 18px; }
.pricing-faq ol { padding-left: 20px; color: var(--text-dim); font-size: 14.5px; }
.pricing-faq ol li { margin-bottom: 8px; }
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
}
.footer-bottom a { color: inherit; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent-soft); }
