/* CraftKit — Clean Notion Template Storefront */
:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-2: #f3f3f0;
  --border: #e5e5e0;
  --text: #1a1a18;
  --text-dim: #6b6b68;
  --accent: #e8622a;
  --accent-hover: #d4521f;
  --accent-light: #fef0e9;
  --teal: #0d9488;
  --purple: #7c3aed;
  --green: #16a34a;
  --orange: #ea580c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -0.02em; }

/* Nav */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.03em;
  display: flex; align-items: center; gap: 0.4rem;
  text-decoration: none;
}
.logo-icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: white; font-weight: 700;
}
.logo-sub { font-size: 0.7rem; color: var(--text-dim); font-weight: 400; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { font-size: 0.875rem; color: var(--text-dim); text-decoration: none; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: white;
  padding: 0.5rem 1.1rem; border-radius: 8px;
  font-size: 0.875rem; font-weight: 600;
  text-decoration: none; transition: background 0.15s;
}
.nav-cta:hover { background: var(--accent-hover); }

/* Hero */
.hero {
  position: relative;
  padding: 8rem 2rem 6rem;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_111646/102bd92f-6568-4b53-9817-67a15352926a.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(250,250,248,0.7) 0%, rgba(250,250,248,0.95) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent-light); color: var(--accent);
  padding: 0.35rem 0.85rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 3.25rem; line-height: 1.1; letter-spacing: -0.04em;
  color: var(--text); margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p {
  font-size: 1.15rem; color: var(--text-dim); max-width: 520px;
  margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  border: none; text-decoration: none; transition: all 0.15s;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary {
  background: white; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--text-dim); transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

/* Stats strip */
.stats-strip {
  display: flex; justify-content: center; gap: 3rem;
  padding: 2rem 2rem 3rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .num { font-size: 1.8rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: var(--text); }
.stat-item .lbl { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.2rem; }

/* Section spacing */
.section { padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.25rem; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.section-header p { color: var(--text-dim); font-size: 1.05rem; max-width: 480px; margin: 0 auto; }

/* Category filter */
.filter-bar {
  display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.5rem 1.1rem; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600;
  background: var(--surface); color: var(--text-dim);
  border: 1.5px solid var(--border); cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--text-dim); color: var(--text); }
.filter-btn.active {
  background: var(--text); color: white; border-color: var(--text);
}

/* Product grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: all 0.2s; cursor: pointer;
  display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(232, 98, 42, 0.1);
  transform: translateY(-2px);
}
.product-thumb {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, var(--surface-2), #e8e8e2);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.product-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.6rem;
  width: fit-content;
}
.cat-productivity { background: #f0fdfa; color: var(--teal); }
.cat-business { background: #eff6ff; color: #2563eb; }
.cat-content { background: #faf5ff; color: var(--purple); }
.cat-personal { background: #f0fdf4; color: var(--green); }
.product-name { font-size: 1.05rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; margin-bottom: 0.4rem; }
.product-desc { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; flex: 1; margin-bottom: 1rem; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.product-price { font-size: 1.25rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: var(--text); }
.product-price .old { font-size: 0.85rem; color: var(--text-dim); text-decoration: line-through; font-weight: 400; margin-right: 0.3rem; }
.buy-btn {
  background: var(--accent); color: white;
  padding: 0.4rem 1rem; border-radius: 7px;
  font-size: 0.8rem; font-weight: 600;
  text-decoration: none; transition: background 0.15s;
}
.buy-btn:hover { background: var(--accent-hover); }

/* Pricing section */
.pricing-section { background: var(--text); color: white; padding: 5rem 2rem; }
.pricing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.pricing-inner h2 { color: white; font-size: 2.5rem; margin-bottom: 1rem; }
.pricing-inner .sub { color: rgba(255,255,255,0.6); font-size: 1.1rem; margin-bottom: 3rem; }
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: left; }
.pricing-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 2rem;
}
.pricing-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: rgba(255,255,255,0.9); }
.pricing-card .from { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.pricing-card .price { font-size: 2.5rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; margin-bottom: 1.5rem; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; opacity: 0.6; }
.pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.pricing-card li { font-size: 0.85rem; color: rgba(255,255,255,0.7); display: flex; gap: 0.5rem; align-items: center; }
.pricing-card li::before {
  content: '✓'; font-weight: 700; color: var(--accent);
  flex-shrink: 0;
}
.pricing-highlight { background: var(--accent); border-color: var(--accent); }
.pricing-highlight li::before { color: white; }

/* Features strip */
.features-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.feature-card { text-align: center; padding: 2rem 1rem; }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; margin-bottom: 0.5rem; font-family: 'Space Grotesk', sans-serif; }
.feature-card p { font-size: 0.85rem; color: var(--text-dim); }

/* Footer */
footer {
  background: var(--surface-2); border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-dim); max-width: 260px; line-height: 1.6; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; color: var(--text-dim); }
.footer-col a { display: block; font-size: 0.875rem; color: var(--text); text-decoration: none; margin-bottom: 0.6rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { max-width: 1100px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }
.marketplace-links { display: flex; gap: 1rem; }
.marketplace-links a {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.8rem; border: 1px solid var(--border);
  border-radius: 7px; font-size: 0.8rem; font-weight: 600;
  color: var(--text-dim); text-decoration: none; transition: all 0.15s;
}
.marketplace-links a:hover { border-color: var(--accent); color: var(--accent); }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.25rem; }
  .stats-strip { gap: 2rem; }
  .features-strip { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .section { padding: 3rem 1rem; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}