:root {
    --bg-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent: #00f2ff;
    /* Electric Cyan */
    --card-bg: #161616;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.accent {
    color: var(--accent);
}

/* SCROLL REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* HEADER */
header {
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.social-links a {
    font-size: 1.2rem;
    margin-left: 1.5rem;
}

.social-links a:hover {
    color: var(--accent);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Split text and avatar */
    padding-top: 80px;
    position: relative;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--text-primary);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.cta-btn:hover {
    background: var(--accent);
    color: var(--bg-color);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

/* AVATAR CONTAINER */
.hero-avatar {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    position: relative;
}

/* SVG STYLES */
#dev-avatar {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 242, 255, 0.2));
}

.eye-socket {
    fill: #0a0a0a;
    stroke: var(--accent);
    stroke-width: 2;
}

.pupil {
    fill: var(--accent);
}

/* SECTIONS GENERAL */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
    color: var(--text-secondary);
}

/* EXPERIENCE & PROJECTS GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #222;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card .role {
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tech-stack span {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid #333;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
    color: #bbb;
}

/* SKILLS SCROLL */
.skills-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-item {
    font-family: 'Space Grotesk';
    font-size: 4rem;
    font-weight: 700;
    margin: 0 2rem;
    color: #222;
    -webkit-text-stroke: 1px var(--text-secondary);
    transition: var(--transition);
}

.marquee-item:hover {
    color: var(--accent);
    -webkit-text-stroke: 1px var(--accent);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* FOOTER */
footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid #222;
}

footer p {
    color: var(--text-secondary);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
    }

    .hero-avatar {
        height: 300px;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }
}

/* TIMELINE STYLES */
.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    overflow: hidden;
}

/* The vertical line */
.experience-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #333;
    z-index: 1;
}

/* The glowing trace line that moves */
.experience-timeline::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    z-index: 1;
    animation: scanline 3s linear infinite;
    opacity: 0.5;
}

@keyframes scanline {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 60px;
    z-index: 2;
}

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

/* The Dot */
.timeline-dot {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 2px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
    transition: all 0.3s ease;
}

/* Pulse effect for the dot */
.timeline-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.timeline-item:hover .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent);
    transform: scale(1.1);
}

/* Content Card */
.timeline-content {
    background: rgba(22, 22, 22, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent);
    transform: translateX(10px);
    box-shadow: 0 10px 30px -10px rgba(0, 242, 255, 0.1);
}

.timeline-item:hover .timeline-content::before {
    opacity: 1;
}

.timeline-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.timeline-content p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .experience-timeline {
        padding-left: 0;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .experience-timeline::before,
    .experience-timeline::after {
        left: 10px;
    }

    .timeline-dot {
        left: 1px;
    }
}

/* CERTIFICATION ICONS */
.cert-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cert-icon {
    width: 40px;
    height: 40px;
    fill: var(--text-primary);
    transition: var(--transition);
}

.card:hover .cert-icon {
    fill: var(--accent);
    filter: drop-shadow(0 0 5px var(--accent));
}

/* =============================================
   FEATURED PROJECT
   ============================================= */
.featured-project {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid #222;
    padding: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

/* Gradient glow on top edge */
.featured-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #7b61ff, var(--accent));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Subtle corner glow */
.featured-project::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.featured-project:hover {
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 20px 60px -20px rgba(0, 242, 255, 0.1);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 50px;
    background: rgba(0, 242, 255, 0.05);
    width: fit-content;
}

.featured-project-body {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.featured-project-content {
    flex: 1.5;
}

.featured-project-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.featured-subtitle {
    font-size: 1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem !important;
    font-weight: 600;
}

.featured-project-content > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.featured-links .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
}

/* WAF Pillars Grid */
.featured-project-pillars {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.pillar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    border-radius: 12px;
    border: 1px solid #222;
    background: rgba(10, 10, 10, 0.6);
    transition: var(--transition);
    text-align: center;
}

.pillar-item:hover {
    border-color: var(--accent);
    background: rgba(0, 242, 255, 0.03);
    transform: translateY(-4px);
}

.pillar-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 242, 255, 0.06);
    color: var(--accent);
    font-size: 1.1rem;
    transition: var(--transition);
}

.pillar-item:hover .pillar-icon {
    background: rgba(0, 242, 255, 0.12);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.15);
}

.pillar-item span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
}

.pillar-item:hover span {
    color: var(--accent);
}

/* 5th pillar spans middle of last row */
.pillar-item:nth-child(4) {
    grid-column: 1 / 2;
}

.pillar-item:nth-child(5) {
    grid-column: 2 / 4;
}

/* Subsection Title */
.subsection-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
}

