:root {
    --bg-color: #061013;
    /* Deep obsidian bottom */
    --bg-gradient-top: #0a171b;
    /* Deep obsidian top */
    --card-bg: #0a171b;
    /* Solid card background */
    --accent-color: #14b8a6;
    /* Deeper, more professional teal */
    --accent-muted: rgba(20, 184, 166, 0.15);
    /* Muted teal */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-border: rgba(20, 184, 166, 0.2);
    /* Subtle teal border */
    --gradient-1: linear-gradient(135deg, #0d9488 0%, #065f46 100%);
    /* Deep sea teal gradient */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Inter', sans-serif;
}

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

body {
    background: linear-gradient(180deg, var(--bg-gradient-top) 0%, var(--bg-color) 100%);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Animation */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    filter: blur(180px);
    opacity: 0.08;
    /* Much more subtle */
    border-radius: 50%;
    animation: move 25s infinite alternate;
}

.blob-1 {
    top: -150px;
    left: -150px;
    background: #63f0d6;
}

.blob-2 {
    bottom: -150px;
    right: -150px;
    background: #0d9488;
    animation-delay: -7s;
}

@keyframes move {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(100px, 100px);
    }
}

/* Presentation Container */
#presentation {
    width: 100vw;
    height: 100vh;
    position: relative;
    perspective: 1000px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(50px) rotateY(-5deg);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) rotateY(0);
}

.slide.prev {
    transform: translateX(-50px) rotateY(5deg);
}

/* Typography */
h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

p,
li {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Cards & Layouts */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 1100px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 100%;
}

/* Slide Specific Styles */
.points-list {
    list-style: none;
    margin-top: 1.5rem;
}

.points-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.points-list li::before {
    content: "→";
    color: var(--accent-color);
    margin-right: 1.25rem;
    font-weight: bold;
    flex-shrink: 0;
}

.points-list b {
    color: var(--accent-color);
    margin-right: 0.5rem;
    font-weight: 700;
}

.links-row {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.link-button {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

/* T-Shape Visualization */
.t-shape-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 400px;
}

.t-diagram {
    position: relative;
    width: 300px;
    height: 350px;
}

.t-bar-horizontal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.t-bar-vertical {
    position: absolute;
    top: 60px;
    left: calc(50% - 30px);
    width: 60px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-radius: 0 0 12px 12px;
}

/* Controls */
.controls {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 100;
}

.btn-ctrl {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-ctrl:hover {
    background: var(--accent-color);
}

.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
    z-index: 101;
}

/* Placeholder for Image */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed var(--glass-border);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    font-style: italic;
}

/* Artifact Links */
.artifact-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.artifact-link:hover {
    color: #a5b4fc;
    border-bottom: 1px solid #a5b4fc;
}

.commit-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    background: rgba(99, 240, 214, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.75rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.commit-tag:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-1px);
}