/* ============================================================
   PETINEX — Homepage Styles v2.0
   Dark-first, RTL, responsive
   ============================================================ */

/* ── Layout ── */
.px-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.px-section {
  position: relative;
  padding: 96px 0;
  contain: layout style;
}

.px-section-header {
  text-align: center;
  margin-bottom: 0;
}

.px-section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  margin: 16px 0 12px;
  color: var(--px-fg);
}

.px-section-desc {
  font-size: 16px;
  color: var(--px-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ══════════ ANIMATED BACKGROUND ══════════ */
.px-bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: auto;
}

.px-blob {
  position: absolute;
  border-radius: 50%;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.px-blob--purple {
  width: 600px; height: 600px;
  top: -40px; right: -5%;
  background: radial-gradient(circle, rgba(120,46,255,0.35) 0%, transparent 70%);
  opacity: 0.4;
  animation: blob-1 30s ease-in-out infinite;
}

.px-blob--blue {
  width: 500px; height: 500px;
  top: 20%; left: -10%;
  background: radial-gradient(circle, rgba(79,123,255,0.3) 0%, transparent 70%);
  opacity: 0.35;
  animation: blob-2 36s ease-in-out infinite;
}

.px-blob--pink {
  width: 450px; height: 450px;
  bottom: -15%; right: 10%;
  background: radial-gradient(circle, rgba(255,79,163,0.25) 0%, transparent 70%);
  opacity: 0.3;
  animation: blob-3 34s ease-in-out infinite;
}

.px-blob--orange {
  width: 350px; height: 350px;
  bottom: 5%; left: 15%;
  background: radial-gradient(circle, rgba(255,154,61,0.2) 0%, transparent 70%);
  opacity: 0.25;
  animation: blob-4 40s ease-in-out infinite;
}

body.light-mode .px-blob { opacity: 0.12; }

.px-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

body.light-mode .px-bg-grid {
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
}

.px-bg-grain {
  display: none;
}

/* ══════════ NAVBAR ══════════ */
.px-nav {
  position: fixed;
  top: 16px;
  left: 0; right: 0;
  z-index: 100;
  padding: 0 20px;
}

.px-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  border-radius: 16px;
  padding: 0 12px 0 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.30);
  background: rgba(35,30,51,0.92);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.light-mode .px-nav__inner {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.px-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.px-nav__logo img {
  width: 36px; height: 36px;
  border-radius: 10px;
}

.px-nav__brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--px-fg);
}

.px-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.px-nav__links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--px-muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.px-nav__links a:hover {
  background: rgba(255,255,255,0.10);
  color: var(--px-fg);
}

body.light-mode .px-nav__links a:hover {
  background: rgba(0,0,0,0.06);
}

.px-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.px-nav__actions .px-btn {
  padding: 8px 20px;
  font-size: 14px;
}

/* Theme Toggle */
.px-theme-toggle {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid var(--px-border) !important;
  background: transparent !important;
  color: var(--px-muted);
  cursor: pointer;
  display: grid !important;
  place-items: center;
  transition: background 0.2s;
  flex-shrink: 0;
  box-shadow: none !important;
}

.px-theme-toggle:hover {
  background: rgba(255,255,255,0.10);
  color: var(--px-fg);
}

.px-theme-toggle__sun  { display: none; }
.px-theme-toggle__moon { display: block; }

body.light-mode .px-theme-toggle__sun  { display: block; }
body.light-mode .px-theme-toggle__moon { display: none; }

/* Burger */
.px-nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: none; background: none;
  color: var(--px-fg);
  cursor: pointer;
}

/* Mobile menu */
.px-nav__mobile[hidden] { display: none !important; }

.px-nav__mobile {
  max-width: 1200px;
  margin: 8px auto 0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.30);
}

.px-nav__mobile a {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--px-muted);
  text-decoration: none;
  transition: background 0.2s;
}

.px-nav__mobile a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--px-fg);
}

.px-nav__mobile-ctas {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--px-border);
}

.px-nav__mobile-ctas .px-btn { flex: 1; }

/* ══════════ HERO ══════════ */
.px-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow-x: clip;
  overflow-y: visible;
  padding-top: 112px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
}

.px-hero__grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.px-hero__content {
  padding-bottom: 32px;
}

.px-hero__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 20px 0 24px;
  color: var(--px-fg);
}

