:root {
  --ny-navy-deep: #0a1f44;
  --ny-navy: #1b365d;
  --ny-navy-soft: #24406b;
  --ny-gold: #d4af37;
  --ny-gold-light: #e8c872;
  --ny-white: #ffffff;
  --ny-black: #000000;
  --ny-cream: #faf8f2;
  --ny-ink: #14213d;
  --ny-muted: #5b6b85;
  --ny-border: rgba(10, 31, 68, 0.1);
  --ny-radius-sm: 10px;
  --ny-radius: 18px;
  --ny-radius-lg: 26px;
  --ny-shadow: 0 14px 40px rgba(10, 31, 68, 0.09);
  --ny-shadow-lg: 0 26px 60px rgba(10, 31, 68, 0.16);
  --ny-font: "Vazirmatn", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ny-cream);
  color: var(--ny-ink);
  font-family: var(--ny-font);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  background: var(--ny-gold-light);
  color: var(--ny-navy-deep);
}

/* ---------- Shell ---------- */

.ny-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 0%, rgba(212, 175, 55, 0.1), transparent 40%),
    radial-gradient(
      circle at 100% 18%,
      rgba(27, 54, 93, 0.06),
      transparent 45%
    ),
    var(--ny-cream);
}

/* ---------- Header ---------- */

.ny-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(120deg, var(--ny-navy-deep), var(--ny-navy) 70%);
  box-shadow: 0 6px 24px rgba(10, 31, 68, 0.22);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.ny-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ny-brand strong {
  display: block;
  color: var(--ny-white);
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.ny-brand small {
  display: block;
  color: var(--ny-gold-light);
  font-size: 0.72rem;
}

.ny-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ny-white);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(212, 175, 55, 0.5);
  overflow: hidden;
  flex-shrink: 0;
}

.ny-logo,
.ny-hero-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  margin: auto;
}

.ny-hero-logo {
  width: 148px;
  height: 148px;
  padding: 16px;
  border-radius: 34px;
  background: var(--ny-white);
  box-shadow:
    0 18px 40px rgba(10, 31, 68, 0.16),
    inset 0 0 0 1px rgba(212, 175, 55, 0.35);
  position: absolute;
  inset: 10px;
}

.ny-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.ny-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

.ny-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ny-white);
}

.ny-nav a.ny-nav-cta {
  background: var(--ny-gold);
  color: var(--ny-navy-deep);
  font-weight: 700;
}

.ny-nav a.ny-nav-cta:hover {
  background: var(--ny-gold-light);
}

.ny-nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ny-nav-burger {
  display: none;
  color: var(--ny-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.ny-nav-badge {
  display: inline-flex;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-inline-start: 0.3rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--ny-gold);
  color: var(--ny-navy-deep);
  font-size: 0.7rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

/* ---------- Layout ---------- */

.ny-main {
  flex: 1;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

/* ---------- Full-bleed section bands ---------- */

.ny-landing {
  margin: -2.5rem 0 -4rem;
}

.ny-band {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.ny-band-inner {
  width: calc(100% - 2rem);
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 0;
}

.ny-band-hero {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(212, 175, 55, 0.22),
      transparent 34%
    ),
    radial-gradient(circle at 92% 18%, rgba(10, 31, 68, 0.14), transparent 42%),
    linear-gradient(180deg, #f3ead3 0%, var(--ny-cream) 58%, #f7f3e8 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.ny-hero-glow {
  pointer-events: none;
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(
      ellipse at 70% 0%,
      rgba(212, 175, 55, 0.18),
      transparent 55%
    ),
    radial-gradient(ellipse at 20% 40%, rgba(27, 54, 93, 0.08), transparent 50%);
  z-index: 0;
}

.ny-band-hero .ny-band-inner {
  position: relative;
  z-index: 1;
  padding: 3.6rem 0 4.2rem;
}

.ny-band-white {
  background: var(--ny-white);
}

.ny-band-cream {
  background: linear-gradient(180deg, #f4efe1, #f8f4e9);
}

.ny-band-navy {
  background: linear-gradient(120deg, var(--ny-navy-deep), var(--ny-navy) 65%);
}

/* ---------- Hero ---------- */

.ny-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 3rem;
  text-align: start;
}

.ny-hero-copy {
  min-width: 0;
}

.ny-hero-logo-wrap {
  position: relative;
  width: 168px;
  height: 168px;
  margin-bottom: 1.35rem;
  margin: 15px auto;
}

.ny-hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background: conic-gradient(
    from 210deg,
    var(--ny-gold),
    var(--ny-gold-light),
    #b8922a,
    var(--ny-gold)
  );
  padding: 3px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.ny-hero-logo-wrap::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 30px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  pointer-events: none;
}

.ny-hero-caption {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto 0.85rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--ny-navy);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 8px 22px rgba(10, 31, 68, 0.06);
}

.ny-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--ny-navy);
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.ny-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  color: var(--ny-navy-deep);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.ny-hero h1 .ny-gold-text {
  color: var(--ny-gold);
}

.ny-hero-rule {
  display: block;
  width: 92px;
  height: 3px;
  margin: 0 0 1.15rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--ny-gold),
    var(--ny-gold-light),
    transparent
  );
}

