/* Local font, shared palette, and preserved mobile-first layouts. */
@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f8f7fc;
  --ink: #241d39;
  --muted: #6a637a;
  --accent: #6439d5;
  --line: #e5deef;
  --warm: #ffd39c;
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Vazirmatn,Tahoma,sans-serif;
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
  flex-shrink: 0;
}

p,h1,h2,h3 {
  margin: 0;
}

a:focus-visible {
  outline: 3px solid #7543e8;
  outline-offset: 5px;
  border-radius: 3px;
}

.container {
  margin-inline: auto;
  width: calc(100% - 28px);
}

.skip-link {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  transform: translateY(-160%);
  background: var(--accent);
  color: white;
  padding: 10px 20px;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  align-items: center;
  grid-template-columns: 1.5fr 1fr;
  gap: 26px;
  display: block;
  padding-block: 36px 39px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  color: var(--accent);
  font-size: 10px;
  margin-bottom: 13px;
}

.status-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #8954eb;
  box-shadow: 0 0 0 4px #eadeff;
}

h1 {
  font-weight: 750;
  letter-spacing: -1px;
  line-height: 1.6;
  font-size: 31px;
}

h1 span {
  color: var(--accent);
}

.hero-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 2.1;
  margin-top: 13px;
  max-width: 460px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 46px;
  padding: 10px 19px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 7px;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}

.button svg {
  height: 19px;
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: linear-gradient(115deg, #7645e6, #572bbd);
  color: white;
  margin-top: 20px;
  min-height: 46px;
  font-size: 12px;
}

.button-primary:hover {
  background: #5125bd;
}

.hero-note {
  max-width: 350px;
  justify-self: end;
  width: 100%;
  display: none;
}

.note-overline {
  display: block;
  color: #ded1ff;
  text-align: right;
  margin-bottom: 25px;
  font-size: 8px;
  letter-spacing: 1px;
}

.note-title {
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: -.7px;
  font-size: 25px;
}

.note-title span {
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}

.note-title span::after {
  content: "";
  position: absolute;
  inset: auto -3px 8px;
  height: 2px;
  background: var(--warm);
  z-index: -1;
}

.note-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 27px;
  color: #e8defb;
  font-size: 12px;
}

.note-bottom svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: var(--warm);
  stroke-width: 1.3;
}

.theme-section {
  scroll-margin-top: 24px;
}

.section-kicker {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  gap: 14px;
}

.section-line {
  height: 1px;
  background: var(--line);
  flex: 1;
}

.theme-heading {
  display: flex;
  justify-content: space-between;
  margin: 27px 0 28px;
  align-items: flex-start;
  flex-direction: column;
  gap: 13px;
  margin-block: 22px;
}

.theme-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-title-row h2 {
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -1.3px;
  font-size: 30px;
}

.theme-title-row h2 span {
  color: #8954eb;
}

.theme-badge {
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #66577e;
  padding: 2px 7px;
  font-size: 8px;
}

.theme-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
  margin-top: 8px;
}

.theme-features {
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #67557f;
  margin-top: 0;
  font-size: 10px;
  gap: 17px;
}

.theme-features>span {
  display: flex;
  gap: 6px;
  align-items: center;
}

.theme-features svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.theme-features .demo-count {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 12px;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 23px;
}

.demo-card {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s,box-shadow .25s,transform .25s;
  display: flex;
  flex-direction: column;
}

.preview {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: 16px 21px 0;
  gap: 15px;
  aspect-ratio: 1.42;
  padding-inline: 15px;
}

.preview-digital {
  background: linear-gradient(135deg, #dcecf5, #e8ddfa);
}

.preview-fashion {
  background: linear-gradient(135deg, #f9e0dd, #f5e9d5);
}

.preview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  letter-spacing: 1.6px;
  color: #514373;
  font-size: 8px;
}

.preview-fashion .preview-label {
  color: #805346;
}

.preview-label>span:last-child {
  letter-spacing: 0;
  font-size: 11px;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid #ffffffbd;
  border-radius: 5px 5px 0 0;
  background: white;
  box-shadow: 0 6px 25px #3725571a;
  flex-shrink: 0;
  transition: transform .4s;
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  height: 25px;
  padding: 0 10px;
  border-bottom: 1px solid #eee9f3;
  background: #fdfbff;
  color: #71677f;
  font-size: 8px;
  letter-spacing: .2px;
}

.browser-dots {
  display: flex;
  gap: 3px;
}

.browser-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d9d0e8;
}

.browser-bar svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
}

.preview-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
}

.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px;
}

.card-category {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  color: var(--accent);
  margin-bottom: 7px;
  font-size: 10px;
}

.sample-label {
  color: #756b81;
  font-size: 9px;
}

.card-content h3 {
  font-weight: 650;
  letter-spacing: -.5px;
  line-height: 1.7;
  font-size: 19px;
}

.card-content>p {
  line-height: 2;
  color: var(--muted);
  margin-top: 7px;
  flex: 1;
  font-size: 12px;
  max-width: none;
}