.px-hero__title.px-grad-text {
  background: linear-gradient(100deg, #8b9aff 0%, #c084fc 30%, #ff6ec7 65%, #ffb86c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.px-hero__desc {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--px-muted);
  line-height: 1.9;
  margin: 0 0 32px;
  max-width: 520px;
}

.px-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.px-hero__trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.px-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--px-muted);
}

.px-hero__trust-item svg { color: var(--px-pink); }

/* Hero Scene */
.px-hero__scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: visible;
}

.px-hero__ring {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
}

.px-hero__ring-glow {
  width: 140%; height: 140%;
  margin: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120,46,255,0.35) 0%, rgba(255,79,163,0.2) 40%, transparent 70%);
  opacity: 0.30;
}

.px-hero__pet {
  position: relative;
  z-index: 2;
  will-change: transform;
}

.px-hero__pet img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 24px;
}

.px-hero__pet--dog {
  z-index: 3;
}

.px-hero__pet--dog img {
  width: 340px;
  border-radius: 28px;
  box-shadow:
    0 30px 60px rgba(120,46,255,0.30),
    0 0 0 1px rgba(255,255,255,0.08);
}

.px-hero__pet--cat {
  position: absolute;
  left: 0;
  bottom: 40px;
  z-index: 2;
}

.px-hero__pet--cat img {
  width: 200px;
  border-radius: 22px;
  box-shadow:
    0 25px 50px rgba(255,79,163,0.25),
    0 0 0 1px rgba(255,255,255,0.08);
}

/* Floating cards */
.px-hero__float {
  position: absolute;
  z-index: 10;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--px-fg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: float-soft 6s ease-in-out infinite;
}

.px-hero__float small {
  color: var(--px-muted);
  font-weight: 500;
}

.px-hero__float-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.px-hero__float--vaccine { right: 8px; top: 24px; animation-delay: 0s; }
.px-hero__float--weight  { left: -20px; bottom: 120px; animation-delay: 1.5s; }
.px-hero__float--ai      { right: 40px; bottom: 40px; animation-delay: 3s; }

.px-hero__float-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

/* Scroll hint */
.px-hero__scroll {
  text-align: center;
  margin-top: auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--px-muted);
}

.px-hero__scroll svg {
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

/* ══════════ MARQUEE ══════════ */
.px-marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  direction: ltr;
  border-top: 1px solid var(--px-border);
  border-bottom: 1px solid var(--px-border);
  background: rgba(35,30,51,0.50);
  padding: 20px 0;
}

body.light-mode .px-marquee {
  background: rgba(248,248,250,0.60);
}

.px-marquee__track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee-x 40s linear infinite;
}

.px-marquee__item {
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--px-fg);
  opacity: 0.8;
  white-space: nowrap;
}

.px-marquee__item svg {
  color: var(--px-pink);
  flex-shrink: 0;
}

/* ══════════ LEARNING PATHS ══════════ */
.px-paths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.px-path-card {
  position: relative;
  perspective: 1000px;
}

.px-path-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 24px;
  padding: 24px;
  transition: box-shadow 0.3s ease;
}

.px-path-card:hover .px-path-card__inner {
  box-shadow: 0 20px 50px rgba(120,46,255,0.20);
}

.px-path-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
}

.px-path-card__badge {
  display: inline-block;
  margin-top: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  font-size: 12px;
  font-weight: 700;
  color: var(--px-muted);
  width: fit-content;
}

body.light-mode .px-path-card__badge {
  background: rgba(0,0,0,0.06);
}

.px-path-card__title {
  font-size: 20px;
  font-weight: 800;
  margin: 12px 0 8px;
  color: var(--px-fg);
}

.px-path-card__desc {
  font-size: 14px;
  color: var(--px-muted);
  line-height: 1.7;
  margin: 0 0 20px;
}

/* Lessons */
.px-path-card__lessons {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.px-lesson {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--px-muted);
  background: rgba(255,255,255,0.05);
  transition: background 0.2s;
}

body.light-mode .px-lesson {
  background: rgba(0,0,0,0.03);
}

.px-lesson__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  background: rgba(255,255,255,0.10);
  color: var(--px-muted);
}

.px-lesson__check {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--px-brand-grad);
  color: #fff;
}

