/* ==========================================================================
   FOTON HDT — "2026" design layer
   Appended after the base system: bigger type, editorial layout, motion.
   ========================================================================== */

:root {
  --brand-3:    #1f6fe0;
  --ink-3:      #0f1a2e;
  --paper:      #fbfcfe;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --shadow-xl:  0 30px 80px rgba(10, 16, 32, .18);
  --fs-display: clamp(2.6rem, 1rem + 6.4vw, 5.4rem);
  --fs-head:    clamp(1.9rem, 1rem + 3vw, 3.2rem);
}

body { background: var(--paper); letter-spacing: -0.005em; }

/* ---------- section rhythm ------------------------------------------------- */
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--dark {
  background:
    radial-gradient(1100px 480px at 82% -12%, rgba(31,111,224,.30), transparent 60%),
    linear-gradient(155deg, #0a1020 0%, #101a2e 58%, #0c1425 100%);
  color: #fff;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-lead { color: #a9b8ce; }
.section--flush { padding-block: 0; }

/* ---------- editorial section header -------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-3); margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section--dark .kicker { color: #7fb2f0; }
.display {
  font-size: var(--fs-head); line-height: 1.06; letter-spacing: -0.03em;
  font-weight: 800; margin: 0 0 1rem;
}
.section-head { max-width: 860px; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section-lead { font-size: clamp(1rem, .94rem + .3vw, 1.18rem); line-height: 1.7; color: var(--slate); }

/* ---------- hero: bigger, cinematic --------------------------------------- */
.hero { min-height: clamp(560px, 78vh, 820px); display: flex; flex-direction: column; }
.hero-inner { flex: 1; display: flex; align-items: center; padding-block: clamp(4rem, 9vw, 7rem); }
.hero-copy { max-width: 780px; }
.hero-copy h1 {
  font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800;
  margin-bottom: 1.4rem;
}
.hero-copy .lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.28rem); line-height: 1.66; color: #cbd8e9; max-width: 56ch; }
.hero-actions { margin-top: 2rem; gap: .9rem; }
.hero-supply { margin-top: 2.4rem; padding-top: 1.4rem; max-width: 70ch; }
.hero-bg { opacity: 1; }
.hero::before {
  background: linear-gradient(100deg,
    rgba(6,10,20,.96) 0%, rgba(6,10,20,.90) 32%,
    rgba(6,10,20,.52) 64%, rgba(6,10,20,.22) 100%);
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 3; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.55); display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(to bottom, rgba(255,255,255,.65), transparent);
  animation: scrollPulse 1.9s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: .25; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- stat band ------------------------------------------------------ */
.stats-grid { border-top: 1px solid rgba(255,255,255,.13); }
.stat { padding: clamp(1.4rem, 3vw, 2.2rem) 1.4rem; position: relative; }
.stat::before {
  content: ""; position: absolute; left: 0; top: 24%; height: 52%; width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.stat:first-child::before { display: none; }
.stat b {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em;
  line-height: 1; display: block; margin-bottom: .5rem;
}
.stat span { font-size: .78rem; letter-spacing: .06em; color: #9fb0c8; }

/* ---------- marquee (markets) --------------------------------------------- */
.marquee {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  padding-block: 1.1rem;
}
.marquee-track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap;
  font-size: .95rem; font-weight: 600; color: var(--steel);
}
.marquee-item i { font-style: normal; font-size: .72rem; color: var(--slate-2); font-family: var(--font-mono); }
.marquee-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-3); opacity: .75; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.section--dark .marquee-item { color: #b9c8dc; }
.section--dark .marquee-item i { color: #6f8199; }

/* ---------- market grid ---------------------------------------------------- */
.market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: .6rem; }
.market-chip {
  display: flex; align-items: baseline; justify-content: space-between; gap: .5rem;
  padding: .7rem .85rem; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  font-size: .84rem; color: #cfdcec; transition: transform .16s ease, background-color .16s ease;
}
.market-chip:hover { transform: translateY(-2px); background: rgba(255,255,255,.10); }
.market-chip em { font-style: normal; font-family: var(--font-mono); font-size: .68rem; color: #7f93ad; }

/* ---------- model cards (editorial) --------------------------------------- */
.grid-3 { gap: 1.5rem; }
.card {
  border-radius: var(--radius-xl); border-color: rgba(10,16,32,.07);
  box-shadow: 0 2px 4px rgba(10,16,32,.03);
}
.card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.model-media { aspect-ratio: 16 / 10; }
.model-media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(to top, rgba(6,10,20,.55), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover .model-media::after { opacity: 1; }
.badge {
  top: 14px; left: 14px; border-radius: 999px; padding: .34rem .7rem;
  background: rgba(10,16,32,.82); backdrop-filter: blur(6px); letter-spacing: .08em;
}
.card-body { padding: 1.5rem 1.4rem 1.6rem; gap: .8rem; }
.card-body h3 { font-size: 1.16rem; letter-spacing: -0.02em; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--brand); }
.model-power {
  font-size: .74rem; color: var(--brand); background: var(--brand-soft);
  border: 1px solid var(--brand-line); border-radius: 999px; padding: .22rem .6rem;
  display: inline-block; width: fit-content;
}
.chip { background: rgba(10,16,32,.035); border-color: rgba(10,16,32,.06); }

/* ---------- feature / service blocks -------------------------------------- */
.feature {
  border: 1px solid rgba(10,16,32,.07); border-left: 0; border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem; background: #fff; box-shadow: 0 2px 4px rgba(10,16,32,.03);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-num {
  font-size: .7rem; font-weight: 800; letter-spacing: .18em; color: var(--accent);
  display: block; margin-bottom: .7rem;
}
.feature h3 { font-size: 1rem; margin-bottom: .5rem; }
.service-card { border-radius: var(--radius-xl); border-color: rgba(10,16,32,.07); }
.app-card { border-radius: var(--radius-lg); border-color: rgba(10,16,32,.07); }

/* ---------- steps: horizontal timeline ------------------------------------ */
.steps { gap: 1.2rem; }
.step { border-top: 2px solid rgba(10,16,32,.10); padding-top: 1.4rem; }
.step::before {
  border-radius: 999px; padding: .2rem .58rem; font-size: .68rem;
  background: linear-gradient(135deg, var(--brand-3), var(--brand));
}
.step h3 { font-size: .98rem; }

/* ---------- split section (image + copy) ---------------------------------- */
.split { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(1.6rem,4vw,3.4rem); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }
.split-copy h2 { font-size: var(--fs-head); letter-spacing: -0.03em; }
.split-list { list-style: none; display: grid; gap: .75rem; margin-top: 1.3rem; }
.split-list li { position: relative; padding-left: 1.7rem; font-size: .95rem; color: var(--steel); }
.split-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* ---------- CTA band refresh ---------------------------------------------- */
.cta-band { border-radius: 0; }
.cta-inner { padding-block: clamp(3rem, 6vw, 4.6rem); }
.cta-inner h2 { font-size: var(--fs-head); letter-spacing: -0.03em; }

/* ---------- scroll reveal -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- responsive ----------------------------------------------------- */
@media (max-width: 1080px) {
  .split { grid-template-columns: minmax(0,1fr); }
  .split--reverse .split-media { order: 0; }
  .hero { min-height: auto; }
}
@media (max-width: 640px) {
  .market-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-copy h1 { font-size: clamp(2.1rem, 1.4rem + 6vw, 3rem); }
  .marquee-track { animation-duration: 30s; }
}