.ny-slogan {
  color: var(--ny-navy);
  opacity: 0.88;
  font-size: 1.08rem;
  line-height: 1.95;
  margin: 0 0 1.6rem;
  max-width: 34rem;
}

.ny-actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.ny-actions-start {
  justify-content: flex-start;
}

.ny-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
}

.ny-hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(10, 31, 68, 0.06);
  color: var(--ny-navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.ny-hero-pills .ny-icon {
  color: var(--ny-gold);
}

.ny-hero-pills .ny-icon svg {
  width: 16px;
  height: 16px;
}

.ny-hero-stage {
  position: relative;
  min-height: 420px;
}

.ny-hero-manuscript {
  position: relative;
  z-index: 1;
  background: linear-gradient(165deg, var(--ny-navy-deep), var(--ny-navy) 70%);
  color: var(--ny-white);
  border-radius: 28px;
  padding: 1.75rem 1.6rem 1.5rem;
  box-shadow:
    0 28px 60px rgba(10, 31, 68, 0.28),
    inset 0 0 0 1px rgba(212, 175, 55, 0.28);
  overflow: hidden;
}

.ny-hero-manuscript::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 30%;
  height: 70%;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.22),
    transparent 62%
  );
}

.ny-hero-stage-kicker {
  position: relative;
  margin: 0 0 1.1rem;
  color: var(--ny-gold-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ny-hero-path {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.ny-hero-path li {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  align-items: center;
}

.ny-hero-path span {
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.16);
  color: var(--ny-gold-light);
  font-weight: 800;
}

.ny-hero-path strong {
  font-size: 1rem;
}

.ny-hero-path em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.ny-hero-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--ny-white);
  color: var(--ny-navy-deep);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(10, 31, 68, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.35);
  animation: ny-float 5.5s ease-in-out infinite;
}

.ny-hero-float .ny-icon {
  color: var(--ny-gold);
}

.ny-hero-float-a {
  top: 18px;
  left: -18px;
}

.ny-hero-float-b {
  bottom: 72px;
  left: -8px;
  animation-delay: -1.8s;
}

.ny-hero-float-c {
  bottom: 12px;
  right: 18px;
  animation-delay: -3.2s;
}

@keyframes ny-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ny-hero-float {
    animation: none;
  }
}

/* ---------- Stats ---------- */

.ny-section {
  margin: 3.5rem 0;
}

.ny-section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.ny-section-head h2 {
  color: var(--ny-navy-deep);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0.5rem 0 0.4rem;
}

.ny-section-head p {
  color: var(--ny-muted);
  margin: 0 auto;
  max-width: 620px;
}

.ny-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.ny-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1.5rem 1rem;
  background: var(--ny-white);
  border-radius: var(--ny-radius);
  border: 1px solid var(--ny-border);
  box-shadow: var(--ny-shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ny-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ny-shadow-lg);
}

.ny-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ny-navy-deep), var(--ny-navy));
  color: var(--ny-gold-light);
}

.ny-stat-icon .ny-icon svg {
  width: 22px;
  height: 22px;
}

.ny-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ny-navy-deep);
}

.ny-stat-label {
  color: var(--ny-muted);
  font-size: 0.86rem;
}

/* ---------- Features ---------- */

.ny-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ny-feature-card {
  background: var(--ny-white);
  border: 1px solid var(--ny-border);
  border-radius: var(--ny-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--ny-shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ny-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ny-shadow-lg);
}

.ny-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--ny-gold);
  margin-bottom: 1rem;
}

.ny-feature-icon .ny-icon svg {
  width: 26px;
  height: 26px;
}

.ny-feature-card h3 {
  margin: 0 0 0.5rem;
  color: var(--ny-navy-deep);
  font-size: 1.08rem;
}

.ny-feature-card p {
  margin: 0;
  color: var(--ny-muted);
  line-height: 1.8;
  font-size: 0.94rem;
}

/* ---------- Steps ---------- */

