/* KitHive Store Styles — amber/dark theme */

:root {
  --amber: #E8A317;
  --amber-light: #F5C842;
  --amber-glow: rgba(232, 163, 23, 0.12);
  --dark: #0D0B07;
  --dark-surface: #1A1714;
  --dark-card: #231F1A;
  --cream: #F5F0E8;
  --cream-muted: #B8AFA2;
  --warm-white: #FAF7F2;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
}

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(13, 11, 7, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 163, 23, 0.08);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--cream-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--cream); }

.store-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(232, 163, 23, 0.08);
}

.store-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.store-header p {
  color: var(--cream-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--dark-card);
  border: 1px solid rgba(232, 163, 23, 0.1);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: block;
}

.product-card:hover {
  border-color: rgba(232, 163, 23, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(232, 163, 23, 0.08);
}

.product-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--dark-surface);
  display: block;
}

.product-card-body {
  padding: 1.5rem;
}

.product-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  border: 1px solid rgba(232, 163, 23, 0.3);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.product-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 0.5rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--cream-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.product-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber-light);
}

.product-price-note {
  font-size: 0.8rem;
  color: var(--cream-muted);
  margin-left: 0.25rem;
}

/* Detail page */
.detail-page {
  padding: 8rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.back-link {
  color: var(--cream-muted);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  transition: color 0.2s;
}

.back-link:hover { color: var(--cream); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 700px) {
  .detail-layout { grid-template-columns: 1fr; }
  .store-header h1 { font-size: 2rem; }
}

.detail-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--dark-surface);
}

.detail-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  border: 1px solid rgba(232, 163, 23, 0.3);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.detail-info h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.detail-tagline {
  font-size: 1.1rem;
  color: var(--cream-muted);
  margin: 0 0 2rem;
  line-height: 1.5;
}

.detail-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber-light);
  margin: 0 0 0.5rem;
}

.detail-price-note {
  font-size: 0.85rem;
  color: var(--cream-muted);
  margin: 0 0 2rem;
}

.detail-description {
  color: var(--cream-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 2rem;
  white-space: pre-wrap;
}

.included-section h3 {
  font-size: 1rem;
  color: var(--cream);
  margin: 0 0 0.75rem;
}

.included-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.included-list li {
  color: var(--cream-muted);
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(232, 163, 23, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.included-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

.buy-cta {
  display: inline-block;
  background: var(--amber);
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.buy-cta:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 163, 23, 0.3);
}

.buy-note {
  font-size: 0.8rem;
  color: var(--cream-muted);
  margin: 0.75rem 0 0;
  text-align: center;
}

.coming-soon-badge {
  background: var(--dark-card);
  border: 1px solid rgba(232, 163, 23, 0.2);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  color: var(--cream-muted);
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid rgba(232, 163, 23, 0.08);
  padding: 2rem;
  text-align: center;
  color: var(--cream-muted);
  font-size: 0.85rem;
}

.footer a {
  color: var(--amber);
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }

/* =====================
   LANDING PAGE
   ===================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 5rem 5rem;
  gap: 4rem;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 163, 23, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 163, 23, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  border: 1px solid rgba(232, 163, 23, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--cream);
  margin: 0 0 1.5rem;
}

.amber { color: var(--amber); }

.hero p {
  color: var(--cream-muted);
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 0 0 2.5rem;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--cream-muted);
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(232, 163, 23, 0.15);
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(232, 163, 23, 0.4);
  color: var(--cream);
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.hero-img {
  width: 420px;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(232, 163, 23, 0.15);
  display: block;
}

.hero-image-glow {
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: radial-gradient(ellipse at center, rgba(232, 163, 23, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Featured section */
.featured {
  padding: 5rem 5rem;
  border-top: 1px solid rgba(232, 163, 23, 0.08);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0;
  letter-spacing: -0.02em;
}

.section-link {
  color: var(--amber);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.section-link:hover { color: var(--amber-light); }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card-img-wrap {
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.product-card:hover .product-card-img {
  transform: scale(1.04);
}

.product-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-muted);
  font-size: 2rem;
  background: var(--dark-surface);
  height: 160px;
}

/* Social proof */
.social-proof {
  padding: 5rem;
  border-top: 1px solid rgba(232, 163, 23, 0.08);
  text-align: center;
}

.proof-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  max-width: 560px;
  margin: 0 auto 0.75rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.proof-attr {
  color: var(--cream-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Landing footer */
.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--cream);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

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

.footer-tagline {
  color: var(--cream-muted);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.footer-link {
  color: var(--amber);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-link:hover { color: var(--amber-light); }

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 8rem 2rem 4rem;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-img { width: 100%; }
  .featured { padding: 3rem 2rem; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .social-proof { padding: 3rem 2rem; }
}