/* ============================================================
   PromptPacks – Main Stylesheet
   Dark AI Startup Aesthetic | Purple/Blue Neon Gradients
   ============================================================ */

/* ---------- Reset & Variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0b1020;
  --bg2:         #121a2f;
  --bg3:         #0f1628;
  --card:        rgba(18,26,47,0.7);
  --card-border: rgba(124,58,237,0.25);
  --purple:      #7c3aed;
  --blue:        #2563eb;
  --cyan:        #06b6d4;
  --pink:        #ec4899;
  --text:        #e2e8f0;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;
  --white:       #ffffff;
  --grad-main:   linear-gradient(135deg, #7c3aed 0%, #2563eb 50%, #06b6d4 100%);
  --grad-card:   linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(37,99,235,0.1) 100%);
  --glow-purple: 0 0 30px rgba(124,58,237,0.4);
  --glow-blue:   0 0 30px rgba(37,99,235,0.4);
  --glow-cyan:   0 0 30px rgba(6,182,212,0.4);
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
  --trans:       0.3s cubic-bezier(0.4,0,0.2,1);
  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow:      0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-gradient {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Background Orbs ---------- */
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.18;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: #7c3aed; top: -200px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: #2563eb; bottom: -150px; right: -100px; animation-delay: -4s; }
.orb-3 { width: 400px; height: 400px; background: #06b6d4; top: 40%; left: 50%; transform: translate(-50%,-50%); animation-delay: -8s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(30px,-30px) scale(1.05); }
  66%       { transform: translate(-20px,20px) scale(0.95); }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,16,32,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(124,58,237,0.15);
  transition: background var(--trans), box-shadow var(--trans);
}
.navbar.scrolled {
  background: rgba(11,16,32,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-svg { width: 32px; height: 32px; flex-shrink: 0; }
.logo-text { font-size: 1.25rem; font-weight: 800; color: var(--white); }
.logo-accent { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted);
  transition: color var(--trans), background var(--trans);
}
.nav-links > li > a:hover { color: var(--white); background: rgba(124,58,237,0.12); }

/* Dropdown */
.has-dropdown .dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 220px;
  background: rgba(18,26,47,0.97);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(20px);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--trans);
  z-index: 100;
  box-shadow: var(--shadow);
}
.has-dropdown:hover .dropdown,
.has-dropdown .dropdown.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 0.875rem; color: var(--text-muted);
  transition: all var(--trans);
}
.dropdown a:hover { background: rgba(124,58,237,0.15); color: var(--white); }
.badge-count {
  margin-left: auto;
  background: rgba(124,58,237,0.2);
  color: var(--purple);
  font-size: 0.7rem; font-weight: 600;
  padding: 1px 7px; border-radius: 20px;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; padding: 8px; border-radius: 8px;
  transition: background var(--trans);
}
.hamburger:hover { background: rgba(124,58,237,0.15); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.2) 0%, transparent 60%),
              radial-gradient(ellipse 60% 40% at 80% 100%, rgba(37,99,235,0.15) 0%, transparent 50%);
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(124,58,237,0.8) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(124,58,237,0.8) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 820px; margin: 0 auto;
  animation: heroEntry 0.8s ease forwards;
}
@keyframes heroEntry {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 40px;
  padding: 6px 18px;
  font-size: 0.8rem; font-weight: 600;
  color: #a78bfa;
  margin-bottom: 28px;
  animation: glowPulse 3s ease-in-out infinite;
}
.hero-badge span { width: 8px; height: 8px; border-radius: 50%; background: #7c3aed; display: block; animation: blink 2s ease infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 20px;
}
.hero h1 .line-gradient {
  background: var(--grad-main);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted); max-width: 580px; margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-size: 0.95rem; font-weight: 600;
  transition: all var(--trans);
  position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0; transition: opacity var(--trans);
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: var(--grad-main);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
  animation: glowPulse 3s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.6);
}
.btn-outline {
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.4);
  color: #a78bfa;
}
.btn-outline:hover {
  background: rgba(124,58,237,0.2);
  border-color: rgba(124,58,237,0.7);
  transform: translateY(-2px);
  box-shadow: var(--glow-purple);
}
.btn-sm { padding: 9px 18px; font-size: 0.85rem; border-radius: 10px; }