.ny-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.ny-step {
  position: relative;
  background: var(--ny-white);
  border: 1px solid var(--ny-border);
  border-radius: var(--ny-radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.ny-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  background: var(--ny-navy-deep);
  color: var(--ny-gold-light);
  font-weight: 800;
}

.ny-step h4 {
  margin: 0 0 0.4rem;
  color: var(--ny-navy-deep);
}

.ny-step p {
  margin: 0;
  color: var(--ny-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ---------- CTA banner ---------- */

.ny-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(
    120deg,
    var(--ny-navy-deep),
    var(--ny-navy) 65%,
    var(--ny-navy-soft)
  );
  border-radius: var(--ny-radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--ny-shadow-lg);
  position: relative;
  overflow: hidden;
}

.ny-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 90% 0%,
    rgba(212, 175, 55, 0.28),
    transparent 55%
  );
}

.ny-cta-banner > * {
  position: relative;
  z-index: 1;
}

.ny-cta-banner h2 {
  color: var(--ny-white);
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}

.ny-cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ---------- Cards ---------- */

.ny-card {
  background: var(--ny-white);
  border: 1px solid var(--ny-border);
  border-radius: var(--ny-radius);
  padding: 1.6rem;
  box-shadow: var(--ny-shadow);
}

.ny-card h2 {
  margin: 0 0 0.9rem;
  color: var(--ny-navy);
  font-size: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ny-border);
}

.ny-card + .ny-card {
  margin-top: 1.25rem;
}

.ny-card-accent {
  border-top: 3px solid var(--ny-gold);
}

/* ---------- Buttons ---------- */

.ny-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    opacity 0.15s ease;
}

.ny-btn:active {
  transform: translateY(1px);
}

.ny-btn-gold {
  background: linear-gradient(120deg, var(--ny-gold), var(--ny-gold-light));
  color: var(--ny-navy-deep);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.35);
}

.ny-btn-gold:hover {
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.45);
}

.ny-btn-ghost {
  background: transparent;
  border-color: var(--ny-navy);
  color: var(--ny-navy);
}

.ny-btn-ghost:hover {
  background: rgba(27, 54, 93, 0.06);
}

.ny-btn-navy {
  background: var(--ny-navy-deep);
  color: var(--ny-white);
}

.ny-btn-navy:hover {
  background: var(--ny-navy);
}

.ny-btn-sm {
  min-height: 38px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

.ny-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- Forms ---------- */

.ny-meta {
  margin: 0;
  padding-right: 1.1rem;
  line-height: 1.9;
}

.ny-warn {
  color: #8a1f1f;
  background: rgba(138, 31, 31, 0.07);
  border: 1px solid rgba(138, 31, 31, 0.18);
  border-radius: var(--ny-radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
}

.ny-ok {
  color: #14633a;
  background: rgba(20, 99, 58, 0.08);
  border: 1px solid rgba(20, 99, 58, 0.2);
  border-radius: var(--ny-radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
}

.ny-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--ny-navy);
  font-weight: 600;
  font-size: 0.9rem;
}

.ny-input {
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(27, 54, 93, 0.2);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ny-navy-deep);
  background: var(--ny-white);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.ny-input:focus {
  outline: none;
  border-color: var(--ny-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.ny-form-hint {
  margin-top: 1rem;
  color: var(--ny-muted);
  font-size: 0.9rem;
}

.ny-form-hint a {
  color: var(--ny-gold);
  font-weight: 700;
}

.ny-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.ny-toolbar h1 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--ny-navy-deep);
}

.ny-textarea {
  min-height: 120px;
  resize: vertical;
}
.ny-textarea-lg {
  min-height: 360px;
}

.ny-balance {
  font-size: 2.1rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--ny-gold), var(--ny-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0.25rem 0;
}

.ny-ai-output {
  white-space: pre-wrap;
  background: #f7f5ef;
  border: 1px solid #e6dfcf;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  line-height: 1.8;
}

/* ---------- Badges / chips ---------- */

.ny-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(27, 54, 93, 0.08);
  color: var(--ny-navy);
}

.ny-badge-gold {
  background: rgba(212, 175, 55, 0.16);
  color: #8a6d17;
}
.ny-badge-navy {
  background: var(--ny-navy-deep);
  color: var(--ny-white);
}

/* ---------- Dashboard ---------- */

.ny-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.ny-dash-head h1 {
  margin: 0 0 0.25rem;
  color: var(--ny-navy-deep);
}

.ny-dash-head p {
  margin: 0;
  color: var(--ny-muted);
}

.ny-dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.ny-dash-card {
  background: var(--ny-white);
  border: 1px solid var(--ny-border);
  border-radius: var(--ny-radius);
  padding: 1.25rem;
  box-shadow: var(--ny-shadow);
}

.ny-dash-card.ny-dash-card-highlight {
  background: linear-gradient(135deg, var(--ny-navy-deep), var(--ny-navy));
  color: var(--ny-white);
  border: none;
}

.ny-dash-card.ny-dash-card-highlight .ny-stat-label,
.ny-dash-card.ny-dash-card-highlight p {
  color: rgba(255, 255, 255, 0.75);
}

