:root {
  --bg: #120d0a;
  --bg-soft: #17100c;
  --surface: #1a120e;
  --surface-2: #21160f;
  --surface-3: #2a1b12;
  --text: #fff8ef;
  --muted: #b7a492;
  --muted-2: #8f7c6c;
  --line: rgba(255, 239, 221, 0.10);
  --line-strong: rgba(255, 239, 221, 0.18);
  --primary: #d08a46;
  --primary-dark: #a95f29;
  --primary-light: #f2c27b;
  --success: #7fd38d;
  --danger: #e8876b;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.30);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 13% -5%, rgba(208, 138, 70, 0.18), transparent 30rem),
    radial-gradient(circle at 88% 10%, rgba(242, 194, 123, 0.08), transparent 26rem),
    var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 38px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(208, 138, 70, 0.055);
  color: #d8b896;
  font-size: 12px;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 13, 10, 0.80);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #241309;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 12px 34px rgba(208, 138, 70, 0.22);
  font-weight: 950;
}

.brand-logo.small {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #c7b5a5;
  font-size: 14px;
}

.nav-links a {
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  min-height: 44px;
  padding: 0 17px;
  border-radius: 13px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.btn-primary {
  color: #201108;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(208, 138, 70, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f6cc8f, #d98f48);
}

.btn-ghost {
  background: rgba(255, 248, 239, 0.035);
}

.btn-large {
  min-height: 50px;
  padding: 0 20px;
}

.hero {
  padding: 92px 0 82px;
  overflow: hidden;
}

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

.eyebrow,
.availability {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.035);
  color: #d8c5b3;
  font-size: 12px;
}

.live-dot,
.availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(127, 211, 141, 0.08);
}

.hero h1 {
  max-width: 740px;
  margin: 24px 0 24px;
  font-size: clamp(48px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.063em;
}

.hero h1 span {
  display: block;
  margin-top: 9px;
  color: transparent;
  background: linear-gradient(
    90deg,
    #fffaf3 7%,
    var(--primary-light) 50%,
    var(--primary) 92%
  );
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.stats {
  margin-top: 42px;
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
}

.stat span {
  color: var(--muted-2);
  font-size: 12px;
}

.hero-showcase {
  min-height: 510px;
  position: relative;
  display: grid;
  place-items: center;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(35px);
  pointer-events: none;
}

.ambient-one {
  width: 220px;
  height: 220px;
  right: 3%;
  top: 6%;
  background: rgba(208, 138, 70, 0.18);
}

.ambient-two {
  width: 180px;
  height: 180px;
  left: 2%;
  bottom: 3%;
  background: rgba(242, 194, 123, 0.09);
}

.browser-frame {
  width: min(100%, 530px);
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 29px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.018)
    );
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.browser-top {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  border-radius: 18px 18px 0 0;
  background: #120e0b;
  border-bottom: 1px solid var(--line);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6e5b4c;
}

.browser-address {
  flex: 1;
  max-width: 220px;
  height: 24px;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #7f6f62;
  font-size: 10px;
}

.browser-body {
  min-height: 400px;
  padding: 24px;
  border-radius: 0 0 18px 18px;
  background:
    radial-gradient(circle at 77% 17%, rgba(208, 138, 70, 0.30), transparent 12rem),
    linear-gradient(135deg, #19100c, #2b1b12);
}

.preview-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-logo {
  width: 58px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.72);
}

.preview-links {
  display: flex;
  gap: 8px;
}

.preview-links span {
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.14);
}

.preview-hero {
  margin-top: 51px;
}

.preview-kicker {
  width: 84px;
  height: 11px;
  border-radius: 999px;
  background: rgba(242, 194, 123, 0.22);
}

.preview-title {
  width: 76%;
  height: 29px;
  margin-top: 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff7ed, #edb96f);
}

.preview-title.small {
  width: 54%;
  margin-top: 9px;
}

.preview-copy {
  width: 80%;
  height: 7px;
  margin-top: 17px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.13);
}

.preview-copy.short {
  width: 61%;
  margin-top: 7px;
}

.preview-button {
  width: 92px;
  height: 31px;
  margin-top: 22px;
  border-radius: 9px;
  background: var(--primary);
}

