:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-tertiary: #1a1a1a;
    --text-primary: #e8e8e8;
    --text-secondary: #b8b8b8;
    --text-muted: #808080;
    --accent-gold: #d4af37;
    --accent-gold-dim: #b8963d;
    --accent-warm: #c9a961;
    --border-subtle: rgba(212, 175, 55, 0.15);
    --shadow-glow: rgba(212, 175, 55, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Text', 'Georgia', serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 19px;
    overflow-x: hidden;
}

/* Decorative background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Warning Banner */
.warning-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-bottom: 1px solid var(--accent-gold-dim);
    padding: 12px 20px;
    text-align: center;
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--accent-gold);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

/* Navigation */
.main-nav {
    background: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 37px;
    z-index: 99;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--accent-warm);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    text-decoration: none;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    animation: fadeInDown 1.2s ease-out;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto 40px;
    display: block;
    animation: logoFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.3));
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tagline {
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Sections */
section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-subtle);
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both;
}

section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }
section:nth-child(5) { animation-delay: 0.5s; }
section:nth-child(6) { animation-delay: 0.6s; }

section:last-child {
    border-bottom: none;
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    margin: 50px 0 25px 0;
    color: var(--accent-warm);
}

h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 500;
    margin: 35px 0 20px 0;
    color: var(--accent-gold-dim);
}

p {
    margin-bottom: 25px;
    color: var(--text-primary);
}

.lead {
    font-size: 24px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.6;
}

em {
    color: var(--accent-warm);
    font-style: italic;
}

strong {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Pillar Cards */
.pillars {
    display: grid;
    gap: 40px;
    margin: 50px 0;
}

.pillar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 45px;
    border-radius: 2px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pillar:hover::before {
    opacity: 1;
}

.pillar:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 32px var(--shadow-glow);
    transform: translateX(5px);
}

.pillar-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 300;
    color: rgba(212, 175, 55, 0.15);
    position: absolute;
    top: 20px;
    right: 30px;
}

/* Principles List */
.principle {
    margin: 40px 0;
    padding-left: 30px;
    border-left: 2px solid var(--border-subtle);
    transition: border-color 0.3s ease;
}

.principle:hover {
    border-left-color: var(--accent-gold);
}

/* Blockquote styling for key concepts */
.key-concept {
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-gold);
    padding: 30px 40px;
    margin: 40px 0;
    font-style: italic;
    font-size: 21px;
    color: var(--text-secondary);
}

/* Lists */
ul, ol {
    margin: 25px 0;
    padding-left: 30px;
}

li {
    margin: 15px 0;
    color: var(--text-secondary);
}

li::marker {
    color: var(--accent-gold-dim);
}

/* Warning boxes */
.warning-box {
    background: rgba(212, 175, 55, 0.05);
    border: 2px solid var(--accent-gold-dim);
    border-radius: 4px;
    padding: 30px;
    margin: 40px 0;
}

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

/* Violation examples */
.violation-example {
    background: rgba(180, 50, 50, 0.1);
    border-left: 4px solid #b43232;
    padding: 25px 30px;
    margin: 30px 0;
}

.correct-example {
    background: rgba(50, 180, 100, 0.1);
    border-left: 4px solid #32b464;
    padding: 25px 30px;
    margin: 30px 0;
}

/* Footer/Contact */
footer {
    padding: 80px 0 60px;
    text-align: center;
    font-family: 'Archivo', sans-serif;
}

footer a {
    color: var(--accent-gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

footer a:hover {
    border-bottom-color: var(--accent-gold);
}

.divider {
    width: 100px;
    height: 1px;
    background: var(--accent-gold);
    margin: 60px auto;
    opacity: 0.5;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
    
    .nav-container {
        padding: 0 25px;
        flex-direction: column;
        height: auto;
        padding: 15px 25px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 15px;
    }
    
    .logo {
        max-width: 280px;
    }
    
    h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 36px;
    }
    
    h3 {
        font-size: 28px;
    }
    
    body {
        font-size: 17px;
    }
    
    .lead {
        font-size: 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    header {
        padding: 60px 0 40px;
    }
    
    .pillar {
        padding: 30px;
    }
}