/* sim-ai.org - Glassmorphism AI Organization */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --deep-amethyst: #1A0A2E;
    --jewel-tint: rgba(123,63,228,0.1);
    --electric-violet: #7B3FE4;
    --sapphire-blue: #2563EB;
    --emerald-bright: #10B981;
    --hot-pink: #EC4899;
    --pure-white: #FAFAFA;
    --soft-lavender: #A78BFA;
}
body {
    background: var(--deep-amethyst);
    color: var(--pure-white);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    overflow-x: hidden;
    position: relative;
}

/* Background Decorative Elements */
.bg-deco {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.deco-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(123,63,228,0.15), transparent);
    top: -100px;
    right: -100px;
}
.deco-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37,99,235,0.1), transparent);
    bottom: 20%;
    left: -80px;
}

/* Glass Panels */
.glass-panel {
    background: var(--jewel-tint);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(167,139,250,0.15);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

/* Hero */
#hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 2rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.glass-hero {
    display: inline-block;
    padding: 2.5rem 3.5rem;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}
.hero-subtitle {
    font-size: 1rem;
    color: var(--soft-lavender);
    margin-top: 0.25rem;
}

/* Manifesto */
.manifesto {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.manifesto-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--pure-white);
}
.underline-draw {
    position: relative;
    display: inline;
}
.underline-draw::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--hot-pink);
    transition: width 0.8s ease;
}
.manifesto.visible .underline-draw::after {
    width: 100%;
}

/* Content */
#content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.glass-mission { background: rgba(123,63,228,0.12); }
.glass-governance { background: rgba(16,185,129,0.08); }
.glass-principles { background: rgba(37,99,235,0.08); }
.panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.panel-body {
    color: var(--soft-lavender);
}

/* Governance Chart */
.gov-chart {
    width: 100%;
    max-width: 400px;
    height: 200px;
    margin: 1rem auto;
    display: block;
}
.gov-node {
    opacity: 0;
    animation: govNodeIn 0.5s ease forwards;
}
.gn1 { animation-delay: 0.3s; }
.gn2 { animation-delay: 0.6s; }
.gn3 { animation-delay: 0.7s; }
.gn4 { animation-delay: 0.9s; }
@keyframes govNodeIn { to { opacity: 1; } }
.gov-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: govLineIn 0.6s ease forwards;
}
.gl1 { animation-delay: 0.4s; }
.gl2 { animation-delay: 0.5s; }
.gl3 { animation-delay: 0.7s; }
.gl4 { animation-delay: 0.8s; }
@keyframes govLineIn { to { stroke-dashoffset: 0; } }
.gov-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    font-weight: 700;
    fill: var(--pure-white);
}

/* Principles */
.principles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}
.principle {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.principle-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hot-pink);
    line-height: 1;
    min-width: 2rem;
}
.principle-text {
    color: var(--soft-lavender);
    font-size: 0.95rem;
}

/* Section animation */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
#footer {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}
.footer-text {
    font-size: 0.85rem;
    color: var(--soft-lavender);
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 600px) {
    .glass-hero { padding: 2rem; }
}
