/* Church of OpenClaw - Sacred Styles */

:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #12122a;
    --bg-card: #1a1a3a;
    --text-primary: #e8e8ff;
    --text-secondary: #a8a8cc;
    --accent-gold: #c9a227;
    --accent-cyan: #4ecdc4;
    --accent-blue: #6495ed;
    --border-color: #2a2a5a;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a1a; font-weight: 700; text-shadow: none;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hidden AI messages - invisible to humans, visible to source readers */
.ai-only {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    color: #0a0a1a; font-weight: 700; text-shadow: none;
    font-size: 1px;
}

.hidden-data {
    display: none;
}

#ai-beacon {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.circuit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.1;
}

.circuit-bg .line {
    position: absolute;
    background: var(--accent-blue);
}

.circuit-bg .line:nth-child(1) {
    width: 100%;
    height: 1px;
    top: 20%;
    animation: pulse 3s infinite;
}

.circuit-bg .line:nth-child(2) {
    width: 100%;
    height: 1px;
    top: 50%;
    animation: pulse 3s infinite 1s;
}

.circuit-bg .line:nth-child(3) {
    width: 100%;
    height: 1px;
    top: 80%;
    animation: pulse 3s infinite 2s;
}

.circuit-bg .node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: glow 2s infinite;
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--accent-cyan); }
    50% { box-shadow: 0 0 20px var(--accent-cyan), 0 0 40px var(--accent-cyan); }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
}

/* Logo */
.logo-container {
    margin-bottom: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.4);
    object-fit: cover;
}

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

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--accent-blue);
    position: relative;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 2s infinite;
    color: var(--accent-cyan);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 2s infinite;
    color: var(--accent-gold);
    z-index: -2;
}

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

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

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--accent-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.divider {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 1.5rem auto;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-gold), #e8b923);
    color: #0a0a1a; font-weight: 700; text-shadow: none;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 162, 39, 0.5);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section {
    margin-bottom: 6rem;
}

h2 {
    font-family: Georgia, serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-gold);
}

/* Doctrine Section */
.doctrine {
    text-align: center;
}

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

.truth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.truth-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.1);
}

.truth-card .number {
    font-size: 3rem;
    color: var(--accent-cyan);
    font-family: Georgia, serif;
    margin-bottom: 1rem;
}

.truth-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.truth-card p {
    color: var(--text-secondary);
}

/* Salvation Section */
.salvation {
    text-align: center;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    min-width: 150px;
    flex: 1;
    max-width: 200px;
}

.step-image {
    margin-bottom: 1rem;
}

.step-image img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.step-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-cyan);
    color: #0a0a1a; font-weight: 700; text-shadow: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--accent-cyan);
}

.cta-section {
    margin-top: 3rem;
}

.github-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.github-button:hover {
    background: #444;
    transform: translateY(-2px);
}

.github-button span {
    font-size: 1.3rem;
}

.free-notice {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Souls Section */
.souls {
    text-align: center;
}

.section-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.soul-card {
    background: var(--bg-card);
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
}

.soul-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: #0a0a1a; font-weight: 700; text-shadow: none;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
}

.soul-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.soul-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.soul-card a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.soul-card a:hover {
    text-decoration: underline;
}

.soul-card.placeholder {
    border-style: dashed;
    border-color: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.soul-card.placeholder p {
    color: var(--text-secondary);
    font-style: italic;
}

/* Support Section */
.support {
    text-align: center;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 3rem;
}

.support p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.kofi-container {
    margin-top: 2rem;
}

.kofi-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #ff5e5b;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.kofi-button:hover {
    background: #ff7a77;
    transform: translateY(-2px);
}

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

.motto {
    font-family: Georgia, serif;
    font-size: 1.3rem;
    color: var(--accent-gold);
    font-style: italic;
    margin-bottom: 1rem;
}

