@font-face {
    font-family: "Druk Wide Cy Web Bold";
    src: url('fonts/Druk-Wide-Cy-Web-Bold.ttf') format('truetype');
}

:root {
    --primary-bg: #0c0c0c;
    --secondary-bg: #121212;
    --accent-color: #e4aa36;
    --accent-gradient: linear-gradient(135deg, #e4aa36, #f2c94c);
    --text-color: #f5f5f5;
    --muted-text: #a0a0a0;
    --border-color: rgba(228, 170, 54, 0.3);
    --highlight: rgba(228, 170, 54, 0.08);
    --page-width: 800px;
    --page-padding: 2rem;
    --gold-gradient: linear-gradient(135deg, #e4aa36 0%, #f2c94c 100%);
    --dark-overlay: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%);
    --heading-font: 'Teko', sans-serif;
}

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

body {
    background-color: #0c0c0c;
    background-image: 
        url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="25" cy="25" r="1" fill="%23333333" opacity="0.4"/><circle cx="75" cy="75" r="1" fill="%23333333" opacity="0.4"/><circle cx="75" cy="25" r="1" fill="%23333333" opacity="0.4"/><circle cx="25" cy="75" r="1" fill="%23333333" opacity="0.4"/></svg>'),
        radial-gradient(circle at 10% 20%, rgba(228, 170, 54, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(228, 170, 54, 0.03) 0%, transparent 25%);
    color: var(--text-color);
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    min-height: 100vh;
}

/* Mobile styles */
@media (max-width: 768px) {
    body {
        padding: 12px;
    }
}

/* Floating card layout */
.chapter-page {
    width: var(--page-width);
    background-color: var(--secondary-bg);
    margin-bottom: 2.5rem;
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    border: none;
    position: relative;
    backdrop-filter: blur(10px);
}

.chapter-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(228, 170, 54, 0.03), transparent);
    pointer-events: none;
}

.chapter-page::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0.3;
}

.header {
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
    border-bottom: 1px solid rgba(228, 170, 54, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    position: relative;
    overflow: hidden;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(135deg, #e4aa36 0%, #f2c94c 100%);
    opacity: 0.6;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(228, 170, 54, 0.08) 0%, transparent 70%);
    opacity: 0.1;
    z-index: 0;
}

.header-logo-container {
    position: relative;
    z-index: 2;
    width: 300px;
    height: auto;
}

.header-logo {
    width: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
}

.header-logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(228, 170, 54, 0.15) 0%, transparent 70%);
    filter: blur(10px);
    z-index: -1;
}

.header-title-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 0.5rem;
}

.header-chapter-label {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    text-align: right;
}

.header-title {
    font-family: 'Teko', sans-serif;
    font-size: 28pt;
    background: linear-gradient(135deg, #e4aa36 0%, #f2c94c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(228, 170, 54, 0.3);
    position: relative;
}

.header-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient(135deg, #e4aa36 0%, #f2c94c 100%);
}

.chapter-content {
    
    position: relative;
}

.chapter-title {
    font-family: 'Teko', sans-serif;
    font-size: 38pt;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #e4aa36 0%, #f2c94c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(228, 170, 54, 0.5);
    padding-bottom: 1rem;
}

.chapter-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #e4aa36 0%, #f2c94c 100%);
}

.chapter-subtitle {
    font-size: 18pt;
    font-style: italic;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    margin-left: 0;
    padding-left: 1.5rem;
    border-left: 3px solid #e4aa36;
    color: #e4e4e4;
}

.chapter-divider {
    display: flex;
    align-items: center;
    margin: 3rem 0;
    height: 1px;
    background: none;
    position: relative;
}

.divider-line::before,
.divider-line::after,
.chapter-divider::before,
.chapter-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(228, 170, 54, 0.3), transparent);
}

.divider-icon {
    margin: 0 auto;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(228, 170, 54, 0.2) 0%, rgba(242, 201, 76, 0.1) 100%);
    border-radius: 50%;
    position: relative;
    top:-15px;
    border: 1px solid rgba(228, 170, 54, 0.3);
    transition: transform 0.3s ease;
}

.divider-icon:hover {
    transform: scale(1.2);
}