@keyframes glowPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(124,58,237,0.4); }
  50%      { box-shadow: 0 4px 40px rgba(124,58,237,0.75), 0 0 80px rgba(37,99,235,0.3); }
}

/* ---------- Hero Stats ---------- */
.hero-stats {
  display: flex; gap: 40px; justify-content: center;
  margin-top: 56px; flex-wrap: wrap;
}
.hstat { text-align: center; }
.hstat-n {
  font-size: 2rem; font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hstat p { font-size: 0.8rem; color: var(--text-dim); margin-top: 2px; }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; color: var(--white); line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub { color: var(--text-muted); max-width: 520px; margin: 0 auto; font-size: 1rem; }

/* ---------- Section Spacing ---------- */
section { padding: 100px 0; position: relative; z-index: 1; }

/* ---------- Search Section ---------- */
.search-section { padding: 60px 0; }
.search-wrap {
  max-width: 680px; margin: 0 auto;
  background: rgba(18,26,47,0.8);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.search-wrap h2 { text-align: center; font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; color: var(--white); }
.search-bar {
  display: flex; gap: 12px;
  background: rgba(11,16,32,0.8);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 14px;
  padding: 6px 6px 6px 18px;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.search-bar:focus-within {
  border-color: rgba(124,58,237,0.6);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.search-bar input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--white); font-size: 1rem;
  placeholder-color: var(--text-dim);
}
.search-bar input::placeholder { color: var(--text-dim); }
.search-bar button {
  background: var(--grad-main);
  border: none; padding: 10px 24px; border-radius: 10px;
  color: var(--white); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: all var(--trans);
}
.search-bar button:hover { transform: scale(1.03); box-shadow: var(--glow-purple); }
.search-results {
  margin-top: 16px;
  display: none;
}
.search-results.active { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px; border-radius: 10px;
  transition: background var(--trans);
  cursor: pointer;
}
.search-result-item:hover { background: rgba(124,58,237,0.1); }
.search-result-item img {
  width: 48px; height: 48px; border-radius: 8px; object-fit: cover;
}
.sri-title { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.sri-cat { font-size: 0.75rem; color: var(--text-dim); }

/* ---------- Categories Section ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--trans);
  backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-main);
  opacity: 0; transition: opacity var(--trans);
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 12px 40px rgba(124,58,237,0.3);
}
.cat-card:hover::before { opacity: 0.07; }
.cat-icon { font-size: 2.2rem; margin-bottom: 12px; position: relative; z-index: 1; }
.cat-name { font-weight: 700; font-size: 0.95rem; color: var(--white); position: relative; z-index: 1; }
.cat-count { font-size: 0.75rem; color: var(--text-dim); margin-top: 4px; position: relative; z-index: 1; }

/* ---------- Prompt Cards Grid ---------- */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.pack-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans);
  backdrop-filter: blur(10px);
  position: relative;
  display: flex; flex-direction: column;
  animation: slideUp 0.5s ease backwards;
}
.pack-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(124,58,237,0.3), 0 0 0 1px rgba(124,58,237,0.4);
  border-color: rgba(124,58,237,0.5);
}
.pack-thumb-wrap {
  position: relative; overflow: hidden; aspect-ratio: 16/9;
}
.pack-thumb {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.pack-card:hover .pack-thumb { transform: scale(1.06); }
.pack-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(11,16,32,0.85) 100%);
}
.pack-cat-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(11,16,32,0.8);
  border: 1px solid rgba(124,58,237,0.4);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 0.72rem; font-weight: 700;
  color: #a78bfa; text-transform: uppercase; letter-spacing: 0.05em;
}
.pack-featured-badge {
  position: absolute; top: 12px; right: 12px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  border-radius: 8px; padding: 4px 10px;
  font-size: 0.7rem; font-weight: 700; color: var(--white);
}
.pack-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.pack-title {
  font-size: 1.05rem; font-weight: 700; color: var(--white);
  line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pack-desc {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.pack-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid rgba(124,58,237,0.1);
  margin-top: auto;
}
.pack-meta { font-size: 0.75rem; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.pack-meta svg { opacity: 0.6; }
.pack-get-btn {
  background: var(--grad-main);
  color: var(--white); font-weight: 700; font-size: 0.82rem;
  padding: 8px 18px; border-radius: 10px;
  transition: all var(--trans);
  animation: glowPulse 3s ease-in-out infinite;
}
.pack-get-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(124,58,237,0.6);
}

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

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--trans);
}
.faq-item.open { border-color: rgba(124,58,237,0.4); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; color: var(--white); font-size: 0.975rem;
  user-select: none;
}
.faq-q svg { flex-shrink: 0; transition: transform var(--trans); color: var(--text-dim); }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: #a78bfa; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-a p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ---------- Prompt Detail Page ---------- */
.detail-hero {
  padding: 120px 0 60px;
  position: relative; z-index: 1;
}
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.detail-main {}
.detail-thumb {
  border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
}
.detail-thumb img { width: 100%; height: auto; display: block; }
.detail-cat-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 8px; padding: 5px 14px;
  font-size: 0.78rem; font-weight: 700;
  color: #a78bfa; margin-bottom: 20px;
}
.detail-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 20px;
}
.detail-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 32px; }
.detail-full { color: var(--text); font-size: 0.975rem; line-height: 1.85; }
.detail-full p { margin-bottom: 16px; }
.detail-full h3 { color: var(--white); font-weight: 700; margin: 24px 0 12px; }
.detail-full ul { padding-left: 24px; margin-bottom: 16px; }
.detail-full ul li { margin-bottom: 8px; color: var(--text-muted); }

