﻿@font-face {
  font-family: "IRANSans";
  src: url("../assets/fonts/IRANSans.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../assets/fonts/IRANSans_Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --path-bg: #f6f3ee;
  --path-text: #132238;
  --path-text-muted: #66788e;
  --path-text-soft: #8a98a8;
  --path-surface: rgba(255, 255, 255, 0.92);
  --path-surface-strong: #ffffff;
  --path-border: rgba(36, 49, 66, 0.08);
  --path-accent: #ff7a1a;
  --path-accent-soft: rgba(255, 122, 26, 0.12);
  --path-shadow: 0 26px 60px rgba(36, 49, 66, 0.1);
  --path-shadow-soft: 0 18px 34px rgba(36, 49, 66, 0.08);
  --path-radius-lg: 32px;
  --path-radius-md: 20px;
  --path-radius-sm: 16px;
  --path-container: 1180px;
}

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

body {
  margin: 0;
  font-family: "IRANSans", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 26, 0.08), transparent 28%),
    linear-gradient(180deg, #f8f5f0, #f4f1eb);
  color: var(--path-text);
  direction: rtl;
  text-align: right;
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(calc(100% - 48px), var(--path-container));
  margin-inline: auto;
}

.path-page {
  min-height: 100vh;
  padding: 34px 0 56px;
}

.path-shell {
  display: grid;
  gap: 28px;
}

.path-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.path-brand__logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.path-brand__text {
  display: grid;
  gap: 4px;
}

.path-brand__text strong {
  font-size: 1.18rem;
  line-height: 1.2;
}

.path-brand__text small {
  color: var(--path-text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.path-section {
  padding: 40px 34px 34px;
  border-radius: var(--path-radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--path-shadow);
  backdrop-filter: blur(16px);
}

.path-section__header {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 46rem;
  margin: 0 auto 34px;
  text-align: center;
}

.path-section__welcome {
  margin: 0;
  color: var(--path-accent);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.8;
}

.path-section__title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.3;
  font-weight: 800;
}

.path-section__subtitle {
  margin: 0;
  color: var(--path-text-muted);
  font-size: 1rem;
  line-height: 1.95;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  direction: ltr;
  align-items: stretch;
}

.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  min-height: 100%;
  padding: 18px 18px 20px;
  border-radius: var(--path-radius-md);
  background: var(--path-surface);
  border: 1px solid var(--path-border);
  box-shadow: var(--path-shadow-soft);
  cursor: pointer;
  text-align: right;
  direction: rtl;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.path-card:hover,
.path-card:focus-visible {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(255, 122, 26, 0.3);
  box-shadow: 0 32px 54px rgba(36, 49, 66, 0.14);
  outline: none;
}

.path-card--featured {
  background:
    radial-gradient(circle at top right, rgba(255, 122, 26, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 238, 0.96));
  border-color: rgba(255, 122, 26, 0.24);
  box-shadow:
    0 28px 52px rgba(36, 49, 66, 0.12),
    0 0 0 1px rgba(255, 122, 26, 0.08);
}

.path-card--featured:hover,
.path-card--featured:focus-visible {
  transform: translateY(-8px) scale(1.02);
}

.path-card__media {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.path-card__media--designer {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(135deg, #d9cec0, #bba18f 52%, #8f715f);
}

.path-card__media--guided {
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.5), transparent 24%),
    linear-gradient(135deg, #f3dcc8, #f0bf8f 56%, #d88b49);
}

.path-card__media--self {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.38), transparent 28%),
    linear-gradient(135deg, #ded8d0, #c8b9a9 48%, #8e7866);
}

.path-card__media::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.path-card__media-chip,
.path-card__badge {
  position: absolute;
  top: 14px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 32px;
  z-index: 2;
}

.path-card__media-chip {
  left: 14px;
  background: rgba(255, 255, 255, 0.8);
  color: #6f5132;
  box-shadow: 0 10px 18px rgba(36, 49, 66, 0.08);
}

.path-card__badge {
  right: 14px;
  background: var(--path-accent-soft);
  color: #c36316;
  box-shadow: 0 10px 18px rgba(255, 122, 26, 0.18);
}

.path-card__media-panel,
.path-card__media-ring,
.path-card__media-dot,
.path-card__request-sheet,
.path-card__designer-card,
.path-card__designer-status,
.path-card__steps,
.path-card__question-card,
.path-card__editor-canvas,
.path-card__toolbar,
.path-card__cursor {
  position: absolute;
  z-index: 1;
}

.path-card__media-ring {
  width: 104px;
  height: 104px;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 12px solid rgba(255, 255, 255, 0.26);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.14);
}

.path-card__media-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14);
}

.path-card__media-dot--one {
  right: 28px;
  bottom: 78px;
}

.path-card__media-dot--two {
  right: 60px;
  bottom: 38px;
}

