/* =========================================================
   NYLEN LIMITED · 石墨黑 × 珊瑚橙 · Growth Marketing Style
   视觉策略：暖色电商增长感，杂志式编号排版
   ========================================================= */

:root {
  --ink: #14181F;
  --ink-soft: #3A4250;
  --mute: #737E8C;
  --line: #E8E4DF;
  --bg: #FFFFFF;
  --bg-warm: #FAF7F3;
  --bg-dark: #14181F;
  --bg-dark-2: #1C222C;
  --coral: #FF5A2D;
  --coral-deep: #E8431A;
  --gold: #FFC24B;
  --shadow-sm: 0 1px 2px rgba(20,24,31,.05);
  --shadow-md: 0 10px 30px -10px rgba(20,24,31,.14);
  --shadow-lg: 0 30px 70px -24px rgba(20,24,31,.28);
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1160px;
  --header-h: 68px;
  --font-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
ol, ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  color: #fff; font-family: var(--font-en); font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--font-en); font-size: 17px; letter-spacing: .12em; }
.brand-text small { font-family: var(--font-en); font-size: 9.5px; letter-spacing: .3em; color: var(--mute); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--coral); transition: width .25s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  padding: 13px 30px; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--coral), var(--coral-deep));
  color: #fff; box-shadow: 0 8px 22px -8px rgba(255,90,45,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(255,90,45,.6); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg-dark);
  padding: 150px 0 90px;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none;
}
.hero-glow-1 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(255,90,45,.55), transparent 65%); top: -180px; right: -120px; }
.hero-glow-2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,194,75,.28), transparent 65%); bottom: -160px; left: -100px; }
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .08em; color: var(--gold);
  border: 1px solid rgba(255,194,75,.35); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 26px;
  background: rgba(255,194,75,.07);
}
.hero-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero-title {
  font-size: clamp(34px, 5.2vw, 58px); line-height: 1.18; font-weight: 800;
  color: #fff; letter-spacing: -.01em; margin-bottom: 22px;
}
.hero-title em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--coral), var(--gold)); -webkit-background-clip: text; background-clip: text; }
.hero-sub { max-width: 620px; font-size: 17px; color: rgba(255,255,255,.72); margin-bottom: 36px; }
.hero-sub b { color: #fff; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden;
}
.hero-stats > div { background: rgba(255,255,255,.04); padding: 22px 26px; backdrop-filter: blur(6px); }
.hero-stats dt { font-family: var(--font-en); font-size: 30px; font-weight: 800; color: #fff; line-height: 1.2; }
.hero-stats dd { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 2px; }

/* ===== Industries strip ===== */
.industries { background: var(--bg-warm); border-bottom: 1px solid var(--line); padding: 26px 0; }
.industries-label { font-size: 12.5px; color: var(--mute); letter-spacing: .06em; text-align: center; margin-bottom: 12px; }
.industries-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.industries-list li {
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 16px;
}

/* ===== Section scaffold ===== */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-warm); }
.section-dark { background: var(--bg-dark); }
.section-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 52px; }
.section-index {
  font-family: var(--font-en); font-weight: 800; font-size: 15px; color: #fff;
  background: var(--ink); border-radius: 6px; padding: 6px 10px; line-height: 1; margin-top: 8px;
}
.section-index-dark { background: var(--coral); }
.section-kicker { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .28em; color: var(--coral); margin-bottom: 6px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.section-head h2 .accent { color: var(--coral); }
.section-desc { max-width: 640px; color: var(--mute); font-size: 15.5px; margin-top: 10px; }
.section-head-dark .section-kicker { color: var(--gold); }
.section-head-dark h2 { color: #fff; }
.section-head-dark h2 .accent { color: var(--gold); }
.section-head-dark .section-desc { color: rgba(255,255,255,.6); }

/* ===== Services (numbered wide rows) ===== */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 88px 1fr 260px; gap: 28px; align-items: center;
  padding: 30px 6px; border-bottom: 1px solid var(--line);
  transition: background .25s, padding-left .25s;
}
.service-row:hover { background: #fff; padding-left: 18px; }
.service-num {
  font-family: var(--font-en); font-size: 26px; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1.5px var(--coral); line-height: 1;
}
.service-main h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.service-main p { font-size: 14.5px; color: var(--mute); max-width: 620px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.service-tags li {
  font-size: 12px; font-weight: 600; color: var(--coral-deep);
  background: rgba(255,90,45,.08); border-radius: 6px; padding: 4px 12px; white-space: nowrap;
}

/* ===== Why ===== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 32px; transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon { font-size: 30px; display: block; margin-bottom: 14px; }
.why-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14.5px; color: var(--mute); }

/* ===== Cases ===== */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s;
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case-industry {
  background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; padding: 8px 22px; display: inline-block; align-self: flex-start;
  border-radius: 0 0 10px 0;
}
.case-card h3 { font-size: 19px; font-weight: 700; padding: 18px 26px 0; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px 26px; }
.case-metrics li { border-left: 2px solid var(--coral); padding-left: 12px; }
.case-metrics b { display: block; font-family: var(--font-en); font-size: 22px; font-weight: 800; line-height: 1.25; }
.case-metrics span { font-size: 12px; color: var(--mute); }
.case-note { padding: 0 26px 24px; font-size: 13.5px; color: var(--mute); }

/* ===== Process (dark) ===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.process-steps li {
  background: var(--bg-dark-2); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg); padding: 28px 26px; position: relative;
  transition: border-color .25s, transform .25s;
}
.process-steps li:hover { border-color: rgba(255,90,45,.55); transform: translateY(-4px); }
.step-no { font-family: var(--font-en); font-size: 11.5px; font-weight: 700; letter-spacing: .22em; color: var(--coral); }
.process-steps h3 { color: #fff; font-size: 19px; font-weight: 700; margin: 10px 0 8px; }
.process-steps p { font-size: 13.5px; color: rgba(255,255,255,.62); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.about-text p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 16px; }
.about-text b { color: var(--ink); }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-stats > div {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff;
}
.about-stats dt { font-family: var(--font-en); font-size: 26px; font-weight: 800; color: var(--ink); }
.about-stats dd { font-size: 12.5px; color: var(--mute); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 36px; display: flex; flex-direction: column; gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 14px;
  background: var(--bg-warm); transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--coral); background: #fff; }
.form-note { font-size: 12.5px; color: var(--mute); text-align: center; }
.contact-info {
  background: var(--ink); color: rgba(255,255,255,.75); border-radius: var(--radius-lg);
  padding: 32px 34px;
}
.contact-info h3 { color: #fff; font-size: 19px; margin-bottom: 18px; }
.contact-info ul { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.contact-info li { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.contact-info li b { font-size: 12px; letter-spacing: .1em; color: var(--gold); font-weight: 600; }
.contact-info a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.contact-cta {
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px;
  font-size: 14px; line-height: 1.7;
}
.contact-cta p { margin-bottom: 14px; }
.contact-cta .btn { border: 1.5px solid rgba(255,255,255,.5); color: #fff; width: 100%; }
.contact-cta .btn:hover { background: rgba(255,255,255,.1); }

/* ===== Footer ===== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.55); padding: 40px 0 32px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand .brand-mark { width: 38px; height: 38px; border-radius: 9px; }
.footer-brand b { display: block; font-family: var(--font-en); letter-spacing: .12em; font-size: 15px; }
.footer-brand small { display: block; font-size: 11.5px; color: rgba(255,255,255,.5); }
.footer-nav { display: flex; gap: 22px; margin-left: auto; }
.footer-nav a { font-size: 13.5px; color: rgba(255,255,255,.6); }
.footer-nav a:hover { color: #fff; }
.footer-copy { width: 100%; border-top: 1px solid rgba(255,255,255,.1); margin-top: 20px; padding-top: 18px; font-size: 12.5px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .service-row { grid-template-columns: 56px 1fr; }
  .service-tags { grid-column: 2; justify-content: flex-start; }
  .why-grid, .case-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 10px 24px 18px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-inner .btn-sm { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: row; }
}
