:root {
  color-scheme: dark;
  --bg: #0a0c11;
  --panel: #0f1118;
  --muted: #9ba7b8;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #d8a53a;
  --primary-strong: #b87c1e;
  --text: #f1f3f8;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
  --radius: 14px;
  --blur: saturate(1.05) blur(12px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 35%),
    radial-gradient(circle at 15% 10%, rgba(216, 165, 58, 0.04), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(184, 124, 30, 0.03), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif; letter-spacing: -0.01em; }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(5, 7, 11, 0.82);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.orb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e3b44c, var(--primary-strong));
  box-shadow: 0 0 12px rgba(216, 165, 58, 0.7);
}

.nav__links {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.nav__links a {
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

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

button {
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.nav button:focus-visible,
.ghost:focus-visible,
.solid:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 10px;
}

.solid {
  background: linear-gradient(120deg, #e8be58, var(--primary-strong));
  color: #0b0d12;
}

.solid:hover { background: linear-gradient(120deg, #f3ce73, #c48827); }
.ghost { border: 1px solid var(--line); }

.btn,
a.btn,
a.ghost,
a.solid,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  gap: 8px;
}

.cart-count {
  background: #041121;
  color: var(--text);
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 12px;
  border: 1px solid var(--line);
}

main { padding: 40px 32px 80px; }
.section { margin-top: 72px; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.2; }

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 8px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; color: var(--muted); margin-bottom: 10px; }

.lede {
  color: var(--muted);
  max-width: 640px;
  margin: 12px 0 24px;
}

.hero__actions { display: flex; gap: 10px; }
.hero__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-top: 28px; }

.stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.stat__label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.stat__value { display: block; font-weight: 600; margin-top: 6px; }

.hero__visual { position: relative; display: grid; gap: 14px; }
.chip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  max-width: 100%;
  font-size: 14px;
  min-height: 96px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.chip span {
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.3;
  font-weight: 600;
}
.chip:hover { border-color: rgba(255, 255, 255, 0.12); }
.frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(10, 12, 17, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}
.frame__glow { position: absolute; inset: -30%; background: radial-gradient(circle, rgba(216, 165, 58, 0.12), transparent 55%); filter: blur(34px); }
.frame__inner {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.18));
}
.frame__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-bottom: 1px solid var(--line);
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
}
.frame__header .dot:nth-child(1) { background: #ff5f56; }
.frame__header .dot:nth-child(2) { background: #ffbd2e; }
.frame__header .dot:nth-child(3) { background: #27c93f; }
.frame__title {
  color: var(--muted);
  font-size: 12px;
  margin-left: auto;
}
.frame__body { padding: 14px; background: linear-gradient(135deg, #0f121c, #151a25); min-height: 220px; position: relative; }
.preview {
  width: 100%;
  min-height: 220px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #0b0d14;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


.section { margin-top: 72px; }
.section__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }

.filters { display: flex; gap: 8px; background: rgba(255, 255, 255, 0.02); padding: 6px; border-radius: 12px; border: 1px solid var(--line); }
.filter { padding: 10px 14px; background: transparent; color: var(--muted); border-radius: 10px; }
.filter.active { background: rgba(216, 165, 58, 0.16); color: var(--text); border: 1px solid rgba(216, 165, 58, 0.4); }

.store__controls {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.search {
  flex: 1;
  min-width: 220px;
}
.search input {
  width: 100%;
  padding: 12px 12px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}
.sort select {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.trust {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  color: var(--muted);
}
.trust div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.trust strong { color: var(--text); }

.products {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
}

.product {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.12);
}

.product__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 180px;
  background: linear-gradient(145deg, rgba(216, 165, 58, 0.2), rgba(184, 124, 30, 0.12));
}
.media-label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text);
  border: 1px solid var(--line);
}

.product__media video,
.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text);
  border: 1px solid var(--line);
}

.product__body h3 { margin: 0 0 6px; }
.product__body p { margin: 0 0 10px; color: var(--muted); }
.divider {
  height: 1px;
  background: var(--line);
  margin: 10px 0;
}
.specs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; }
.specs span {
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.price { font-weight: 700; margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.tags span {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  border: 1px solid var(--line);
}
.product__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.product__actions button { flex: 1; }
.product__actions .tech { flex: 0 0 auto; padding: 10px 12px; }
.tech-link {
  margin-top: 6px;
  background: none;
  border: none;
  color: var(--muted);
  text-decoration: underline;
  padding: 6px 0;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.portfolio__grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.folio-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}
.folio-thumb { height: 140px; background: #0d1220; }
.folio-thumb--gradient { background: linear-gradient(135deg, #f7d37a, #f0a83d); }
.folio-thumb--grid { background: linear-gradient(135deg, #131825 25%, #1a2233 25%, #1a2233 50%, #131825 50%, #131825 75%, #1a2233 75%, #1a2233 100%); background-size: 24px 24px; }
.folio-thumb--noise { background: radial-gradient(circle at 20% 20%, rgba(246, 198, 92, 0.16), transparent 40%), radial-gradient(circle at 70% 60%, rgba(240, 168, 61, 0.18), transparent 45%), #0f131d; }
.folio-meta { padding: 14px; }

.services .service-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.service-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}
.service-card p { color: var(--muted); margin: 8px 0 12px; }

.about__content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.about__content p.lede { margin-bottom: 12px; }
.about__side { display: grid; gap: 14px; }
.about__pfp {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 8px;
  justify-items: center;
}
.about__pfp img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.about__grid ul { padding-left: 18px; color: var(--muted); margin: 8px 0; }
.about__card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(216, 165, 58, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}
.logo-slot {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}
.logo-placeholder {
  height: 80px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
}
.logo-note { margin: 0; font-size: 13px; color: var(--muted); }
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  font-size: 12px;
  margin-bottom: 10px;
}
.status-awaiting { background: rgba(255, 186, 73, 0.12); border-color: rgba(255, 186, 73, 0.3); }
.status-submitted { background: rgba(126, 224, 255, 0.12); border-color: rgba(126, 224, 255, 0.3); }
.status-paid { background: rgba(80, 200, 120, 0.12); border-color: rgba(80, 200, 120, 0.3); }
.status-needs { background: rgba(255, 112, 112, 0.12); border-color: rgba(255, 112, 112, 0.3); }
.status-expired { background: rgba(255, 112, 112, 0.12); border-color: rgba(255, 112, 112, 0.3); }

.contact__card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.03), rgba(216, 165, 58, 0.08));
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}
.contact__card small { color: var(--muted); }
.contact__form { margin-top: 16px; display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
input, select, textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-family: inherit;
}
.form-actions { display: flex; gap: 10px; justify-content: flex-end; }

.footer {
  margin-top: 64px;
  padding: 24px 32px 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: center;
}
.footer__links { display: flex; gap: 12px; color: var(--muted); flex-wrap: wrap; }
.footer__links a:hover { color: var(--text); }
.footer__cta { display: grid; gap: 6px; justify-items: start; }

.cart {
  position: fixed;
  right: 24px;
  top: 100px;
  width: min(360px, 90vw);
  background: rgba(10, 13, 21, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
  backdrop-filter: var(--blur);
}
.cart.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.cart__header { display: flex; justify-content: space-between; align-items: center; }
.cart__items { max-height: 280px; overflow: auto; display: grid; gap: 10px; margin: 12px 0; }
.cart-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); padding: 8px; border-radius: 10px; }
.cart-item .thumb { width: 60px; height: 60px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.cart-item .title { font-weight: 600; }
.cart-item .meta { color: var(--muted); font-size: 13px; }
.cart__footer { display: grid; gap: 10px; }
.cart__total { display: flex; justify-content: space-between; }
.cart__note { color: var(--muted); font-size: 12px; margin: 0; }

.floating-cart {
  position: fixed;
  bottom: 16px;
  right: 16px;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, #e8be58, var(--primary-strong));
  color: #0b0d12;
  box-shadow: var(--shadow);
  display: none;
  z-index: 18;
}

.checkout-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -80px;
  padding: 10px 14px;
  background: rgba(11, 14, 21, 0.9);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, bottom 0.2s ease;
  transform: translateY(80px);
  z-index: 19;
}
.checkout-bar.show {
  bottom: 0;
  transform: translateY(0);
}
.checkout-label { color: var(--muted); font-size: 13px; display: block; }

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 30;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}
.modal__panel {
  position: relative;
  width: min(540px, 92vw);
  background: rgba(14, 17, 25, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  backdrop-filter: var(--blur);
}
.modal__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.modal__body { color: var(--muted); display: grid; gap: 8px; }
.modal__body .specs { gap: 6px; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; }

.tech-link { color: var(--muted); font-weight: 600; text-decoration: underline; cursor: pointer; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #0a0d15;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .nav { flex-wrap: wrap; gap: 12px; }
  .hero { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .about__content { grid-template-columns: 1fr; }
  .floating-cart { display: inline-flex; align-items: center; gap: 6px; }
  .checkout-bar { display: flex; }
}

@media (min-width: 961px) {
  .checkout-bar { display: none; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  main { padding: 24px 16px 64px; }
  .hero, .contact__card, .about__card, .product, .service-card { padding: 14px; }
  .form-actions { flex-direction: column; align-items: stretch; }
}

