:root {
  --bg: #07101f;
  --bg-2: #0b1730;
  --card: rgba(14, 28, 54, 0.74);
  --card-strong: rgba(17, 36, 70, 0.94);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #aab7cf;
  --gold: #ffd166;
  --gold-2: #ffb703;
  --cyan: #4cc9f0;
  --purple: #7c3aed;
  --green: #56f39a;
  --danger: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(124, 58, 237, 0.25),
      transparent 34%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(76, 201, 240, 0.18),
      transparent 30%
    ),
    linear-gradient(180deg, #07101f 0%, #081328 42%, #050a14 100%);
  color: var(--text);
  direction: rtl;
}

a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}

.ntf-links-page {
  min-height: 100vh;
}
.links-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(7, 16, 31, 0.72);
  border: 1px solid var(--line);
  border-radius: 26px;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 12px;
  z-index: 20;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #081328;
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 12px 32px rgba(255, 209, 102, 0.22);
}
.brand-copy {
  display: grid;
  gap: 2px;
}
.brand-copy strong {
  font-size: 1rem;
}
.brand-copy small {
  color: var(--muted);
  font-size: 0.75rem;
  direction: ltr;
  text-align: right;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-nav a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  transition: 0.2s ease;
}
.header-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  white-space: nowrap;
}
.primary-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #081328;
  box-shadow: 0 16px 40px rgba(255, 183, 3, 0.22);
}
.secondary-btn {
  background: rgba(76, 201, 240, 0.12);
  color: var(--text);
  border: 1px solid rgba(76, 201, 240, 0.24);
}
.ghost-btn {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--line);
}
.ghost-btn.light {
  background: rgba(255, 255, 255, 0.1);
}
.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}
.large {
  min-height: 52px;
  padding-inline: 24px;
  font-size: 1rem;
}

.hero-section {
  width: min(1180px, calc(100% - 32px));
  margin: 52px auto 0;
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 42px;
  position: relative;
}
.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.65;
  pointer-events: none;
}
.hero-glow-one {
  width: 220px;
  height: 220px;
  background: rgba(255, 209, 102, 0.22);
  right: 10%;
  top: 8%;
}
.hero-glow-two {
  width: 260px;
  height: 260px;
  background: rgba(76, 201, 240, 0.16);
  left: 8%;
  bottom: 10%;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  border: 1px solid rgba(255, 209, 102, 0.22);
  background: rgba(255, 209, 102, 0.08);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.55rem, 6vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -2px;
}
.hero-content p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 2;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-actions.center {
  justify-content: center;
}
.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.trust-row span {
  color: #dce6f8;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.88rem;
}

.hero-preview {
  position: relative;
  z-index: 2;
}
.browser-card {
  background: linear-gradient(
    180deg,
    rgba(16, 34, 68, 0.9),
    rgba(9, 19, 39, 0.92)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.browser-bar {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  direction: ltr;
}
.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.browser-bar p {
  margin: 0 10px 0 0;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.8rem;
}
.profile-card {
  padding: 22px;
}
.profile-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  font-size: 2rem;
  font-weight: 900;
}
.profile-top h2 {
  margin: 0 0 4px;
  font-size: 1.45rem;
}
.profile-top p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.profile-stats span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  color: var(--muted);
  text-align: center;
}
.profile-stats strong {
  display: block;
  color: var(--text);
  font-size: 1.3rem;
}
.link-stack {
  display: grid;
  gap: 12px;
}
.link-item {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr 18px;
  align-items: center;
  gap: 12px;
  text-align: right;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 12px;
}
.link-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
}
.link-item strong {
  display: block;
  margin-bottom: 4px;
}
.link-item small {
  color: var(--muted);
}
.link-item b {
  color: var(--gold);
  transform: rotate(14deg);
  font-size: 1.4rem;
}
.link-item.academy {
  box-shadow: inset 4px 0 0 rgba(255, 209, 102, 0.8);
}
.link-item.tool {
  box-shadow: inset 4px 0 0 rgba(76, 201, 240, 0.8);
}
.link-item.music {
  box-shadow: inset 4px 0 0 rgba(124, 58, 237, 0.9);
}
.link-item.external {
  box-shadow: inset 4px 0 0 rgba(86, 243, 154, 0.75);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 96px auto 0;
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-heading.compact {
  margin-inline: 0;
  text-align: right;
}
.section-heading h2 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: -1px;
}
.section-heading p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.05rem;
}
.features-grid,
.types-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card,
.type-card,
.steps-grid article,
.showcase-card,
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
}
.feature-card {
  padding: 24px;
  min-height: 210px;
}
.feature-card span {
  font-size: 2rem;
}
.feature-card h3,
.type-card strong,
.steps-grid h3 {
  margin: 14px 0 8px;
  font-size: 1.15rem;
}
.feature-card p,
.type-card p,
.steps-grid p,
.faq-list p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: start;
}
.type-card {
  padding: 20px;
}
.type-card strong {
  display: block;
  color: var(--gold);
  font-size: 1.08rem;
}
.type-card small {
  display: inline-block;
  margin-top: 14px;
  color: #d8e5ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 7px 10px;
  border-radius: 999px;
  direction: ltr;
}

.how-section {
  position: relative;
}
.steps-grid article {
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.steps-grid article b {
  color: rgba(255, 255, 255, 0.18);
  font-size: 3.2rem;
  line-height: 1;
}
.steps-grid article:nth-child(5) {
  grid-column: span 2;
  background: linear-gradient(
    135deg,
    rgba(255, 209, 102, 0.14),
    rgba(76, 201, 240, 0.09)
  );
}

.showcase-card {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.18),
    rgba(255, 209, 102, 0.09)
  );
}
.showcase-card h2 {
  margin: 14px 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.showcase-card p {
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
  max-width: 720px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-list details {
  padding: 18px 22px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}
.faq-list p {
  margin-top: 12px;
}

.final-cta {
  width: min(980px, calc(100% - 32px));
  margin: 96px auto 0;
  text-align: center;
  padding: 56px 28px;
  border-radius: 38px;
  border: 1px solid rgba(255, 209, 102, 0.18);
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 209, 102, 0.18),
      transparent 40%
    ),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}
.final-cta h2 {
  margin: 18px auto 0;
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 760px;
  line-height: 1.18;
}
.links-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 56px auto 24px;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.links-footer a {
  color: var(--gold);
  font-weight: 800;
}
.toast {
  position: fixed;
  right: 50%;
  bottom: 24px;
  transform: translateX(50%) translateY(30px);
  background: rgba(5, 10, 20, 0.94);
  color: var(--text);
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: 999px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 50;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

@media (max-width: 960px) {
  .links-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .header-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .header-actions {
    margin-inline-start: auto;
  }
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 40px;
  }
  .browser-card {
    transform: none;
  }
  .features-grid,
  .types-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-section {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .links-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 20px;
  }
  .brand {
    min-width: unset;
  }
  .brand-copy small {
    display: none;
  }
  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
  .header-nav {
    display: none;
  }
  .hero-section,
  .section,
  .final-cta,
  .links-footer {
    width: calc(100% - 20px);
  }
  .hero-content h1 {
    letter-spacing: -1px;
  }
  .hero-actions,
  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .primary-btn,
  .secondary-btn,
  .ghost-btn {
    width: 100%;
  }
  .profile-stats {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .types-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid article:nth-child(5) {
    grid-column: auto;
  }
  .showcase-card,
  .links-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .section {
    margin-top: 64px;
  }
  .final-cta {
    margin-top: 64px;
    padding: 36px 18px;
    border-radius: 28px;
  }
}