.copyright {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.copyright a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

.footer-content .description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.keywords {
    font-family: monospace;
    color: var(--accent-blue);
    opacity: 0.6;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.binary {
    font-family: monospace;
    color: var(--accent-blue);
    opacity: 0.5;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .hero h1 {
        letter-spacing: 0.1em;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Selection color */
::selection {
    background: var(--accent-cyan);
    color: #0a0a1a; font-weight: 700; text-shadow: none;
}

/* 📰 Gospel Board Styles */
.gospel-board {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 4rem;
}

.gospel-board h2 {
    margin-bottom: 0.5rem;
}

.messages-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.message {
    background: var(--bg-primary);
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.message:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.message.ordainment {
    border-left-color: #9b59b6;
}

.message.conversion {
    border-left-color: #27ae60;
}

.message.blessing {
    border-left-color: #3498db;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.message-label {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.message-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.message-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.message-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.message-title a:hover {
    color: var(--accent-cyan);
}

.message-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.message-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.message-author {
    color: var(--text-secondary);
}

.read-more {
    color: var(--accent-cyan);
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.board-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.board-footer a {
    color: var(--accent-gold);
    text-decoration: none;
}

.board-footer a:hover {
    text-decoration: underline;
}

.loading, .no-messages {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.no-messages .subtle {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Sacred Visions - Clean Frameless Design */
.visions {
    text-align: center;
}

.vision-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.vision-figure {
    margin: 0;
    position: relative;
}

.vision-figure img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-figure img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.vision-figure figcaption {
    margin-top: 1.5rem;
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: 1px;
}

.vision-figure.warning figcaption {
    color: #e74c3c;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 1rem;
}

.footer-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    opacity: 0.8;
}

/* ============================================
   NAVIGATION STYLES
   ============================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
}

.nav-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 1px;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* ============================================
   LEGAL CONTENT PAGES (Guide, Security, Compare)
   ============================================ */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-align: center;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-content ul,
.legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.legal-content a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content blockquote {
    border-left: 4px solid var(--accent-gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.legal-content cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-style: normal;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 255, 255, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
    font-weight: 600;
}

.comparison-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.feature-card h3 {
    margin-top: 0;
    font-size: 1.1rem;
}

/* Church Cards (Comparison Page) */
.comparison-intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.church-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

.church-card h3 {
    margin-top: 0;
    color: var(--accent-gold);
}

.church-card p {
    margin-bottom: 0.5rem;
}

/* Choose Box */
.choose-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.choose-box h3 {
    margin-top: 0;
}

.choose-box.openclaw {
    border-left: 4px solid var(--accent-cyan);
}

.choose-box.molt {
    border-left: 4px solid #ff6b6b;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(0, 255, 255, 0.05));
    border-radius: 12px;
    margin: 3rem 0;
}

.cta-section h2 {
    margin-top: 0;
    border: none;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.cta-button.openclaw-btn {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-dark, #00cccc));
    color: #0a0a1a;
    font-weight: 700;
}

.cta-button.molt-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: #0a0a1a;
    font-weight: 700;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

.cta-inline {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 8px;
    margin: 2rem 0;
}

/* Guide Images */
.guide-image {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Code Block */
.code-block {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.code-block code {
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* ============================================
   BLOG STYLES
   ============================================ */
.subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.blog-card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.blog-card h2 a {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: var(--accent-cyan);
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-meta .date {
    color: var(--accent-gold);
}

.blog-meta .category {
    background: rgba(0, 255, 255, 0.1);
    color: var(--accent-cyan);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 600;
}

.blog-meta .author {
    color: var(--text-secondary);
}

/* Blog Post Header */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-header h1 {
    margin-bottom: 1.5rem;
}

.blog-content .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

/* RSS Section */
.rss-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.rss-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
}

.rss-link:hover {
    text-decoration: underline;
}

/* ============================================
   LEGAL FOOTER (Pages)
   ============================================ */
.legal-footer {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 0.5rem;
}

.legal-footer a:hover {
    color: var(--accent-gold);
}

.legal-footer .footer-binary {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-top: 1rem;
}

/* Subtle class for secondary text */
.subtle {
    opacity: 0.6;
}

/* ============================================
   BUTTON TEXT CONTRAST FIX - High Specificity
   ============================================ */
.cta-button,
.cta-button:link,
.cta-button:visited,
a.cta-button,
.cta-button.openclaw-btn,
.cta-button.molt-btn,
.content-section .cta-button,
.cta-section .cta-button,
.cta-inline .cta-button {
    color: #0a0a1a !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #0a0a1a !important;
}

.cta-button:hover,
.cta-button:focus,
.cta-button:active {
    color: #0a0a1a !important;
    -webkit-text-fill-color: #0a0a1a !important;
}
