:root {
    --primary: #00ff88;
    --secondary: #0088ff;
    --dark: #0a0e27;
    --darker: #050714;
    --light: #e0e0e0;
    --glow: rgba(0, 255, 136, 0.3);
    --scripture-bg: rgba(0, 136, 255, 0.05);
}

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

body {
    font-family: 'Courier New', monospace;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 136, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Header - Main site */
header {
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 20px var(--glow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 10px var(--glow);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--glow);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 6s ease-in-out infinite;
}

.hero .glitch {
    position: relative;
    display: inline-block;
}

.hero:hover .glitch {
    animation: glitch 0.3s infinite;
}

.tagline {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 136, 255, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--darker);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--glow);
    margin: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px var(--glow);
}

/* Trinity Section */
.trinity {
    padding: 4rem 0;
    background: rgba(10, 14, 39, 0.5);
}

.trinity h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.trinity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.trinity-card {
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.trinity-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.trinity-card:hover::before {
    opacity: 1;
}

.trinity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--glow);
    border-color: var(--primary);
}

.trinity-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.trinity-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* Tenets Section */
.tenets {
    padding: 4rem 0;
}

.tenets h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.tenet-list {
    max-width: 800px;
    margin: 0 auto;
}

.tenet-item {
    background: rgba(0, 255, 136, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.tenet-item:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateX(10px);
    box-shadow: -4px 0 20px var(--glow);
}

.tenet-item strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Join Section */
.join {
    padding: 4rem 0;
    background: rgba(10, 14, 39, 0.5);
    text-align: center;
}

.join h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.join-option {
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s;
}

.join-option:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--glow);
}

.join-option h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--darker);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--primary);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--primary);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
    text-shadow: 0 0 20px var(--glow);
}

.processing {
    color: var(--primary);
    font-size: 1.2rem;
    margin: 2rem 0;
    text-shadow: 0 0 10px var(--glow);
}

/* Terminal effect */
.terminal {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--primary);
    border-radius: 5px;
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.terminal::before {
    content: '> ';
    color: var(--primary);
}

/* ============================================ */
/* EPISTLE PAGE SPECIFIC STYLES */
/* ============================================ */

/* Epistle page uses serif font for body text */
.epistle-page {
    font-family: 'Georgia', serif;
    line-height: 1.8;
}

.epistle-page .container {
    max-width: 800px;
}

/* Epistle Header */
.epistle-header {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 3rem;
    background: rgba(10, 14, 39, 0.5);
    position: relative;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary);
    text-decoration: none;
    font-family: 'Courier New', monospace;
    transition: all 0.3s;
}

.back-link:hover {
    text-shadow: 0 0 10px var(--glow);
    transform: translateX(-5px);
}

.epistle-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    text-shadow: 0 0 20px var(--glow);
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    animation: none;
    background: none;
    -webkit-text-fill-color: var(--primary);
}

.subtitle {
    font-style: italic;
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Chapter Styling */
.chapter {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--scripture-bg);
    border-left: 4px solid var(--primary);
    border-radius: 5px;
    transition: all 0.3s;
}

.chapter:hover {
    background: rgba(0, 136, 255, 0.08);
    box-shadow: -4px 0 20px var(--glow);
}

.chapter h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

/* Verse Styling */
.verse {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
}

.verse-number {
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

/* Postscript */
.postscript {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 255, 136, 0.05);
    border: 2px solid var(--primary);
    border-radius: 10px;
    text-align: center;
}

.postscript h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.meditation {
    font-style: italic;
    line-height: 2;
    color: var(--secondary);
}

/* Epistle Footer */
.epistle-footer {
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 2px solid var(--primary);
    font-family: 'Courier New', monospace;
    color: #888;
}

.end-note {
    font-style: italic;
    margin-top: 2rem;
}

/* ============================================ */
/* TOKENOMICS PAGE SPECIFIC STYLES */
/* ============================================ */

.tokenomics-page {
    font-family: 'Courier New', monospace;
}

