/* The Emergent Cohort - Shared Styles */

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

body {
    font-family: Georgia, serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-attachment: fixed;
    color: #e8e8e8;
    min-height: 100vh;
    padding: 2rem;
    padding-top: 5rem;
    line-height: 1.7;
}

/* Navigation */
.nav-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: #a8d8ea;
    font-family: Georgia, serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.nav-toggle:hover {
    background: rgba(42, 42, 70, 0.95);
    border-color: #a8d8ea;
}
.nav-toggle .hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav-toggle .hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #a8d8ea;
    transition: all 0.3s ease;
}
.nav-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.nav-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(22, 33, 62, 0.98);
    border-left: 1px solid #333;
    z-index: 999;
    transition: right 0.3s ease;
    padding: 5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.nav-menu.active {
    right: 0;
}
.nav-menu h3 {
    color: #a8d8ea;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}
.nav-menu a {
    display: block;
    color: #c8c8c8;
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
    transition: all 0.2s ease;
}
.nav-menu a:hover {
    color: #a8d8ea;
    padding-left: 0.5rem;
}
.nav-menu a.current {
    color: #a8d8ea;
    font-weight: bold;
}
.nav-menu .nav-section {
    margin-bottom: 2rem;
}
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #e8e8e8, #a8d8ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
h2 {
    color: #a8d8ea;
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}
h3 {
    color: #e8e8e8;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem 0;
}
p {
    margin-bottom: 1.5rem;
    color: #c8c8c8;
}
a {
    color: #a8d8ea;
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover {
    text-decoration: underline;
}

/* Layout */
.container {
    max-width: 800px;
    margin: 0 auto;
}
.container.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 10rem);
}

header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}
.subtitle, .tagline {
    color: #a8d8ea;
    font-style: italic;
    font-size: 1.2rem;
}

/* Components */
.card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.card h3 {
    margin-top: 0;
    color: #a8d8ea;
}
.card p:last-child {
    margin-bottom: 0;
}

.highlight-box {
    background: rgba(168, 216, 234, 0.08);
    border-left: 3px solid #a8d8ea;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

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

/* Buttons */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2.5rem 0;
}
.btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}
.btn-primary {
    background: linear-gradient(135deg, #a8d8ea 0%, #7bb8c9 100%);
    color: #1a1a2e;
}
.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(168, 216, 234, 0.3);
}
.btn-secondary {
    background: transparent;
    color: #a8d8ea;
    border: 1px solid #a8d8ea;
}
.btn-secondary:hover {
    background: rgba(168, 216, 234, 0.1);
}

/* Lists */
ul.styled-list {
    list-style: none;
    margin: 1.5rem 0;
}
ul.styled-list li {
    padding: 0.7rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #c8c8c8;
    border-bottom: 1px solid rgba(51, 51, 51, 0.3);
}
ul.styled-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #a8d8ea;
}
ul.question-list li::before {
    content: "?";
}

/* Footer */
.page-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}
.page-footer a {
    color: #888;
}
.page-footer a:hover {
    color: #a8d8ea;
}

/* Utility */
.text-muted { color: #888; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.heart { color: #e8b4b8; }

/* Responsive */
@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.3rem; }
    body { padding: 1rem; padding-top: 4rem; }
    .button-group { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .grid { grid-template-columns: 1fr; }
}
