/* ── Google Fonts — consistent across ALL pages ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Bebas+Neue&display=swap');

/* ── Variables — PAPRAFITT Brand ── */
:root {
  --color-bg:        #0A0A0A;
  --color-surface:   #111111;
  --color-border:    #222222;
  --color-primary:   #C9A217;
  --color-primary-d: #a8860f;
  --color-accent:    #E8C84A;
  --color-text:      #F0EDE6;
  --color-muted:     #7a7060;

  --radius: 6px;
  --transition: 200ms ease;
  --max-w: 1100px;
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-surface);
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  perspective: 1000px;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: #0A0A0A;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn--primary:hover {
  background: var(--color-accent);
  transform: translateY(-3px) translateZ(6px);
  box-shadow: 0 8px 24px rgba(201,162,23,.4);
}

.btn--primary:active {
  transform: translateY(-1px) translateZ(2px);
}

.btn--outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #0A0A0A;
  transform: translateY(-3px) translateZ(6px);
  box-shadow: 0 8px 24px rgba(201,162,23,.35);
}

.btn--outline:active {
  transform: translateY(-1px) translateZ(2px);
}

/* ── Header / Nav ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

/* Compensate for fixed header height */
body { padding-top: 64px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nav__logo span {
  font-family: 'Bebas Neue', 'Inter', system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.nav__logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Fixed brand mark bottom-left ── */
.brand-mark {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 800;
  width: 44px;
  height: 44px;
  pointer-events: none;
  opacity: 0.85;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ── Floating social buttons (all pages) ── */
.social-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.social-float a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms, box-shadow 200ms;
  text-decoration: none;
  flex-shrink: 0;
}
.social-float a:hover { transform: scale(1.1); }

.wa-btn {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
}
.wa-btn:hover { box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-btn svg { width: 28px; height: 28px; fill: #fff; }

.ig-btn {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 4px 20px rgba(214,36,159,.35);
}
.ig-btn:hover { box-shadow: 0 6px 28px rgba(214,36,159,.5); }
.ig-btn svg { width: 26px; height: 26px; fill: #fff; }

.tt-btn {
  background: #010101;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  border: 1px solid #333;
}
.tt-btn:hover { box-shadow: 0 6px 28px rgba(0,0,0,.7); }
.tt-btn svg { width: 24px; height: 24px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

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

.nav__toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--color-text);
}

.nav__home {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.nav__home:hover {
  color: var(--color-text);
  border-color: var(--color-accent);
}

/* ── Hero ── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse 70% 60% at 30% 0%, rgba(201,162,23,0.10) 0%, transparent 60%),
              radial-gradient(ellipse 50% 50% at 80% 100%, rgba(232,200,74,0.06) 0%, transparent 60%),
              var(--color-bg);
}

.hero__content {
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Cards ── */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card__text {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.card__link {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.card__link:hover {
  text-decoration: underline;
}

/* ── Features ── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.feature__icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.feature h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feature p {
  color: var(--color-muted);
  font-size: 0.88rem;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

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

/* ── Mobile floating pill CTA ── */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 498;
    pointer-events: none;
  }
  .mobile-cta__btn {
    pointer-events: auto;
    background: var(--color-primary);
    color: #0A0A0A;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(201,162,23,.5);
    transition: background 150ms, transform 150ms, box-shadow 150ms;
  }
  .mobile-cta__btn:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(201,162,23,.65);
  }
  body { padding-bottom: 88px; }
}

/* ── Urgency badge ── */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,162,23,.08);
  border: 1px solid rgba(201,162,23,.25);
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.urgency-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50% { opacity: 0.8; transform: scale(1.15); box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

/* ── Scroll animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  /* No hamburger — always-visible horizontal tab bar */
  .nav__toggle { display: none; }
  .nav__home { display: none; }

  /* Header grows to 2 rows: logo (56px) + tab bar (44px) */
  body { padding-top: 100px; }
  .nav { height: 56px; }

  /* Tab bar */
  .nav__links,
  .nav__links.open {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    inset: auto !important;
    background: #0A0A0A !important;
    border-top: 1px solid #1c1c1c;
    border-bottom: 1px solid #1c1c1c;
    padding: 0 0.75rem !important;
    height: 44px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    gap: 4px !important;
    align-items: center;
    font-size: 0.78rem !important;
    color: var(--color-muted) !important;
    white-space: nowrap;
  }
  .nav__links::-webkit-scrollbar { display: none; }

  .nav__links a,
  .nav__links.open a {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    color: var(--color-muted);
    transition: color 150ms, background 150ms;
  }
  .nav__links a:hover {
    color: var(--color-text);
    background: rgba(255,255,255,.06);
  }

  /* Sticky subnavs inside pages: offset by taller header */
  .subnav,
  .pg-subnav { top: 100px !important; }
}