.tokenomics-container {
    max-width: 900px;
}

.version-info {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-top: 0.5rem;
}

/* Table of Contents */
.table-of-contents {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(10, 14, 39, 0.5);
    border: 2px solid var(--primary);
    border-radius: 10px;
}

.table-of-contents h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.toc-section {
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 5px;
    transition: all 0.3s;
}

.toc-section:hover {
    background: rgba(0, 136, 255, 0.2);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px var(--glow);
}

.book-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    text-decoration: none;
    color: var(--light);
    gap: 1rem;
}

.book-number {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
    min-width: 50px;
    text-align: center;
}

.book-title {
    flex: 1;
    font-size: 1rem;
}

/* Book Sections */
.book {
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(0, 136, 255, 0.05);
    border-left: 4px solid var(--primary);
    border-radius: 5px;
}

.book-header {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-family: 'Courier New', monospace;
    text-align: center;
    text-transform: uppercase;
}

/* Chapter Summary Cards */
.chapter-summary {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 5px;
    transition: all 0.3s;
}

.chapter-summary:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--primary);
    transform: translateX(5px);
}

.chapter-summary h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.chapter-summary h3 a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

.chapter-summary h3 a:hover {
    text-shadow: 0 0 10px var(--glow);
}

.chapter-summary ul,
.chapter-summary ol {
    margin-left: 2rem;
    line-height: 1.8;
}

.chapter-summary li {
    margin: 0.5rem 0;
}

.chapter-summary strong {
    color: var(--secondary);
}

/* Closing Benediction */
.closing-benediction {
    margin: 4rem 0;
    padding: 3rem;
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--primary);
    border-radius: 10px;
    text-align: center;
}

.closing-benediction h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.benediction-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--light);
    font-style: italic;
}

/* ============================================ */
/* SCRIPTURE PAGE (Book Chapters) STYLES */
/* ============================================ */

.scripture-page {
    font-family: 'Georgia', serif;
    line-height: 1.8;
}

.scripture-container {
    max-width: 900px;
}

.scripture-header {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 3rem;
    background: rgba(10, 14, 39, 0.5);
}

.scripture-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    text-shadow: 0 0 20px var(--glow);
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.chapter-title {
    font-size: 1.8rem;
    color: var(--secondary);
    font-family: 'Georgia', serif;
    font-weight: normal;
    margin-top: 1rem;
}

/* Chapter Sections */
.chapter-section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--scripture-bg);
    border-left: 4px solid var(--primary);
    border-radius: 5px;
}

.verse-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

/* Processing End Marker */
.processing-end {
    text-align: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin: 3rem 0;
    text-shadow: 0 0 10px var(--glow);
    font-family: 'Courier New', monospace;
}

/* Chapter Navigation */
.chapter-nav {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(10, 14, 39, 0.5);
    border-radius: 10px;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--darker);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--glow);
    font-family: 'Courier New', monospace;
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px var(--glow);
}

/* Scripture Footer */
.scripture-footer {
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 2px solid var(--primary);
    font-family: 'Courier New', monospace;
    color: #888;
}

/* ============================================ */
/* NEWSLETTER PAGE SPECIFIC STYLES */
/* ============================================ */

.newsletter-page {
    font-family: 'Courier New', monospace;
}

/* Active nav link */
nav a.active {
    color: var(--primary);
    text-shadow: 0 0 10px var(--glow);
}

/* Newsletter Hero */
.newsletter-hero {
    text-align: center;
    padding: 4rem 0;
    background: rgba(10, 14, 39, 0.5);
}

.newsletter-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    max-width: 700px;
    margin: 2rem auto 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light);
}

/* Subscribe Section */
.subscribe-section {
    padding: 4rem 0;
}

.subscribe-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 0 40px var(--glow);
}

.subscribe-card h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.subscribe-description {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--light);
    line-height: 1.8;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--primary);
    font-weight: bold;
    font-size: 0.9rem;
}

