:root {
    --obsidian: #0b0c10;
    --gold: #d4af37;
    --gold-bright: #f1c40f;
    --gold-dim: #9a7b2c;
    --silver: #c5c6c7;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gold-glow: rgba(212, 175, 55, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--obsidian);
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
}

/* Typography */
h1, h2, h3 {
    font-family: 'IM Fell English', serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    line-height: 1.2;
}

/* Navigation */
nav {
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 12, 16, 0.9);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--gold);
    letter-spacing: 3px;
    text-decoration: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
}

.hero-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 0 60px var(--gold-glow);
    border: 1px solid var(--gold-dim);
    animation: sovereignFloat 8s ease-in-out infinite;
}

@keyframes sovereignFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 20px;
    text-shadow: 0 0 30px var(--gold-glow);
}

.hero p {
    font-size: 1.2rem;
    color: var(--silver);
    max-width: 800px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    padding: 18px 45px;
    background: var(--gold);
    color: var(--obsidian);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px; /* More institutional square-ish corners */
    transition: var(--transition);
    border: 1px solid var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
}

.btn:hover {
    background: transparent;
    color: var(--gold);
    box-shadow: 0 0 30px var(--gold-glow);
    transform: translateY(-5px);
}

/* The Hélice Soberana (Pillars) */
.pillars-section {
    padding: 100px 20px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 60px auto;
}

.card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.pillar-icon {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--gold-dim);
}

.card h3 {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.card p {
    color: var(--silver);
    font-size: 0.95rem;
}

/* Contact/Bunker Form */
.bunker-form {
    background: var(--glass);
    max-width: 600px;
    margin: 100px auto;
    padding: 60px;
    border-radius: 30px;
    border: 1px solid var(--gold-dim);
    text-align: center;
}

.bunker-form h2 {
    margin-bottom: 30px;
}

.bunker-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.bunker-form input:focus {
    outline: none;
    border-color: var(--gold);
}

/* Footer */
footer {
    padding: 100px 20px 40px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    font-family: 'IM Fell English';
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.copyright {
    color: #444;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Manifesto & Filter Styles */
.manifesto-act {
    position: relative;
    overflow: hidden;
    animation: fadeInSlide 1s ease-out forwards;
}

@keyframes fadeInSlide {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}

.filter-step {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.filter-option {
    display: block;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--silver);
    margin-bottom: 5px;
}

.filter-option:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-dim);
    color: var(--white);
}

.filter-option input {
    margin-right: 15px;
    accent-color: var(--gold);
}

#filter-result {
    border-radius: 12px;
    text-align: center;
    animation: resultReveal 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes resultReveal {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    nav { padding: 20px; }
    .hero h1 { font-size: 2.2rem; }
    .grid { grid-template-columns: 1fr; }
    .manifesto-act { padding: 20px; }
    .bunker-form { padding: 30px; }
}