.detail-cta-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px; position: sticky; top: 90px;
  backdrop-filter: blur(20px);
}
.detail-cta-box h3 { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.detail-cta-box p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 24px; line-height: 1.6; }
.detail-cta-btn {
  display: block; width: 100%; text-align: center;
  background: var(--grad-main);
  color: var(--white); font-weight: 700; font-size: 1rem;
  padding: 16px; border-radius: 14px;
  transition: all var(--trans);
  animation: glowPulse 3s ease-in-out infinite;
}
.detail-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.6);
}
.detail-meta { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.detail-meta-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--text-muted);
}
.detail-meta-item svg { color: var(--purple); }

.share-buttons { margin-top: 32px; }
.share-buttons h4 { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.share-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  padding: 8px 16px; border-radius: 10px; font-size: 0.8rem; font-weight: 600;
  transition: all var(--trans); cursor: pointer;
}
.share-twitter { background: rgba(29,155,240,0.15); border: 1px solid rgba(29,155,240,0.3); color: #1d9bf0; }
.share-facebook { background: rgba(24,119,242,0.15); border: 1px solid rgba(24,119,242,0.3); color: #1877f2; }
.share-copy { background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3); color: #a78bfa; }
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.2); }

/* ---------- Category Page ---------- */
.cat-hero {
  padding: 120px 0 60px;
  position: relative; z-index: 1; text-align: center;
}
.cat-hero-icon { font-size: 3.5rem; margin-bottom: 20px; }
.cat-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.cat-hero p { color: var(--text-muted); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ---------- Static Pages ---------- */
.page-hero {
  padding: 130px 0 60px;
  position: relative; z-index: 1; text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); max-width: 540px; margin: 0 auto; }
