/* Future of Content article specific styles */

/* Article layout */
.article-content {
    max-width: 950px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

/* Make sure header is not sticky */
header {
    position: static !important;
}

/* Hero graphic */
.hero-graphic {
    margin: 2rem 0 3rem;
    border-radius: 8px;
    overflow: hidden;
}

/* SVG animations */
.ai-side {
    opacity: 0;
    animation: fadeIn 0.8s 0.2s forwards ease-in-out;
}

.human-side {
    opacity: 0;
    animation: fadeIn 0.8s 0.6s forwards ease-in-out;
}

.integration-element {
    opacity: 0;
    animation: fadeIn 0.8s 1s forwards ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ai-pattern circle {
    animation: pulse 3s infinite alternate ease-in-out;
    transform-origin: center;
    animation-delay: var(--delay, 0s);
}

.ai-pattern circle:nth-child(5n+1) { --delay: 0.1s; }
.ai-pattern circle:nth-child(5n+2) { --delay: 0.2s; }
.ai-pattern circle:nth-child(5n+3) { --delay: 0.3s; }
.ai-pattern circle:nth-child(5n+4) { --delay: 0.4s; }
.ai-pattern circle:nth-child(5n+5) { --delay: 0.5s; }

.human-pattern circle {
    animation: float 4s infinite alternate ease-in-out;
    transform-origin: center;
    animation-delay: var(--delay, 0s);
}

.human-pattern circle:nth-child(7n+1) { --delay: 0.1s; }
.human-pattern circle:nth-child(7n+2) { --delay: 0.3s; }
.human-pattern circle:nth-child(7n+3) { --delay: 0.5s; }
.human-pattern circle:nth-child(7n+4) { --delay: 0.7s; }
.human-pattern circle:nth-child(7n+5) { --delay: 0.9s; }
.human-pattern circle:nth-child(7n+6) { --delay: 1.1s; }
.human-pattern circle:nth-child(7n+7) { --delay: 1.3s; }

@keyframes pulse {
    0% { r: 3; fill-opacity: 0.8; }
    100% { r: 4; fill-opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.connection-line {
    stroke-dasharray: 8;
    animation: dash 20s infinite linear;
}

.ai-connection {
    animation-direction: normal;
}

.human-connection {
    animation-direction: reverse;
}

@keyframes dash {
    to { stroke-dashoffset: 200; }
}

.pulse-circle {
    animation: pulsate 3s infinite ease-in-out;
}

@keyframes pulsate {
    0% { r: 15; stroke-opacity: 0.8; }
    50% { r: 18; stroke-opacity: 1; }
    100% { r: 15; stroke-opacity: 0.8; }
}

/* Introduction styling */
.introduction {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: #d0d0d0;
    border-left: 3px solid #4776E6;
    padding-left: 1.5rem;
}

.introduction p {
    margin-bottom: 1.2rem;
}

/* Section styling */
.article-section {
    margin-bottom: 4rem;
}

.article-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accent-emoji {
    font-size: 1.8rem;
    color: #d0d0d0;
}

/* Timeline styling */
.timeline {
    margin: 2rem 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 120px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #4776E6, #8E54E9);
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.year {
    width: 100px;
    padding-right: 1.5rem;
    text-align: right;
    font-weight: bold;
    color: #8E54E9;
    font-size: 1.1rem;
    padding-top: 0.2rem;
}

.milestone {
    position: relative;
    padding-left: 2.5rem;
    flex-grow: 1;
}

.milestone::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #8E54E9;
    z-index: 1;
}

.milestone h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.milestone p {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Comparison chart */
.comparison-chart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.chart-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.strength-list li, .limitation-list li {
    display: flex;
    margin-bottom: 1.5rem;
    background-color: #151515;
    padding: 1.2rem;
    border-radius: 8px;
    align-items: flex-start;
}

.strength-list li {
    border-left: 3px solid #4776E6;
}

.limitation-list li {
    border-left: 3px solid #FF416C;
}

.icon {
    font-size: 1.8rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.description strong {
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.description p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.insight-quote {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #151515;
    border-left: 3px solid #8E54E9;
    font-size: 1.2rem;
    font-style: italic;
    color: #ccc;
}

/* Workflow diagram */
.workflow-diagram {
    margin: 2rem 0;
}

.workflow-step {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, #4776E6, #8E54E9);
    color: #fff;
    font-weight: bold;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
    padding: 0.8rem 1.2rem;
    background-color: #151515;
    border-radius: 8px;
    border-left: 3px solid #4776E6;
}

.step-content h3 {
    color: #fff;
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.actor {
    font-size: 0.85rem;
    color: #aaa;
    font-weight: normal;
}

.step-content p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Ethics grid */
.ethics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.ethics-card {
    background-color: #151515;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid #8E54E9;
}

.ethics-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.ethics-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
}

.best-practice {
    margin-top: 1.2rem;
    background-color: rgba(71, 118, 230, 0.1);
    padding: 1rem;
    border-radius: 5px;
}

.best-practice h4 {
    color: #4776E6;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.best-practice p {
    margin-bottom: 0;
}

/* Skills container */
.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.skill-card {
    background-color: #151515;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid #8E54E9;
}

.skill-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.skill-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
}

.skill-example, .practical-tip {
    margin-top: 1.2rem;
    background-color: rgba(71, 118, 230, 0.1);
    padding: 1rem;
    border-radius: 5px;
}

.practical-tip h4 {
    color: #4776E6;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.skill-example p, .practical-tip p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.skill-example p:last-child, .practical-tip p:last-child {
    margin-bottom: 0;
}

/* Industry impact */
.industry-impact {
    margin: 2rem 0;
}

.industry {
    background-color: #151515;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 3px solid #4776E6;
}

.industry h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.adoption-level {
    height: 30px;
    background-color: #222;
    border-radius: 15px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #4776E6, #8E54E9);
    border-radius: 15px;
    width: var(--level, 0%);
    transition: width 1.5s ease-in-out;
}

.industry:hover .progress-bar {
    --level: attr(data-level);
    animation: fillBar 1.5s forwards ease-in-out;
}

.industry:nth-child(1) .progress-bar { animation-name: fill65; }
.industry:nth-child(2) .progress-bar { animation-name: fill80; }
.industry:nth-child(3) .progress-bar { animation-name: fill40; }
.industry:nth-child(4) .progress-bar { animation-name: fill75; }

@keyframes fill65 { to { width: 65%; } }
@keyframes fill80 { to { width: 80%; } }
@keyframes fill40 { to { width: 40%; } }
@keyframes fill75 { to { width: 75%; } }

.label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 1;
}

.industry p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Conclusion */
.conclusion {
    border-top: 1px solid #333;
    padding-top: 2rem;
    margin-top: 4rem;
}

.article-cta {
    margin: 3rem 0 2rem;
    padding: 2rem;
    background-color: #151515;
    border-radius: 8px;
    text-align: center;
    border-left: 3px solid #4776E6;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.article-cta:hover {
    transform: translateY(-5px);
    background-color: #191919;
}

.article-cta p {
    font-size: 1.2rem;
    color: #fff;
}

/* Article navigation */
.article-nav {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #222;
    flex-wrap: wrap;
    gap: 1rem;
}

.back-to-articles, .prev-article, .next-article {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    background-color: #151515;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: none;
}

.back-to-articles:hover, .prev-article:hover, .next-article:hover {
    background-color: #222;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .comparison-chart, .ethics-grid, .skills-container {
        grid-template-columns: 1fr;
    }
    
    .article-nav {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 80px;
    }
    
    .year {
        width: 70px;
    }
} 