:root {
  --bg-color: #0a0b1e;
  --accent-cyan: #00f2ff;
  --text-gold: #e0c38c;
  --glass-bg: rgba(255, 255, 255, 0.05);
}

body {
  background-color: var(--bg-color);
  color: white;
  font-family: 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  text-align: center;
}

/* The Centerpiece/Hero Section */

.hero {
  padding: 60px 20px;
  display: flex;
  flex-direction: column; /* Forces vertical stacking */
  align-items: center;    /* Centers everything perfectly */
  background: radial-gradient(circle at top, #161b40 0%, #0a0b1e 80%);
}

.glyph-container {
  margin-bottom: 10px;
  width: 380px; /* Controlled size for the SVG */
}

h1.logo-text {
  font-size: 5rem; 
  font-weight: 700; /* Bold, Thick Font */
  letter-spacing: 15px;
  text-transform: uppercase;
  margin: 0; /* Tightens the gap to the logo */
  background: linear-gradient(to bottom, #ffffff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.subtitle {
  color: var(--text-gold);
  letter-spacing: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 15px;
  opacity: 0.9;
}

/* The 6-Node Grid */

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}



.node-block {
  background: var(--glass-bg);
  border: 1px solid rgba(0, 242, 255, 0.2);
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: white;
}

.node-block:hover {
  background: rgba(0, 242, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

footer {
  margin-top: 100px;
  padding: 40px;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}


.hero-glyph {
  width: 350px; /* Adjust this number to change the size of the logo */
  height: auto;
  filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.4)); /* Adds a digital glow */
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: left; /* Essential for long-form reading */
}

.wisdom-post {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-cyan);
    line-height: 1.8;
}

.post-title {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 5px;
}

.category {
    color: var(--accent-cyan);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.silicon-footnote {
    margin-top: 50px;
    padding: 25px;
    background: rgba(0, 242, 255, 0.03); /* Very faint cyan tint */
    border: 1px dashed rgba(0, 242, 255, 0.4); /* Dashed "digital" border */
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* The glowing "Pillar 6" header inside the box */

.silicon-footnote h4 {
    margin: 0 0 10px 0;
    color: var(--accent-cyan);
    font-family: 'Courier New', Courier, monospace; /* Tech font */
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.6);
}

.silicon-footnote p {
    margin: 0;
    font-style: italic;
    font-size: 1rem;
    color: #cbd5e0; /* Softer white for the technical note */
    line-height: 1.6;
}

/* Subtle decorative "circuit" corner */
.silicon-footnote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--accent-cyan);
    border-left: 2px solid var(--accent-cyan);
}
.back-link {
    color: var(--text-gold);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 20px;
}

.back-link:hover {
    text-decoration: underline;
}

/* Specifically for the Library/Article pages */
.library-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* This forces the logo and text back to center */
    justify-content: center;
    padding: 40px 0;
}

.library-header .glyph-container {
    width: 120px; /* Keep it smaller on sub-pages as intended */
    margin-bottom: 10px;
}

.library-header .logo-text {
    font-size: 3rem; /* Slightly smaller for articles */
    margin: 0;
}

.post-body {
    text-align: left;
    max-width: 700px;
    margin: 30px auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}