.card-bottom {
  border-top: 1px solid #eee8f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
}

.card-tag {
  color: #72667f;
  font-size: 9px;
}

.card-tag span {
  color: #83758f;
  margin: 0 5px;
}

.button-demo {
  background: #f0eafa;
  color: var(--accent);
  padding: 8px 14px;
  font-size: 12px;
  border-color: #ddcff4;
  min-height: 46px;
  gap: 10px;
  padding-inline: 10px;
}

.button-demo:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.demo-notice {
  display: flex;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  align-items: flex-start;
  text-align: center;
  line-height: 1.9;
  margin-top: 19px;
}

.demo-notice svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  margin-top: 2px;
}

@media (min-width: 360px) {
  .container {
    margin-inline: auto;
    width: calc(100% - 36px);
  }

  h1 {
    font-weight: 750;
    font-size: 36px;
    letter-spacing: -1px;
    line-height: 1.6;
  }

  .theme-title-row h2 {
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: -1.3px;
    font-size: 32px;
  }

  .theme-badge {
    border: 1px solid var(--line);
    border-radius: 4px;
    color: #66577e;
    font-size: 9px;
    padding: 2px 7px;
  }

  .preview {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    padding-inline: 18px;
    padding: 16px 21px 0;
    gap: 15px;
    aspect-ratio: 1.42;
  }

  .card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
  }

  .card-content h3 {
    font-weight: 650;
    letter-spacing: -.5px;
    line-height: 1.7;
    font-size: 21px;
  }

  .card-tag {
    color: #72667f;
    font-size: 10px;
  }

  .button-demo {
    background: #f0eafa;
    color: var(--accent);
    padding: 8px 14px;
    font-size: 12px;
    border-color: #ddcff4;
    min-height: 46px;
    padding-inline: 14px;
    gap: 18px;
  }

}

@media (min-width: 641px) {
  .container {
    width: min(1200px,calc(100% - 48px));
    margin-inline: auto;
  }

  .hero {
    display: grid;
    align-items: center;
    padding-block: 43px;
    grid-template-columns: 1.5fr 1fr;
    gap: 26px;
  }

  .eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 16px;
  }

  h1 {
    font-size: clamp(36px,3.7vw,52px);
    font-weight: 750;
    line-height: 1.55;
    letter-spacing: -1.6px;
  }

  .hero-description {
    max-width: 570px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2.1;
    margin-top: 15px;
  }

  .button-primary {
    min-height: revert;
    font-size: revert;
    margin-top: 24px;
    background: linear-gradient(115deg, #7645e6, #572bbd);
    color: white;
  }

  .hero-note {
    display: revert;
    max-width: 350px;
    justify-self: end;
    width: 100%;
  }

  .section-kicker {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 11px;
    color: var(--muted);
  }

  .theme-heading {
    margin-block: revert;
    display: flex;
    justify-content: space-between;
    margin: 27px 0 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .theme-title-row h2 {
    font-size: 36px;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: -1.3px;
  }

  .theme-badge {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 3px 9px;
    color: #66577e;
    font-size: 10px;
  }

  .theme-description {
    line-height: revert;
    font-size: 13px;
    color: var(--muted);
    margin-top: 10px;
  }

  .theme-features {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 11px;
    color: #67557f;
    gap: 12px;
    margin-top: 0;
  }

  .demo-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
  }

  .preview {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    padding-inline: 18px;
    gap: 12px;
    padding: 14px 14px 0;
    aspect-ratio: 1.25;
  }

  .preview-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
    font-size: 9px;
    letter-spacing: 1.6px;
    color: #514373;
  }

  .card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
  }

  .card-category {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    color: var(--accent);
    margin-bottom: 7px;
    font-size: 9px;
  }

  .sample-label {
    color: #756b81;
    font-size: 8px;
  }

  .card-content h3 {
    font-weight: 650;
    letter-spacing: -.5px;
    line-height: 1.7;
    font-size: 18px;
  }

  .card-content>p {
    font-size: 12px;
    line-height: 2;
    color: var(--muted);
    max-width: 420px;
    margin-top: 7px;
    flex: 1;
  }

  .card-bottom {
    border-top: 1px solid #eee8f5;
    margin-top: 21px;
    padding-top: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .card-tag {
    color: #72667f;
    font-size: 9px;
  }

  .button-demo {
    background: #f0eafa;
    color: var(--accent);
    min-height: 46px;
    padding: 8px 14px;
    font-size: 12px;
    border-color: #ddcff4;
    gap: 10px;
    padding-inline: 11px;
  }

  .demo-notice {
    text-align: revert;
    line-height: revert;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
    font-size: 11px;
    color: var(--muted);
  }

  .demo-notice svg {
    margin-top: revert;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
  }

}