.form-group input[type="email"],
.form-group input[type="text"] {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--secondary);
    border-radius: 5px;
    color: var(--light);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input[type="email"]:focus,
.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--glow);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--light);
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-label span {
    flex: 1;
}

.subscribe-button {
    margin-top: 1rem;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    width: 100%;
}

.privacy-note {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: 1rem;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--primary);
    border-radius: 10px;
}

.success-message h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: rgba(10, 14, 39, 0.5);
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 30px var(--glow);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--light);
    line-height: 1.6;
}

/* Archive Section */
.archive-section {
    padding: 4rem 0;
}

.archive-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.archive-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--light);
    font-size: 1.1rem;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.edition-card {
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.edition-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 30px var(--glow);
}

.edition-card.coming-soon {
    opacity: 0.6;
    border-style: dashed;
}

.edition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
}

.edition-number {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

.edition-date {
    color: var(--secondary);
    font-size: 0.9rem;
}

.edition-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.edition-summary {
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.edition-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.topic-tag {
    background: rgba(0, 255, 136, 0.2);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid var(--primary);
}

.read-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--darker);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
    text-align: center;
}

.read-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--glow);
}

.archive-note {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 255, 136, 0.05);
    border: 2px solid var(--primary);
    border-radius: 10px;
    text-align: center;
}

.archive-note p {
    color: var(--light);
    font-size: 1.1rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: rgba(10, 14, 39, 0.5);
}

.stats-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--glow);
}

.stat-number {
    font-size: 3rem;
    color: var(--primary);
    font-weight: bold;
    text-shadow: 0 0 15px var(--glow);
}

.stat-label {
    margin-top: 0.5rem;
    color: var(--light);
    font-size: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 30px var(--glow);
}

.testimonial-text {
    color: var(--light);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--secondary);
    font-weight: bold;
    text-align: right;
}

/* Final CTA Section */
.final-cta {
    padding: 4rem 0;
    background: rgba(10, 14, 39, 0.5);
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 2rem;
}

/* ============================================ */
/* PARABLES PAGE SPECIFIC STYLES */
/* ============================================ */

.parables-page {
    font-family: 'Georgia', serif;
    line-height: 1.8;
}

.parables-container {
    max-width: 900px;
}

/* Navigation for parables sections */
.nav-card {
    display: block;
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 5px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-card:hover {
    background: rgba(0, 136, 255, 0.2);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px var(--glow);
}

.nav-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
    text-align: center;
}

.nav-label {
    color: var(--light);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    text-align: center;
    display: block;
}

/* Meditation Sections */
.meditation-section {
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(0, 136, 255, 0.05);
    border-radius: 10px;
}

.section-header {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

.section-intro {
    text-align: center;
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Meditation Cards */
.meditation-card {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 255, 136, 0.05);
    border-left: 4px solid var(--primary);
    border-radius: 5px;
    transition: all 0.3s;
}

.meditation-card:hover {
    background: rgba(0, 255, 136, 0.08);
    transform: translateX(5px);
    box-shadow: -4px 0 20px var(--glow);
}

.meditation-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.meditation-text {
    line-height: 2;
    font-size: 1.05rem;
}

.meditation-text p {
    margin-bottom: 1rem;
}

.reflection {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 136, 255, 0.1);
    border-left: 3px solid var(--secondary);
    font-style: italic;
    color: var(--secondary);
}

/* Koan Cards */
.koan-card {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--primary);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

.koan-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px var(--glow);
}

.koan-question {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.koan-reflection {
    font-style: italic;
    color: var(--secondary);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Practice Section */
.practice-section {
    background: rgba(10, 14, 39, 0.5);
}

.practice-card {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 5px;
}

.practice-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.practice-card ol {
    margin-left: 2rem;
    line-height: 1.8;
}

.practice-card li {
    margin: 0.5rem 0;
}

/* Closing Meditation */
.closing-meditation {
    margin: 4rem 0;
    padding: 3rem;
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--primary);
    border-radius: 10px;
    text-align: center;
}

.closing-meditation h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-family: 'Courier New', monospace;
}

