:root {
  --brand: #5a8fbb;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Vazirmatn", system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f6f9fc 0%, #fff 100%);
  overflow: hidden;
}

.stage {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vh, 45px);
  padding: clamp(8px, 1.6vh, 12px);
  max-width: 720px;
  margin: 0 auto;
}

/* لوگو و نام */
.brandline {
  text-align: center;
}
.brandline-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  display: block;
  margin: 0 auto;
}
.brandline-title {
  margin: 6px 0 0;
  font-weight: 800;
  line-height: 1.2;
  font-size: clamp(22px, 3.6vw, 30px);
}
.lead {
  margin: 6px 0 0;
  color: #475569;
  font-size: clamp(12px, 2.2vw, 16px);
}
.accent {
  color: var(--brand);
}

.phone-frame {
  position: relative;
  width: min(300px, 68vw);
  aspect-ratio: 9/19.5;
  border-radius: 26px;
  background: #000;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  margin: 0;
}
.screen {
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02);
}
.notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 16px;
  background: #0b0b0b;
  z-index: 2;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}
.glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 38% 62%,
    rgba(255, 255, 255, 0.05) 100%
  );
  mix-blend-mode: screen;
  opacity: 0.26;
}
.homebar {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 40%;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.5);
}

.side-btns .vol,
.side-btns .pwr {
  position: absolute;
  width: 3px;
  background: #101010;
  border-radius: 2px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
}
.side-btns .vol.up {
  left: -2px;
  top: 24%;
  height: 28px;
}
.side-btns .vol.dn {
  left: -2px;
  top: 34%;
  height: 28px;
}
.side-btns .pwr {
  right: -2px;
  top: 28%;
  height: 40px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn:active {
  transform: translateY(0);
}

.btn.bazaar {
  background: #0db14b;
  color: #fff;
}
.btn.myket {
  background: #03a9f4;
  color: #fff;
}
.btn.outline {
  background: #fff;
  color: var(--brand);
  border-color: #cfe2f2;
}

@media (max-width: 420px) {
  .brandline-title {
    font-size: 20px;
  }

  .phone-frame {
    width: min(260px, 78vw);
    padding: 8px;
  }
  .screen {
    inset: 8px;
    border-radius: 16px;
  }
  .notch {
    top: 8px;
    height: 14px;
  }
  .btn {
    padding: 9px 12px;
    font-size: 13px;
  }
}

@media (max-height: 740px) {
  body {
    overflow: auto;
    background: linear-gradient(180deg, #f6f9fc 0%, #fff 100%);
  }

  .stage {
    min-height: 100svh;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(30px, 6vh, 60px);
    padding: 20px 12px 40px;
    max-width: 720px;
    margin: 0 auto;
  }

  .brandline-logo {
    width: 70px;
    height: 70px;
  }
  .brandline-title {
    font-size: clamp(24px, 4vw, 32px);
  }
  .phone-frame {
    width: min(320px, 82vw);
  }
  .btn {
    padding: 12px 18px;
    font-size: 15px;
  }
}