@media (min-width: 801px) {
  .hero {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
    padding-block: 42px 43px;
    gap: 40px;
  }

  h1 {
    font-weight: 750;
    letter-spacing: -1.6px;
    font-size: clamp(36px,3.3vw,46px);
    line-height: 1.5;
  }

  .hero-note {
    max-width: 350px;
    justify-self: end;
    width: 100%;
  }

  .note-overline {
    display: block;
    color: #ded1ff;
    font-size: 10px;
    letter-spacing: 1.8px;
    text-align: right;
    margin-bottom: 25px;
  }

  .note-title {
    font-size: 31px;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: -.7px;
  }

  .theme-heading {
    flex-direction: revert;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin: 27px 0 28px;
    align-items: flex-start;
  }

  .theme-features {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 11px;
    color: #67557f;
    gap: 12px;
    margin-top: 12px;
  }

  .demo-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 26px;
  }

  .preview {
    padding: 18px 27px 0;
    overflow: hidden;
    aspect-ratio: 1.47;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    padding-inline: 18px;
    gap: 12px;
  }

  .card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
  }

  .card-category {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: var(--accent);
    margin-bottom: 7px;
  }

  .sample-label {
    font-size: 9px;
    color: #756b81;
  }

  .card-content h3 {
    font-weight: 650;
    letter-spacing: -.5px;
    line-height: 1.7;
    font-size: 19px;
  }

  .card-tag {
    font-size: 10px;
    color: #72667f;
  }

  .button-demo {
    padding-inline: revert;
    background: #f0eafa;
    color: var(--accent);
    min-height: 46px;
    gap: 21px;
    padding: 8px 14px;
    font-size: 12px;
    border-color: #ddcff4;
  }

}

@media (min-width: 1051px) {
  .hero {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
    gap: 80px;
    padding-block: 42px 43px;
  }

  .hero-note {
    max-width: 350px;
    justify-self: end;
    width: 100%;
  }

  .theme-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin: 27px 0 28px;
  }

  .theme-title-row {
    display: flex;
    align-items: center;
    gap: 17px;
  }

  .theme-features {
    margin-top: revert;
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    font-size: 11px;
    color: #67557f;
  }

  .theme-features .demo-count {
    border-inline-start: 1px solid var(--line);
    padding-inline-start: 18px;
  }

  .preview {
    padding-inline: revert;
    padding: 18px 27px 0;
    overflow: hidden;
    aspect-ratio: 1.47;
    display: flex;
    flex-direction: column;
    gap: 17px;
    flex-shrink: 0;
  }

  .card-content {
    padding: 23px 25px 22px;
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .card-content h3 {
    font-size: 21px;
    font-weight: 650;
    letter-spacing: -.5px;
    line-height: 1.7;
  }

}

@media (min-width: 1440px) {
  .hero {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
    gap: 80px;
    padding-block: 46px 44px;
  }

  .preview {
    padding: 18px 27px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 17px;
    flex-shrink: 0;
    aspect-ratio: 1.5;
  }

}

/* Color depth without extra decorative markup or continuously moving layers. */
body {
  background:
    radial-gradient(ellipse at 94% 0, #eae0fb 0, transparent 43%),
    radial-gradient(ellipse at 0 28%, #ffede3 0, transparent 35%),
    var(--paper);
}

main {
  padding-bottom: clamp(24px, 4vw, 56px);
}

::selection {
  background: #e2d1ff;
  color: #352057;
}

.hero-note {
  padding: 26px;
  color: #fff;
  background: linear-gradient(135deg, #7244c8, #422476);
  border-radius: 12px;
  box-shadow: 0 14px 36px #4d29871a;
}

.note-title span {
  color: var(--warm);
}

.section-line {
  background: linear-gradient(90deg, var(--line), #cbb6eb, var(--line));
}

.theme-badge {
  background: #f0e9fa;
}

.button-primary {
  box-shadow: 0 6px 16px #6439d526;
}

.button-primary:hover {
  background: #5125bd;
  box-shadow: 0 8px 22px #6439d538;
}

.button svg {
  transition: transform .25s ease;
}

.demo-card {
  box-shadow: 0 5px 22px #41276308;
}

.demo-card:focus-within {
  border-color: #a183d1;
}

.demo-notice {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 26px;
}

/* Only opacity and transforms animate. Entrances run once, without hiding content. */
@keyframes enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: enter .65s cubic-bezier(.2, .7, .2, 1) both;
  }

  .hero-note {
    animation: enter .65s .12s cubic-bezier(.2, .7, .2, 1) both;
  }

  .demo-card.is-revealed {
    animation: enter .65s cubic-bezier(.2, .7, .2, 1) backwards;
  }

  .demo-card:nth-child(2).is-revealed {
    animation-delay: .1s;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .demo-card:hover {
    transform: translateY(-5px);
    border-color: #b79cde;
    box-shadow: 0 16px 38px #51358114;
  }

  .demo-card:hover .browser-frame {
    transform: translateY(-4px) scale(1.012);
  }

  .button:hover {
    transform: translateY(-2px);
  }

  .button-primary:hover svg {
    transform: translateY(2px);
  }

  .button-demo:hover svg {
    transform: translate(-2px, 2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

