/* Lightsta — custom LED neon signs */

:root {
  --bg: #08080b;
  --bg-soft: #0e0e13;
  --card: #121218;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f4f7;
  --muted: #9b9ba6;
  --pink: #ff2f87;
  --cyan: #36d2ff;
  --amber: #ffb45e;
  --radius: 18px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--muted); }
.center { text-align: center; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pink);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.is-stuck {
  background: rgba(8, 8, 11, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink), 0 0 26px rgba(255, 47, 135, 0.7);
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.92rem;
}

.nav a { color: #d3d3da; transition: color 0.2s; }
.nav a:hover { color: #fff; }

.nav-cta {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 18px;
  color: #fff !important;
  transition: border-color 0.2s, background 0.2s;
}
.nav-cta:hover { border-color: var(--pink); background: rgba(255, 47, 135, 0.12); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.2s,
    border-color 0.2s;
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 14px 44px -14px rgba(255, 47, 135, 0.85);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 52px -14px rgba(255, 47, 135, 0.95);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 80px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(8, 8, 11, 0.72) 0%,
      rgba(8, 8, 11, 0.35) 38%,
      rgba(8, 8, 11, 0.82) 78%,
      var(--bg) 100%
    );
}

.hero .wrap { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 15ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--pink);
  text-shadow: 0 0 28px rgba(255, 47, 135, 0.55);
}

.hero-sub {
  margin-top: 22px;
  max-width: 54ch;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  color: #c9c9d2;
}

.hero .btn-row { margin-top: 34px; }

.hero-stats {
  margin-top: 54px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 44px;
  font-size: 0.86rem;
  color: #b6b6c0;
}

.hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-stats span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* ---------- Sections ---------- */

section { padding: 96px 0; }
.section-tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--pink);
}

.section-head { max-width: 62ch; margin-bottom: 46px; }

.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  letter-spacing: -0.035em;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

.head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

/* ---------- Trust strip ---------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 26px 22px;
  font-size: 0.9rem;
  color: #d7d7de;
  border-left: 1px solid var(--line);
}
.trust-item:first-child { border-left: none; }

.trust-item svg { color: var(--cyan); flex: none; }

/* ---------- Cards ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 47, 135, 0.4);
  box-shadow: 0 30px 70px -40px rgba(255, 47, 135, 0.65);
}

.card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #0a0a0e;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-thumb img { transform: scale(1.04); }

.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }

.card-body h3 { font-size: 1.06rem; letter-spacing: -0.01em; }

.tag {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.price { color: var(--pink); font-weight: 600; font-size: 0.98rem; }

.card-link { margin-top: 8px; font-size: 0.86rem; color: #cfcfd8; }
.card:hover .card-link { color: #fff; }

/* category cards */

.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.cat-card img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 11, 0.05) 30%, rgba(8, 8, 11, 0.9) 100%);
}
.cat-body { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 24px; }
.cat-body h3 { font-size: 1.2rem; }
.cat-body p { color: #b9b9c4; font-size: 0.88rem; margin-top: 4px; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}

.step { position: relative; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -0.72em;
  left: 0;
  background: var(--bg);
  padding-right: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--pink);
  font-weight: 600;
}
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Split ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.split h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -0.035em; }
.split p { color: var(--muted); margin-top: 18px; }

.check-list { margin-top: 26px; display: grid; gap: 13px; }
.check-list li {
  display: flex;
  gap: 12px;
  font-size: 0.94rem;
  color: #d2d2db;
}
.check-list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 47, 135, 0.9), rgba(255, 47, 135, 0.15) 70%);
  box-shadow: 0 0 12px rgba(255, 47, 135, 0.45);
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 22px 2px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--pink);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 2px 24px; color: var(--muted); max-width: 78ch; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(255, 47, 135, 0.32);
  background: radial-gradient(120% 140% at 12% 0%, rgba(255, 47, 135, 0.18), transparent 55%),
    radial-gradient(120% 140% at 88% 100%, rgba(54, 210, 255, 0.14), transparent 55%),
    var(--bg-soft);
  padding: 58px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 22ch; }
.cta-band p { color: var(--muted); margin-top: 12px; max-width: 46ch; }

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }

label { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

input, textarea, select {
  width: 100%;
  background: #0b0b10;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--pink);
  background: #0d0d13;
}
textarea { min-height: 132px; resize: vertical; }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(54, 210, 255, 0.35);
  background: rgba(54, 210, 255, 0.08);
  color: #cdeeff;
  font-size: 0.9rem;
}
.form-status.is-visible { display: block; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 150px 0 56px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 120% at 20% 0%, rgba(255, 47, 135, 0.1), transparent 60%);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.035em; }
.page-hero p { margin-top: 16px; color: var(--muted); max-width: 62ch; font-size: 1.02rem; }

/* ---------- Info blocks ---------- */

.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.info-row dt { color: var(--muted); }
.info-row dd { margin: 0; color: #e8e8ee; }

.note-box {
  border: 1px solid var(--line);
  border-left: 2px solid var(--pink);
  background: var(--bg-soft);
  border-radius: 0 14px 14px 0;
  padding: 20px 24px;
  color: #c9c9d3;
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 66px 0 30px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-grid h4 {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-grid ul { display: grid; gap: 10px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--pink); }
.footer-grid p { font-size: 0.92rem; color: #b9b9c4; }

.footer-bottom {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #85858f;
}

/* ---------- Reveal ---------- */

.reveal {
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
}
html.js .reveal.is-in,
.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: none; }
  .trust-item { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-row { grid-template-columns: 150px 1fr; }
}

@media (max-width: 720px) {
  section { padding: 68px 0; }
  .hero { min-height: 84vh; padding: 120px 0 56px; }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8, 8, 11, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 16px; text-align: center; }
  .nav-toggle { display: inline-flex; }

  .grid-3, .grid-2, .steps, .form-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: none; }
  .cta-band { padding: 38px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .page-hero { padding: 120px 0 44px; }
}

/* ---------- Filters ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.chip {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: #cfcfd8;
  padding: 9px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.chip:hover { color: #fff; border-color: #fff; }
.chip.is-active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
  box-shadow: 0 12px 32px -14px rgba(255, 47, 135, 0.9);
}

/* ---------- Card variants ---------- */

/* Wide artwork: blur the same photo behind a contained crop */
.fill-blur { position: relative; overflow: hidden; background: #0a0a0e; }
.fill-blur .thumb-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(26px) saturate(115%) brightness(0.45);
  transform: scale(1.2);
}
.fill-blur .thumb-fg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-custom { border-style: dashed; }

@media (min-width: 1001px) {
  .card-custom {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
  }
  .card-custom .card-thumb {
    flex: 0 0 46%;
    aspect-ratio: auto;
    min-height: 280px;
  }
  .card-custom .card-body {
    justify-content: center;
    padding: 44px 48px;
    gap: 8px;
  }
}

.custom-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(75% 75% at 50% 45%, rgba(255, 47, 135, 0.22), transparent 62%),
    radial-gradient(60% 60% at 80% 90%, rgba(54, 210, 255, 0.14), transparent 60%),
    #0b0b10;
}

.custom-word {
  margin-top: 10px;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 47, 135, 0.85), 0 0 46px rgba(255, 47, 135, 0.5);
}

/* ---------- Table ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.size-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.size-table th,
.size-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.size-table thead th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.size-table tbody tr:last-child td { border-bottom: none; }
.size-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }

/* ---------- Feature blocks ---------- */

.feature {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.feature h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Contact card ---------- */

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: var(--card);
}

/* ---------- Utilities ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
