/* ==========================================================================
   دیجی‌بیت مارکت — صفحه «به‌زودی»
   Design system carried over from the «شاهان» template
   (website-temp/shahan/page/assets/css/main.css) so this page matches the
   final storefront exactly.

   Change the whole palette from the :root block below.
   ========================================================================== */

/* ==========================================================================
   Fonts — YekanBakh FaNum (same weights as the template)
   ========================================================================== */

@font-face {
  font-display: swap;
  font-family: "yekan-bakh";
  src: url("../font/yekan-bakh/YekanBakhFaNum-Fat.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: "yekan-bakh";
  src: url("../font/yekan-bakh/YekanBakhFaNum-Heavy.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: "yekan-bakh";
  src: url("../font/yekan-bakh/YekanBakhFaNum-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: "yekan-bakh";
  src: url("../font/yekan-bakh/YekanBakhFaNum-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: "yekan-bakh";
  src: url("../font/yekan-bakh/YekanBakhFaNum-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: "yekan-bakh";
  src: url("../font/yekan-bakh/YekanBakhFaNum-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
  /* theme color */
  --main-color-one: #3a3b9c;
  --main-color-one-shadow: #3a3b9c31;
  --main-color-one-hover: #2a2b82;
  --main-color-two: #ffd100;
  --main-color-two-shadow: #ffd10031;
  --main-color-two-hover: #d8b103;
  --main-color-three: #45147e;
  --main-color-three-shadow: #45147e31;
  --main-color-three-hover: #320a60;
  --main-color-green: #189d0e;
  --bg-site: #f4f5f9;

  /* typography */
  --font-size: 14px;
  --color-site: #333333;
  --font-site: "yekan-bakh";
  --main-font: "yekan-bakh";
  --title-font: "yekan-bakh";

  /* shadow */
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-box: rgb(0 0 0 / 10%) 0px 0px 10px 0px;
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl:
    0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-inner: inset 0 2px 12px 4px rgb(0 0 0 / 5%);

  /* text */
  --text-muted: #565757;
  --text-muted-two: #929292;

  /* border */
  --border-muted: #ced4da;

  /* hero panel — deep brand gradient */
  --hero-gradient: linear-gradient(
    135deg,
    #2a2b82 0%,
    #3a3b9c 42%,
    #45147e 100%
  );
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  font-size: 1em;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  font-size: var(--font-size);
  font-family: var(--font-site);
  font-weight: normal;
  background: var(--bg-site);
  color: var(--color-site);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: var(--color-site);
  transition: 200ms;
}

.container {
  width: 100%;
  max-width: 1470px;
  margin-inline: auto;
  padding-inline: 15px;
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.title-font {
  font-family: var(--title-font);
  font-weight: 900;
}

.main-font {
  font-family: var(--main-font);
}

.f-800 {
  font-weight: 800;
}

.main-color-one-color {
  color: var(--main-color-one) !important;
}

.main-color-two-color {
  color: var(--main-color-two) !important;
}

.text-muted-two {
  color: var(--text-muted-two);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Buttons — same shape + shine effect as the template's .btn
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-site);
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
  border: 0;
  border-radius: 8px;
  padding: 15px 28px;
  cursor: pointer;
  transition: 200ms;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn:not(.no-highlight)::before {
  display: inline-block;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 100%;
}

.btn:active {
  transform: translate(0, 2px);
}

.btn:hover:not(.no-highlight)::before {
  transition: 800ms;
  left: -100%;
}

.btn i {
  font-size: 18px;
}

.main-color-one-bg {
  background-color: var(--main-color-one);
  color: #fff;
  box-shadow: 0 5px 5px var(--main-color-one-shadow);
}

.main-color-one-bg:hover {
  background-color: var(--main-color-one-hover);
  color: #fff;
}

/* Accent CTA — used where the primary indigo would sit on the brand gradient */
.main-color-two-bg {
  background-color: var(--main-color-two);
  color: #413505;
  box-shadow: 0 5px 5px var(--main-color-two-shadow);
}

.main-color-two-bg:hover {
  background-color: var(--main-color-two-hover);
  color: #413505;
}

.btn-white {
  background-color: #fff;
  color: var(--main-color-one);
  box-shadow: 0 5px 5px rgb(0 0 0 / 12%);
}

.btn-white:hover {
  color: var(--main-color-three);
}

/* ==========================================================================
   Brand mark
   ========================================================================== */

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
}

.brand-tagline {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted-two);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 5;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--main-color-two);
  color: #413505;
  font-size: 13px;
  font-weight: 800;
  border-radius: 50px;
  padding: 9px 18px;
  box-shadow: 0 5px 5px var(--main-color-two-shadow);
}

.status-pill i {
  font-size: 15px;
  line-height: 0;
}

/* ==========================================================================
   Main / hero panel
   ========================================================================== */

.site-main {
  flex: 1 0 auto;
  padding: 40px 0 30px;
}

.hero {
  background: var(--hero-gradient);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  padding: 70px 40px 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* soft brand glows */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  top: -190px;
  right: -110px;
  background: radial-gradient(circle, rgb(255 209 0 / 22%) 0%, transparent 70%);
}

.hero::after {
  width: 520px;
  height: 520px;
  bottom: -280px;
  left: -140px;
  background: radial-gradient(circle, rgb(0 3 255 / 28%) 0%, transparent 70%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgb(255 255 255 / 14%);
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.hero-eyebrow i {
  color: var(--main-color-two);
  font-size: 15px;
}

.hero-title {
  font-family: var(--title-font);
  font-weight: 900;
  font-size: 46px;
  line-height: 1.35;
  margin: 24px 0 0;
}

.hero-title .accent {
  color: var(--main-color-two);
}

.hero-description {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: rgb(255 255 255 / 84%);
}

/* ==========================================================================
   Countdown
   ========================================================================== */

.countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.countdown-item {
  background: #fff;
  color: var(--main-color-one);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 118px;
  padding: 22px 10px 16px;
  transition: 0.3s;
}

.countdown-item:hover {
  transform: translateY(-10px);
}

.countdown-value {
  display: block;
  font-family: var(--title-font);
  font-weight: 900;
  font-size: 40px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--main-color-one);
}

.countdown-label {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ==========================================================================
   Feature row — same circular icon treatment as the template
   ========================================================================== */

.features {
  margin-top: 40px;
}

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

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: var(--shadow-box);
  padding: 20px;
  transition: 0.4s;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--main-color-one);
}

.feature-item-icon {
  background-color: var(--main-color-one);
  box-shadow: 0 5px 5px var(--main-color-one-shadow);
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 0;
}

.feature-item-icon i {
  font-size: 30px;
}

.feature-item-title {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-item-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Contact / social panel — template footer treatment
   ========================================================================== */

.contact-panel {
  background: var(--main-color-one);
  border-radius: 25px;
  margin-top: 40px;
  padding: 45px 30px;
  text-align: center;
  color: #fff;
  position: relative;
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #333;
  border-radius: 25px;
  z-index: -1;
}

.contact-panel-title {
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 8px;
}

.contact-panel-text {
  font-size: 14px;
  font-weight: 300;
  color: rgb(255 255 255 / 82%);
  margin-bottom: 22px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  background: rgb(255 255 255 / 12%);
  border-radius: 50px;
  padding: 10px 20px;
  line-height: 1;
}

.contact-link:hover {
  background: rgb(255 255 255 / 22%);
  color: #fff;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
}

.footer-social a {
  background-color: var(--main-color-three);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: 0.3s;
}

.footer-social a i {
  line-height: 0;
}

.footer-social a:hover {
  background-color: var(--main-color-one-hover);
  transform: translateY(-4px);
}

.footer-social i {
  font-size: 18px;
}

/* ==========================================================================
   Footer bar
   ========================================================================== */

.site-footer {
  flex: 0 0 auto;
  padding: 26px 0;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid rgb(0 0 0 / 8%);
  padding-top: 22px;
}

.site-footer-inner a {
  color: var(--main-color-one);
  font-weight: 500;
}

.site-footer-inner a:hover {
  color: var(--main-color-three);
}

/* enamad trust seal — left edge of the footer bar */
.enamad-seal {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: 0.3s;
}

.enamad-seal img {
  display: block;
  width: 100px;
  height: auto;
}

.enamad-seal:hover {
  opacity: 0.85;
}

/* ==========================================================================
   Launch state (countdown finished)
   ========================================================================== */

.hero.is-launched .countdown {
  display: none;
}

.launch-message {
  display: none;
  margin-top: 40px;
}

.hero.is-launched .launch-message {
  display: block;
}

.launch-message .btn {
  padding: 18px 40px;
  font-size: 16px;
}

/* ==========================================================================
   Entrance animation
   ========================================================================== */

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

.hero-eyebrow,
.hero-title,
.hero-description,
.countdown {
  animation: rise 0.55s ease-out both;
}

.hero-title {
  animation-delay: 0.06s;
}

.hero-description {
  animation-delay: 0.12s;
}

.countdown {
  animation-delay: 0.18s;
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
  .hero {
    padding: 55px 24px 50px;
  }

  .hero-title {
    font-size: 36px;
  }

  .countdown-item {
    width: 104px;
  }

  .countdown-value {
    font-size: 34px;
  }

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

@media (max-width: 767px) {
  .site-header-inner {
    justify-content: center;
  }

  .brand {
    align-items: center;
    text-align: center;
  }

  .brand-logo {
    height: 38px;
  }

  .status-pill {
    display: none;
  }

  .hero-title {
    font-size: 28px;
  }

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

  .countdown {
    gap: 10px;
  }

  .countdown-item {
    width: calc(50% - 5px);
    max-width: 150px;
    padding: 16px 8px 12px;
  }

  .countdown-value {
    font-size: 30px;
  }

  .feature-item {
    justify-content: flex-start;
  }

  .site-footer-inner {
    justify-content: center;
    text-align: center;
  }
}
