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

:root {
  --bg-main: #030712;
  --bg-elevated: rgba(15, 23, 42, 0.9);
  --glass-strong: rgba(15, 23, 42, 0.95);
  --glass-soft: rgba(15, 23, 42, 0.7);
  --accent: #f97316;
  --accent-soft: rgba(248, 165, 66, 0.4);
  --accent-strong: #fb923c;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.2);
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.7);
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(248, 113, 113, 0.16), transparent 55%),
    radial-gradient(circle at 90% 20%, rgba(56, 189, 248, 0.14), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(251, 146, 60, 0.24), transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(129, 140, 248, 0.16), transparent 55%);
  opacity: 0.8;
  z-index: -2;
}

/* NAVBAR */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6vw;
  backdrop-filter: blur(28px) saturate(140%);
  background: linear-gradient(to bottom, rgba(3, 7, 18, 0.98), rgba(3, 7, 18, 0.7));
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.nav-left,
.nav-right {
  flex: 1 1 0;
}

.nav-center {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex: 2 1 0;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.8);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-pill {
  padding-inline: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0b1020;
  box-shadow: 0 18px 40px rgba(248, 113, 22, 0.45);
}

.btn-primary:hover {
  box-shadow: 0 24px 80px rgba(248, 113, 22, 0.6);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.8);
}

.btn-outline:hover {
  border-color: var(--accent-soft);
  background: rgba(15, 23, 42, 0.95);
}

.btn-cta {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(248, 250, 252, 0.06);
  color: var(--text-main);
}

.btn-cta:hover {
  border-color: var(--accent-soft);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.9);
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.8rem;
}

/* SECTIONS */
.section {
  padding: 72px 6vw 40px;
  max-width: 1120px;
  margin: 0 auto;
}

.section-narrow {
  max-width: 900px;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 520px;
}

/* HERO */
.hero {
  padding-top: 96px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: center;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrap {
  padding: 20px;
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(248, 250, 252, 0.03);
}

.hero-logo {
  width: 100%;
  max-width: 340px;
  border-radius: 24px;
}

.hero-content h1 {
  font-size: clamp(2.7rem, 4vw, 3.3rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
  margin-bottom: 12px;
}

.hero-lead {
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-chips {
  display: grid;
  gap: 10px;
  max-width: 620px;
}

.chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.32);
}

.chip-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chip-value {
  font-size: 0.85rem;
}

.hero-scroll {
  margin-top: 32px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* GRID LAYOUTS */
.grid {
  display: grid;
  gap: 18px;
}

.utility-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.vision-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.exchange-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 32px;
}

/* CARDS */
.card {
  padding: 18px 18px 20px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.8);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* GLASS EFFECT */
.glass {
  background: radial-gradient(circle at 0% 0%, rgba(248, 250, 252, 0.02), transparent 60%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(3, 7, 18, 0.98));
  backdrop-filter: blur(28px) saturate(140%);
}

.glass-strong {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(3, 7, 18, 1));
  backdrop-filter: blur(32px) saturate(150%);
}

/* TOKENOMICS */
.tokenomics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: flex-start;
}

.tokenomics-chart {
  padding: 20px 22px;
}

.tokenomics-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  padding: 8px 0;
}

.tokenomics-row span:first-child {
  color: var(--text-muted);
}

.bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent-strong));
  transform-origin: left;
  transform: scaleX(0);
}

.percent {
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  color: var(--text-main);
}

/* TIMELINE */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.timeline-item {
  position: relative;
  padding-top: 20px;
}

.timeline-tag {
  position: absolute;
  top: -12px;
  left: 18px;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.timeline-item ul {
  margin-left: 18px;
  margin-top: 10px;
}

.timeline-item li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* EXCHANGE CARDS */
.exchange-card {
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.exchange-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(251, 146, 60, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.exchange-card:hover::after {
  opacity: 1;
}

.exchange-name {
  font-weight: 600;
  font-size: 1rem;
}

.exchange-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* MINT BOX */
.mint {
  margin: 0 auto;
  margin-top: 8px;
  max-width: 760px;
  padding: 18px 20px 20px;
  border-radius: 26px;
  border: 1px solid rgba(248, 250, 252, 0.06);
  box-shadow: var(--shadow-soft);
}

.mint-compact {
  margin: 0;
  max-width: 100%;
  padding: 14px 16px 16px;
}

.mint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mint-header h3 {
  font-size: 0.95rem;
}

.mint-chain {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.mint-body {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.mint-body code {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow-x: auto;
  cursor: pointer;
}

.mint-body code.copied {
  border-color: var(--accent-soft);
  color: var(--accent-strong);
}

.mint-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-copy {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-main);
}

.btn-copy.copied {
  border-color: var(--accent-soft);
  color: var(--accent-strong);
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 30px;
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid var(--border-subtle);
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 8px;
}

.contact-label:first-of-type {
  margin-top: 0;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text-main);
  text-decoration: none;
}

.contact-value:hover {
  color: var(--accent-strong);
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.85rem;
}

.social-link span:last-child {
  color: var(--text-muted);
}

.social-link:hover {
  border-color: var(--accent-soft);
}

/* FOOTER */
.footer {
  padding: 24px 6vw 32px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding-top: 16px;
}

.footer-meta {
  opacity: 0.9;
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt {
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-media {
    order: -1;
  }

  .hero-content {
    max-width: 100%;
  }

  .tokenomics-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .nav-left {
    order: 1;
  }

  /* hide menu + CTA on mobile */
  .nav-center,
  .nav-right {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-inner {
    gap: 24px;
  }

  .hero-logo-wrap {
    max-width: 260px;
  }

  .section {
    padding: 56px 16px 32px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .mint-body {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  direction: ltr; /* keeps EN → FA → TR order even on RTL pages */
}

.lang-item {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.lang-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.lang-item.lang-active {
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
}

/* If nav-right is flex, keep spacing nice */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
/* Language Menu - Glass Apple Style */
.lang-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  direction: ltr; /* keeps order consistent for FA page */
}

.lang-option {
  font-size: 0.8rem;
  padding: 4px 10px;
  color: #fff;
  opacity: 0.7;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.lang-option:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.lang-active {
  background: rgba(255, 255, 255, 0.18);
  opacity: 1 !important;
}

/* Right side of nav */
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

