:root {
    --bg-dark: #070709;
    --bg-card: rgba(18, 18, 24, 0.72);
    --bg-card-hover: rgba(28, 28, 38, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.2);
    
    --gold: #FFB800;
    --gold-glow: rgba(255, 184, 0, 0.25);
    --orange: #FF5C00;
    --orange-glow: rgba(255, 92, 0, 0.25);
    --lime: #39FF14;
    --lime-glow: rgba(57, 255, 20, 0.25);
    --lime-dark: #1f9408;

    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

.view {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

/* Cyber Background Grid & Glow Orbs */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.cyber-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    animation: float 25s infinite alternate ease-in-out;
}

.orb-1 { width: 650px; height: 650px; background: var(--gold); top: -15%; left: -10%; }
.orb-2 { width: 550px; height: 550px; background: var(--orange); bottom: -10%; right: -5%; animation-delay: -7s; }
.orb-3 { width: 500px; height: 500px; background: var(--lime); top: 35%; left: 35%; opacity: 0.09; animation-delay: -14s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(120px, 80px) scale(1.1); }
}

/* Glassmorphism Styles */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 6%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 7, 9, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-shield {
    font-size: 1.4rem;
}

.badge-version {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 184, 0, 0.15);
    color: var(--gold);
    border: 1px solid rgba(255, 184, 0, 0.3);
    border-radius: 20px;
    font-family: var(--font-mono);
    vertical-align: middle;
}

.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;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.lang-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.lang-toggle button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 9px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.lang-toggle button.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Sections Global */
.section {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    box-sizing: border-box;
}

mjx-container {
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }

.highlight-gold { color: var(--gold); }
.highlight-orange { color: var(--orange); }
.highlight-lime { color: var(--lime); }

.gradient-text-lime {
    background: linear-gradient(135deg, var(--lime) 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000;
}

.bg-gold { background: var(--gold); }
.bg-orange { background: var(--orange); color: #fff; }
.bg-lime { background: var(--lime); }
.bg-lime-dark { background: rgba(57, 255, 20, 0.15); color: var(--lime); border: 1px solid var(--lime); }
.bg-black { background: rgba(0, 0, 0, 0.6); color: var(--text-secondary); border: 1px solid var(--glass-border); }

/* Hero Section */
.hero {
    text-align: center;
    padding-top: 4.5rem;
    padding-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 184, 0, 0.08);
    border: 1px solid rgba(255, 184, 0, 0.25);
    border-radius: 30px;
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 10px var(--lime);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 840px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

.hero-image-wrapper {
    padding: 0.8rem;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: 18px;
    display: block;
}

.hero-image-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem 0.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Executive Summary Table */
.summary-card {
    padding: 2.8rem;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.summary-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
}

.summary-sub {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.matrix-table-wrapper {
    overflow-x: auto;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.96rem;
    text-align: left;
}

.matrix-table th {
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--glass-border);
}

.matrix-table td {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.highlight-row-cyber {
    background: rgba(255, 184, 0, 0.02);
}

.highlight-row-cyber:hover {
    background: rgba(255, 255, 255, 0.04);
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.tag-orange { background: rgba(255, 92, 0, 0.15); color: var(--orange); border: 1px solid rgba(255, 92, 0, 0.3); }
.tag-gold { background: rgba(255, 184, 0, 0.15); color: var(--gold); border: 1px solid rgba(255, 184, 0, 0.3); }
.tag-lime { background: rgba(57, 255, 20, 0.15); color: var(--lime); border: 1px solid rgba(57, 255, 20, 0.3); }

.table-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.table-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* Models Grid Section */
.section-title-wrap {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.group-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.8rem;
}

.group-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.model-card {
    padding: 2.2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.model-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
}

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

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

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

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.card-icon {
    font-size: 1.4rem;
}

.model-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.card-tagline {
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 1.4rem;
    font-weight: 500;
}

.card-meta {
    display: flex;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 1.2rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.6rem;
}

.card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1rem;
}

.read-more-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: color 0.2s;
}

.model-card:hover .read-more-link {
    color: var(--lime);
}

/* ================= MONOGRAPH DETAIL PAGES ================= */
.detail-container {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.7rem 1.4rem;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.25s ease;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-4px);
}

.monograph-header {
    padding: 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.border-glow-orange {
    border-color: rgba(255, 92, 0, 0.4);
    box-shadow: 0 0 40px rgba(255, 92, 0, 0.15);
}

.border-glow-gold {
    border-color: rgba(255, 184, 0, 0.4);
    box-shadow: 0 0 40px rgba(255, 184, 0, 0.15);
}

.border-glow-lime {
    border-color: rgba(57, 255, 20, 0.4);
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.15);
}

.header-badges {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.monograph-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 0.8rem;
    line-height: 1.15;
}

.sub-h1 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 900px;
    line-height: 1.7;
}

