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

body {
    font-family: 'Inter', sans-serif;
    background-color: #05070f;
    color: #eef5ff;
    line-height: 1.5;
    scroll-behavior: smooth;
    position: relative;
}

/* ---- BACKGROUND IMAGE ---- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/background.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(5, 10, 25, 0.4), rgba(2, 5, 15, 0.6));
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.glass-card {
    background: rgba(12, 20, 32, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: transform 0.2s ease, border-color 0.2s;
}

.glass-card:hover {
    border-color: rgba(0, 229, 255, 0.5);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #0a2a3a 0%, #071520 100%);
    border: 1px solid rgba(0, 229, 255, 0.5);
    padding: 0.75rem 1.8rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #e0f2fe;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}

.btn-primary {
    background: linear-gradient(95deg, #0a4c5c, #06313e);
    border-color: #00e0ff;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: linear-gradient(95deg, #0e6070, #094a5a);
    border-color: #5ff5ff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.btn-outline:hover {
    transform: translateY(-2px);
    background: rgba(0, 229, 255, 0.1);
    border-color: #5ff5ff;
}

.hero {
    padding: 5rem 0 4rem 0;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1.5;
}

.hero-image-wrapper {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.headshot {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #00e5ff;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.3), 0 15px 30px -12px black;
    background: #0c1622;
    transition: transform 0.3s ease;
}

.headshot:hover {
    transform: scale(1.02);
    box-shadow: 0 0 32px rgba(0, 229, 255, 0.5);
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 30, 40, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,229,255,0.3);
    width: fit-content;
}

.logo-badge i {
    font-size: 1.2rem;
    color: #0ff;
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF, #8dd0ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.tagline {
    font-size: 1.25rem;
    font-weight: 500;
    color: #b4e6ff;
    border-left: 3px solid #0ff;
    padding-left: 1rem;
    margin: 1rem 0 1.2rem 0;
    font-family: 'JetBrains Mono', monospace;
}

.bio-hero {
    font-size: 1rem;
    color: #cdedff;
    margin-bottom: 2rem;
    max-width: 550px;
    line-height: 1.5;
}

.btn-group {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.section {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-block;
    background: linear-gradient(120deg, #e0f2fe, #9fd3ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
    border-left: 4px solid #0ff;
    padding-left: 1.2rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #cfecff;
}

/* Add styles for bullet list in About Me section */
.about-text ul {
    margin: 1.5rem 0 1.5rem 2rem;
    padding-left: 0;
    list-style-type: none;
}

.about-text li {
    position: relative;
    margin-bottom: 0.8em;
    color: #cfecff;
    font-size: 1.05rem;
    line-height: 1.5;
    padding-left: 1.5rem;
}

.about-text li:before {
    content: "▸";
    position: absolute;
    left: 0;
    top: -0.5rem;
    color: #00e5ff;
    font-size: 1.2rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
}

.skill-card {
    flex: 1;
    min-width: 220px;
    background: rgba(8, 18, 28, 0.7);
    border-radius: 1.5rem;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: all 0.25s;
}

.skill-card i {
    font-size: 2.2rem;
    color: #0ff;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.info-panel {
    flex: 1;
    background: rgba(5, 12, 22, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1.8rem;
    padding: 2rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: 0.2s;
}

.info-panel h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-panel h3 i {
    color: #0ff;
    font-size: 1.7rem;
}

.info-panel p {
    color: #cde4fc;
    line-height: 1.6;
}

/* Article grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: rgba(10, 20, 30, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    padding: 1.6rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

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

.article-icon {
    font-size: 2rem;
    color: #0ff;
    margin-bottom: 0.75rem;
}

.article-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.article-meta {
    font-size: 0.8rem;
    color: #8bb9e0;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-card p {
    color: #b8d6f5;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

/* Type badges */
.card-type-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.7rem;
    border-radius: 1rem;
    margin-bottom: 0.6rem;
    width: fit-content;
}

.type-substack .card-type-badge {
    background: rgba(0, 229, 255, 0.12);
    color: #0ff;
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.type-academic .card-type-badge {
    background: rgba(240, 192, 64, 0.12);
    color: #f0c040;
    border: 1px solid rgba(240, 192, 64, 0.25);
}

.type-podcast .card-type-badge {
    background: rgba(192, 132, 252, 0.12);
    color: #c084fc;
    border: 1px solid rgba(192, 132, 252, 0.25);
}

/* Type-specific accent colors */
.type-substack {
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-top: 3px solid #0ff;
}
.type-academic {
    border: 1px solid rgba(240, 192, 64, 0.2);
    border-top: 3px solid #f0c040;
}
.type-podcast {
    border: 1px solid rgba(192, 132, 252, 0.2);
    border-top: 3px solid #c084fc;
}

.type-substack .article-icon { color: #0ff; }
.type-academic .article-icon { color: #f0c040; }
.type-podcast .article-icon { color: #c084fc; }

.type-substack:hover { border-color: rgba(0, 229, 255, 0.5); border-top-color: #0ff; }
.type-academic:hover { border-color: rgba(240, 192, 64, 0.5); border-top-color: #f0c040; }
.type-podcast:hover { border-color: rgba(192, 132, 252, 0.5); border-top-color: #c084fc; }

.type-academic .btn {
    border-color: rgba(240, 192, 64, 0.4);
}
.type-academic .btn:hover {
    border-color: #f0c040;
    background: rgba(240, 192, 64, 0.1);
}
.type-podcast .btn {
    border-color: rgba(192, 132, 252, 0.4);
}
.type-podcast .btn:hover {
    border-color: #c084fc;
    background: rgba(192, 132, 252, 0.1);
}

.contact-section {
    text-align: center;
    padding: 3rem 2rem;
}

footer {
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    margin-top: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    color: #b0e0ff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-links a:hover {
    color: #0ff;
    text-shadow: 0 0 6px cyan;
}

.specs-card {
    margin: 3rem 0 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 1.5rem;
    padding: 1.2rem 1.8rem;
    font-size: 0.85rem;
    border-left: 4px solid #0ff;
    font-family: monospace;
}

.specs-card summary {
    font-weight: 600;
    cursor: pointer;
    color: #9fd3ff;
}

.specs-card p {
    margin-top: 0.8rem;
    color: #bbd9ff;
}

@media (max-width: 800px) {
    .hero-grid {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .tagline {
        border-left: none;
        text-align: center;
        padding-left: 0;
    }
    .btn-group {
        justify-content: center;
    }
    h1 {
        font-size: 2.5rem;
    }
    .container {
        padding: 0 24px;
    }
    .info-panel h3 {
        font-size: 1.5rem;
    }
}