/* director.css - NeuralRun esports director console landing page. Dark tech theme matching the product UI. CSP-safe: external stylesheet only, no inline styles/scripts. */

:root {
  --bg: #070b12;
  --panel: #0c141f;
  --panel-2: #101b29;
  --cyan: #22d3ee;
  --cyan-deep: #0e7f96;
  --text: #d8e4ee;
  --text-soft: #8ca3b5;
  --text-faint: #5f7486;
  --line: rgba(34, 211, 238, .18);
  --line-soft: rgba(140, 163, 181, .16);
  --shadow: 0 12px 34px rgba(0, 0, 0, .45);
  --maxw: 1120px;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 14% 8%, rgba(34, 211, 238, .06), transparent 42%),
    radial-gradient(circle at 88% 90%, rgba(34, 211, 238, .04), transparent 46%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; letter-spacing: .02em; }

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  text-align: center;
  margin: 0;
  color: #eef5fa;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: .55em auto 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(7, 11, 18, .84), rgba(7, 11, 18, .95)),
    url("assets/director-hub.jpg");
  background-size: cover;
  background-position: center 24%;
  background-repeat: no-repeat;
  border-bottom: 2px solid rgba(34, 211, 238, .55);
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.6rem, 7vw, 5rem) clamp(1.1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .34em;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, .45);
  background: rgba(34, 211, 238, .06);
  padding: .32em .95em;
  border-radius: 2px;
  margin: 0 0 1rem;
}
.hero__title {
  font-size: clamp(2.4rem, 8.5vw, 4.2rem);
  margin: 0 0 .12em;
  color: #f2f8fc;
  text-shadow: 0 0 26px rgba(34, 211, 238, .35);
  letter-spacing: .06em;
}
.hero__tag {
  font-size: clamp(1.05rem, 3.2vw, 1.5rem);
  color: var(--cyan);
  margin: 0 0 1rem;
  letter-spacing: .14em;
}
.hero__desc {
  max-width: 32em;
  color: var(--text-soft);
  margin: 0 0 1.3rem;
}
.hero__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.hero__points li {
  font-size: .88rem;
  background: rgba(34, 211, 238, .08);
  border: 1px solid rgba(34, 211, 238, .35);
  color: #bfe9f2;
  padding: .34em .9em;
  border-radius: 999px;
}

.plan-card {
  justify-self: center;
  width: 100%;
  max-width: 320px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.3rem 1.2rem;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}
.plan-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(34, 211, 238, .14);
  border-radius: 8px;
  pointer-events: none;
}
.plan-card__seal {
  display: inline-block;
  font-weight: 700;
  color: #04252c;
  background: var(--cyan);
  padding: .26em .85em;
  border-radius: 3px;
  letter-spacing: .2em;
  margin-bottom: .9rem;
  box-shadow: 0 2px 12px rgba(34, 211, 238, .4);
}
.plan-card__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  text-align: left;
}
.plan-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .5em .2em;
  border-bottom: 1px dashed var(--line-soft);
  color: var(--text-soft);
  font-size: .95rem;
}
.plan-card__list li:last-child { border-bottom: none; }
.plan-card__list strong { color: #eef5fa; font-size: 1.05rem; letter-spacing: .03em; }
.plan-card__btn {
  display: block;
  background: var(--cyan);
  color: #04252c;
  font-weight: 700;
  padding: .7em 1em;
  border-radius: 8px;
  letter-spacing: .08em;
}
.plan-card__btn:hover { text-decoration: none; filter: brightness(1.1); }
.plan-card__hint {
  margin: .7rem 0 0;
  font-size: .85rem;
  color: var(--text-faint);
}

@media (min-width: 860px) {
  .hero__inner { grid-template-columns: 1.45fr .9fr; }
  .plan-card { justify-self: end; }
}

/* ---------------- FEATURES ---------------- */
.features {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.6rem, 7vw, 4.6rem) clamp(1.1rem, 4vw, 2.5rem) 1rem;
}
.feature-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.feature {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--cyan);
  border-radius: 10px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
  border-color: var(--line);
}
.feature h3 {
  margin: 0 0 .4rem;
  font-size: 1.15rem;
  color: #bfe9f2;
}
.feature p { margin: 0; color: var(--text-soft); }

@media (min-width: 720px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
}

/* ---------------- GALLERY (wide UI shots, 2-col max) ---------------- */
.gallery {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.1rem, 4vw, 2.5rem);
}
.shot-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(.9rem, 2.4vw, 1.4rem);
}
.shot {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}
.shot img {
  width: 100%;
  height: auto;
  transition: transform .35s ease;
}
.shot:hover img { transform: scale(1.03); }
.shot figcaption {
  font-size: .88rem;
  text-align: center;
  color: #bfe9f2;
  background: #091018;
  border-top: 1px solid var(--line-soft);
  padding: .62em .4em;
  letter-spacing: .05em;
}

@media (min-width: 680px) { .shot-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- CTA ---------------- */
.cta {
  color: var(--text);
  background-color: #050810;
  background-image:
    linear-gradient(180deg, rgba(5, 8, 16, .88), rgba(5, 8, 16, .95)),
    url("assets/transfer-manage.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  border-top: 2px solid rgba(34, 211, 238, .55);
}
.cta__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.6rem, 7vw, 4.6rem) clamp(1.1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.cta__text h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  margin: 0 0 .45rem;
  color: #f2f8fc;
}
.cta__text p { margin: 0; color: var(--text-soft); max-width: 34em; }
.cta__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}
.cta__btn {
  display: inline-block;
  background: var(--cyan);
  color: #04252c;
  font-weight: 700;
  font-size: 1.05rem;
  padding: .8em 1.6em;
  border-radius: 10px;
  letter-spacing: .08em;
  box-shadow: 0 6px 22px rgba(34, 211, 238, .35);
}
.cta__btn:hover { text-decoration: none; filter: brightness(1.1); }
.cta__card span { color: var(--text-faint); font-size: .88rem; }

@media (min-width: 760px) {
  .cta__inner { grid-template-columns: 1.3fr .9fr; text-align: left; justify-items: start; }
  .cta__card { justify-self: end; align-items: flex-end; }
}

/* ---------------- FOOTER ---------------- */
.site-foot {
  background: #050810;
  color: var(--text-faint);
  text-align: center;
  padding: 2rem 1rem 2.4rem;
  font-size: .88rem;
  border-top: 1px solid var(--line-soft);
}
.foot-brand {
  color: #cfe0ea;
  letter-spacing: .1em;
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.foot-links { margin: 0 0 .5rem; }
.site-foot a { color: var(--cyan); }
.foot-beian { margin: .3rem 0 0; }
.foot-beian a { color: var(--text-faint); }
