/* ==========================================================================
   WESLEY_SKAP PORTFOLIO - DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Theme Tokens - Dark (Default) */
    --bg-primary: #0a0b10;
    --bg-secondary: rgba(18, 20, 30, 0.7);
    --bg-tertiary: rgba(26, 29, 44, 0.4);
    --accent: #00f3ff;
    --accent-glow: rgba(0, 243, 255, 0.15);
    --accent-rgb: 0, 243, 255;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --dot: #00f3ff;
    --text-muted: #6b7280;
    --border-color: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Layout Tokens */
    --max-width: 1100px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --header-height: 80px;
}

/* Light Theme overrides */
.light-theme {
    --bg-primary: #f8fafc;
    --bg-secondary: rgba(255, 255, 255, 0.75);
    --bg-tertiary: rgba(241, 245, 249, 0.7);
    --accent: #0f172a;
    --accent-glow: rgba(15, 23, 42, 0.05);
    --accent-rgb: 15, 23, 42;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --dot: #00f3ff;
    --text-muted: #94a3b8;
    --border-color: rgba(15, 23, 42, 0.08);
    --card-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.06);
}

/* Reset & Base Rules */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Header & Glassmorphic Navigation */
.main-portfolio-header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px var(--spacing-md) var(--spacing-md) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

@media (max-width: 820px) {
    .main-portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 32px;
    }
    .header-nav-actions {
        width: 100%;
        justify-content: space-between;
        gap: 16px;
    }
}

.header-main-info {
    display: flex;
    flex-direction: column;
}

.main-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 38px;
    letter-spacing: -1px;
    line-height: 1.1;
    color: var(--text-primary);
}

.main-subtitle {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-top: 6px;
}

.header-nav-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.main-navigation {
    display: flex;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-item {
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.nav-item:hover, .nav-item.active {
    color: var(--accent);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease-out;
}

.nav-item:hover::after, .nav-item.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.actions-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Locale Switcher */
.locale-select {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
}

.theme-toggle-btn:hover {
    border-color: var(--accent);
}

#theme-icon-dark, #theme-icon-light {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.dark-theme #theme-icon-dark {
    background: transparent;
    box-shadow: inset -4px -4px 0 0 var(--accent);
}

.dark-theme #theme-icon-light { display: none; }
.light-theme #theme-icon-dark { display: none; }

.light-theme #theme-icon-light {
    background: var(--accent);
    position: relative;
}

/* Main Layout Viewport */
.app-main-content {
    margin-top: 0;
    min-height: calc(100vh - 280px);
    opacity: 1;
    transition: opacity 0.15s ease-in-out;
}

/* Hero & Profile Sections */
.profile-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
}

.profile-eyebrow {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.profile-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.profile-description {
    margin: 7.7cqh 0 7cqh 0;
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align:start;
}

.bio-and-posts-container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    margin-top: 24px;
    align-items: flex-start;
    width: 100%;
}

@media (max-width: 820px) {
    .bio-and-posts-container {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 16px;
    }
}

.bio-section-left {
    display: flex;
    flex-direction: column;
}

.posts-section-right {
    display: flex;
    flex-direction: column;
}


.profile-contact-bar {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
    margin-bottom: var(--spacing-sm);
}

.profile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    transition: transform 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.profile-contact-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.profile-contact-item.whatsapp-item:hover {
    border-color: #25d366;
    color: #25d366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}

.contact-icon {
    width: 16px;
    height: 16px;
}


.profile-philosophies {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.philosophy-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.philosophy-num {
    font-family: var(--font-mono);
    color: var(--accent);
    font-weight: bold;
}

.philosophy-text {
    color: var(--text-secondary);
    font-size: 15px;
}


/* Engineering Cases (Experiences) */
.cases-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0 !important;
}

.section-heading::after {
    content: '';
    height: 1px;
    flex-grow: 1;
    background-color: var(--border-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.case-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.case-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.case-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}

.case-period {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
}

.case-company {
    font-size: 14px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-top: -8px;
    margin-bottom: var(--spacing-sm);
}

.case-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.case-block-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.case-block-desc {
    color: var(--text-secondary);
    font-size: 15px;
}

.case-impact-pill {
    display: inline-block;
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.case-tech-deck {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--spacing-xs);
}

.case-tech-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* Articles (Blog Feed) */
.articles-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.article-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--card-shadow);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}

.article-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: var(--accent);
}

.card-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    align-items: center;
}

.card-category {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
}

.card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-sm);
}