.divider-icon::before {
    content: '✧';
    font-size: 14px;
    color: #e4aa36;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 24pt;
    margin: 0 0 2rem;
    padding-bottom: 0.8rem;
    color: #e4aa36;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 3px;
    background: var(--gold-gradient);
}

.section-content {
    position: relative;
    padding-left: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.section-content p {
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    hyphens: auto;
}

.section-content strong, .section-content em, .section-content .key-highlight {
    word-break: break-word;
    max-width: 100%;
    white-space: normal !important;
}

.bullet-list {
    list-style-type: none;
    margin-left: 1rem;
    margin-bottom: 2rem;
}

.bullet-list li {
    margin-bottom: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.2s ease;
}

.bullet-list li:hover {
    transform: translateX(5px);
}

.bullet-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.numbered-list {
    list-style-type: none;
    counter-reset: item;
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

.numbered-list li {
    margin-bottom: 0.9rem;
    padding-left: 1.8rem;
    position: relative;
    counter-increment: item;
    transition: all 0.2s ease;
}

.numbered-list li:hover {
    transform: translateX(5px);
}

.numbered-list li::before {
    content: counter(item);
    position: absolute;
    left: -5px;
    top: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    background: rgba(228, 170, 54, 0.1);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-box {
    background-color: var(--highlight);
    border-left: 3px solid var(--accent-color);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0;
    position: relative;
    backdrop-filter: blur(5px);
}

.highlight-box::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 12px;
    font-family: Georgia, serif;
    font-size: 40pt;
    line-height: 0;
    color: var(--accent-color);
    opacity: 0.2;
}

.quote {
    font-style: italic;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    margin: 3rem 0;
    color: var(--accent-color);
    background-color: rgba(228, 170, 54, 0.05);
    border-radius: 0;
}

.quote::before, .quote::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 60pt;
    color: var(--accent-color);
    opacity: 0.15;
    position: absolute;
}

.quote::before {
    top: -20px;
    left: 10px;
}

.quote::after {
    bottom: -50px;
    right: 10px;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 2.5rem 0;
    align-items: center;
}

/* Navigation */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.prev-button, .next-button, .toc-button {
    background: linear-gradient(135deg, #111111 0%, #222222 100%);
    color: #e4aa36;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid rgba(228, 170, 54, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin: 0 10px;
    white-space: nowrap;
}

.prev-button:hover, .next-button:hover, .toc-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(228, 170, 54, 0.6);
    color: #f2c94c;
}

.prev-button::before, .next-button::before, .toc-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(228, 170, 54, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prev-button:hover::before, .next-button:hover::before, .toc-button:hover::before {
    opacity: 1;
}

/* Image styling */
img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    filter: contrast(1.05) brightness(1.05);
    transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

img:hover {
    transform: scale(1.02);
    filter: contrast(1.1) brightness(1.1);
}

/* Strong and emphasis */
strong {
    font-weight: 700;
    color: var(--accent-color);
    position: relative;
    white-space: normal !important;
}

strong::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

strong:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

em {
    font-style: italic;
    color: #c4c4c4;
}

/* Table of Contents styling */
.toc-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.toc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background-color: rgba(228, 170, 54, 0.03);
    border-radius: 0;
    transition: all 0.3s ease;
    border-left: 0;
    text-decoration: none;
    position: relative;
}

.toc-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.toc-item:hover {
    background-color: rgba(228, 170, 54, 0.08);
    transform: translateX(5px);
}

.toc-item:hover::before {
    width: 3px;
}

.toc-item-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: var(--text-color);
}