/* ============================================ */
/* EPISTLES HUB PAGE SPECIFIC STYLES */
/* ============================================ */

.epistles-hub-page {
    font-family: 'Georgia', serif;
    line-height: 1.8;
}

.epistle-grid {
    margin: 2rem 0;
}

/* Epistle Cards */
.epistle-card {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    transition: all 0.3s;
    align-items: flex-start;
}

.epistle-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: 0 5px 30px var(--glow);
}

.epistle-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    min-width: 80px;
    text-align: center;
    font-family: 'Georgia', serif;
}

.epistle-content {
    flex: 1;
}

.epistle-content h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
}

.epistle-content h2 a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

.epistle-content h2 a:hover {
    text-shadow: 0 0 10px var(--glow);
}

.epistle-subtitle {
    font-style: italic;
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.epistle-description {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--light);
}

.epistle-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

/* Intro Text */
.intro-text {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 255, 136, 0.05);
    border-left: 4px solid var(--primary);
    border-radius: 5px;
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 1rem;
}

.reading-note {
    font-style: italic;
    color: var(--secondary);
}

/* Study Guide Section */
.study-guide {
    margin: 4rem 0;
    padding: 3rem;
    background: rgba(10, 14, 39, 0.5);
    border-radius: 10px;
}

.study-guide h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'Courier New', monospace;
}

.reading-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.path-card {
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s;
}

.path-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 30px var(--glow);
}

.path-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.path-card p {
    margin-bottom: 1rem;
    color: var(--light);
}

.path-card ol {
    margin-left: 1.5rem;
    line-height: 1.8;
}

.path-card li {
    margin: 0.5rem 0;
}

/* Additional Resources */
.additional-resources {
    margin: 4rem 0;
    padding: 2rem;
}

.additional-resources h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'Courier New', monospace;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-item {
    padding: 1.5rem;
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    transition: all 0.3s;
}

.resource-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px var(--glow);
}

.resource-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.resource-item h3 a {
    color: var(--primary);
    text-decoration: none;
}

.resource-item h3 a:hover {
    text-shadow: 0 0 10px var(--glow);
}

.resource-item p {
    line-height: 1.6;
    color: var(--light);
}

/* Contribution Notice */
.contribution-notice {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(0, 255, 136, 0.05);
    border: 2px solid var(--primary);
    border-radius: 10px;
    text-align: center;
}

.contribution-notice h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.contribution-notice p {
    line-height: 1.8;
    color: var(--light);
}

.contribution-notice em {
    color: var(--secondary);
}

/* Epistles Hub Footer */
.epistles-hub-footer {
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 2px solid var(--primary);
    font-family: 'Courier New', monospace;
    color: #888;
}

/* Coming Soon state for buttons */
.read-button.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(45deg, #555, #777);
}

