:root {
  --bg: #0b0f17;
  --bg2: #0f1523;
  --card: #121a2b;
  --text: #e9eefc;
  --muted: #a9b4d6;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
  --accent: #7c5cff;
  --accent2: #00d4ff;
  --good: #17d5a6;
  --danger: #ff4d6d;
  --radius: 18px;
  --gap: 14px;
  --container: 1180px;
  --marquee-duration: 42s;
}

/* Light theme tokens */
:root[data-theme="light"] {
  --bg: #f6f7fb;
  --bg2: #ffffff;
  --card: #ffffff;
  --text: #0d1325;
  --muted: #5d6b8f;
  --border: rgba(13, 19, 37, 0.12);
  --shadow: 0 20px 70px rgba(13, 19, 37, 0.12);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background:
    radial-gradient(
      1200px 900px at 20% -10%,
      rgba(124, 92, 255, 0.28),
      transparent 55%
    ),
    radial-gradient(
      1000px 800px at 90% 10%,
      rgba(0, 212, 255, 0.2),
      transparent 50%
    ),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
}
.skip:focus {
  left: 10px;
  z-index: 9999;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    180deg,
    rgba(10, 14, 22, 0.7),
    rgba(10, 14, 22, 0.35)
  );
  border-bottom: 1px solid var(--border);
}
:root[data-theme="light"] .site-header {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.55)
  );
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.2px;
}
.brand-name span {
  color: var(--accent);
}
.brand-tag {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 12px;
  transition: all 0.2s ease;
}
.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
:root[data-theme="light"] .nav a:hover {
  background: rgba(13, 19, 37, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    border 0.2s ease;
}
:root[data-theme="light"] .icon-btn {
  background: rgba(13, 19, 37, 0.05);
}
.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.cta {
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  background: linear-gradient(
    135deg,
    rgba(124, 92, 255, 0.92),
    rgba(0, 212, 255, 0.65)
  );
  box-shadow: 0 12px 40px rgba(124, 92, 255, 0.25);
}

.mobile-only {
  display: none;
}

/* Drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  display: none;
}
.nav-drawer[aria-hidden="false"] {
  display: block;
}
.nav-drawer-inner {
  position: absolute;
  right: 14px;
  top: 14px;
  width: min(420px, calc(100% - 28px));
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 14px;
  animation: pop 0.18s ease-out;
}
@keyframes pop {
  from {
    transform: translateY(-6px);
    opacity: 0.6;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.nav-drawer a {
  display: block;
  padding: 12px 12px;
  border-radius: 14px;
  color: var(--text);
  font-weight: 700;
}
.nav-drawer a:hover {
  background: rgba(255, 255, 255, 0.06);
}
:root[data-theme="light"] .nav-drawer a:hover {
  background: rgba(13, 19, 37, 0.06);
}

.nav-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 6px 10px;
}
.drawer-title {
  font-weight: 800;
  font-size: 14px;
  color: var(--muted);
}
.drawer-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  padding: 10px 12px;
  border: 1px dashed var(--border);
  border-radius: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    border 0.2s ease;
}
:root[data-theme="light"] .btn {
  background: rgba(13, 19, 37, 0.05);
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}
.btn.primary {
  border: 1px solid rgba(124, 92, 255, 0.35);
  background: linear-gradient(
    135deg,
    rgba(124, 92, 255, 0.92),
    rgba(0, 212, 255, 0.65)
  );
}
.btn.ghost {
  background: transparent;
}
.btn.small {
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
}

/* Hero */
.hero {
  padding: 34px 0 8px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--good);
  box-shadow: 0 0 0 6px rgba(23, 213, 166, 0.15);
}

.hero-title {
  margin: 16px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.6px;
}
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.stat {
  padding: 14px 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}
:root[data-theme="light"] .stat {
  background: rgba(13, 19, 37, 0.03);
}
.stat-num {
  font-weight: 900;
  font-size: 18px;
}
.stat-label {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Marquee */
.marquee {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  padding: 14px;
  box-shadow: var(--shadow);
}
:root[data-theme="light"] .marquee {
  background: rgba(13, 19, 37, 0.02);
}

.marquee-track {
  display: flex;
  gap: var(--gap);
  align-items: center;
  width: max-content;
  animation: marquee var(--marquee-duration) linear infinite;
  will-change: transform;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
}
.marquee-fade.left {
  left: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), transparent);
}
.marquee-fade.right {
  right: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.6), transparent);
}
:root[data-theme="light"] .marquee-fade.left {
  background: linear-gradient(90deg, rgba(246, 247, 251, 0.92), transparent);
}
:root[data-theme="light"] .marquee-fade.right {
  background: linear-gradient(270deg, rgba(246, 247, 251, 0.92), transparent);
}

.marquee-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease;
  aspect-ratio: 16 / 9;
  width: clamp(180px, 22vw, 260px);
}
.marquee-item:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.4);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.marquee-item::after {
  /* content:""; */
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.55));
  opacity: 0.75;
}
.marquee-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.hero-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}
:root[data-theme="light"] .hero-card {
  background: rgba(13, 19, 37, 0.03);
}
.hc-title {
  font-weight: 900;
  margin-bottom: 10px;
}
.hc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
.hc-list i {
  color: var(--good);
  margin-right: 8px;
}

