*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080b14;
  --surface: #0d1220;
  --surface2: #141929;
  --accent: #7c3aed;
  --accent2: #a855f7;
  --gold: #f59e0b;
  --green: #10b981;
  --red: #ef4444;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.07);
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* STICKY BANNER */
.sticky-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 500;
  gap: 8px;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fire {
  font-size: 1.1rem;
}

.countdown-inline {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 700;
}

.btn-banner {
  background: #fff;
  color: var(--accent);
  border: none;
  border-radius: 20px;
  padding: 5px 14px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.8rem;
  white-space: nowrap;
}

.close-banner {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  position: relative;
  z-index: 2;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.logo span {
  color: var(--accent2);
}

.nav-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.35) 0%, transparent 70%), var(--bg);
  padding-top: 42px;
  display: flex;
  flex-direction: column;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.floating-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 12s ease-in-out infinite;
}

.orb1 {
  width: 320px;
  height: 320px;
  background: rgba(124, 58, 237, 0.25);
  top: -80px;
  left: -80px;
  animation-delay: 0s;
}

.orb2 {
  width: 250px;
  height: 250px;
  background: rgba(168, 85, 247, 0.18);
  top: 30%;
  right: -60px;
  animation-delay: -4s;
}

.orb3 {
  width: 200px;
  height: 200px;
  background: rgba(245, 158, 11, 0.12);
  bottom: 10%;
  left: 20%;
  animation-delay: -8s;
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(20px, 30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 24px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.animate-in {
  animation: slideUp 0.6s ease both;
  animation-delay: var(--delay, 0s);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
  }
}

.hero-title {
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #a855f7, #ec4899, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
}

.price-block {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.price-original {
  font-size: 1.1rem;
  color: var(--muted);
  text-decoration: line-through;
}

.price-current {
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  font-weight: 900;
  color: #fff;
}

.price-save {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border-radius: 30px;
  padding: 6px 16px;
  font-weight: 800;
  font-size: 0.9rem;
}

.countdown-block {
  text-align: center;
}

.countdown-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.time-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
  min-width: 64px;
  text-align: center;
}

.time-box span {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.time-box small {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.sep {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent2);
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Outfit', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.6);
}

.btn-primary:active {
  transform: scale(0.98);
}

.pulse {
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.45);
  }

  50% {
    box-shadow: 0 8px 48px rgba(168, 85, 247, 0.75);
  }
}

.cta-note {
  font-size: 0.78rem;
  color: var(--muted);
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.social-proof strong {
  color: var(--text);
}

.hero-scroll-hint {
  text-align: center;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  animation: bounceDown 1.4s ease-in-out infinite;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(45deg) translateY(5px);
  }
}

/* TICKER */
.ticker-wrap {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  overflow: hidden;
  padding: 10px 0;
}

.ticker {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  font-size: 0.82rem;
  font-weight: 600;
}

.ticker-item {
  padding: 0 24px;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* SECTION */
.section {
  padding: 72px 0;
}

.section-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 0.78rem;
  color: var(--accent2);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.2;
}

.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.accent {
  color: var(--accent2);
}

/* CATEGORIES GRID */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media(min-width:600px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
  border-top: 3px solid var(--c, var(--accent));
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--c, var(--accent));
}

.cat-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.cat-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cat-card p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.4;
}

.cat-count {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 3px 10px;
  font-weight: 600;
  color: var(--text);
}

/* APP MARQUEE */
.app-scroll-section {
  padding: 40px 0;
  overflow: hidden;
}

.marquee-wrap {
  overflow: hidden;
  margin-bottom: 10px;
}

.marquee {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marqueeLeft 35s linear infinite;
}

.marquee-wrap.reverse .marquee {
  animation-direction: reverse;
}

.marquee-tag {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 0.8rem;
  white-space: nowrap;
  color: var(--muted);
}

@keyframes marqueeLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* COMPARE */
.compare-section {
  background: var(--surface);
}

.compare-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

@media(min-width:600px) {
  .compare-grid {
    flex-direction: row;
    align-items: stretch;
  }
}

.compare-card {
  flex: 1;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 2px solid var(--border);
  width: 100%;
}

.compare-card.good {
  border-color: var(--green);
}

.compare-card.bad {
  border-color: rgba(239, 68, 68, 0.3);
}

.compare-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--muted);
  text-transform: uppercase;
}

.compare-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compare-card li {
  font-size: 0.88rem;
  color: var(--muted);
}

.compare-price {
  font-size: 2.2rem;
  font-weight: 900;
  margin-top: 20px;
}

.compare-price.red {
  color: var(--red);
}

.compare-price.green {
  color: var(--green);
}

.compare-vs {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--muted);
  flex-shrink: 0;
}

/* APP PILLS */
.apps-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.app-pill {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: default;
}

.app-pill:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.04);
}

/* TESTIMONIALS */
.testimonials-section {
  background: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media(min-width:600px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testi-card.featured-testi {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.08);
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testi-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
}

.testi-author strong {
  display: block;
  font-size: 0.85rem;
}

.testi-author span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
}

.faq-arrow {
  transition: transform 0.3s;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.faq-q.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
  padding: 0 20px;
}

.faq-a.open {
  max-height: 200px;
  padding: 0 20px 18px;
}