/* Responsive Featured Project */
@media (max-width: 900px) {
    .featured-project-body {
        flex-direction: column;
        gap: 2rem;
    }

    .featured-project-content h3 {
        font-size: 1.6rem;
    }

    .featured-project {
        padding: 1.5rem;
    }

    .pillar-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pillar-item:nth-child(4) {
        grid-column: auto;
    }

    .pillar-item:nth-child(5) {
        grid-column: auto;
    }
}

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

    .pillar-item:nth-child(5) {
        grid-column: 1 / 3;
    }
}

/* =============================================
   NAVIGATION LINKS
   ============================================= */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.3);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

/* MOBILE NAV TOGGLE */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #333;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid #222;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-wrapper {
        position: relative;
    }
}

/* =============================================
   BLOG LISTING
   ============================================= */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
}

.blog-card {
    display: block;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #222;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.blog-card:hover {
    border-color: var(--accent);
    transform: translateX(10px);
    box-shadow: 0 10px 40px -10px rgba(0, 242, 255, 0.1);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card h2,
.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
    text-transform: none;
    letter-spacing: -0.5px;
}

.blog-card:hover h2,
.blog-card:hover h3 {
    color: var(--accent);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border: 1px solid #333;
    border-radius: 4px;
    color: #bbb;
    transition: var(--transition);
}

.blog-card:hover .blog-tags span {
    border-color: rgba(0, 242, 255, 0.3);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.blog-card:hover .read-more {
    gap: 1rem;
}

/* =============================================
   BLOG POST ARTICLE
   ============================================= */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--accent);
    gap: 0.75rem;
}

.blog-post-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #222;
}

.blog-post-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: none;
    letter-spacing: -0.5px;
}

.blog-post-header .blog-meta {
    margin-bottom: 1.5rem;
}

/* Article Content Typography */
.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #ccc;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: -0.5px;
    border-bottom: 1px solid #222;
    padding-bottom: 0.5rem;
}

.blog-post-content h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: none;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.75rem;
    list-style-type: disc;
    color: #bbb;
    line-height: 1.7;
}

.blog-post-content ol li {
    list-style-type: decimal;
}

.blog-post-content code {
    background: rgba(0, 242, 255, 0.08);
    color: var(--accent);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.blog-post-content pre {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
    color: #ccc;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: rgba(0, 242, 255, 0.03);
    border-radius: 0 8px 8px 0;
}

.blog-post-content blockquote p {
    margin-bottom: 0;
    color: #aaa;
    font-style: italic;
    font-size: 1.05rem;
}

.blog-post-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-post-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 242, 255, 0.4);
}

.blog-post-content a:hover {
    text-decoration-color: var(--accent);
}

/* Results Table */
.results-table {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid #333;
}

.results-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.results-table th {
    background: rgba(0, 242, 255, 0.08);
    color: var(--accent);
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.results-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #1a1a1a;
    color: #bbb;
}

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

.results-table tr:hover td {
    background: rgba(0, 242, 255, 0.03);
}

.results-table td.accent {
    color: var(--accent);
    font-weight: 700;
}

/* Blog Post Responsive */
@media (max-width: 768px) {
    .blog-post {
        padding-top: 1rem;
    }

    .blog-post-header h1 {
        font-size: 1.8rem;
    }

    .blog-post-content {
        font-size: 1rem;
    }

    .blog-card {
        padding: 1.5rem;
    }

    .results-table {
        font-size: 0.85rem;
    }
}

/* =============================================
   SERIES ROADMAP
   ============================================= */
.series-roadmap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.roadmap-item {
    background: rgba(22, 22, 22, 0.8);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0.3;
}

.roadmap-item:hover {
    border-color: rgba(0, 242, 255, 0.3);
    transform: translateX(6px);
}

.roadmap-item:hover::before {
    opacity: 1;
}

.roadmap-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: normal;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.roadmap-item h4 i {
    font-size: 1.3rem;
}

.roadmap-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.roadmap-status {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
}

.roadmap-status.coming-soon {
    color: var(--accent);
    background: rgba(0, 242, 255, 0.08);
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.roadmap-status.planned {
    color: #7b61ff;
    background: rgba(123, 97, 255, 0.08);
    border: 1px solid rgba(123, 97, 255, 0.2);
}

.roadmap-status.live {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

/* ===== SERIES BREADCRUMB ===== */
.series-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.series-breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.series-breadcrumb a:hover {
    color: #fff;
}

.breadcrumb-sep {
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== MERMAID DIAGRAMS ===== */
.mermaid-container {
    margin: 2rem 0;
    padding: 2rem;
    background: #0d1117;
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: 12px;
    overflow-x: auto;
}

.mermaid-container pre.mermaid {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px;
}

.mermaid-container svg {
    max-width: 100%;
    height: auto;
}

/* ===== COMING SOON CARD ===== */
.coming-soon-card {
    opacity: 0.6;
    cursor: default;
    border: 1px dashed rgba(255, 255, 255, 0.1) !important;
}

.coming-soon-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.15) !important;
}