.ny-dash-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.16);
  color: var(--ny-gold);
  margin-bottom: 0.75rem;
}

.ny-dash-card.ny-dash-card-highlight .ny-dash-card-icon {
  background: rgba(255, 255, 255, 0.14);
  color: var(--ny-gold-light);
}

.ny-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.ny-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1.15rem 0.75rem;
  background: var(--ny-white);
  border: 1px solid var(--ny-border);
  border-radius: var(--ny-radius);
  color: var(--ny-navy-deep);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--ny-shadow);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.ny-quick-action:hover {
  transform: translateY(-3px);
  box-shadow: var(--ny-shadow-lg);
}

.ny-quick-action .ny-icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--ny-gold);
}

/* ---------- Project list cards ---------- */

.ny-project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Auth shell ---------- */

.ny-auth-shell {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  width: 1080px;
  max-width: calc(100vw - 2rem);
  min-height: calc(100vh - 220px);
  border-radius: var(--ny-radius-lg);
  overflow: hidden;
  box-shadow: var(--ny-shadow-lg);
  margin: 1rem auto 2.5rem;
}

.ny-auth-brand {
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(212, 175, 55, 0.28),
      transparent 45%
    ),
    linear-gradient(150deg, var(--ny-navy-deep), var(--ny-navy) 80%);
  color: var(--ny-white);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
}

.ny-auth-logo {
  width: 84px;
  height: 84px;
  padding: 10px;
  border-radius: 22px;
  background: var(--ny-white);
  box-shadow: var(--ny-shadow-lg);
  margin-bottom: 0.75rem;
}

.ny-auth-brand h2 {
  margin: 0;
  font-size: 1.6rem;
}

.ny-auth-slogan {
  color: var(--ny-gold-light);
  margin: 0.15rem 0 1.75rem;
}

.ny-auth-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ny-auth-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
}

.ny-auth-points .ny-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.18);
  color: var(--ny-gold-light);
  flex-shrink: 0;
}

.ny-auth-panel {
  background: var(--ny-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
}

.ny-auth-card {
  width: 100%;
  max-width: 480px;
}

.ny-auth-card h1 {
  margin: 0 0 0.4rem;
  color: var(--ny-navy-deep);
  font-size: 1.5rem;
}

.ny-auth-subtitle {
  color: var(--ny-muted);
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */

.ny-footer {
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(120deg, var(--ny-navy-deep), var(--ny-navy) 60%);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.ny-footer strong {
  color: var(--ny-gold-light);
}

.ny-footer-links {
  display: flex;
  gap: 1.1rem;
}

.ny-footer-links a:hover {
  color: var(--ny-gold-light);
}

/* ---------- Misc ---------- */

.ny-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ny-icon svg {
  width: 20px;
  height: 20px;
}

.ny-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--ny-muted);
}

.ny-fade-in {
  animation: ny-fade-in 0.5s ease both;
}

@keyframes ny-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .ny-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ny-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ny-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .ny-dash-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ny-quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  .ny-auth-shell {
    grid-template-columns: 1fr;
  }
  .ny-auth-brand {
    padding: 2.25rem;
  }
  .ny-auth-points {
    display: none;
  }
  .ny-hero {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .ny-hero-stage {
    min-height: 0;
    max-width: 460px;
  }
  .ny-hero-float-a,
  .ny-hero-float-b,
  .ny-hero-float-c {
    display: none;
  }
}

@media (max-width: 960px) {
  .ny-header {
    flex-wrap: wrap;
  }
  .ny-nav-burger {
    display: inline-flex;
    margin-inline-start: auto;
  }
  .ny-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding-bottom: 0.5rem;
  }
  .ny-nav-toggle:checked ~ .ny-nav {
    display: flex;
  }
  .ny-nav a {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .ny-header {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }
  .ny-nav {
    gap: 0.15rem;
  }
  .ny-nav a {
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
  }
  .ny-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ny-features-grid {
    grid-template-columns: 1fr;
  }
  .ny-steps {
    grid-template-columns: 1fr;
  }
  .ny-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
  }
  .ny-footer {
    flex-direction: column;
    text-align: center;
  }
  .ny-band-inner {
    padding: 2.75rem 0;
  }
  .ny-band-hero .ny-band-inner {
    padding: 2.25rem 0 2.5rem;
  }
  .ny-hero-logo-wrap {
    width: 132px;
    height: 132px;
    margin: 15px auto;
  }
  .ny-hero-logo {
    width: 112px;
    height: 112px;
    padding: 14px;
  }
}

#blazor-error-ui {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  padding: 0.75rem 1rem;
  background: var(--ny-navy-deep);
  color: var(--ny-white);
  z-index: 100;
}

#blazor-error-ui.reload {
  margin-inline: 0.5rem;
  color: var(--ny-gold);
}
