
/* =========================================
   MYTHBAKE AGENT DETAIL PAGES
   Shared styling for all individual agents
   ========================================= */

.agent-detail-page {
    width: min(1080px, 92%);
    margin: 0 auto;
    padding: 44px 0 76px;
    color: #d6dce3;
}

.agent-detail-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px max(4%, calc((100% - 1080px) / 2));
    border-bottom: 1px solid rgba(214, 220, 227, 0.12);
    background: #0b0e12;
}

.agent-detail-brand {
    color: #d6dce3;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
}

.agent-detail-brand span {
    color: #65b8ff;
}

.agent-detail-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.agent-detail-links a {
    color: #b9c3cf;
    font-size: 0.9rem;
    text-decoration: none;
}

.agent-detail-links a:hover {
    color: #65b8ff;
}

.agent-detail-hero {
    padding: clamp(26px, 5vw, 54px);
    border: 1px solid rgba(214, 220, 227, 0.15);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at top right, rgba(101, 184, 255, 0.12), transparent 48%),
        linear-gradient(145deg, #151b23, #0d1117);
}

.agent-detail-eyebrow {
    color: #65b8ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.agent-detail-hero h1 {
    max-width: 780px;
    margin: 16px 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
}

.agent-detail-hero p {
    max-width: 760px;
    color: #aeb8c5;
    line-height: 1.85;
}

.agent-detail-status {
    display: inline-block;
    margin-top: 8px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 212, 138, 0.3);
    border-radius: 20px;
    color: #ffd48a;
    background: rgba(255, 212, 138, 0.06);
    font-size: 0.78rem;
}

.agent-detail-status.planned {
    color: #c6b8ff;
    border-color: rgba(198, 184, 255, 0.35);
    background: rgba(198, 184, 255, 0.06);
}

.agent-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.agent-detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid #65b8ff;
    border-radius: 9px;
    color: #07111c;
    background: #65b8ff;
    font-weight: 700;
    text-decoration: none;
}

.agent-detail-button:hover {
    opacity: 0.88;
}

.agent-detail-button.secondary {
    color: #d6dce3;
    background: transparent;
    border-color: rgba(214, 220, 227, 0.25);
}

.agent-detail-section {
    margin-top: 36px;
    padding: 26px;
    border: 1px solid rgba(214, 220, 227, 0.13);
    border-radius: 15px;
    background: #11161d;
}

.agent-detail-section h2 {
    margin-top: 0;
    font-size: 1.45rem;
}

.agent-detail-section p,
.agent-detail-section li {
    color: #aeb8c5;
    line-height: 1.85;
}

.agent-detail-section ul,
.agent-detail-section ol {
    padding-left: 22px;
}

.agent-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.agent-detail-item {
    padding: 19px;
    border: 1px solid rgba(214, 220, 227, 0.12);
    border-radius: 12px;
    background: #0d1218;
}

.agent-detail-item h3 {
    margin: 0 0 9px;
    font-size: 1.05rem;
}

.agent-detail-item p {
    margin-bottom: 0;
    font-size: 0.94rem;
}

.agent-detail-notice {
    padding: 18px 20px;
    border-left: 3px solid #65b8ff;
    border-radius: 0 9px 9px 0;
    color: #b8c3d0;
    background: rgba(101, 184, 255, 0.06);
    line-height: 1.8;
}

.agent-detail-notice strong {
    color: #d6dce3;
}

.agent-detail-footer {
    padding: 24px 4%;
    border-top: 1px solid rgba(214, 220, 227, 0.12);
    color: #9da9b8;
    text-align: center;
    font-size: 0.9rem;
}

.agent-detail-footer a {
    color: #65b8ff;
    text-decoration: none;
}

@media (max-width: 650px) {
    .agent-detail-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .agent-detail-grid {
        grid-template-columns: 1fr;
    }

    .agent-detail-page {
        width: min(100% - 30px, 1080px);
        padding-top: 25px;
    }

    .agent-detail-section {
        padding: 21px;
    }
}
