/* ============================================================
   pages.css — Shared styles for Privacy, Terms & About pages
   Premium Resume Scanner · Agontuk Technologies © 2026
   ============================================================ */


/* ── LOGO ANIMATIONS (shared with index.html) ─────────────── */

@keyframes prs-gold-flow {
  0%   { background-position: 0%   center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0%   center; }
}
@keyframes prs-ice-flow {
  0%   { background-position: 100% center; }
  50%  { background-position: 0%   center; }
  100% { background-position: 100% center; }
}
@keyframes prs-rainbow {
  0%   { background-position: 0%   center; }
  100% { background-position: 400% center; }
}
@keyframes prs-logo-glow-pulse {
  0%, 100% {
    box-shadow:
      0 0 8px  2px rgba(34,211,238,0.35),
      0 0 18px 4px rgba(244,114,182,0.20),
      0 0  4px 1px rgba(251,191,36,0.15);
  }
  50% {
    box-shadow:
      0 0 14px 4px rgba(34,211,238,0.55),
      0 0 28px 8px rgba(244,114,182,0.30),
      0 0  8px 2px rgba(251,191,36,0.25);
  }
}

.prs-logo-img {
  animation: prs-logo-glow-pulse 3.5s ease-in-out infinite;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.prs-logo-wrap:hover .prs-logo-img {
  transform: scale(1.07);
}

.prs-word-premium {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #a855f7, #3b82f6, #22d3ee, #10b981, #f59e0b, #ec4899, #a855f7);
  background-size: 400% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: prs-rainbow 6s linear infinite;
}

.prs-word-resume {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #22d3ee, #10b981, #f59e0b, #ec4899, #a855f7, #3b82f6, #22d3ee);
  background-size: 400% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: prs-rainbow 6s linear infinite;
  animation-delay: -2s;
}

.prs-word-scanner {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 20px;
  background: linear-gradient(90deg, #f59e0b, #ec4899, #a855f7, #3b82f6, #22d3ee, #10b981, #f59e0b);
  background-size: 400% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1px solid rgba(168,85,247,0.35);
  animation: prs-rainbow 6s linear infinite;
  animation-delay: -4s;
  align-self: center;
}


/* ── NAVBAR ───────────────────────────────────────────────── */

.pages-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pages-nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Logo link */
.pages-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

.pages-nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.pages-nav-logo-text {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.pages-nav-logo-words {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

/* Back link */
.pages-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #818cf8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.pages-back-link:hover { color: #a5b4fc; }

.pages-back-link svg {
  flex-shrink: 0;
}

.pages-back-text {
  /* text label — hidden on very small screens */
}


/* ── FOOTER ───────────────────────────────────────────────── */

.pages-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 40px;
  padding: 40px 16px;
  background: rgba(10,15,30,0.8);
}

.pages-footer-inner {
  max-width: 1152px;
  margin: 0 auto;
}

.pages-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Footer logo */
.pages-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.pages-footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.pages-footer-logo-text {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Footer nav */
.pages-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
}

.pages-footer-nav a {
  color: #475569;
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}
.pages-footer-nav a:hover { color: #94a3b8; }
.pages-footer-nav a.active { color: #818cf8; font-weight: 600; }

.pages-footer-nav-dot {
  color: #1e293b;
  font-size: 0.82rem;
}

/* Copyright */
.pages-footer-copy {
  color: #334155;
  font-size: 0.78rem;
  text-align: right;
  flex-shrink: 0;
}

/* Bottom bar */
.pages-footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pages-footer-bottom-text {
  font-size: 0.75rem;
  color: #1e3a5f;
}

.pages-footer-bottom-link {
  font-size: 0.75rem;
  color: #6366f1;
  text-decoration: none;
  transition: color 0.2s;
}
.pages-footer-bottom-link:hover { color: #818cf8; }

.pages-footer-bottom-dot {
  color: #1e293b;
  font-size: 0.75rem;
}

.pages-footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #334155;
  padding: 2px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.pages-footer-powered-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  flex-shrink: 0;
  display: inline-block;
}


/* ── MOBILE RESPONSIVE ────────────────────────────────────── */

/* ≤ 600px: tighten logo, show back arrow only */
@media (max-width: 600px) {

  /* Navbar logo text size */
  .prs-word-premium,
  .prs-word-resume {
    font-size: 1.15rem !important;
  }
  .prs-word-scanner {
    font-size: 8px !important;
    padding: 2px 5px !important;
  }

  /* Hide "Back to Scanner" text label, keep arrow */
  .pages-back-text {
    display: none;
  }

  /* Footer top: stack vertically */
  .pages-footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pages-footer-copy {
    text-align: center;
  }
}

/* ≤ 400px: shrink even more */
@media (max-width: 400px) {
  .prs-word-premium,
  .prs-word-resume {
    font-size: 0.95rem !important;
  }
  .pages-nav-logo img {
    width: 32px;
    height: 32px;
  }
}