@font-face {
  font-family: "SG Kara";
  src: url("../fonts/SGKara-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "SG Kara Bold";
  src: url("../fonts/SGKara-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #251a32;
  --muted: #665e70;
  --paper: #f7f4fb;
  --line: #e4ddeb;
  --green: #55358b;
  --lime: #d8c6f2;
  --orange: #c45496;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      ellipse at 14% 8%,
      rgba(187, 154, 224, 0.2),
      transparent 31rem
    ),
    var(--paper);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 0 clamp(24px, 7vw, 104px);
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: var(--lime);
}

.top-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8061b5;
  box-shadow: 0 0 0 4px rgba(128, 97, 181, 0.16);
}

main {
  display: grid;
  width: min(100%, 1200px);
  flex: 1;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.96fr);
  gap: clamp(46px, 8vw, 120px);
  margin: 0 auto;
  padding: 68px 0 78px;
}

.copy {
  max-width: 530px;
  animation: rise-in 0.75s both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.eyebrow-mark {
  width: 22px;
  height: 2px;
  background: var(--orange);
}

h1 {
  margin: 0;
  font-size: clamp(44px, 6.4vw, 76px);
  font-family: "SG Kara", "Vazirmatn", Tahoma, sans-serif;
  font-weight: 600;
  letter-spacing: -3px;
  line-height: 1.3;
  text-shadow:
    -4px 4px 2px rgba(85, 53, 139, 0.047),
    4px -4px 2px rgba(85, 53, 139, 0.047),
    -11px 11px 4px rgba(85, 53, 139, 0.043),
    11px -11px 4px rgba(85, 53, 139, 0.043),
    -18px 18px 6px rgba(85, 53, 139, 0.038),
    18px -18px 6px rgba(85, 53, 139, 0.038),
    -25px 25px 8px rgba(85, 53, 139, 0.033),
    25px -25px 8px rgba(85, 53, 139, 0.033),
    -32px 32px 10px rgba(85, 53, 139, 0.029),
    32px -32px 10px rgba(85, 53, 139, 0.029);
}

h1 span {
  display: block;
  font-family: "SG Kara Bold", "Vazirmatn", Tahoma, sans-serif;
  color: var(--green);
  text-shadow:
    -4px 4px 2px rgba(85, 53, 139, 0.047),
    4px -4px 2px rgba(85, 53, 139, 0.047),
    -11px 11px 4px rgba(85, 53, 139, 0.043),
    11px -11px 4px rgba(85, 53, 139, 0.043),
    -18px 18px 6px rgba(85, 53, 139, 0.038),
    18px -18px 6px rgba(85, 53, 139, 0.038),
    -25px 25px 8px rgba(85, 53, 139, 0.033),
    25px -25px 8px rgba(85, 53, 139, 0.033),
    -32px 32px 10px rgba(85, 53, 139, 0.029),
    32px -32px 10px rgba(85, 53, 139, 0.029);
}

.intro {
  max-width: 430px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2.1;
}

.progress-wrap {
  width: min(100%, 355px);
  margin-top: 32px;
}

.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.progress-label span:last-child {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 11px;
  direction: ltr;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #e7e0ed;
}

.progress-value {
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transform-origin: right;
  animation: progress-in 1.1s 0.2s both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 25px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: linear-gradient(105deg, #8059c7 0%, #7046b4 48%, #55358b 100%);
  background-size: 180% 100%;
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(85, 53, 139, 0.24);
  animation: cta-gradient 5s ease-in-out infinite alternate;
  transition:
    filter 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
  box-shadow: 0 10px 28px rgba(85, 53, 139, 0.34);
}

.cta:active {
  transform: translateY(0);
}

.cta:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.cta svg {
  transition: transform 0.2s ease;
}
.cta:hover svg {
  transform: translateX(-3px);
}

.action-hint {
  color: var(--muted);
  font-size: 12px;
}

.visual {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(59, 38, 78, 0.1);
  border-radius: 26px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    #ece6f2;
  background-size: 32px 32px;
  box-shadow: 0 28px 70px rgba(59, 38, 78, 0.1);
  animation:
    rise-in 0.75s 0.12s both,
    float 4s 0.87s ease-in-out infinite;
}

.visual::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 38%,
    rgba(59, 38, 78, 0.08)
  );
  content: "";
  pointer-events: none;
}

.building-art {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
}

.footer {
  min-height: 76px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-note svg {
  color: var(--green);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progress-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}

@keyframes cta-gradient {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@media (max-width: 820px) {
  .page {
    padding-inline: clamp(20px, 6vw, 48px);
  }
  main {
    max-width: 590px;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 54px 0 60px;
  }
  .copy {
    order: 1;
  }
  .visual {
    min-height: 360px;
    order: 0;
  }
  h1 {
    font-size: clamp(43px, 10vw, 64px);
  }
}

@media (max-width: 480px) {
  .topbar {
    min-height: 76px;
  }
  .brand {
    font-size: 15px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .top-note {
    font-size: 11px;
  }
  main {
    gap: 34px;
    padding: 36px 0 46px;
  }
  .visual {
    min-height: 290px;
    border-radius: 20px;
  }
  h1 {
    letter-spacing: -2px;
  }
  .intro {
    font-size: 14px;
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer {
    min-height: 68px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
