/* ASMIN TIME — Under Construction 2026 */

:root {
  --bg-deep: #06060b;
  --bg-surface: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(12, 12, 20, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --text-primary: #f4f4f8;
  --text-secondary: rgba(244, 244, 248, 0.62);
  --text-muted: rgba(244, 244, 248, 0.38);
  --gold: #c9a962;
  --gold-light: #e8d5a3;
  --gold-glow: rgba(201, 169, 98, 0.35);
  --blue: #5b8def;
  --blue-glow: rgba(91, 141, 239, 0.25);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Vazirmatn', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Dynamic background */
.bg {
  --parallax-x: 0;
  --parallax-y: 0;
  --glow-x: 50%;
  --glow-y: 45%;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at var(--glow-x) var(--glow-y), rgba(201, 169, 98, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(91, 141, 239, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(20, 18, 35, 0.85) 0%, transparent 55%),
    var(--bg-deep);
}

.bg__canvas {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.bg__mesh {
  position: absolute;
  inset: -25%;
  z-index: 1;
  will-change: transform;
}

.bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.95;
  will-change: transform;
}

.bg__orb--gold {
  width: min(72vw, 760px);
  height: min(72vw, 760px);
  top: -12%;
  left: -14%;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.72) 0%, rgba(201, 169, 98, 0.22) 42%, transparent 72%);
}

.bg__orb--blue {
  width: min(62vw, 640px);
  height: min(62vw, 640px);
  bottom: -8%;
  right: -12%;
  background: radial-gradient(circle, rgba(91, 141, 239, 0.58) 0%, rgba(91, 141, 239, 0.14) 48%, transparent 74%);
}

.bg__orb--violet {
  width: min(48vw, 500px);
  height: min(48vw, 500px);
  top: 38%;
  left: 32%;
  background: radial-gradient(circle, rgba(155, 110, 220, 0.38) 0%, rgba(155, 110, 220, 0.08) 50%, transparent 72%);
}

.bg__rings {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  will-change: transform;
}

.bg__ring {
  position: absolute;
  opacity: 0.85;
  will-change: transform;
}

.bg__ring--1 {
  width: min(95vmin, 860px);
  height: min(95vmin, 860px);
}

.bg__ring--2 {
  width: min(72vmin, 660px);
  height: min(72vmin, 660px);
}

.bg__shimmer {
  position: absolute;
  inset: -60%;
  z-index: 3;
  background: conic-gradient(
    from 180deg at 50% 50%,
    transparent 0deg,
    rgba(201, 169, 98, 0.07) 35deg,
    transparent 75deg,
    rgba(91, 141, 239, 0.06) 145deg,
    transparent 210deg,
    rgba(201, 169, 98, 0.05) 290deg,
    transparent 360deg
  );
  opacity: 0.85;
  will-change: transform;
}

.bg__noise {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
}

.bg__vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: radial-gradient(ellipse 80% 70% at 50% 45%, transparent 42%, rgba(6, 6, 11, 0.55) 100%);
}

/* Layout */
.header,
.main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.logo:hover { opacity: 0.85; }

.logo__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  backdrop-filter: blur(12px);
}

.logo__mark svg { width: 26px; height: 26px; }

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo__tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  direction: ltr;
  text-align: right;
}

.header__nav {
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}

.nav-link svg { width: 18px; height: 18px; }

.nav-link:hover {
  color: var(--gold-light);
  border-color: var(--border-hover);
  background: rgba(201, 169, 98, 0.06);
  transform: translateY(-2px);
}

/* Hero */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem) 3rem;
}

.hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(4rem, 8vw, 6rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(201, 169, 98, 0.25);
  background: rgba(201, 169, 98, 0.08);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 2rem;
  animation: fadeUp 0.8s var(--ease-out) both;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.hero__title {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s var(--ease-out) both;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, #a88b4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  animation: fadeUp 0.8s 0.2s var(--ease-out) both;
}

/* Countdown */
.countdown {
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.3s var(--ease-out) both;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(64px, 14vw, 88px);
  padding: 1rem 0.75rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.countdown__item:hover {
  border-color: rgba(201, 169, 98, 0.2);
  transform: translateY(-3px);
}

.countdown__value {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  line-height: 1;
  direction: ltr;
}

.countdown__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-weight: 500;
}

.countdown__sep {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  align-self: center;
  line-height: 1;
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0.2; }
}

/* Notify form */
.notify {
  max-width: 460px;
  margin: 0 auto;
  animation: fadeUp 0.8s 0.4s var(--ease-out) both;
}

.notify__label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.notify__group {
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.notify__group:focus-within {
  border-color: rgba(201, 169, 98, 0.35);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.08);
}

.notify__input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-primary);
}

.notify__input::placeholder { color: var(--text-muted); }

.notify__btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--gold) 0%, #a88b4a 100%);
  border: none;
  border-radius: calc(var(--radius-md) - 4px);
  color: var(--bg-deep);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, opacity 0.3s;
  white-space: nowrap;
}

.notify__btn svg {
  width: 16px;
  height: 16px;
  transform: scaleX(-1);
}

.notify__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.notify__btn:active { transform: translateY(0); }

.notify__msg {
  font-size: 0.82rem;
  margin-top: 0.65rem;
  min-height: 1.3em;
  transition: color 0.3s;
}

.notify__msg--success { color: #6dd4a0; }
.notify__msg--error   { color: #f08080; }

/* Brands */
.brands {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  animation: fadeUp 0.8s 0.5s var(--ease-out) both;
}

.brands__title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.brand-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.brand-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.brand-card__glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.brand-card__glow--blue {
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
}

.brand-card:hover .brand-card__glow { opacity: 1; }

.brand-card__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.brand-card:nth-child(2) .brand-card__icon { color: var(--blue); }

.brand-card__icon svg { width: 100%; height: 100%; }

.brand-card__name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
  direction: ltr;
  text-align: right;
}

.brand-card__origin {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.brand-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.brand-card__badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 100px;
  background: rgba(201, 169, 98, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(201, 169, 98, 0.2);
}

.brand-card__badge--blue {
  background: rgba(91, 141, 239, 0.12);
  color: #8ab4f8;
  border-color: rgba(91, 141, 239, 0.2);
}

/* Features */
.features {
  animation: fadeUp 0.8s 0.6s var(--ease-out) both;
}

.features__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s, background 0.3s;
}

.feature:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.05);
}

.feature__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(201, 169, 98, 0.08);
  border-radius: var(--radius-sm);
}

.feature__icon svg { width: 18px; height: 18px; }

.feature__text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
  direction: ltr;
}

.footer__link:hover { color: var(--gold-light); }

.footer__dot { color: var(--text-muted); }

.footer__credit {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__javan {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  margin-right: 0.25rem;
}

.footer__javan:hover { color: var(--text-primary); }

.footer__javan-logo {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 6px;
  background: linear-gradient(135deg, #2a2a3e 0%, #1a1a28 100%);
  border: 1px solid var(--border);
  color: var(--gold-light);
  direction: ltr;
}

/* Utilities */
.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;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .countdown__sep { display: none; }

  .countdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    direction: ltr;
    gap: 0.65rem;
  }

  .notify__group {
    flex-direction: column;
  }

  .notify__btn {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge,
  .hero__title,
  .hero__desc,
  .countdown,
  .notify,
  .brands,
  .features {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
