/* Core Global Variables & Resets */
:root {
    --primary: #522157;
    --primary-hover: #8c2597;
    --secondary: #000000;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #E4DFD9;
    --white: #ffffff;
    --accent: #C2649A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Layout Elements */
h1, h2, h3 {
    color: var(--secondary);
    line-height: 1.2;
}

.thecolorpurple{
    color: #522157;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;

      margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* Reusable Button Component */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
     color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--secondary);
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

/* Navigation Menu Layout */
.navbar {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    padding: 8px 16px;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.9rem;
}

/* Hero Section Style */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
      font-size: 3rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.subtext {
    font-size: 0.85rem;
    color: var(--text-light);
}

.mockup-box {
    background: #cbd5e1;
    height: 550px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: bold;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Social Proof Block */
.testimonials {
    padding: 60px 0;
    border-bottom: 1px solid #e2e8f0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.card p {
    font-style: italic;
    margin-bottom: 15px;
}

/* Pricing Matrix Layout */
.pricing {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.price-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    transform: scale(1.03);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--secondary);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
}

.price-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.price-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-main);
}

.price-card .btn {
    margin-top: auto;
    width: 100%;
}

/* FAQ Layout */
.faq {
    padding: 80px 0;
}

.faq-container {
    max-width: 700px;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Footer Element */
.footer {
    background: var(--secondary);
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Responsiveness Breakdown */
@media (max-width: 768px) {
    .nav-links, .btn-nav {
        display: none;
    }
    .hero-container, .testimonial-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .price-card.popular {
        transform: none;
    }

}

/* Product Specific Layout Additions */
.tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.purchase-box {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

.price-display {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-price {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--secondary);
}

.old-price {
    font-size: 1.4rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.save-tag {
    background: #fef3c7;
    color: #d97706;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.specs-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 30px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.box-contents {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.box-contents h3 { margin-bottom: 15px; }
.box-contents ul { list-style: none; }
.box-contents ul li { padding: 8px 0; color: var(--text-main); }

.single-cta-box {
    max-width: 500px;
    margin: 0 auto;
}

.trust-icons {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.text-center { text-align: center; }

@media (max-width: 768px) {
    .specs-wrapper { grid-template-columns: 1fr; }
}

css/* Book & PDF Specific Layout Styling */
.book-cover {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: #93c5fd !important;
    border-left: 15px solid #1d4ed8; /* Gives a distinct book spine aesthetic */
    height: 500px;
    text-align: center;
    padding: 30px;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.pdf-item-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
}

.pdf-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05);
}

.pdf-icon {
    display: inline-block;
    background: #fecdd3;
    color: #be123c;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pdf-item-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.pdf-item-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .pdf-grid {
        grid-template-columns: 1fr;
    }
}