/* premium.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700;900&family=Noto+Sans+SC:wght@300;400;700;900&display=swap');

:root {
  --bg: #030405;
  --ink: #f6f7fb;
  --muted: rgba(246, 247, 251, 0.68);
  --soft: rgba(246, 247, 251, 0.42);
  --line: rgba(255, 255, 255, 0.08);
  --gold: #d7b46a;
  --violet: #9b7cff;
  --cyan: #6ec8ff;
  --max: 1440px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Outfit", "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

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

img,
video {
  max-width: 100%;
  image-rendering: auto;
  backface-visibility: hidden;
}

input,
textarea,
select,
option,
.copyable,
.copyable *,
.contact-line,
.contact-line *,
[data-copyable="true"],
[data-copyable="true"] * {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

/* Video BG */
.video-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #020304; }
.video-bg video { position: absolute; top: -5vh; right: -6vw; width: min(96vw, 1480px); height: 110vh; object-fit: cover; opacity: 0.96; filter: brightness(0.86) contrast(1.2) saturate(1.02) hue-rotate(8deg); transform: translateZ(0); transform-origin: center right; -webkit-mask-image: radial-gradient(ellipse at 58% 45%, black 0%, black 45%, rgba(0, 0, 0, 0.78) 59%, rgba(0, 0, 0, 0.24) 76%, transparent 91%); }
.video-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #000 0%, #000 24%, rgba(0, 0, 0, 0.9) 37%, rgba(0, 0, 0, 0.28) 60%, rgba(0, 0, 0, 0.72) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, transparent 22%, transparent 70%, rgba(0, 0, 0, 0.86) 100%); }

/* Nav */
.nav {
  width: 100%;
  padding: 0 max(32px, calc((100% - var(--max)) / 2));
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 4, 5, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.4)); }
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong { font-size: 17px; letter-spacing: 0.04em; }
.brand-copy span { color: var(--soft); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }

.nav-links { display: flex; gap: 46px; font-size: 14px; font-weight: 700; color: rgba(246, 247, 251, 0.82); }
.nav-links a { padding: 10px 0; border-bottom: 2px solid transparent; transition: all 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; border-color: var(--violet); }

/* Buttons */
.btn {
  min-width: 166px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px; background: rgba(0, 0, 0, 0.28); color: var(--ink);
  font-size: 14px; font-weight: 700; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer;
}
.btn.primary {
  border-color: rgba(215, 180, 106, 0.76);
  background: linear-gradient(135deg, rgba(215, 180, 106, 0.18), rgba(155, 124, 255, 0.13)), rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 20px rgba(215, 180, 106, 0.2);
}
.btn:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.36); background: rgba(255, 255, 255, 0.06); box-shadow: 0 12px 24px rgba(0,0,0,0.5); }
.btn.primary:hover { box-shadow: 0 16px 32px rgba(215, 180, 106, 0.4); border-color: var(--gold); }

/* Spotlight Effect (Mouse Halo) */
.spotlight-card {
  position: relative;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.spotlight-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.08), transparent 40%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0,0,0,0.6); border-color: rgba(255, 255, 255, 0.2); z-index: 2; }
.spotlight-content { position: relative; z-index: 1; padding: 34px; height: 100%; display: flex; flex-direction: column; }

/* Scroll Reveal Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Typography */
h1 { font-size: clamp(44px, 5.4vw, 72px); line-height: 1.08; font-weight: 900; margin: 0; text-shadow: 0 22px 60px rgba(0, 0, 0, 0.74); }
h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.18; font-weight: 900; margin: 0; }
.section-kicker { color: var(--violet); font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.scramble-text { display: inline-block; }

/* Bento Box Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
  width: 100%;
  margin: 54px auto;
}
.bento-span-2 { grid-column: span 2; }
.bento-span-3 { grid-column: span 3; }
.bento-span-4 { grid-column: span 4; }
.bento-row-2 { grid-row: span 2; }

@media (max-width: 980px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-span-4 { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-span-2, .bento-span-3, .bento-span-4 { grid-column: span 1; }
  .bento-row-2 { grid-row: span 1; }
  .nav-links { display: none; } /* Simplified for mobile */
}

/* Containers */
.container { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; padding: 86px 0; }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid var(--line); margin-top: 68px; text-align: center; color: var(--soft); font-size: 13px; }

/* Horizontal Scroll (Process) */
.h-scroll-container { height: 400vh; position: relative; }
.h-scroll-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.h-scroll-track { display: flex; gap: 34px; padding: 0 max(32px, calc((100% - var(--max)) / 2)); width: max-content; will-change: transform; }
.process-step { width: 410px; height: 470px; flex-shrink: 0; }