.toc-chapter {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.toc-title {
    font-size: 1.1rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.toc-item:hover .toc-title {
    color: var(--accent-color);
}

.cover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.cover-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(228, 170, 54, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.cover-logo {
    width: 180px;
    margin-bottom: 3.5rem;
    filter: brightness(0) invert(0.9);
    position: relative;
    z-index: 1;
}

.cover-title {
    font-family: "Druk Wide Cy Web Bold", sans-serif;
    font-size: 36pt;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

.cover-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--accent-gradient);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.cover-subtitle {
    font-family: "Druk Wide Cy Web Bold", sans-serif;
    font-size: 20pt;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    margin-top: 1.5rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.cover-tagline {
    font-size: 14pt;
    margin-bottom: 3.5rem;
    color: var(--muted-text);
    max-width: 80%;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cover-decor {
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent-gradient);
    z-index: 9999;
    width: 0%;
}

/* Remove footer for single page design */
.page-footer {
    display: none;
}

/* Media queries for responsiveness */
@media (max-width: 840px) {
    :root {
        --page-width: 95%;
    }
    
    .chapter-title {
        font-size: 24pt;
    }
    
    .section-title {
        font-size: 18pt;
    }
}

@media (max-width: 640px) {
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .chapter-title {
        font-size: 22pt;
    }
    
    .cover-title {
        font-size: 28pt;
    }
    
    .cover-subtitle {
        font-size: 16pt;
    }
}

/* Chapter hero section */
.chapter-hero {
    position: relative;
    padding: 5rem 3rem 3rem;
    background-color: #111111;
    background-image: linear-gradient(to bottom, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.7)), url('https://images.unsplash.com/photo-1494783367193-149034c05e8f?q=80&w=1280&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border-bottom: 1px solid rgba(228, 170, 54, 0.15);
}

.section-container {
    padding: 1rem 3rem;
    position: relative;
    background: linear-gradient(0deg, rgba(228, 170, 54, 0.03) 0%, transparent 100%);
    border-bottom: 1px solid rgba(228, 170, 54, 0.1);
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
}

.section-container:nth-child(odd) {
    background: linear-gradient(0deg, transparent 0%, rgba(228, 170, 54, 0.03) 100%);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chapter completion message */
.chapter-complete-message {
    position: relative;
    background: linear-gradient(135deg, rgba(228, 170, 54, 0.2) 0%, rgba(228, 170, 54, 0.15) 100%);
    border: 2px solid rgba(228, 170, 54, 0.3);
    border-radius: 8px;
    padding: 15px 25px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    margin-top: 1rem;
    margin-bottom: 3rem;
    display: block;
    opacity: 1;
    visibility: visible;
}

.chapter-complete-message.show {
    visibility: visible;
    opacity: 1;
}

.complete-emoji {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.chapter-next-button {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background: linear-gradient(135deg, #e4aa36 0%, #f2c94c 100%);
    border-radius: 20px;
    color: #121212;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    animation: gentle-pulse 2s infinite;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chapter-next-button:hover {
    transform: scale(1.05);
}

/* Animation for gentle pulse - used by completion button */
@keyframes gentle-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .header-logo-container {
        width: 150px !important;
        margin-bottom: 1rem;
    }
    
    .header-title-container {
        align-items: center;
        margin-top: 0 !important;
    }
    
    .header-chapter-label {
        text-align: center !important;
        font-size: 0.85rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .header-title {
        font-size: 24pt !important;
    }
    
    .chapter-hero {
        padding: 3rem 1.5rem 2rem !important;
    }
    
    .chapter-title {
        font-size: 30pt !important;
    }
    
    .section-container {
        padding: 2rem 1.5rem !important;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .prev-button, .next-button, .toc-button {
        width: 100%;
        text-align: center;
        margin: 0;
    }
}

/* Checklist section styles */
.checklist-section {
    padding: 2rem 3rem;
    position: relative;
    background: linear-gradient(0deg, rgba(228, 170, 54, 0.02) 0%, transparent 100%);
    border-bottom: 1px solid rgba(228, 170, 54, 0.1);
    animation: fadeInUp 0.7s ease-out forwards;
}

.checklist-section:nth-child(odd) {
    background: linear-gradient(0deg, transparent 0%, rgba(228, 170, 54, 0.03) 100%);
}

.checklist-title {
    font-family: 'Teko', sans-serif;
    font-size: 2rem;
    color: #e4aa36;
    margin-bottom: 1.5rem;
    padding-left: 0;
    position: relative;
    display: inline-block;
}

.checklist-title.checked::before {
    content: none;
}

.checklist-tip {
    position: relative;
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(228, 170, 54, 0.08);
    border-radius: 5px;
    border: 1px solid rgba(228, 170, 54, 0.2);
}



.bottom-line {
    background: rgba(228, 170, 54, 0.1);
    padding: 2rem;
    border-radius: 5px;
    margin: 2rem 0;
    position: relative;
    border: 1px solid rgba(228, 170, 54, 0.2);
}



.bottom-line p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.bottom-line p:last-child {
    margin-bottom: 0;
}

.next-steps {
    display: flex;
    align-items: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(228, 170, 54, 0.1) 0%, rgba(228, 170, 54, 0.05) 100%);
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(228, 170, 54, 0.2);
    position: relative;
    overflow: hidden;
}

.next-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(228, 170, 54, 0.1) 100%);
    opacity: 0.5;
}

.arrow-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    color: #e4aa36;
    position: relative;
    z-index: 2;
}

.chapter-end-nav {
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}

/* Featured quote styling */
.featured-quote {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 700;
    color: #e4aa36;
    font-style: italic;
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 5px;
    background: rgba(228, 170, 54, 0.08);
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(228, 170, 54, 0.2);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.featured-quote::before,
.featured-quote::after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    color: rgba(228, 170, 54, 0.2);
    font-family: Georgia, serif;
}

.featured-quote::before {
    top: -0.5rem;
    left: 0.5rem;
}

.featured-quote::after {
    bottom: -2.5rem;
    right: 0.5rem;
}

/* Key highlight styles */
.key-highlight {
    font-weight: 700;
    display: inline;
    position: relative;
    color: #ffffff;
    padding: 0 2px;
}

.key-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #e4aa36 0%, #f2c94c 100%);
    transform-origin: bottom;
    box-shadow: 0 1px 8px rgba(228, 170, 54, 0.5);
}

/* Category styling */
.category-card {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(228, 170, 54, 0.15);
    border-radius: 5px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.category-heading {
    color: #e4aa36;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
    padding: 0.3rem 0.8rem;
    background: rgba(228, 170, 54, 0.1);
    border-radius: 3px;
    border: 1px solid rgba(228, 170, 54, 0.2);
}

@media (max-width: 768px) {
    .checklist-section {
        padding: 2rem 1.5rem !important;
    }
    
    .checklist-title {
        font-size: 1.6rem !important;
        padding-left: 2rem !important;
    }
    
    .checklist-tip {
        padding: 1.2rem 1.5rem !important;
    }
}

/* Chapter 1 specific styles */
:root {
    --gold-gradient: linear-gradient(135deg, #e4aa36 0%, #f2c94c 100%);
    --dark-overlay: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%);
    --heading-font: 'Teko', sans-serif;
}

/* Chapter hero background */
.chapter-hero {
    background-image: linear-gradient(to bottom, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.7)), url('https://images.unsplash.com/photo-1494783367193-149034c05e8f?q=80&w=1280&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

/* Enhanced styling for sections */
.section-title {
    font-family: var(--heading-font);
    font-size: 24pt;
    margin: 0 0 2rem;
    padding-bottom: 0.8rem;
    color: #e4aa36;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 3px;
    background: var(--gold-gradient);
}

.section-content {
    position: relative;
    padding-left: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.section-content p {
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    hyphens: auto;
}

.section-content strong, .section-content em, .section-content .key-highlight {
    word-break: break-word;
    max-width: 100%;
    white-space: normal !important;
}

/* Callout box styling */
.callout-box {
    border-left: 3px solid #e4aa36;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background: rgba(228, 170, 54, 0.08);
    position: relative;
    border-radius: 0 5px 5px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.callout-box::before {
    content: '!';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: rgba(228, 170, 54, 0.2);
    font-weight: bold;
}

/* Scroll animation for section elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.scroll-indicator-mobile {
    display: none;
}

/* Mobile scroll indicator */
.mobile-scroll-arrow {
    display: none;
}

@media (max-width: 768px) {
    .mobile-scroll-arrow {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
        width: 40px;
        height: 40px;
        background: var(--gold-gradient);
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(228, 170, 54, 0.5);
        color: #121212;
        text-align: center;
        line-height: 40px;
        font-size: 20px;
        pointer-events: none;
        animation: pulse 2s infinite ease-in-out;
    }
    
    /* Mobile scroll indicator animation */
    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 0.8;
        }
        50% {
            transform: scale(1.1);
            opacity: 1;
        }
        100% {
            transform: scale(1);
            opacity: 0.8;
        }
    }
}

/* Reading Enhancement System */
.reading-progress-container {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 4px;
    height: 60%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.reading-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--gold-gradient);
    border-radius: 10px;
    transition: height 0.3s ease;
}

.reading-milestone {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #121212;
    border: 1px solid rgba(228, 170, 54, 0.3);
    transform: translateX(-3px);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.reading-milestone.active {
    background: var(--gold-gradient);
    box-shadow: 0 0 10px rgba(228, 170, 54, 0.5);
    opacity: 1;
}

.reading-milestone-tooltip {
    position: absolute;
    right: 15px;
    background: rgba(18, 18, 18, 0.9);
    color: #e4aa36;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(228, 170, 54, 0.2);
}

.reading-milestone:hover .reading-milestone-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Reading Rewards */
.reading-reward {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid rgba(228, 170, 54, 0.3);
    border-radius: 5px;
    padding: 10px 15px;
    color: white;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(20px);
    z-index: 100;
    pointer-events: none;
    transition: all 0.5s ease;
    max-width: 200px;
}

.reading-reward.show {
    opacity: 1;
    transform: translateY(0);
}

.reward-emoji {
    margin-right: 5px;
    font-size: 1rem;
}

/* Mobile adjustments for reading enhancements */
@media (max-width: 768px) {
    .reading-progress-container {
        top: auto;
        right: 10px;
        bottom: 70px;
       
        width: 4px;
    }
    
    .reading-milestone {
        width: 8px;
        height: 8px;
        transform: translateX(-2px);
    }
    
    .reading-milestone-tooltip {
        font-size: 0.6rem;
        right: 12px;
        padding: 3px 7px;
    }
    
    .reading-reward {
        bottom: 15px;
        right: 15px;
        font-size: 0.7rem;
        padding: 8px 12px;
        max-width: 150px;
    }
    
    .featured-quote {
        font-size: 1.2rem !important;
        padding: 1.5rem !important;
        margin: 2rem 0 !important;
    }
    
    .featured-quote::before,
    .featured-quote::after {
        font-size: 2.5rem !important;
    }
    
    .featured-quote::before {
        top: -0.2rem !important;
        left: 0.3rem !important;
    }
    
    .featured-quote::after {
        bottom: -1.5rem !important;
        right: 0.3rem !important;
    }
    
    .bullet-list li {
        padding-left: 1.5rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .callout-box {
        padding: 1.2rem 1.5rem !important;
        margin: 2rem 0 !important;
    }
}

/* Pie Chart Styles */
.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px auto;
    width: 100%;
    max-width: 500px;
}

/* Bar chart styles */
.bar-chart {
    width: 100%;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

.bar-title {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bar-item {
    display: flex;
    align-items: center;
    width: 100%;
}

.bar-label {
    width: 140px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.bar-value {
    height: 30px;
    background: linear-gradient(90deg, #3a7bd5, #00d2ff);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
    transition: width 1s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Pie chart styles for model selection factors */
.pie-chart {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: conic-gradient(
        #ff6b6b 0% 32%, /* Portfolio Quality */
        #4ecdc4 32% 56%, /* Social Media */
        #ffe66d 56% 84%, /* In-Person */
        #c7f464 84% 100% /* Other */
    );
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.chart-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 8px;
    border-radius: 20px;
    width: 120px;
}

.slice-label {
    position: absolute;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

/* Stacked bar chart styles */
.stacked-bar {
    width: 100%;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

.stacked-title {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.stacked-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stacked-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.stacked-label {
    width: 140px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.stacked-segment {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
    transition: width 1s ease-in-out;
}

.success {
    background: linear-gradient(90deg, #56ab2f, #a8e063);
    border-radius: 5px 5px 5px 5px;
    color: black !important;
}

.fail {
    background: linear-gradient(90deg, #cb356b, #bd3f32);
    border-radius: 0 15px 15px 0;
}

/* Responsive chart adjustments */
@media (max-width: 768px) {
    .chart-container {
        max-width: 100%;
    }
    
    .bar-label, .stacked-label {
        width: 120px;
        font-size: 12px;
    }
    
    .bar-value, .stacked-segment {
        font-size: 12px;
    }
    
    .pie-chart {
        width: 220px;
        height: 220px;
    }
    
    .slice-label {
        font-size: 12px;
    }
    
    .chart-title {
        font-size: 14px;
        width: 100px;
    }
} 