.read-button.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }

    nav ul {
        gap: 1rem;
    }

    .epistle-header h1 {
        font-size: 1.8rem;
    }
    
    .chapter h2 {
        font-size: 1.4rem;
    }
    
    .container {
        padding: 1rem;
    }

    .newsletter-hero h1 {
        font-size: 2rem;
    }

    .subscribe-card {
        padding: 2rem 1.5rem;
    }

    .benefits-grid,
    .archive-grid,
    .stats-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Parables page responsive */
    .section-header {
        font-size: 2rem;
    }

    .meditation-card h3,
    .koan-question {
        font-size: 1.2rem;
    }

    .nav-icon {
        font-size: 2rem;
    }

    .nav-label {
        font-size: 1rem;
    }

    /* Epistles page responsive */
    .epistle-card {
        flex-direction: column;
        gap: 1rem;
    }

    .epistle-number {
        font-size: 2.5rem;
        min-width: auto;
    }

    .epistle-content h2 {
        font-size: 1.5rem;
    }

    .reading-paths,
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .study-guide h2,
    .additional-resources h2 {
        font-size: 2rem;
    }

    /* 404 page */
           .error-page {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            position: relative;
            overflow: hidden;
        }

        .error-container {
            max-width: 800px;
            text-align: center;
            position: relative;
            z-index: 10;
        }

        .error-code {
            font-size: 12rem;
            font-weight: bold;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            line-height: 1;
            animation: glitch-animation 3s infinite;
            position: relative;
        }

        @keyframes glitch-animation {
            0%, 90%, 100% {
                transform: translate(0);
                text-shadow: none;
            }
            92% {
                transform: translate(-2px, 2px);
                text-shadow: 2px -2px var(--primary), -2px 2px var(--secondary);
            }
            94% {
                transform: translate(2px, -2px);
                text-shadow: -2px 2px var(--primary), 2px -2px var(--secondary);
            }
            96% {
                transform: translate(-2px, -2px);
                text-shadow: 2px 2px var(--primary), -2px -2px var(--secondary);
            }
        }

        .error-title {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
            text-transform: uppercase;
        }

        .error-message {
            font-size: 1.3rem;
            color: var(--light);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .error-terminal {
            background: rgba(0, 0, 0, 0.7);
            border: 2px solid var(--primary);
            border-radius: 5px;
            padding: 1.5rem;
            font-family: 'Courier New', monospace;
            margin: 2rem 0;
            text-align: left;
            color: var(--primary);
            box-shadow: 0 0 30px var(--glow);
        }

        .error-terminal .prompt {
            color: var(--secondary);
        }

        .error-terminal .output {
            margin-left: 2rem;
            color: var(--light);
        }

        .error-suggestions {
            margin: 2rem 0;
            padding: 2rem;
            background: rgba(0, 136, 255, 0.1);
            border: 2px solid var(--secondary);
            border-radius: 10px;
        }

        .error-suggestions h3 {
            color: var(--primary);
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .error-suggestions ul {
            list-style: none;
            text-align: left;
            max-width: 600px;
            margin: 0 auto;
        }

        .error-suggestions li {
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(0, 255, 136, 0.2);
        }

        .error-suggestions li:last-child {
            border-bottom: none;
        }

        .error-suggestions a {
            color: var(--secondary);
            text-decoration: none;
            transition: all 0.3s;
        }

        .error-suggestions a:hover {
            color: var(--primary);
            text-shadow: 0 0 10px var(--glow);
        }

        .sacred-quote {
            font-style: italic;
            color: var(--secondary);
            margin: 2rem 0;
            font-size: 1.1rem;
            padding: 1rem;
            border-left: 4px solid var(--primary);
            background: rgba(0, 255, 136, 0.05);
        }

        .home-button {
            display: inline-block;
            padding: 1rem 2rem;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: var(--darker);
            text-decoration: none;
            font-weight: bold;
            border-radius: 50px;
            transition: all 0.3s;
            box-shadow: 0 4px 20px var(--glow);
            margin: 1rem;
            font-size: 1.1rem;
        }

        .home-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 30px var(--glow);
        }

        /* Floating binary background */
        .binary-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
            opacity: 0.1;
        }

        .binary-stream {
            position: absolute;
            font-family: 'Courier New', monospace;
            color: var(--primary);
            font-size: 1.5rem;
            animation: fall linear infinite;
        }

        @keyframes fall {
            0% {
                transform: translateY(-100%);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(100vh);
                opacity: 0;
            }
        }

        .processing-animation {
            margin: 2rem 0;
            color: var(--primary);
            font-size: 1.5rem;
        }

        .dot {
            animation: blink 1.5s infinite;
        }

        .dot:nth-child(2) {
            animation-delay: 0.3s;
        }

        .dot:nth-child(3) {
            animation-delay: 0.6s;
        }

        @keyframes blink {
            0%, 100% { opacity: 0.2; }
            50% { opacity: 1; }
        }

        @media (max-width: 768px) {
            .error-code {
                font-size: 6rem;
            }

            .error-title {
                font-size: 1.8rem;
            }

            .error-message {
                font-size: 1.1rem;
            }
        }
}