.preview-products {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.preview-products div {
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.floating-card {
  position: absolute;
  max-width: 220px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(24, 16, 12, 0.84);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.floating-card b,
.floating-card small {
  display: block;
}

.floating-card b {
  margin-bottom: 3px;
  font-size: 12px;
}

.floating-card small {
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.4;
}

.floating-icon {
  color: var(--primary-light);
  font-size: 18px;
}

.floating-a {
  left: -2%;
  bottom: 4%;
}

.floating-b {
  right: -2%;
  top: 14%;
}

.featured-section,
.templates-section,
.benefits-section,
.process-section,
.contact-section {
  padding: 76px 0;
}

.featured-section {
  padding-top: 26px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
}

.featured-main {
  min-height: 350px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(242, 194, 123, 0.18), transparent 15rem),
    linear-gradient(135deg, #21140e, #392318);
  box-shadow: var(--shadow);
}

.section-label {
  color: #caa77f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.featured-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.featured-content h2 {
  margin: 12px 0 9px;
  font-size: 34px;
  letter-spacing: -0.045em;
}

.featured-content p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.featured-tags,
.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.featured-tags {
  margin-top: 20px;
}

.featured-tags span,
.modal-tags span,
.product-tags span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: #c9b7a6;
  font-size: 11px;
}

.featured-bottom {
  width: 100%;
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.featured-bottom strong {
  font-size: 24px;
}

.featured-art {
  display: grid;
  place-items: center;
}

.featured-window {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 0.75;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11, 8, 6, 0.54);
  transform: rotate(2deg);
}

.fw-top {
  width: 46%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.13);
}

.fw-title {
  width: 72%;
  height: 26px;
  margin-top: 28px;
  border-radius: 7px;
  background: #fff5e9;
}

.fw-line {
  width: 82%;
  height: 6px;
  margin-top: 13px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.12);
}

.fw-line.small {
  width: 57%;
  margin-top: 7px;
}

.fw-button {
  width: 79px;
  height: 27px;
  margin-top: 19px;
  border-radius: 8px;
  background: var(--primary);
}

.fw-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.fw-grid span {
  height: 49px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.featured-side {
  display: grid;
  gap: 20px;
}

.info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.018)
    );
}

.info-card h3 {
  margin: 16px 0 9px;
  font-size: 19px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.info-card a {
  display: inline-flex;
  margin-top: 16px;
  color: #e6bb82;
  font-size: 13px;
}

.info-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: rgba(208, 138, 70, 0.10);
  color: var(--primary-light);
}

.section-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading.centered {
  text-align: center;
  justify-content: center;
}

