/*
Theme Name: Vastu Shastra Landing Page Pro
Theme URI: https://markenza.in/
Author: Markenza Digital Studio
Author URI: https://markenza.in/
Description: High-converting, pixel-accurate Vastu Shastra product landing page WordPress theme. Every heading, text block, image, price badge, FAQ accordion, feature card, and Buy Now checkout link is 100% editable directly from the WordPress Customizer and Page Editor without touching code.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vastu-shastra-lp
*/

:root {
  --bg-page: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-subtle: #F3EFEA;
  --bg-pill: #EFE8F8;
  --brand-purple: #4B227A;
  --brand-purple-hover: #3A1861;
  --brand-purple-text: #5B2C8D;
  --brand-gold: #B68B2D;
  --brand-gold-dark: #8C6719;
  --top-bar-bg: #1B1128;
  --text-primary: #18141E;
  --text-secondary: #585260;
  --text-muted: #847E8C;
  --border-light: #E8E2DA;
  --shadow-card: 0 10px 30px rgba(27, 17, 40, 0.05);
  --shadow-book: 0 24px 48px rgba(27, 17, 40, 0.22);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.vs-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 1. Top Announcement Bar */
.vs-announcement-bar {
  background-color: var(--top-bar-bg);
  color: #F4EFE6;
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vs-announcement-bar .vs-badge-tag {
  color: #F6C85F;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vs-announcement-bar strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* 2. Sticky Header */
.vs-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 226, 218, 0.85);
  transition: box-shadow 0.25s ease;
}

.vs-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(27, 17, 40, 0.06);
}

.vs-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vs-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
}

.vs-logo span {
  color: var(--brand-gold);
}

.vs-logo img {
  max-height: 36px;
  width: auto;
}

.vs-header-trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.vs-header-trust svg {
  width: 14px;
  height: 14px;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.vs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--brand-purple);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-align: center;
  line-height: 1.2;
}

.vs-btn-primary:hover {
  background-color: var(--brand-purple-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(75, 34, 122, 0.24);
}

.vs-btn-sm {
  font-size: 13px;
  padding: 10px 18px;
}

.vs-btn-lg {
  font-size: 15.5px;
  padding: 15px 28px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(75, 34, 122, 0.2);
}

/* 3. Hero Section */
.vs-hero {
  padding: 56px 0 64px;
}

.vs-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.vs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gold-dark);
  margin-bottom: 16px;
}

.vs-eyebrow svg {
  width: 15px;
  height: 15px;
  color: var(--brand-gold);
}

.vs-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.vs-hero-subtitle {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 26px;
}

.vs-hero-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 18px;
  margin-bottom: 30px;
  max-width: 520px;
}

.vs-hero-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.vs-hero-bullets li svg {
  width: 16px;
  height: 16px;
  color: var(--brand-purple);
  flex-shrink: 0;
}

/* Price & CTA Box */
.vs-price-block {
  max-width: 440px;
}

.vs-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.vs-price-current {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.vs-price-original {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.vs-price-term {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.vs-save-pill {
  display: inline-block;
  background-color: var(--bg-pill);
  color: var(--brand-purple-text);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

.vs-price-meta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.vs-micro-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.vs-micro-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vs-micro-trust svg {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
}

.vs-hero-footnote {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Book Showcase Right Column */
.vs-book-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.vs-book-card-wrap {
  width: 100%;
  max-width: 390px;
  border-radius: 16px;
  box-shadow: var(--shadow-book);
  overflow: hidden;
  background: #23113A;
  position: relative;
}

.vs-book-card-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Default Rendered Book Cover SVG/CSS Fallback if no custom image uploaded yet */
.vs-default-book-cover {
  aspect-ratio: 3 / 4.15;
  background: radial-gradient(circle at 50% 25%, #3D1E63 0%, #23103B 55%, #170A29 100%);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  border: 2px solid rgba(212, 175, 55, 0.35);
  position: relative;
  color: #F7D47A;
}

.vs-default-book-cover::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  pointer-events: none;
}

.vs-book-top-tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #E2C06D;
  font-weight: 600;
}

.vs-book-cover-title {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1.05;
  font-weight: 700;
  color: #F8D678;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  margin: 8px 0;
}

.vs-book-cover-sub {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #EFE5D1;
  font-weight: 500;
}

.vs-book-mandala {
  width: 168px;
  height: 168px;
  margin: 12px auto;
}

.vs-book-cover-footer {
  font-size: 11px;
  color: #D9C38C;
  letter-spacing: 0.08em;
}

/* 4. Who This Guide Is For Section */
.vs-section {
  padding: 68px 0;
  border-top: 1px solid var(--border-light);
}

.vs-split-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: start;
}

.vs-section-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.vs-section-desc {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.vs-audience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vs-audience-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.55;
}

.vs-diamond-icon {
  color: var(--brand-gold);
  font-size: 14px;
  line-height: 1.6;
  flex-shrink: 0;
}

/* 5. What's Inside / 4-Card Feature Grid */
.vs-features-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 42px;
}

.vs-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.vs-feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px 28px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vs-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(27, 17, 40, 0.08);
}

.vs-card-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background-color: #F7F2EB;
  border: 1px solid #EAE0D2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold-dark);
  margin-bottom: 18px;
}