.detail-infographic {
    padding: 1.2rem;
    margin-bottom: 2.5rem;
}

.img-responsive {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.img-caption {
    padding: 1.2rem 0.5rem 0.5rem 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.img-caption strong {
    color: var(--text-primary);
}

.detail-section {
    padding: 2.8rem;
    margin-bottom: 2rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.heading-num {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--lime);
    background: rgba(57, 255, 20, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(57, 255, 20, 0.25);
}

.content-body {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.content-body p {
    margin-bottom: 1.2rem;
}

.content-body ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.content-body ul li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.content-body ul li::before {
    content: "▶";
    position: absolute;
    left: 0;
    font-size: 0.75rem;
    color: var(--gold);
    top: 0.35rem;
}

.callout {
    padding: 1.8rem;
    border-radius: 14px;
    margin: 2rem 0;
    background: rgba(0, 0, 0, 0.4);
    border-left: 5px solid;
}

.callout-orange { border-color: var(--orange); }
.callout-gold { border-color: var(--gold); }
.callout-lime { border-color: var(--lime); }

.callout h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.math-display {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.8rem 1rem;
    margin: 2rem 0;
    overflow-x: auto;
    font-size: 1.25rem;
    text-align: center;
}

.sub-heading {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
}

.symbol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.symbol-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.4rem;
    border-radius: 12px;
}

.symbol-name {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.symbol-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.math-note {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 1.2rem;
    border: 1px dashed var(--glass-border);
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.params-box {
    background: rgba(0, 0, 0, 0.35);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.params-box ul li::before {
    content: "•";
    color: var(--lime);
    font-size: 1.2rem;
    top: 0;
}

.calculation-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.8rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.step-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.calc-box {
    background: #000;
    border-radius: 10px;
    padding: 1.2rem;
    margin: 1.2rem 0;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-verdict {
    font-weight: 700;
    font-size: 0.98rem;
    margin-top: 0.8rem;
}

.text-orange { color: var(--orange); }
.text-lime { color: var(--lime); }
.text-gold { color: var(--gold); }

/* Rules Grid */
.rules-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.8rem;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 850px) {
    .rules-grid {
        grid-template-columns: 1fr;
    }
}

.rule-box {
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.rule-good {
    background: rgba(57, 255, 20, 0.03);
    border-color: rgba(57, 255, 20, 0.3);
}

.rule-good h3 {
    color: var(--lime);
    font-family: var(--font-heading);
    margin-bottom: 1.2rem;
}

.rule-bad {
    background: rgba(255, 92, 0, 0.03);
    border-color: rgba(255, 92, 0, 0.3);
}

.rule-bad h3 {
    color: var(--orange);
    font-family: var(--font-heading);
    margin-bottom: 1.2rem;
}

/* Playbook Steps */
.playbook-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.playbook-step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.8rem;
    position: relative;
}

.step-badge {
    display: inline-block;
    background: var(--lime);
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.playbook-step h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.code-block {
    background: #000;
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
}

.code-block pre code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #a7f3d0;
}

/* Cases List */
.cases-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.case-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.6rem;
}

.case-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--gold);
    color: #000;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.case-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.footer-nav {
    display: flex;
    justify-content: flex-end;
    margin-top: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--lime) 0%, #15803d 100%);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(57, 255, 20, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(57, 255, 20, 0.5);
}

/* Global Footer */
.glass-footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(5, 5, 7, 0.95);
    padding: 4rem 5% 2rem 5%;
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
}

.footer-text {
    color: var(--text-secondary);
    max-width: 650px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-bottom {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    padding-top: 2rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title { font-size: 2.6rem; }
    .monograph-header h1 { font-size: 2.2rem; }
    .calculation-steps { grid-template-columns: 1fr; }
    .rules-grid { grid-template-columns: 1fr; }
    .models-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
