@import url('neural.css');

/* Content Specific Overrides */
main.smooth-scroll {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 100px;
}

/* Sidebar Navigation */
.strategy-nav {
    position: sticky;
    top: 120px;
    width: 250px;
    height: fit-content;
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: none;
    /* Hidden on mobile */
}

.nav-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: 0.3s;
    opacity: 0.6;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neural-synapse);
    opacity: 1;
    padding-left: 10px;
    border-left: 2px solid var(--neural-synapse);
}

/* Article Content */
.strategy-content {
    flex: 1;
    padding: 0 4rem 4rem;
}

.phase-block {
    margin-bottom: 6rem;
    position: relative;
}

.phase-header {
    font-size: 4rem;
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 2rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    position: relative;
}

.phase-header::before {
    content: attr(data-phase);
    position: absolute;
    top: -20px;
    left: 0;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--neural-accent);
    letter-spacing: 2px;
    -webkit-text-stroke: 0;
}

.obj-card {
    background: rgba(10, 10, 15, 0.4);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.obj-card:hover {
    border-color: var(--neural-synapse);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.05);
}

.obj-title {
    font-family: var(--font-mono);
    color: var(--neural-synapse);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

/* New Link Styles for Articles */
.obj-title a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.obj-title a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--neural-synapse);
    border-bottom-color: var(--neural-synapse);
}

.obj-title .status {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

p {
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

li::before {
    content: "◈";
    color: var(--neural-accent);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 2px;
}

strong {
    color: #fff;
    font-weight: 600;
}

/* Code / Data Blocks */
.data-terminal {
    background: #000;
    border: 1px solid var(--neural-accent);
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--neural-synapse);
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.data-terminal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(112, 0, 255, 0.5);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

/* Grid Layouts for Platforms */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Responsive */
@media (min-width: 1024px) {
    .strategy-nav {
        display: block;
    }
}

@media (max-width: 768px) {
    .strategy-content {
        padding: 0 1.5rem 4rem;
    }

    .phase-header {
        font-size: 2.5rem;
    }
}