/* Article Page Styles */
:root {
    --primary-color: #e84e77;
    --secondary-color: #cf1149;
    --text-color: #ffffff;
    --bg-color: #080808;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.article-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.logo-image {
    height: 40px;
}

/* Hero Section */
.article-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.animated-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(232, 78, 119, 0.1) 0%, 
        rgba(207, 17, 73, 0.1) 50%, 
        rgba(8, 8, 8, 1) 100%);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    z-index: 1;
}

.article-category {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-color), rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.article-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    font-size: 1rem;
    opacity: 0.7;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.7;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
    margin: 10px auto 0;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: var(--text-color);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { top: 8px; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Article Content */
.article-content {
    padding: 5rem 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.lead-paragraph {
    font-size: 1.4rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 3rem;
}

/* Highlight Box */
.highlight-box {
    background: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
}

.highlight-box li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.highlight-box li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.process-step {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.step-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Case Study Preview */
.case-study-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.case-study-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
}

.case-study-image {
    height: 200px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
}

.case-study-content {
    padding: 2rem;
}

.case-study-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.case-study-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.case-study-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(232, 78, 119, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.tech-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(232, 78, 119, 0.1);
}

.tech-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tech-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tech-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    margin: 5rem 0;
}

.cta-content {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(232, 78, 119, 0.1), rgba(207, 17, 73, 0.1));
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
.article-footer {
    margin-top: 5rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content .back-link {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-content .back-link:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.footer-info p {
    margin: 0;
    opacity: 0.7;
}

.footer-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--primary-color);
}

/* Blockquote Styles */
blockquote.quote {
    position: relative;
    margin: 2rem 0;
    padding: 2rem 2rem 2rem 3rem;
    background: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.8;
}

blockquote.quote::before {
    content: '"';
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-style: normal;
    text-align: right;
    opacity: 0.8;
}

/* Superscript for citations */
sup {
    font-size: 0.8em;
    vertical-align: super;
    color: var(--primary-color);
}

/* Interactive Demo */
.interactive-demo {
    margin: 3rem 0;
    text-align: center;
}

.demo-label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.demo-placeholder {
    height: auto;
    width: auto;
    padding: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sources Section */
.sources-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.sources-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.sources-list {
    list-style: none;
    padding: 0;
}

.sources-list li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

.sources-list li::before {
    content: attr(value) '.';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Author Section */
.author-section {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.author-info {
    font-size: 1.1rem;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-title {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .back-link {
        font-size: 0.9rem;
        padding: 0.5rem;
        align-self: flex-start;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .content-wrapper {
        padding: 0 1.5rem;
    }
    
    .process-grid,
    .case-study-preview,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        padding: 2rem;
    }
    
    blockquote.quote {
        padding: 1.5rem 1.5rem 1.5rem 2.5rem;
        font-size: 1.1rem;
    }
    
    blockquote.quote::before {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .footer-info p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Mobile specific styles */
@media (max-width: 480px) {
    .header-content {
        padding: 0.8rem 1rem;
    }
    
    .back-link {
        font-size: 0.8rem;
        padding: 0.3rem;
        gap: 0.3rem;
    }
    
    .logo-image {
        height: 25px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .article-category {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .article-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .content-section {
        margin-bottom: 3rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .content-section p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .lead-paragraph {
        font-size: 1.2rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }
    
    .highlight-box {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .interactive-demo {
        margin: 2rem 0;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-info p {
        font-size: 0.8rem;
    }
} 