/* --- obsidian.css (Specific styles for the Obsidian app article) --- */

.terrain-section {
    background: linear-gradient(to bottom, #000074, #000000);
}


/* --- HOW IT WORKS — FEATURE CARDS --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.feature-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.4rem;
    transition: border-color 0.2s ease;
}

.feature-card:hover {
    border-color: #245AF6;
}

.feature-card__icon {
    font-size: 1.6rem;
    color: #245AF6;
    margin-bottom: 0.75rem;
}

.feature-card__title {
    color: #fff;
    font-weight: 700;
    font-size: 0.97rem;
    margin-bottom: 0.4rem;
}

.feature-card__desc {
    color: var(--secondary-text-color);
    font-size: 0.84rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
}


/* --- GRAPH VIEW DEMO --- */
.graph-demo {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid #333;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.graph-demo__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
    margin-bottom: 1.5rem;
}

.graph-svg-wrap {
    width: 100%;
    max-width: 480px;
}

.g-node-center {
    fill: #245AF6;
    opacity: 0.9;
}

.g-node-outer {
    fill: #1a1a1a;
    stroke: #245AF6;
    stroke-width: 1.5;
    opacity: 0.85;
}

.g-node-outer-dim {
    fill: #1a1a1a;
    stroke: #444;
    stroke-width: 1;
    opacity: 0.7;
}

.g-line {
    stroke: #245AF6;
    stroke-width: 1;
    opacity: 0.3;
}

.g-line-dim {
    stroke: #444;
    stroke-width: 0.8;
    opacity: 0.4;
}

.g-label {
    font-size: 9px;
    fill: #fff;
    text-anchor: middle;
    font-family: sans-serif;
}

.g-label-dim {
    font-size: 8px;
    fill: #888;
    text-anchor: middle;
    font-family: sans-serif;
}

.graph-demo__caption {
    margin-top: 1.25rem;
    font-size: 0.78rem;
    color: #555;
    text-align: center;
}


/* --- COMPARISON TABLE --- */
.comp-table-wrapper {
    margin: 2rem 0;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    overflow-x: auto;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 560px;
}

.comp-table th {
    background: #111;
    color: #fff;
    padding: 11px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #245AF6;
}

.comp-table th:first-child {
    background: #0a0a0a;
    color: #888;
    width: 22%;
}

.comp-table td {
    padding: 11px 15px;
    border-bottom: 1px solid #2a2a2a;
    color: var(--secondary-text-color);
    vertical-align: top;
    line-height: 1.5;
}

.comp-table tr:last-child td { border-bottom: none; }

.comp-table td:first-child {
    background: #0a0a0a;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.comp-table td.win {
    color: #7aff9b;
}

.comp-table td.lose {
    color: rgba(255,255,255,0.35);
}


/* --- CLAUDE CODE INTEGRATION TIPS --- */
.claude-tips {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.claude-tip {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.1rem 1.3rem;
    background: rgba(36, 90, 246, 0.04);
    border: 1px solid rgba(36, 90, 246, 0.18);
    border-radius: 10px;
}

.claude-tip__icon {
    flex-shrink: 0;
    color: #245AF6;
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.claude-tip__text {
    color: var(--secondary-text-color);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

.claude-tip__text strong {
    color: #fff;
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}


/* --- USE CASE SPLIT (Dev vs Personal) --- */
.usecase-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2rem 0;
}

.usecase-col {
    background: rgba(255,255,255,0.02);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
}

.usecase-col__title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.usecase-col__title i {
    color: #245AF6;
}

.usecase-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.usecase-col ul li {
    color: var(--secondary-text-color);
    font-size: 0.87rem;
    line-height: 1.5;
    padding-left: 1.2rem;
    position: relative;
}

.usecase-col ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #245AF6;
    font-size: 0.8rem;
}

@media (max-width: 680px) {
    .usecase-split { grid-template-columns: 1fr; }
}


/* --- CODE INLINE UTILITY --- */
.code-inline {
    font-family: 'Courier New', Courier, monospace;
    background: #1a1a2e;
    color: #a8c4ff;
    padding: 0.15em 0.45em;
    border-radius: 4px;
    font-size: 0.87em;
}


/* --- INSIGHT BOX --- */
.insight-box {
    background: rgba(36, 90, 246, 0.05);
    border: 1px solid rgba(36, 90, 246, 0.2);
    border-left: 4px solid #245AF6;
    border-radius: 0 10px 10px 0;
    padding: 1.2rem 1.5rem;
    margin: 2rem 0;
}

.insight-box p {
    margin: 0;
    color: var(--secondary-text-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

.insight-box p strong {
    color: #fff;
}