.px-lesson--done  { color: var(--px-fg); }
.px-lesson--active { color: var(--px-fg); background: rgba(255,255,255,0.08); }
.px-lesson--locked { opacity: 0.6; }

/* Progress */
.px-path-card__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.px-progress-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}

body.light-mode .px-progress-bar {
  background: rgba(0,0,0,0.08);
}

.px-progress-bar__fill {
  height: 100%;
  border-radius: 999px;
  transition: width 1s ease-out 0.2s;
}

.px-progress-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--px-muted);
  min-width: 32px;
  text-align: left;
}

/* ══════════ FEATURES ══════════ */
.px-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.px-features__card--lg { grid-column: span 2; }

.px-feature-card {
  border-radius: 24px;
  padding: 28px;
  transition: box-shadow 0.3s ease;
}

.px-feature-card:hover {
  box-shadow: 0 16px 40px rgba(120,46,255,0.12);
}

.px-feature-card__icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.px-feature-card:hover .px-feature-card__icon {
  transform: scale(1.1);
}

.px-feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--px-fg);
}

.px-feature-card p {
  font-size: 14px;
  color: var(--px-muted);
  line-height: 1.8;
  margin: 0;
}

/* ══════════ SMART TAG ══════════ */
.px-tag__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.px-tag__visual {
  display: flex;
  justify-content: center;
}

.px-tag__card-wrapper {
  background: var(--px-brand-grad);
  border-radius: 40px;
  padding: 1.5px;
  box-shadow: 0 20px 50px rgba(120,46,255,0.30);
}

.px-tag__card {
  background: rgba(35,30,51,0.94);
  border-radius: 38px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  color: var(--px-fg);
}

body.light-mode .px-tag__card {
  background: rgba(255,255,255,0.92);
}

.px-tag__qr {
  width: 144px; height: 144px;
  border-radius: 24px;
  background: var(--px-fg);
  color: var(--px-bg-hex);
  display: grid;
  place-items: center;
}

body.light-mode .px-tag__qr {
  background: #1a1a2e;
  color: #fff;
}

.px-tag__id-badge {
  background: var(--px-brand-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.px-tag__content { text-align: right; }

.px-tag__benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.px-tag__benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.px-tag__benefit-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--px-pink);
}

.px-tag__benefit strong {
  display: block;
  font-size: 15px;
  color: var(--px-fg);
  margin-bottom: 4px;
}

.px-tag__benefit p {
  font-size: 14px;
  color: var(--px-muted);
  line-height: 1.7;
  margin: 0;
}

/* ══════════ AI ASSISTANT ══════════ */
.px-ai__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.px-ai__content { text-align: right; }

.px-ai__checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.px-ai__checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--px-fg);
}

.px-ai__check-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--px-brand-grad);
  flex-shrink: 0;
  position: relative;
}

.px-ai__check-icon::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Chat mockup */
.px-ai__chat {
  position: relative;
}

.px-ai__chat-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(120,46,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.px-ai__chat-box {
  position: relative;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.30);
}

.px-ai__chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--px-border);
}

.px-ai__chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--px-brand-grad);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.px-ai__chat-header strong {
  display: block;
  font-size: 15px;
  color: var(--px-fg);
}

.px-ai__status {
  font-size: 12px;
  color: #22c55e;
  font-weight: 600;
}

.px-ai__messages {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.px-ai__msg {
  max-width: 85%;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.8;
}

.px-ai__msg--user {
  background: rgba(255,255,255,0.10);
  color: var(--px-fg);
  border-top-right-radius: 4px;
  align-self: flex-end;
}

body.light-mode .px-ai__msg--user {
  background: rgba(0,0,0,0.06);
}

.px-ai__msg--bot {
  background: var(--px-brand-grad);
  color: #fff;
  border-top-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 8px 24px rgba(120,46,255,0.20);
}

.px-ai__input {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--px-border);
  background: rgba(255,255,255,0.05);
  padding: 8px 12px;
}

body.light-mode .px-ai__input {
  background: rgba(0,0,0,0.03);
}

.px-ai__input input {
  flex: 1;
  border: none;
  background: none;
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-size: 14px;
  color: var(--px-fg);
  outline: none;
  direction: rtl;
}

.px-ai__input input::placeholder {
  color: var(--px-muted);
}

