:root {
  --purple:     #3d1a6e;
  --purple-mid: #5a2d8c;
  --purple-lt:  #7c3fae;
  --gold:       #c9a227;
  --gold-lt:    #e8c04a;
  --gold-pale:  #fdf3d0;
  --white:      #ffffff;
  --off-white:  #faf8ff;
  --gray-light: #f3f0fa;
  --gray:       #8a8097;
  --dark:       #1a0d30;
  --text:       #2c1f4a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); }

/* TOP BAR */
.topbar {
  background: var(--dark);
  color: var(--gold-lt);
  font-size: .78rem;
  text-align: center;
  padding: 7px 20px;
  letter-spacing: .04em;
}
.topbar span { margin: 0 14px; }
.topbar a { color: var(--gold-lt); text-decoration: none; }

/* HEADER */
header {
  background: var(--purple);
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}
.logo-text .brand {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.1;
}
.logo-text .tagline {
  font-size: .7rem;
  color: var(--gold-lt);
  letter-spacing: .1em;
  text-transform: uppercase;
}
nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
nav a {
  color: var(--white);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background .2s;
}
nav a:hover { background: rgba(255,255,255,.12); }
nav a.active { color: var(--gold-lt); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }

/* HERO */
.hero {
  background: linear-gradient(135deg, rgba(26,13,48,.85) 0%, rgba(61,26,110,.80) 55%, rgba(61,26,110,.75) 100%), url('images/hero-bg.jpg') center center / cover no-repeat;
  color: var(--white);
  padding: 88px 24px 68px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  display: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(201,162,39,.18);
  border: 1px solid var(--gold);
  color: var(--gold-lt);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 18px;
}
.hero h1 span { color: var(--gold-lt); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .1s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-outline {
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* TRUST BAR */
.trust-bar {
  background: var(--gold);
  padding: 18px 24px;
}
.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  font-size: .88rem;
  font-weight: 600;
}
.trust-item .icon { font-size: 1.2rem; }

/* SECTIONS */
section { padding: 64px 24px; }
.bg-alt { background: var(--off-white); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--purple);
  margin-bottom: 10px;
}
.section-header p {
  color: var(--gray);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.divider {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* CATEGORY TABS */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.cat-tab {
  background: var(--gray-light);
  border: 2px solid transparent;
  color: var(--purple);
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 24px;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}
.cat-tab:hover, .cat-tab.active {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid #e8e2f5;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s, transform .2s;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}
.product-card:hover {
  box-shadow: 0 10px 32px rgba(61,26,110,.15);
  transform: translateY(-3px);
}
.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gray-light);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.05);
}
.big-icon {
  font-size: 4rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--gold);
  color: var(--dark);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 3px 9px;
  border-radius: 12px;
  text-transform: uppercase;
  z-index: 1;
}
.product-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 6px;
}
.product-body p {
  font-size: .83rem;
  color: var(--gray);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 14px;
}
.product-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.meta-tag {
  font-size: .72rem;
  background: var(--gray-light);
  color: var(--purple-mid);
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 500;
}
.btn-order {
  display: block;
  background: var(--purple);
  color: var(--white);
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: background .2s;
}
.btn-order:hover { background: var(--purple-lt); }

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(61,26,110,.07);
}
.feature-icon {
  width: 60px; height: 60px;
  background: var(--gold-pale);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.55;
}

/* TESTIMONIALS */
.testimonials { background: var(--purple); }
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p { color: rgba(255,255,255,.7); }
.testimonials .divider { background: var(--gold); }
.test-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.test-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 28px;
}
.stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.test-card p {
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  margin-bottom: 18px;
}
.test-author {
  font-size: .82rem;
  color: var(--gold-lt);
  font-weight: 600;
}
.test-church {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-top: 3px;
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, #a07c10 100%);
  padding: 60px 24px;
  text-align: center;
}
.cta-banner h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--dark);
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(26,13,48,.8);
  font-size: 1rem;
  margin-bottom: 28px;
}
.btn-dark {
  background: var(--dark);
  color: var(--gold-lt);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background .2s;
}
.btn-dark:hover { background: var(--purple); }

/* FOOTER */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 56px 24px 28px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand {
  font-family: 'Cinzel', serif;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: .85rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.footer-brand .scripture {
  font-style: italic;
  font-size: .8rem;
  color: var(--gold-lt);
}
.footer-col h4 {
  color: var(--gold-lt);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .88rem;
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold-lt); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
}
.footer-bottom a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--gold-lt); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .test-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .trust-inner { gap: 20px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 56px 20px 44px; }
}