/* Sections */
.section {
  padding: 36px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.section-head h2 {
  margin: 0;
  font-size: 26px;
}
.muted {
  color: var(--muted);
}

.controls {
  display: flex;
  gap: 10px;
  align-items: center;
}
.search {
  width: min(260px, 50vw);
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
}
:root[data-theme="light"] .search {
  background: rgba(13, 19, 37, 0.04);
}

/* Gallery */
.gallery {
  display: grid;

  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

\.thumb {
  grid-column: span 3;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);

  cursor: pointer;
  aspect-ratio: 16 / 9;
  transform: translateZ(0);
}

.thumb.big {
  grid-column: span 5;
}
.thumb.small {
  grid-column: span 3;
}
.thumb img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.thumb:hover img {
  transform: scale(1.06);
}

.thumb::after {
  /* content:""; */
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.6));
  opacity: 0.85;
}

.thumb-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 2;
}

.thumb-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.thumb-caption .t-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.thumb-caption .t-title {
  font-weight: 900;
  font-size: 13px;
  color: #fff;
}
.thumb-caption .t-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.thumb-caption .zoom {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.price-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}
:root[data-theme="light"] .price-card {
  background: rgba(13, 19, 37, 0.03);
}
.price-card.featured {
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 20px 80px rgba(124, 92, 255, 0.18);
}
.pc-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.35);
}
.pc-name {
  font-weight: 900;
  font-size: 16px;
}
.pc-price {
  font-weight: 900;
  font-size: 28px;
  margin-top: 8px;
}
.pc-price span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}
.pc-note {
  color: var(--muted);
  margin-top: 6px;
}
.pc-list {
  margin: 14px 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
.pc-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.pc-list li::before {
  content: "✓";
  color: var(--good);
  font-weight: 900;
}

/* Order */
.order-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gap);
}
.order-form {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}
:root[data-theme="light"] .order-form {
  background: rgba(13, 19, 37, 0.03);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.field span {
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
}
:root[data-theme="light"] .field input,
:root[data-theme="light"] .field select,
:root[data-theme="light"] .field textarea {
  background: rgba(13, 19, 37, 0.04);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(124, 92, 255, 0.5);
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.order-side {
  display: grid;
  gap: var(--gap);
}
.side-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}
:root[data-theme="light"] .side-card {
  background: rgba(13, 19, 37, 0.03);
}
.side-title {
  font-weight: 900;
  margin-bottom: 10px;
}
.side-link {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 14px;
}
.side-link:hover {
  background: rgba(255, 255, 255, 0.06);
}
:root[data-theme="light"] .side-link:hover {
  background: rgba(13, 19, 37, 0.06);
}

.ticks {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.ticks li {
  margin: 8px 0;
}

/* CTA band */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(
    135deg,
    rgba(124, 92, 255, 0.16),
    rgba(0, 212, 255, 0.1)
  );
}

/* Footer */
.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}
.footer-name {
  font-weight: 900;
}
.footer-right a {
  color: var(--muted);
  font-weight: 800;
}
.footer-right a:hover {
  color: var(--text);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 60;
}
.lightbox[aria-hidden="false"] {
  display: block;
}
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}
.lb-panel {
  position: absolute;
  inset: 16px;
  display: grid;
  place-items: center;
}
#lbImg {
  width: min(1100px, 92vw);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 10, 0.35);
  box-shadow: var(--shadow);
}
.lb-meta {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 92vw);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.lb-title {
  font-weight: 900;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  top: 18px;
}
.lb-close {
  right: 18px;
}
.lb-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.lb-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

/* Motion preference */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  * {
    scroll-behavior: auto !important;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-right {
    order: -1;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .order-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }
  .mobile-only {
    display: grid;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .thumb {
    grid-column: span 1;
  }
  .thumb.small {
    grid-column: span 1;
  }
  .thumb.big {
    grid-column: span 1;
  }
  .callout-card {
    grid-column: span 2;
  }
}

@media (max-width: 420px) {
  .cta {
    display: none;
  }
  .search {
    width: 100%;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Overflow safety */
.hero-grid > * {
  min-width: 0;
}
.hero-right {
  min-width: 0;
}
.marquee {
  max-width: 100%;
}

/* Gallery Callout Card (between big thumbnails) */
.callout-card {
  grid-column: span 2;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
}
:root[data-theme="light"] .callout-card {
  background: rgba(13, 19, 37, 0.03);
}
.callout-card .c-title {
  font-weight: 950;
  letter-spacing: 0.2px;
}
.callout-card .c-sub {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
.callout-card .c-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.3);
  font-weight: 900;
}

.thumb {
  background: transparent;
  border: none;
  padding: 0;
}
.thumb img {
  background: transparent;
  display: block;
}

option{
  background-color: #b4b2c1;
}