.page-content {
  max-width: 760px; margin: 0 auto;
  padding: 0 24px 80px;
  position: relative; z-index: 1;
}
.page-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--white); margin: 40px 0 16px; }
.page-content h3 { font-size: 1.15rem; font-weight: 600; color: #a78bfa; margin: 28px 0 12px; }
.page-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; font-size: 0.975rem; }
.page-content ul { padding-left: 24px; margin-bottom: 16px; }
.page-content ul li { color: var(--text-muted); line-height: 1.8; margin-bottom: 8px; font-size: 0.975rem; }
.page-content a { color: #a78bfa; text-decoration: underline; }
.policy-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}
.policy-updated {
  display: inline-block; background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 8px; padding: 4px 14px;
  font-size: 0.78rem; color: #a78bfa; margin-bottom: 24px;
}

/* ---------- Contact Form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 1.8rem; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.ci { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.ci-label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.ci-val { color: var(--text); font-size: 0.9rem; font-weight: 500; }
.contact-form-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(20px);
}
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.form-control {
  width: 100%;
  background: rgba(11,16,32,0.7);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--white); font-size: 0.95rem;
  transition: all var(--trans); outline: none;
}
.form-control:focus {
  border-color: rgba(124,58,237,0.6);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; z-index: 1;
  background: var(--bg3);
  border-top: 1px solid rgba(124,58,237,0.12);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-tagline { color: var(--text-dim); font-size: 0.875rem; margin-top: 16px; line-height: 1.6; max-width: 280px; }
.footer-stats { display: flex; gap: 24px; margin-top: 24px; }
.fstat { }
.fstat-n { font-size: 1.5rem; font-weight: 800; display: block; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.fstat span:last-child { font-size: 0.75rem; color: var(--text-dim); }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--text-dim); transition: color var(--trans); }
.footer-col ul li a:hover { color: #a78bfa; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }
.footer-note { font-size: 0.75rem; color: var(--text-dim); }

/* ---------- Scroll-to-top ---------- */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(124,58,237,0.25);
  border: 1px solid rgba(124,58,237,0.4);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: all var(--trans);
  backdrop-filter: blur(10px);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover {
  background: rgba(124,58,237,0.5);
  transform: translateY(-3px);
  box-shadow: var(--glow-purple);
}

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center; padding: 80px 24px;
  color: var(--text-dim);
}
.empty-state svg { margin: 0 auto 20px; opacity: 0.3; }
.empty-state h3 { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 8px; }
.empty-state p { font-size: 0.9rem; }

/* ---------- Alert Messages ---------- */
.alert {
  padding: 14px 20px; border-radius: 12px;
  margin-bottom: 20px; font-size: 0.9rem; font-weight: 500;
}
.alert-success { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #34d399; }
.alert-error   { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }
.alert-info    { background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3); color: #a78bfa; }

/* ---------- Lazy Load ---------- */
img[data-src] { opacity: 0; transition: opacity 0.4s ease; }
img.loaded { opacity: 1; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--text-dim); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-dim); transition: color var(--trans); }
.breadcrumb a:hover { color: #a78bfa; }
.breadcrumb span { opacity: 0.4; }

/* ---------- No results ---------- */
.no-packs {
  grid-column: 1/-1; text-align: center; padding: 64px 0;
  color: var(--text-dim); font-size: 1rem;
}

/* ==================
   Responsive
   ================== */
@media (max-width: 1024px) {
  .detail-grid  { grid-template-columns: 1fr; }
  .detail-cta-box { position: static; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: rgba(11,16,32,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: flex-start;
    padding: 24px; gap: 4px;
    transform: translateX(-100%);
    transition: transform var(--trans);
    z-index: 999; overflow-y: auto;
    border-top: 1px solid rgba(124,58,237,0.15);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { padding: 12px 16px; border-radius: 12px; color: var(--text); font-size: 1rem; }
  .has-dropdown .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; backdrop-filter: none;
    padding-left: 16px; box-shadow: none; display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .packs-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .search-bar { flex-direction: column; padding: 12px; }
  .search-bar button { width: 100%; }
}