/* FINAL CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(124, 58, 237, 0.4) 0%, transparent 70%), var(--bg);
  padding: 80px 0;
  text-align: center;
}

.cta-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-orb1 {
  width: 300px;
  height: 300px;
  background: rgba(124, 58, 237, 0.3);
  bottom: -100px;
  left: -80px;
}

.cta-orb2 {
  width: 250px;
  height: 250px;
  background: rgba(168, 85, 247, 0.2);
  top: -60px;
  right: -60px;
}

.final-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.final-title {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
}

.final-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.final-countdown {
  margin-bottom: 24px;
}

.final-countdown p {
  font-size: 0.88rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 10px;
}

.btn-giant {
  font-size: 1.15rem;
  padding: 18px 36px;
  max-width: 480px;
}

.final-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 14px;
}

.stock-bar {
  max-width: 420px;
  margin: 24px auto 0;
}

.stock-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.stock-label span:last-child {
  color: var(--red);
  font-weight: 600;
}

.stock-track {
  background: var(--surface2);
  border-radius: 30px;
  height: 8px;
  overflow: hidden;
}

.stock-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
  border-radius: 30px;
  transition: width 0.5s ease;
}

/* FOOTER */
.footer {
  background: var(--surface);
  padding: 32px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer .logo {
  margin-bottom: 8px;
}

.footer p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent2);
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  position: relative;
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.modal-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.modal-original {
  font-size: 1rem;
  color: var(--muted);
  text-decoration: line-through;
}

.modal-current {
  font-size: 2.2rem;
  font-weight: 900;
}

.modal-badge-small {
  background: var(--green);
  color: #fff;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.modal-timer {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.83rem;
  color: var(--red);
  margin-bottom: 16px;
}

.modal-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.mf-item {
  font-size: 0.8rem;
  color: var(--muted);
}

.btn-modal {
  max-width: 100%;
}

.modal-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

.modal-email-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.modal-email {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  outline: none;
}

.modal-email:focus {
  border-color: var(--accent);
}

.btn-notify {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}

.notify-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--green);
  margin-top: 10px;
  text-align: center;
}

/* EXIT MODAL */
.exit-modal {
  text-align: center;
}

.exit-emoji {
  font-size: 3rem;
  margin-bottom: 10px;
}

.exit-offer {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 12px;
  margin: 16px 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.btn-ghost {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.78rem;
  cursor: pointer;
  margin-top: 12px;
  text-decoration: underline;
  font-family: 'Outfit', sans-serif;
}

/* CATALOG SECTION */
.catalog-section {
  background: var(--surface);
}

.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
}

@media(min-width:680px) {
  .catalog-card {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
}

/* PDF Mockup */
.catalog-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.pdf-mockup {
  position: relative;
  width: 180px;
  height: 240px;
  margin-right: 20px;
  /* room for fan pages */
}

/* Fan shadow pages behind the cover */
.pdf-page {
  position: absolute;
  width: 160px;
  height: 220px;
  border-radius: 3px 10px 10px 3px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  top: 0;
  left: 0;
}

.p1 {
  background: #1c2240;
  transform: rotate(4deg);
  transform-origin: bottom left;
  z-index: 2;
}

.p2 {
  background: #161c36;
  transform: rotate(7deg);
  transform-origin: bottom left;
  z-index: 1;
}

.p3 {
  background: #111528;
  transform: rotate(10deg);
  transform-origin: bottom left;
  z-index: 0;
}

/* Main cover on top */
.pdf-cover {
  position: relative;
  z-index: 3;
  width: 160px;
  height: 220px;
  background: linear-gradient(150deg, #1e0d42 0%, #0d1220 100%);
  border-radius: 3px 10px 10px 3px;
  border-left: 6px solid var(--accent);
  box-shadow: 6px 8px 32px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(168, 85, 247, 0.2);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  animation: floatPdf 4s ease-in-out infinite;
}

/* subtle inner glow at top */
.pdf-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(168, 85, 247, 0.18), transparent);
  pointer-events: none;
}

@keyframes floatPdf {

  0%,
  100% {
    transform: translateY(0) rotateY(-6deg);
  }

  50% {
    transform: translateY(-7px) rotateY(-2deg);
  }
}

.pdf-cover-badge {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
}

.pdf-cover-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin: 2px 0;
  background: linear-gradient(135deg, #fff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pdf-cover-sub {
  font-size: 0.65rem;
  color: #94a3b8;
  line-height: 1.45;
}

.pdf-cover-price {
  margin-top: 8px;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.01em;
}

/* Stats row below the book */
.catalog-stats {
  display: flex;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  max-width: 200px;
}

.cstat {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-right: 1px solid var(--border);
}

.cstat:last-child {
  border-right: none;
}

.cstat span {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.cstat small {
  font-size: 0.62rem;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

/* Right info panel */
.catalog-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-info-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.catalog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ccat {
  font-size: 0.74rem;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid color-mix(in srgb, var(--cc) 40%, transparent);
  color: var(--cc);
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.ccat:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: scale(1.03);
}

/* Buttons */
.catalog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-catalog-download,
.btn-catalog-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

.btn-catalog-download {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-catalog-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.6);
}

.btn-catalog-view {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-catalog-view:hover {
  border-color: var(--accent);
  color: var(--accent2);
}

.catalog-note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ACTIVITY POPUP */
.activity-popup {
  position: fixed;
  bottom: 20px;
  left: 16px;
  z-index: 1500;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s;
}

.activity-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.activity-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.activity-text strong {
  font-size: 0.82rem;
  display: block;
}

.activity-text span {
  font-size: 0.75rem;
  color: var(--muted);
}