.path-card__media-dot--three {
  left: 30px;
  bottom: 44px;
}

.path-card__request-sheet {
  top: 54px;
  right: 18px;
  left: 18px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.path-card__request-line,
.path-card__designer-text,
.path-card__question-line,
.path-card__choice,
.path-card__tool {
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.path-card__request-line {
  height: 8px;
}

.path-card__request-line--strong {
  width: 68%;
}

.path-card__request-line--short {
  width: 42%;
}

.path-card__designer-card {
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 146px;
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 28px rgba(36, 49, 66, 0.12);
}

.path-card__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16);
}

.path-card__designer-text {
  flex: 1;
  height: 10px;
}

.path-card__designer-status {
  left: 28px;
  bottom: 36px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.14);
}

.path-card__steps {
  top: 56px;
  right: 24px;
  display: flex;
  gap: 10px;
}

.path-card__step {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.path-card__step.is-active {
  width: 52px;
  background: rgba(255, 255, 255, 0.86);
}

.path-card__question-card {
  right: 20px;
  left: 20px;
  bottom: 22px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 30px rgba(36, 49, 66, 0.1);
}

.path-card__question-line {
  height: 10px;
  width: 62%;
}

.path-card__question-line--strong {
  width: 74%;
  margin-bottom: 14px;
}

.path-card__choice-row {
  display: flex;
  gap: 10px;
}

.path-card__choice {
  width: 74px;
  height: 34px;
  background: rgba(255, 255, 255, 0.42);
}

.path-card__choice.is-selected {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(255, 255, 255, 0.14);
}

.path-card__editor-canvas {
  top: 54px;
  right: 18px;
  left: 18px;
  bottom: 18px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.16);
  background-size: 26px 26px, 26px 26px, auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.path-card__editor-block {
  position: absolute;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 22px rgba(36, 49, 66, 0.08);
}

.path-card__editor-block--sofa {
  top: 22px;
  right: 22px;
  width: 88px;
  height: 42px;
}

.path-card__editor-block--table {
  left: 54px;
  top: 76px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
}

.path-card__editor-block--rug {
  right: 48px;
  bottom: 26px;
  width: 118px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
}

.path-card__toolbar {
  left: 18px;
  top: 58px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.path-card__tool {
  width: 22px;
  height: 22px;
}

.path-card__cursor {
  left: 96px;
  bottom: 44px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.16);
}

.path-card__lead {
  margin: -4px 0 0;
  color: #a16427;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.8;
}

.path-card__title {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.55;
  font-weight: 800;
}

.path-card__description {
  margin: 0;
  color: var(--path-text-muted);
  font-size: 0.95rem;
  line-height: 2;
}

.path-card__features {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.path-card__features li {
  position: relative;
  padding-right: 20px;
  color: #485b73;
  font-size: 0.9rem;
  line-height: 1.9;
  font-weight: 700;
}

.path-card__features li::before {
  content: "";
  position: absolute;
  top: 11px;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb06d, #ff7a1a);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.08);
}

.path-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 18px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

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

.path-card__button--primary {
  background: linear-gradient(135deg, #ff9550, var(--path-accent));
  color: #fff;
  box-shadow: 0 16px 30px rgba(255, 122, 26, 0.28);
}

.path-card__button--primary:hover {
  box-shadow: 0 20px 36px rgba(255, 122, 26, 0.34);
}

.path-card__button--ghost {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 122, 26, 0.22);
  color: #243142;
  box-shadow: 0 10px 24px rgba(36, 49, 66, 0.05);
}

.path-card__button--ghost:hover {
  box-shadow: 0 16px 28px rgba(36, 49, 66, 0.08);
  border-color: rgba(255, 122, 26, 0.34);
}

.path-section__note {
  margin: 34px 0 0;
  color: var(--path-text-soft);
  font-size: 0.9rem;
  line-height: 1.9;
  text-align: center;
}

body.lang-tr {
  direction: ltr;
  text-align: left;
  font-family: Inter, "Poppins", "Segoe UI", Arial, sans-serif;
}

body.lang-tr .path-section__header {
  text-align: center;
}

body.lang-tr .path-grid {
  direction: ltr;
}

body.lang-tr .path-card {
  direction: ltr;
  text-align: left;
}

body.lang-tr .path-card__features li {
  padding-right: 0;
  padding-left: 20px;
}

body.lang-tr .path-card__features li::before {
  right: auto;
  left: 0;
}

@media (max-width: 980px) {
  .path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--path-container));
  }

  .path-page {
    padding: 24px 0 32px;
  }

  .path-section {
    padding: 28px 18px 18px;
    border-radius: 24px;
  }

  .path-section__header {
    margin-bottom: 24px;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }

  .path-card--featured {
    grid-column: auto;
    transform: none;
  }
}
