:root {
    --bg-color: #080a10;
    --card-bg: rgba(13, 17, 28, 0.75);
    --card-bg-hover: rgba(20, 26, 42, 0.9);
    --cyan: #00f2fe;
    --cyan-glow: rgba(0, 242, 254, 0.3);
    --violet: #7928ca;
    --violet-glow: rgba(121, 40, 202, 0.3);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(0, 242, 254, 0.15);
    --border-glow: 0 0 15px rgba(0, 242, 254, 0.1);
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(121, 40, 202, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 242, 254, 0.15) 0%, transparent 40%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto; 
    padding: 2rem 1.5rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-back:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
    transform: translateX(-3px);
}

.cypherquant-art-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.15), inset 0 0 20px rgba(121, 40, 202, 0.2);
    margin-bottom: 4rem;
    aspect-ratio: 21/9;
    min-height: 250px;
}

.hero-art-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    transition: transform 0.5s ease;
}

.cypherquant-art-container:hover .hero-art-image {
    transform: scale(1.02);
}

.art-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(8, 10, 16, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--cyan);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    letter-spacing: 0.5px;
}

.report-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.meta-item {
    display: flex; flex-direction: column; gap: 0.25rem;
}

.meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

.meta-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.meta-value.cyan {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.report-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 30%, var(--cyan) 70%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.report-subtitle { 
    font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 4rem; max-width: 800px;
}

.section-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--border-glow);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.08);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    border-left: 4px solid var(--cyan);
    padding-left: 1rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.sub-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.sub-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 242, 254, 0.2);
    transform: translateY(-2px);
}

.sub-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sub-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sub-card li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sub-card li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
    color: var(--cyan);
}

.sub-card li strong { color: var(--text-primary); }

.diagram-container {
    background: #04060a;
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--cyan);
    margin: 2rem 0;
    box-shadow: inset 0 0 20px rgba(0, 242, 254, 0.05);
    white-space: pre;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(121, 40, 202, 0.2);
}

.step-badge {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(121, 40, 202, 0.2), rgba(0, 242, 254, 0.2));
    border: 1px solid var(--cyan);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--cyan);
    font-size: 1.1rem;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.step-content { display: flex; flex-direction: column; gap: 0.5rem; }
.step-content h4 { font-size: 1.1rem; font-weight: 600; color: #fff; }
.step-content p { font-size: 0.95rem; color: var(--text-secondary); }

.premium-section {
    background: linear-gradient(180deg, rgba(13, 17, 28, 0.8) 0%, rgba(8, 10, 16, 0.95) 100%);
    border: 1px solid rgba(121, 40, 202, 0.3);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(121, 40, 202, 0.15);
}

.premium-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent);
}

.premium-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
    background: linear-gradient(to right, #fff, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

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

.agent-card {
    background: rgba(8, 10, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.agent-card:hover {
    border-color: var(--violet);
    box-shadow: 0 0 20px rgba(121, 40, 202, 0.2);
    transform: translateY(-3px);
}

.agent-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.agent-role { font-size: 1.1rem; font-weight: 700; color: #fff; }
.agent-step {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: rgba(121, 40, 202, 0.2);
    color: #d8b4fe;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    border: 1px solid rgba(121, 40, 202, 0.3);
}

.agent-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.5; }
.agent-tech {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); }
.tech-value {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.tech-value::before { content: "⚙️"; font-size: 0.8rem; }

.sources-section { margin-bottom: 4rem; }
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.source-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.3s ease;
}

.source-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
    transform: translateY(-2px);
}

.source-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.source-name::after {
    content: "↗";
    font-size: 1.1rem;
    color: var(--cyan);
    transition: transform 0.3s ease;
}

.source-card:hover .source-name::after { transform: translate(2px, -2px); }
.source-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; }

footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-logo { font-weight: 700; color: #fff; letter-spacing: 1px; }
.footer-logo span { color: var(--cyan); }

@media (max-width: 768px) {
    .report-title { font-size: 2.2rem; }
    .section-card { padding: 1.5rem; }
    .premium-section { padding: 1.5rem; }
    header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .btn-back { width: 100%; justify-content: center; }
}
