/* ============================================================
   ANIVSTA — Subpage styles (privacy / terms / contact)
   Loaded AFTER style.css. Contains only rules that do not
   already exist in the main stylesheet.
   ------------------------------------------------------------
   01. Subpage shell & nav
   02. Page hero (title block)
   03. Legal prose card
   04. Contact page
   05. Footer
   06. Responsive
   ============================================================ */


/* ============================================================
   01. SUBPAGE SHELL & NAV
   ============================================================ */

/* Subpages scroll — override the landing's 100vh lock */
.page--sub {
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
}

.nav-links__item {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.nav-links__item:hover {
  color: var(--text);
}

.nav-links__item[aria-current="page"] {
  color: var(--text);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* ============================================================
   02. PAGE HERO (TITLE BLOCK)
   ============================================================ */

.subhero {
  max-width: 860px;
  margin-inline: auto;
  padding-block: clamp(40px, 8vh, 88px) clamp(28px, 5vh, 48px);
  text-align: center;
}

.subhero__title {
  margin-top: clamp(16px, 2.4vh, 24px);
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.subhero__title span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(217, 70, 239, 0.25));
}

.subhero__lede {
  margin: clamp(14px, 2vh, 20px) auto 0;
  max-width: 560px;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.7;
  color: var(--text-dim);
}

.subhero__updated {
  display: inline-block;
  margin-top: 18px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}


/* ============================================================
   03. LEGAL PROSE CARD
   ============================================================ */

.legal {
  max-width: 860px;
  margin-inline: auto;
  width: 100%;
}

.legal__card {
  padding: clamp(26px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 30px 70px -30px rgba(0, 0, 0, 0.8);
}

.legal__section + .legal__section {
  margin-top: clamp(30px, 4.5vh, 44px);
  padding-top: clamp(30px, 4.5vh, 44px);
  border-top: 1px solid var(--glass-line);
}

.legal__heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.legal__num {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal__section p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

.legal__section ul {
  margin-top: 14px;
  padding-left: 4px;
  list-style: none;
}

.legal__section li {
  position: relative;
  padding-left: 26px;
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.legal__section li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--grad-brand);
  opacity: 0.85;
}

.legal__section a {
  color: var(--secondary-soft);
  font-weight: 600;
  transition: color 0.3s ease;
}

.legal__section a:hover {
  color: var(--secondary);
}

/* Small pill CTA used at the bottom of legal pages */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(26px, 4vh, 40px);
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--glass-line-hi);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  transition:
    transform 0.35s var(--ease-spring),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: var(--glow-primary);
}

.btn-ghost svg {
  width: 15px;
  height: 15px;
}


/* ============================================================
   04. CONTACT PAGE
   ============================================================ */

.contact {
  max-width: 1060px;
  margin-inline: auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}

/* --- Info side --------------------------------------------- */

.contact__info {
  padding: clamp(26px, 3.5vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact__info h2 {
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 800;
}

.contact__info > p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.32);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary-soft);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.contact__email:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

.contact__email svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Social placeholders */
.socials {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.socials__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  color: var(--text-dim);
  transition:
    transform 0.35s var(--ease-spring),
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}

.socials__link:hover {
  transform: translateY(-3px) scale(1.05);
  color: var(--text);
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: var(--glow-secondary);
}

.socials__link svg {
  width: 19px;
  height: 19px;
}

/* --- Form side --------------------------------------------- */

.contact__form {
  padding: clamp(26px, 3.5vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 30px 70px -30px rgba(0, 0, 0, 0.8);
}

.field + .field {
  margin-top: 18px;
}

.field__label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 9px;
}

.field__input {
  width: 100%;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-line);
  background: rgba(8, 11, 21, 0.55);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.field__input::placeholder {
  color: var(--text-faint);
}

.field__input:hover {
  border-color: var(--glass-line-hi);
}

.field__input:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(8, 11, 21, 0.8);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
}

textarea.field__input {
  min-height: 150px;
  resize: vertical;
}

/* Submit reuses .cta from style.css; this only adapts sizing */
.contact__submit {
  margin-top: 24px;
  max-width: none;
  padding: 18px 28px;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
}

.contact__hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}


/* ============================================================
   05. FOOTER
   ============================================================ */

.footer {
  margin-top: clamp(56px, 9vh, 104px);
  padding-block: clamp(26px, 4vh, 40px);
  border-top: 1px solid var(--glass-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

.footer__copy strong {
  color: var(--text-dim);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}

.footer__link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--text);
}

.footer__link[aria-current="page"] {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* ============================================================
   06. RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .legal__heading {
    flex-direction: column;
    gap: 6px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}