.vs-card-icon-box svg {
  width: 19px;
  height: 19px;
}

.vs-feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.vs-feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 6. Chapter & Visual Reference Preview Section */
.vs-chapters-section {
  text-align: center;
}

.vs-chapters-header {
  max-width: 660px;
  margin: 0 auto 38px;
}

.vs-chapters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}

.vs-chapter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.vs-chapter-num {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-purple-text);
  margin-bottom: 6px;
}

.vs-chapter-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.vs-chapter-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 7. Author Bio Section */
.vs-author-card {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
}

.vs-author-avatar {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #EFE7DA;
  background: #E8DFD1;
}

.vs-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vs-author-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.vs-author-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-gold-dark);
  margin-bottom: 12px;
}

.vs-author-bio {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.vs-author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vs-author-tag {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
}

/* 8. Mid-Page Offer / Pricing Card */
.vs-offer-box {
  max-width: 540px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 38px 40px;
  box-shadow: 0 16px 40px rgba(27, 17, 40, 0.07);
}

.vs-offer-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
}

.vs-offer-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.vs-offer-checklist li svg {
  width: 17px;
  height: 17px;
  color: var(--brand-purple);
  flex-shrink: 0;
}

/* 9. FAQ Accordion Section */
.vs-faq-wrap {
  max-width: 740px;
  margin: 0 auto;
}

.vs-faq-title {
  text-align: center;
  margin-bottom: 34px;
}

.vs-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vs-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.vs-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 19px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.vs-faq-question:hover {
  background-color: #FCFBF9;
}

.vs-faq-plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold-dark);
  font-size: 18px;
  font-weight: 500;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.vs-faq-item.is-open .vs-faq-plus {
  transform: rotate(45deg);
}

.vs-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.vs-faq-answer-inner {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid #F3EFEA;
  padding-top: 14px;
}

/* 10. Bottom Final CTA Section */
.vs-bottom-cta {
  text-align: center;
  padding: 74px 0 80px;
  border-top: 1px solid var(--border-light);
  background: linear-gradient(180deg, #FAF8F5 0%, #F3ECE2 100%);
}

.vs-bottom-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.vs-bottom-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 28px;
}

.vs-bottom-btn-wrap {
  max-width: 360px;
  margin: 0 auto;
}

/* Footer */
.vs-footer {
  background-color: var(--bg-page);
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.vs-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

/* Admin Setup Notice Banner (Only visible to logged-in WP admins if checkout URL not yet set) */
.vs-admin-checkout-alert {
  background: #FFF4E5;
  border-bottom: 1px solid #F5C27A;
  color: #663C00;
  font-size: 13px;
  padding: 10px 20px;
  text-align: center;
}

.vs-admin-checkout-alert a {
  color: #4B227A;
  font-weight: 700;
  text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .vs-hero-grid,
  .vs-split-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .vs-book-showcase {
    order: -1;
  }

  .vs-book-card-wrap {
    max-width: 330px;
  }

  .vs-chapters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .vs-header-trust {
    display: none;
  }

  .vs-header-inner {
    padding: 11px 16px;
  }

  .vs-btn-sm {
    padding: 9px 14px;
    font-size: 12px;
  }

  .vs-hero {
    padding: 36px 0 48px;
  }

  .vs-hero-bullets,
  .vs-cards-grid,
  .vs-chapters-grid {
    grid-template-columns: 1fr;
  }

  .vs-author-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
    gap: 20px;
  }

  .vs-author-tags {
    justify-content: center;
  }

  .vs-offer-box {
    padding: 28px 22px;
  }

  .vs-micro-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