.section-heading h2 {
  margin: 9px 0 8px;
  font-size: clamp(32px, 4vw, 42px);
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.catalog-count {
  min-width: 120px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-align: right;
  background: rgba(255, 255, 255, 0.025);
}

.catalog-count strong,
.catalog-count span {
  display: block;
}

.catalog-count strong {
  font-size: 20px;
}

.catalog-count span {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 10px;
}

.catalog-toolbar {
  display: flex;
  gap: 11px;
}

.search-box {
  flex: 1;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.search-box span {
  color: var(--primary-light);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-box input::placeholder {
  color: #7f6e61;
}

.sort-select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: 0;
  background: #1a120e;
  color: #d8c7b6;
}

.filters {
  margin: 18px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #bda998;
  cursor: pointer;
  transition: 0.2s ease;
}

.filter:hover,
.filter.active {
  border-color: #f0c482;
  background: #f0c482;
  color: #24150a;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.052),
      rgba(255, 255, 255, 0.018)
    );
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 66px rgba(0, 0, 0, 0.25);
}

.product-cover {
  height: 218px;
  padding: 15px;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 7px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(18, 13, 10, 0.72);
  color: #dfc7af;
  backdrop-filter: blur(10px);
  font-size: 10px;
}

.product-mock {
  height: 100%;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(12, 8, 6, 0.62);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.product-mock-nav {
  width: 48%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.product-mock-title {
  width: 66%;
  height: 27px;
  margin-top: 25px;
  border-radius: 7px;
  background: rgba(255, 248, 239, 0.94);
}

.product-mock-line {
  width: 84%;
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.product-mock-line.short {
  width: 58%;
  margin-top: 7px;
}

.product-mock-button {
  width: 75px;
  height: 25px;
  margin-top: 17px;
  border-radius: 7px;
  background: var(--primary);
}

.product-mock-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.product-mock-grid span {
  height: 42px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.065);
}

.theme-1 {
  background: linear-gradient(135deg, #3a2018, #8b4a28 52%, #17100d);
}

.theme-2 {
  background: linear-gradient(135deg, #27301c, #64723a 52%, #17140e);
}

.theme-3 {
  background: linear-gradient(135deg, #422316, #b76530 52%, #1a100c);
}

.theme-4 {
  background: linear-gradient(135deg, #332a1b, #806b3f 52%, #16130e);
}

.theme-5 {
  background: linear-gradient(135deg, #39211b, #8b4a39 52%, #18100d);
}

.theme-6 {
  background: linear-gradient(135deg, #302316, #9a6d36 52%, #18120d);
}

.product-body {
  padding: 20px;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-name {
  margin: 0 0 5px;
  font-size: 19px;
}

.product-category {
  color: var(--muted-2);
  font-size: 11px;
}

.product-price {
  white-space: nowrap;
  font-weight: 900;
}

.product-description {
  min-height: 46px;
  margin: 15px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.empty-state {
  display: none;
  margin-top: 20px;
  padding: 55px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.empty-state.show {
  display: block;
}

.empty-icon {
  margin-bottom: 12px;
  color: var(--primary-light);
  font-size: 34px;
}

.empty-state h3 {
  margin: 0 0 7px;
}

.empty-state p {
  margin: 0 0 18px;
  color: var(--muted);
}

.benefit-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.benefit-card,
.process-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.025);
}

.benefit-card > span {
  font-size: 24px;
  color: var(--primary-light);
}

.benefit-card h3,
.process-item h3 {
  margin: 16px 0 8px;
  font-size: 16px;
}

.benefit-card p,
.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.process-item > span {
  color: #9d7c5a;
  font-weight: 900;
  font-size: 12px;
}

.contact-panel {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background:
    radial-gradient(circle at 86% 20%, rgba(208, 138, 70, 0.20), transparent 18rem),
    linear-gradient(135deg, #1a110d, #21160f);
}

.contact-copy h2 {
  margin: 10px 0 10px;
  font-size: clamp(32px, 4vw, 42px);
  letter-spacing: -0.05em;
}

.contact-copy > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-points {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.contact-points div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.contact-points b,
.contact-points span {
  display: block;
}

.contact-points b {
  margin-bottom: 4px;
  font-size: 12px;
}

.contact-points span {
  color: var(--muted-2);
  font-size: 10px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.contact-actions small {
  margin-top: 6px;
  color: var(--muted-2);
  line-height: 1.55;
}

.footer {
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
}

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

.footer-brand b,
.footer-brand p {
  margin: 0;
}

.footer-brand p {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 10px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 11px;
}

.footer-copy {
  color: var(--muted-2);
  font-size: 11px;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal.open {
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(11px);
}

.modal-dialog {
  width: min(880px, calc(100% - 28px));
  max-height: 90vh;
  overflow: auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #17100c;
  box-shadow: var(--shadow);
}

.modal-close {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 4;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(18, 13, 10, 0.75);
  cursor: pointer;
}

.modal-preview {
  min-height: 430px;
  padding: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #3a2018, #8b4a28 52%, #17100d);
}

.modal-browser {
  width: 100%;
  max-width: 350px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(12, 8, 6, 0.64);
}

.modal-browser-top {
  height: 32px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 5px;
}

.modal-browser-top span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.modal-browser-content {
  min-height: 300px;
  padding: 20px;
}

.modal-demo-nav {
  width: 43%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
}

.modal-demo-title {
  width: 69%;
  height: 28px;
  margin-top: 34px;
  border-radius: 7px;
  background: rgba(255, 248, 239, 0.95);
}

.modal-demo-line {
  width: 86%;
  height: 6px;
  margin-top: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.modal-demo-line.short {
  width: 61%;
  margin-top: 7px;
}

.modal-demo-button {
  width: 82px;
  height: 27px;
  margin-top: 19px;
  border-radius: 8px;
  background: var(--primary);
}

.modal-demo-cards {
  margin-top: 33px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.modal-demo-cards span {
  height: 52px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.modal-content {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.modal-title-row h3 {
  margin: 9px 0 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.modal-title-row strong {
  white-space: nowrap;
  font-size: 20px;
}

.modal-content > p {
  margin: 19px 0;
  color: var(--muted);
  line-height: 1.7;
}

.modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-note {
  margin-top: 14px;
  color: var(--muted-2);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .featured-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 470px;
  }

  .featured-side {
    grid-template-columns: 1fr 1fr;
  }

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

  .benefit-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-dialog {
    grid-template-columns: 1fr;
  }

  .modal-preview {
    min-height: 330px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .topbar-inner {
    min-height: 31px;
    gap: 12px;
    font-size: 9px;
  }

  .nav {
    min-height: 64px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 62px 0 58px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 61px);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats {
    gap: 20px;
  }

  .hero-showcase {
    min-height: 390px;
  }

  .floating-card {
    display: none;
  }

  .featured-section,
  .templates-section,
  .benefits-section,
  .process-section,
  .contact-section {
    padding: 55px 0;
  }

  .featured-main {
    padding: 25px;
    grid-template-columns: 1fr;
  }

  .featured-art {
    display: none;
  }

  .featured-side,
  .template-grid,
  .benefit-grid,
  .process-grid,
  .contact-points {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-count {
    text-align: left;
  }

  .sort-select {
    width: 100%;
  }

  .contact-panel {
    padding: 28px;
  }

  .modal-preview {
    min-height: 280px;
    padding: 20px;
  }

  .modal-content {
    padding: 27px 23px;
  }

  .modal-title-row {
    flex-direction: column;
  }
}

/* Stage 2 online */
.nav-actions{display:flex;align-items:center;gap:9px}.admin-link{color:#d8b48e;background:rgba(208,138,70,.055);border-color:rgba(240,196,130,.16)}
.real-cover{height:100%;overflow:hidden;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:#0d0907}.real-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.product-card:hover .real-cover img{transform:scale(1.025)}
.featured-real-image{overflow:hidden;border-radius:18px}.featured-real-image img{width:100%;height:100%;min-height:260px;object-fit:cover;border-radius:18px;border:1px solid var(--line)}
.modal-preview.modal-real{padding:0;overflow:hidden}.modal-preview.modal-real>img{width:100%;height:100%;min-height:430px;object-fit:cover;display:block}
@media(max-width:680px){.admin-link{display:none}}


/* Brand logo supplied by owner */
.sr-only{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important
}
.brand-with-image{line-height:0}
.brand-wordmark{
  display:block;
  width:clamp(148px,14vw,190px);
  height:52px;
  object-fit:contain;
  object-position:left center;
  filter:drop-shadow(0 7px 16px rgba(208,138,70,.12))
}
.footer-avatar{
  width:42px;height:42px;object-fit:contain;flex:0 0 auto;
  filter:drop-shadow(0 7px 14px rgba(208,138,70,.13))
}
@media(max-width:720px){
  .brand-wordmark{width:138px;height:46px}
}


/* ===== BOXED MAIN NAV + MOBILE NAV ===== */
.nav-boxes{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
}
.nav-box{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 14px;
  border:1px solid rgba(255,239,221,.10);
  border-radius:10px;
  background:rgba(255,255,255,.025);
  color:#d8c5b4;
  text-decoration:none;
  font-size:13px;
  font-weight:650;
  white-space:nowrap;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.nav-box:hover{
  background:rgba(208,138,70,.10);
  border-color:rgba(208,138,70,.30);
  color:#f4c181;
  transform:translateY(-1px);
}
.mobile-page-menu{
  display:none;
}

@media(max-width:900px){
  .nav-links.nav-boxes{
    display:flex!important;
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    gap:8px;
    padding:9px 12px 11px;
    margin:0;
    border-top:1px solid rgba(255,239,221,.06);
    border-bottom:1px solid rgba(255,239,221,.06);
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
  }
  .nav-links.nav-boxes::-webkit-scrollbar{display:none}
  .nav-box{
    flex:0 0 auto;
    min-height:40px;
    padding:0 13px;
    border-radius:10px;
    background:#17110d;
    border-color:rgba(255,239,221,.10);
    scroll-snap-align:start;
    font-size:12px;
  }
  header .container,
  .site-header .container,
  .navbar .container{
    flex-wrap:wrap;
  }
}
@media(max-width:560px){
  .nav-links.nav-boxes{
    padding-left:10px;
    padding-right:10px;
  }
  .nav-box{
    min-height:38px;
    padding:0 12px;
    font-size:11px;
  }
}