/* Connection / Handshake Section */
.handshake-section {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.handshake-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-md);
    box-shadow: var(--card-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.handshake-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
}

.handshake-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: var(--spacing-sm);
}

.contact-channels-container {
    text-align: left;
    margin-bottom: 24px;
}

.channels-heading {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.contact-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 580px) {
    .contact-channels {
        grid-template-columns: 1fr;
    }
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.channel-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: var(--radius-sm);
    color: var(--accent);
    transition: background 0.2s, border-color 0.2s;
}

.channel-card:hover .channel-icon-wrapper {
    background: var(--accent);
    color: var(--bg-primary);
}

.channel-icon-wrapper.whatsapp-theme {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

.channel-card:hover .channel-icon-wrapper.whatsapp-theme {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.channel-icon {
    width: 20px;
    height: 20px;
}

.channel-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.channel-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.channel-value {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-primary);
    word-break: break-all;
}


.handshake-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.form-input, .form-textarea {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--accent);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px 0 var(--accent-glow);
    margin-top: 12px;
}

.form-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 var(--accent-glow);
}

/* Post Detail Views */
.post-detail-section {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.back-btn-container {
    margin-bottom: var(--spacing-md);
}

.back-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: border-color 0.2s ease;
}

.back-btn:hover {
    border-color: var(--accent);
}

.post-full {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-md);
    box-shadow: var(--card-shadow);
}

.post-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.post-series-badge {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-xs);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.post-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

.post-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.post-body {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.post-body p {
    margin-bottom: var(--spacing-md);
}

.post-body h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 12px;
}

.post-body h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 8px;
}

.post-body code {
    background: var(--bg-tertiary);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.post-body :not(pre) > code {
    white-space: normal;
    word-break: break-word;
}

/* Code block styles */
.code-block-wrapper {
    background: #0d0e14;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin: 24px 0;
    overflow: hidden;
}

.code-block-header {
    background: #141520;
    padding: 6px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.code-block-lang {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.code-block-wrapper pre {
    padding: 16px;
    overflow-x: auto;
}

.code-block-wrapper code {
    background: transparent;
    padding: 0;
    border: none;
    font-size: 13px;
    color: #a9b2c3;
    line-height: 1.5;
}

.code-key { color: #f43f5e; }
.code-tp { color: #38bdf8; }
.code-str { color: #10b981; }
.code-cmt { color: #6b7280; font-style: italic; }

/* Diagrams container */
.mermaid-container {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin: 24px 0;
    text-align: center;
}

/* Repo Call to Action card */
.repo-cta-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-top: 32px;
}

@media (max-width: 600px) {
    .repo-cta-card {
        flex-direction: column;
        text-align: center;
    }
}

.repo-cta-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.repo-cta-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
}

.repo-cta-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.repo-cta-link {
    background: var(--text-primary);
    color: var(--bg-primary);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.repo-cta-icon {
    width: 16px;
    height: 16px;
}

/* Related Posts block */
.related-posts-section {
    margin-top: 48px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.related-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.related-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.related-card:hover {
    border-color: var(--accent);
}

.related-card-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    margin-top: 4px;
}

/* Footer Section */
.app-footer {
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-lg);
    background: var(--bg-secondary);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social-link {
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.footer-icon {
    width: 20px;
    height: 20px;
}

/* Tech Stack & Summary Deck */
.tech-stack-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 24px;
}

.tech-badge {
    background: rgba(0, 243, 255, 0.08);
    color: var(--accent);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
}

.light-theme .tech-badge {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-primary);
    border-color: rgba(15, 23, 42, 0.15);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 22px;
    width: 100%;
}

.capability-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--card-shadow);
}

.capability-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--accent);
}

.capability-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* Timeline styles */
.timeline {
    position: relative;
    max-width: 100%;
    margin: 40px 0;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    top: 6px;
    left: -30px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 3px solid var(--accent);
    z-index: 1;
}

.timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--card-shadow);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.timeline-role {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-period {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
}

.timeline-company {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.timeline-desc ul {
    list-style-type: none;
    margin-top: 10px;
}

.timeline-desc li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}

.timeline-desc li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.timeline-tech-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* Table Styles inside posts */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
}

.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.post-body th, .post-body td {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    text-align: left;
    white-space: nowrap;
}

.post-body th {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.post-body tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.light-theme .post-body tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Lists and Horizontal Rules inside posts */
.post-body ul, .post-body ol {
    margin-bottom: var(--spacing-md);
    padding-left: 24px;
}

.post-body li {
    margin-bottom: 8px;
}

.post-body hr {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 32px 0;
}