.px-ai__send {
  width: 36px; height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--px-brand-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

/* ══════════ VIP ══════════ */
.px-vip {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  border: 1px solid var(--px-border);
  background: rgba(35,30,51,0.88);
  padding: 48px 32px;
  text-align: center;
}

body.light-mode .px-vip {
  background: rgba(248,248,250,0.80);
}

.px-vip__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.px-vip__blob--1 {
  width: 480px; height: 480px;
  top: -140px; left: -140px;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, rgba(236,72,153,0.15) 40%, transparent 70%);
  opacity: 0.40;
}

.px-vip__blob--2 {
  width: 480px; height: 480px;
  bottom: -160px; right: -60px;
  background: radial-gradient(circle, rgba(249,115,22,0.30) 0%, transparent 70%);
  opacity: 0.30;
}

.px-vip__header {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.px-vip__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.px-vip__card {
  border-radius: 16px;
  border: 1px solid var(--px-border);
  background: rgba(255,255,255,0.05);
  padding: 24px;
  text-align: right;
  transition: transform 0.3s, background 0.3s;
}

body.light-mode .px-vip__card {
  background: rgba(255,255,255,0.60);
}

.px-vip__card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.10);
}

.px-vip__card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--px-brand-grad);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 16px;
  transition: transform 0.3s;
}

.px-vip__card:hover .px-vip__card-icon { transform: scale(1.1); }

.px-vip__card h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--px-fg);
}

.px-vip__card p {
  font-size: 14px;
  color: var(--px-muted);
  line-height: 1.7;
  margin: 0;
}

.px-vip__cta {
  position: relative;
  z-index: 1;
}

/* ══════════ SHOP ══════════ */
.px-shop__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.px-shop-card {
  display: flex;
  gap: 20px;
  border-radius: 24px;
  padding: 28px;
  transition: box-shadow 0.3s;
  perspective: 1000px;
}

.px-shop-card:hover {
  box-shadow: 0 20px 50px rgba(120,46,255,0.15);
}

.px-shop-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.px-shop-card:hover .px-shop-card__icon { transform: scale(1.1); }

.px-shop-card__tag {
  font-size: 12px;
  font-weight: 700;
}

.px-shop-card__body h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 4px 0 8px;
  color: var(--px-fg);
}

.px-shop-card__body p {
  font-size: 14px;
  color: var(--px-muted);
  line-height: 1.8;
  margin: 0;
}

/* ══════════ CTA BANNER ══════════ */
.px-cta-section {
  position: relative;
  z-index: 1;
  padding: 0 0 80px;
}

.px-cta-banner {
  background: var(--px-brand-grad);
  background-size: 220% 220%;
  animation: gradient-pan 7s ease infinite;
  border-radius: 40px;
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(120,46,255,0.30);
}

.px-cta-banner__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}

.px-cta-banner h2 {
  position: relative;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 12px;
}

.px-cta-banner p {
  position: relative;
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  margin: 0 0 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.px-cta-banner__btns {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════ FOOTER ══════════ */
.px-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--px-border);
  padding: 64px 0 32px;
}

.px-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.px-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.px-footer__brand img {
  width: 36px; height: 36px;
  border-radius: 10px;
}

.px-footer__brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--px-fg);
}

.px-footer__tagline {
  font-size: 14px;
  color: var(--px-muted);
  line-height: 1.7;
  margin: 4px 0 0;
  max-width: 280px;
}

.px-footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--px-fg);
  margin: 0 0 16px;
}

.px-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.px-footer__col a {
  font-size: 14px;
  color: var(--px-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.px-footer__col a:hover { color: var(--px-fg); }

.px-footer__copy {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--px-border);
  text-align: center;
}

.px-footer__copy p {
  font-size: 13px;
  color: var(--px-muted);
  margin: 0;
}

/* ══════════ ASTRA OVERRIDES ══════════ */
body.home,
body.home .ast-separate-container {
  background-color: var(--px-bg-hex) !important;
  background: var(--px-bg) !important;
}

body.home .ast-container,
body.home .ast-two-container .ast-container,
body.home #content > .ast-container {
  display: block !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home #content { padding: 0 !important; background: transparent !important; }

body.home #primary {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

body.home .entry-header { display: none !important; }

body.home .ast-article-single,
body.home .ast-article-post,
body.home .ast-separate-container .ast-article-single {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  background: transparent !important;
}

body.home .ast-separate-container #primary { padding: 0 !important; }

/* Astra header/footer hidden on homepage */
body.home .ast-above-header-wrap,
body.home .ast-main-header-wrap,
body.home .ast-below-header-wrap,
body.home .main-header-bar-wrap,
body.home .site-header,
body.home .ast-footer-overlay,
body.home .ast-small-footer,
body.home .site-footer { display: none !important; }

/* Hide Astra scroll-to-top on homepage */
body.home #ast-scroll-top { display: none !important; }

/* ══════════ RESPONSIVE ══════════ */

/* Tablet landscape */
@media (max-width: 1100px) {
  .px-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .px-hero__content { order: 1; }
  .px-hero__scene { order: 0; min-height: 350px; }
  .px-hero__desc { margin-left: auto; margin-right: auto; }
  .px-hero__ctas { justify-content: center; }
  .px-hero__trust { justify-content: center; }
  .px-hero__pet--dog img { width: 280px; }
  .px-hero__pet--cat img { width: 160px; }
  .px-hero__ring { width: 300px; height: 300px; }

  .px-tag__grid,
  .px-ai__grid { grid-template-columns: 1fr; gap: 40px; }
  .px-tag__content,
  .px-ai__content { text-align: center; order: 0; }
  .px-tag__content .px-section-title,
  .px-tag__content .px-section-desc,
  .px-ai__content .px-section-title,
  .px-ai__content .px-section-desc { text-align: center !important; }
  .px-tag__visual,
  .px-ai__chat { order: 1; }
  .px-tag__benefits { max-width: 480px; margin: 0 auto; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .px-nav__links { display: none; }
  .px-nav__burger { display: grid; place-items: center; }
  .px-nav__actions .px-btn { display: none; }
  .px-nav__actions { gap: 4px; }

  .px-hero__float { font-size: 12px; padding: 10px 12px; }

  .px-paths__grid,
  .px-vip__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .px-paths__grid { margin-top: 48px; }

  .px-features__grid { grid-template-columns: repeat(2, 1fr); }
  .px-features__card--lg { grid-column: span 2; }

  .px-shop__grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }

  .px-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
  .px-section { padding: 64px 0; }

  .px-nav { top: 8px; padding: 0 10px; }
  .px-nav__inner { height: 52px; padding: 0 10px; border-radius: 14px; gap: 8px; }
  .px-nav__logo img { width: 30px; height: 30px; }
  .px-nav__brand { font-size: 16px; }
  .px-theme-toggle { width: 32px !important; height: 32px !important; min-width: 32px; }
  .px-theme-toggle svg { width: 16px; height: 16px; }
  .px-nav__burger { width: 36px; height: 36px; }

  .px-hero { padding-top: 80px; min-height: auto; }
  .px-hero__title { font-size: clamp(28px, 9vw, 42px); }
  .px-hero__pet--dog img { width: 220px; }
  .px-hero__pet--cat img { width: 130px; }
  .px-hero__pet--cat { left: -10px; bottom: 10px; }
  .px-hero__ring { width: 240px; height: 240px; }
  .px-hero__float { display: none; }

  .px-marquee__item { font-size: 13px; gap: 6px; }

  .px-features__grid { grid-template-columns: 1fr; }
  .px-features__card--lg { grid-column: span 1; }

  .px-btn-lg { padding: 14px 28px; font-size: 15px; }

  .px-cta-banner { padding: 48px 24px; border-radius: 24px; }
  .px-vip { padding: 32px 20px; border-radius: 24px; }

  .px-footer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .px-footer__brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }
  .px-footer__tagline { max-width: 100%; text-align: center; }
  .px-footer__col { text-align: center; }
  .px-footer__col ul { align-items: center; }

  .px-hero__ctas { flex-direction: column; }
  .px-hero__ctas .px-btn { width: 100%; }

  .px-section-title { font-size: clamp(24px, 6vw, 36px); }
  .px-section-desc { font-size: 14px; }
}

/* Small mobile */
@media (max-width: 400px) {
  .px-hero__pet--dog img { width: 180px; }
  .px-hero__pet--cat img { width: 110px; }
  .px-hero__scene { min-height: 280px; }
  .px-container { padding: 0 14px; }
}
