/* =============================================
   GOOGLE FONTS FALLBACK
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@300;400;500;600&display=swap');

/* =============================================
   CSS VARIABLES — All sizes tuned for 1920×1080
   ============================================= */
:root {
    /* Neutrals */
    --bg: #F5F7FB;
    --surface: #FFFFFF;
    --text-primary: #1A1C1E;
    --text-secondary: #5F6368;
    --text-muted: #9AA0A6;
    --border: #DDE1E7;
    --border-light: #EFF1F4;

    /* GDG Accents */
    --blue: #4285F4;
    --red: #EA4335;
    --yellow: #FBBC04;
    --green: #34A853;
    --purple: #7C3AED;

    /* Gradient tokens */
    --grad-blue-green: linear-gradient(135deg, #4285F4, #34A853);
    --grad-blue-red: linear-gradient(135deg, #4285F4, #EA4335);
    --grad-full: linear-gradient(90deg, #4285F4 0%, #34A853 33%, #FBBC04 66%, #EA4335 100%);
    --grad-google: conic-gradient(from 180deg, #4285F4, #34A853, #FBBC04, #EA4335, #4285F4);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);

    /* Elevation shadows */
    --shadow-sm: 0 1px 3px rgba(26,28,30,0.06), 0 4px 12px rgba(26,28,30,0.04);
    --shadow-md: 0 4px 16px rgba(26,28,30,0.08), 0 1px 4px rgba(26,28,30,0.04);
    --shadow-lg: 0 8px 40px rgba(26,28,30,0.12), 0 2px 8px rgba(26,28,30,0.04);
    --shadow-xl: 0 20px 60px rgba(26,28,30,0.14), 0 4px 16px rgba(26,28,30,0.06);

    /* Typography */
    --font-display: 'Google Sans Display', 'Google Sans', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'DM Mono', 'Fira Code', monospace;

    /* Slide padding — generous for 1920×1080 */
    --slide-pad-x: 96px;
    --slide-pad-y: 64px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0F0F0F;
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   PROGRESS BAR
   ============================================= */
.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--green) 50%, var(--yellow) 100%);
    background-size: 200% 100%;
    animation: progressShimmer 2.5s linear infinite;
    z-index: 1000;
    transition: width 0.45s var(--ease-out);
    width: 0%;
    box-shadow: 0 0 12px rgba(66, 133, 244, 0.5), 0 0 4px rgba(52, 168, 83, 0.4);
    border-radius: 0 3px 3px 0;
}

@keyframes progressShimmer {
    0% { background-position: 0% 0%; }
    100% { background-position: -200% 0%; }
}

/* =============================================
   SLIDE COUNTER
   ============================================= */
.slide-counter {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.slide-counter .divider {
    opacity: 0.4;
}

#currentSlide {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* =============================================
   NAV CONTROLS
   ============================================= */
.nav-controls {
    position: absolute;
    bottom: 32px;
    right: 32px;
    z-index: 100;
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--spring);
}

.nav-btn:hover {
    background: rgba(66, 133, 244, 0.35);
    border-color: rgba(66, 133, 244, 0.5);
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 0 16px rgba(66, 133, 244, 0.4);
}

.nav-btn:active {
    transform: scale(0.96);
}

.nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

/* =============================================
   FULLSCREEN BUTTON
   ============================================= */
.fullscreen-btn {
    position: absolute;
    bottom: 32px;
    left: 32px;
    z-index: 100;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--spring);
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
    transform: scale(1.1);
}

/* =============================================
   SLIDE SCALER — FIXED 1920×1080
   ============================================= */
.slide-scaler {
    position: fixed;
    top: 0;
    left: 0;
    width: 1920px;
    height: 1080px;
    transform-origin: top left;
    overflow: hidden;
    z-index: 1;
}

/* =============================================
   SLIDES CONTAINER
   ============================================= */
.slides-container {
    width: 1920px;
    height: 1080px;
    position: relative;
    overflow: hidden;
}

/* =============================================
   SLIDE BASE
   ============================================= */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateX(80px) scale(0.96);
    filter: blur(4px);
    pointer-events: none;
    transition:
        opacity 0.55s var(--ease-out),
        transform 0.55s var(--ease-out),
        filter 0.55s var(--ease-out);
}

.slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0px);
    pointer-events: all;
    z-index: 10;
}

.slide.prev {
    opacity: 0;
    transform: translateX(-80px) scale(0.96);
    filter: blur(4px);
    z-index: 5;
}

/* =============================================
   SLIDE LABEL
   ============================================= */
.slide-label {
    position: absolute;
    top: 28px;
    left: var(--slide-pad-x);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: var(--font-body);
    z-index: 20;
}

/* =============================================
   SLIDE CONTENT WRAPPER
   ============================================= */
.slide-content {
    flex: 1;
    padding: var(--slide-pad-y) var(--slide-pad-x);
    padding-top: calc(var(--slide-pad-y) + 28px);
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

/* =============================================
   GDG DOTS
   ============================================= */
.gdg-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.gdg-dot.dot-blue {
    background: var(--blue);
}

.gdg-dot.dot-red {
    background: var(--red);
}

.gdg-dot.dot-yellow {
    background: var(--yellow);
}

.gdg-dot.dot-green {
    background: var(--green);
}

.gdg-dot.lg {
    width: 16px;
    height: 16px;
}

/* =============================================
   TAGS
   ============================================= */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-body);
    background: var(--border-light);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.tag-blue {
    background: rgba(66, 133, 244, 0.08);
    color: var(--blue);
    border-color: rgba(66, 133, 244, 0.2);
}

.tag-red {
    background: rgba(234, 67, 53, 0.08);
    color: var(--red);
    border-color: rgba(234, 67, 53, 0.2);
}

.tag-yellow {
    background: rgba(251, 188, 4, 0.08);
    color: #9A7400;
    border-color: rgba(251, 188, 4, 0.25);
}

.tag-green {
    background: rgba(52, 168, 83, 0.08);
    color: var(--green);
    border-color: rgba(52, 168, 83, 0.2);
}

.tag-purple {
    background: rgba(124, 58, 237, 0.08);
    color: #7C3AED;
    border-color: rgba(124, 58, 237, 0.2);
}

.tag-google-solid {
    color: #fff;
    border-color: transparent;
}

.tag-gai {
    background: var(--blue);
}

.tag-gem {
    background: var(--red);
}

.tag-anti {
    background: var(--green);
}

/* =============================================
   SLIDE 1 — COVER
   ============================================= */
.slide-cover {
    background: var(--bg);
}

.cover-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cover-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--border) 1.5px, transparent 1.5px);
    background-size: 36px 36px;
    opacity: 0.5;
}

.cover-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 75% 50%, rgba(66, 133, 244, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 20% 80%, rgba(52, 168, 83, 0.05) 0%, transparent 70%);
}

.cover-layout {
    flex-direction: column;
    justify-content: flex-start;
}

.cover-meta {
    position: absolute;
    top: calc(var(--slide-pad-y) + 8px);
    left: var(--slide-pad-x);
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

.cover-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 64px;
    padding-top: 32px;
}

.cover-headline {
    flex: 1;
}

.cover-title {
    font-family: var(--font-display);
    font-size: 108px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.title-line {
    display: block;
}

/* Kicker ("Akselerasi") — smaller intro line */
.title-kicker {
    font-size: 60px !important;
    font-weight: 600 !important;
    color: var(--blue);
    letter-spacing: -0.01em;
    display: flex !important;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
}

.kicker-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--green));
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(66,133,244,0.5);
}

.accent-underline {
    position: relative;
    display: inline-block;
}

.accent-underline::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    border-radius: 3px;
}

.cover-subtitle {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 28px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.google-ai-text {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 46px;
    line-height: 1;
}

.cover-presenter {
    font-size: 22px;
    color: var(--text-muted);
    margin-top: 12px;
}

.cover-presenter strong {
    color: var(--text-secondary);
}

.cover-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 40px;
}

.cover-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cover-visual {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 48px;
}

/* AI Orb — scaled up for 1920×1080 */
.ai-orb {
    position: relative;
    width: 360px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid transparent;
    animation: orbSpin linear infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    border-top-color: rgba(66, 133, 244, 0.4);
    border-right-color: rgba(52, 168, 83, 0.2);
    animation-duration: 8s;
}

.ring-2 {
    width: 220px;
    height: 220px;
    border-top-color: rgba(234, 67, 53, 0.3);
    border-left-color: rgba(251, 188, 4, 0.2);
    animation-duration: 12s;
    animation-direction: reverse;
}

.ring-3 {
    width: 150px;
    height: 150px;
    border-top-color: rgba(52, 168, 83, 0.4);
    border-right-color: rgba(66, 133, 244, 0.2);
    animation-duration: 6s;
}

.orb-core {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid var(--border);
    box-shadow: 0 8px 40px rgba(66, 133, 244, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

@keyframes orbSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =============================================
   SLIDE 2 — SPEAKER INTRO (Complete Redesign)
   ============================================= */
.slide-speaker {
    background: #FAFBFC;
}

/* Decorative background */
.spk-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.spk-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #E0E3E7 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
}

.spk-bg-glow-left {
    position: absolute;
    top: -200px;
    left: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.06) 0%, transparent 70%);
}

.spk-bg-glow-right {
    position: absolute;
    bottom: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 168, 83, 0.05) 0%, transparent 70%);
}

/* Main layout: identity card left, details right */
.spk-layout {
    flex-direction: row;
    align-items: stretch;
    gap: 72px;
    padding-top: calc(var(--slide-pad-y) + 20px);
}

/* ── LEFT IDENTITY CARD ── */
.spk-identity {
    flex-shrink: 0;
    width: 400px;
    display: flex;
    align-items: flex-start;
}

.spk-card {
    width: 100%;
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 36px 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    box-shadow:
        0 1px 3px rgba(32, 33, 36, 0.04),
        0 8px 32px rgba(32, 33, 36, 0.06),
        0 32px 64px rgba(32, 33, 36, 0.04);
    position: relative;
    overflow: hidden;
}

.spk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--green) 50%, var(--red) 100%);
    border-radius: 24px 24px 0 0;
}

/* Avatar */
.spk-avatar-wrap {
    position: relative;
    width: 120px;
    height: 120px;
}

.spk-avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--green));
    opacity: 0.25;
}

.spk-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.12), rgba(52, 168, 83, 0.12));
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
}

.spk-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Name block */
.spk-name-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spk-name {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.spk-title-role {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Education badge */
.spk-edu-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    color: var(--text-secondary);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    width: 100%;
}

.spk-edu-badge svg {
    flex-shrink: 0;
    color: var(--blue);
}

/* Social pills */
.spk-socials {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.spk-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--border-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    width: 100%;
    cursor: default;
}

.spk-social-accent {
    color: var(--blue);
    background: rgba(66, 133, 244, 0.06);
    border-color: rgba(66, 133, 244, 0.2);
}

/* ── RIGHT DETAILS ── */
.spk-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-width: 0;
}

.spk-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spk-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.spk-section-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    font-family: var(--font-body);
}

.spk-section-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Timeline */
.spk-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spk-tl-item {
    display: grid;
    grid-template-columns: 72px 16px 1fr;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.spk-tl-item:last-child {
    border-bottom: none;
}

.spk-tl-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.spk-tl-year {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: right;
}

.spk-tl-year.present {
    color: var(--green);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.spk-tl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    justify-self: center;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.spk-tl-item:hover .spk-tl-dot {
    transform: scale(1.3);
}

.spk-tl-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.spk-tl-role {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-display);
    white-space: nowrap;
}

.spk-tl-org {
    font-size: 17px;
    color: var(--text-muted);
    white-space: nowrap;
}

.spk-tl-org::before {
    content: '·';
    margin-right: 10px;
    color: var(--border);
}

/* Awards */
.spk-awards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.spk-award {
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.spk-award:hover {
    box-shadow: 0 4px 16px rgba(32, 33, 36, 0.08);
    border-color: var(--blue);
}

.spk-award-gold {
    background: linear-gradient(135deg, rgba(251, 188, 4, 0.04), rgba(255, 255, 255, 1));
    border-color: rgba(251, 188, 4, 0.3);
}

.spk-award-silver {
    background: linear-gradient(135deg, rgba(157, 157, 157, 0.06), rgba(255, 255, 255, 1));
    border-color: rgba(157, 157, 157, 0.3);
}

.spk-award-medal {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1;
}

.spk-award-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.spk-award-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.spk-award-year {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Speaker animation stagger */
.slide.active .spk-identity {
    animation: fadeUp 0.5s 0.08s var(--ease-out) both;
}

.slide.active .spk-details {
    animation: fadeUp 0.6s 0.16s var(--ease-out) both;
}

.slide.active .spk-tl-item {
    animation: fadeUp 0.35s var(--ease-out) both;
}

.slide.active .spk-tl-item:nth-child(1) {
    animation-delay: 0.2s;
}

.slide.active .spk-tl-item:nth-child(2) {
    animation-delay: 0.26s;
}

.slide.active .spk-tl-item:nth-child(3) {
    animation-delay: 0.32s;
}

.slide.active .spk-tl-item:nth-child(4) {
    animation-delay: 0.38s;
}

.slide.active .spk-tl-item:nth-child(5) {
    animation-delay: 0.44s;
}

.slide.active .spk-tl-item:nth-child(6) {
    animation-delay: 0.50s;
}

.slide.active .spk-award {
    animation: fadeUp 0.4s var(--ease-out) both;
}

.slide.active .spk-award:nth-child(1) {
    animation-delay: 0.38s;
}

.slide.active .spk-award:nth-child(2) {
    animation-delay: 0.44s;
}

.slide.active .spk-award:nth-child(3) {
    animation-delay: 0.50s;
}

.slide.active .spk-award:nth-child(4) {
    animation-delay: 0.56s;
}

/* =============================================
   SLIDE 3 — AGENDA
   ============================================= */
.slide-agenda {
    background: var(--surface);
}

.agenda-layout {
    gap: 0;
    justify-content: center;
}

.agenda-header {
    margin-bottom: 40px;
}

.agenda-eyebrow {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.agenda-title {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.agenda-chapters {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.chapter-item {
    display: grid;
    grid-template-columns: 160px 1fr 56px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    gap: 24px;
    transition: background 0.2s;
}

.chapter-item:first-child {
    border-top: 1px solid var(--border);
}

.chap-label {
    font-size: 30px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    font-family: var(--font-body);
}

.chapter-item:nth-child(1) .chap-label {
    color: var(--blue);
}

.chapter-item:nth-child(2) .chap-label {
    color: var(--red);
}

.chapter-item:nth-child(3) .chap-label {
    color: var(--yellow);
}

.chapter-item:nth-child(4) .chap-label {
    color: var(--green);
}

.chapter-title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.chapter-icon {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hands-on-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 28px;
    margin-top: 32px;
}

.hands-on-icon {
    flex-shrink: 0;
}

.hands-on-content {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hands-on-label {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
}

.hands-on-desc {
    font-size: 30px;
    color: var(--text-secondary);
}

/* =============================================
   CHAPTER TITLE SLIDES
   ============================================= */
.slide-chapter {
    background: var(--surface);
}

.chapter-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.chapter-bg-number {
    position: absolute;
    right: -24px;
    bottom: -48px;
    font-family: var(--font-display);
    font-size: 340px;
    font-weight: 700;
    color: rgba(26, 28, 30, 0.05);
    line-height: 1;
    user-select: none;
}

.chapter-layout {
    justify-content: center;
    gap: 24px;
}

.chapter-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    font-family: var(--font-body);
}

.chapter-heading {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 860px;
}

.chapter-desc {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 800px;
    line-height: 1.6;
    margin-top: 8px;
}

.chapter-accent-line {
    width: 56px;
    height: 5px;
    background: var(--blue);
    border-radius: 3px;
    margin-top: 8px;
}

/* ── Chapter brand logo panel ── */
.chapter-brand-logos {
    position: absolute;
    right: var(--slide-pad-x);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 28px;
    z-index: 10;
}

.chapter-brand-item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 48px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    transition: transform 0.22s var(--spring), box-shadow 0.22s var(--ease-out);
    cursor: default;
    min-width: 320px;
}

.chapter-brand-item:hover {
    transform: translateX(-6px);
    box-shadow: var(--shadow-lg);
}

.chapter-brand-item svg {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}

.chapter-brand-name {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.brand-google  { border-left: 4px solid #4285F4; background: rgba(66,133,244,0.03); }
.brand-gemini  { border-left: 4px solid #9B72F7; background: rgba(155,114,247,0.04); }
.brand-linkedin{ border-left: 4px solid #0077B5; background: rgba(0,119,181,0.04); }

.slide.active .chapter-brand-item {
    animation: fadeUp 0.5s var(--ease-out) both;
}
.slide.active .chapter-brand-item:nth-child(1) { animation-delay: 0.20s; }
.slide.active .chapter-brand-item:nth-child(2) { animation-delay: 0.30s; }
.slide.active .chapter-brand-item:nth-child(3) { animation-delay: 0.40s; }


/* =============================================
   REVEAL SLIDE SYSTEM
   ============================================= */
.slide-reveal {
    background: var(--surface);
}

.slide-reveal-dark {
    background: var(--text-primary);
}

.reveal-step {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out);
}

.reveal-step.active-step {
    opacity: 1;
    pointer-events: all;
}

.slide:not(.active) .reveal-step,
.slide:not(.active) .grid-step {
    transition: none;
}

.grid-step {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--spring);
    pointer-events: none;
}

.grid-step.active-step {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.reveal-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.reveal-dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--border) 1.5px, transparent 1.5px);
    background-size: 36px 36px;
    opacity: 0.5;
}

.reveal-bg-dark {
    background: transparent;
}

.reveal-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
}

.reveal-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 56px;
    position: relative;
    z-index: 10;
}

.reveal-question {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.12;
    letter-spacing: -0.03em;
    max-width: 1600px;
    transition: font-size 0.4s var(--ease-out);
}

.reveal-question-dark {
    color: #ffffff;
}

.reveal-question-sm {
    font-size: 44px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.reveal-question-dark.reveal-question-sm {
    color: rgba(255, 255, 255, 0.45);
}

.reveal-answer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    animation: fadeUp 0.55s 0.05s var(--ease-out) both;
}

.reveal-answer-heading {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.reveal-answer-heading-dark {
    color: #ffffff;
}

.reveal-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.rl-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 100px;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg);
    border: 1.5px solid var(--border);
    font-family: var(--font-body);
    animation: fadeUp 0.4s var(--ease-out) both;
}

.rl-pill:nth-child(1) {
    animation-delay: 0.1s;
    border-color: rgba(66, 133, 244, 0.3);
    color: var(--blue);
    background: rgba(66, 133, 244, 0.05);
}

.rl-pill:nth-child(2) {
    animation-delay: 0.17s;
    border-color: rgba(234, 67, 53, 0.3);
    color: var(--red);
    background: rgba(234, 67, 53, 0.05);
}

.rl-pill:nth-child(3) {
    animation-delay: 0.24s;
    border-color: rgba(251, 188, 4, 0.35);
    color: #9A7400;
    background: rgba(251, 188, 4, 0.06);
}

.rl-pill:nth-child(4) {
    animation-delay: 0.31s;
    border-color: rgba(52, 168, 83, 0.3);
    color: var(--green);
    background: rgba(52, 168, 83, 0.05);
}

.rl-pill:nth-child(5) {
    animation-delay: 0.38s;
    border-color: rgba(66, 133, 244, 0.2);
    color: var(--blue);
    background: rgba(66, 133, 244, 0.04);
}

.rl-pill-muted {
    color: var(--text-muted) !important;
    background: var(--border-light) !important;
    border-color: var(--border) !important;
    animation-delay: 0.45s !important;
}

/* Highlight spans */
.rq-highlight-blue {
    color: var(--blue);
}

.rq-highlight-blue-on-dark {
    color: #82B8FF;
}

.rq-highlight-grad {
    background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   SLIDE — HANDS-ON
   ============================================= */
.slide-handson {
    background: var(--text-primary);
}

.handson-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
}

.handson-layout {
    justify-content: center;
    gap: 32px;
}

.handson-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(52, 168, 83, 0.1);
    border: 1px solid rgba(52, 168, 83, 0.2);
    padding: 8px 18px;
    border-radius: 100px;
    align-self: flex-start;
}

.handson-title {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.handson-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.4);
}

/* =============================================
   SLIDE — CLOSING
   ============================================= */
.slide-closing {
    background: var(--surface);
}

.closing-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.closing-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--border) 1.5px, transparent 1.5px);
    background-size: 36px 36px;
    opacity: 0.5;
}

.closing-layout {
    justify-content: center;
    gap: 28px;
}

.closing-gdg-dots {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.closing-title {
    font-family: var(--font-display);
    font-size: 67.2px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-align: center;
}

.closing-title em {
    font-style: normal;
    color: var(--blue);
}

.closing-body {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
}

.closing-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
}

.closing-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.closing-speaker {
    display: flex;
    align-items: center;
    gap: 16px;
}

.closing-speaker div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.closing-speaker strong {
    font-size: 22.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.closing-speaker span {
    font-size: 18.75px;
    color: var(--text-muted);
}

.closing-event {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Speaker avatar small (closing) */
.speaker-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(66, 133, 244, 0.1);
    color: var(--blue);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(66, 133, 244, 0.2);
    flex-shrink: 0;
    object-fit: cover;
    object-position: center;
}

.speaker-avatar.sm {
    width: 60px;
    height: 60px;
    font-size: 14px;
}

/* =============================================
   SLIDE MAP
   ============================================= */
.slide-map {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 200;
}

.map-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.map-toggle:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
}

/* =============================================
   STAGGER ANIMATIONS
   ============================================= */
.slide.active .slide-label {
    animation: fadeUp 0.4s 0.05s var(--ease-out) both;
}

.slide.active .cover-meta {
    animation: fadeUp 0.5s 0.08s var(--ease-out) both;
}

.slide.active .cover-headline {
    animation: fadeUp 0.6s 0.15s var(--ease-out) both;
}

.slide.active .cover-visual {
    animation: fadeUp 0.7s 0.22s var(--ease-out) both;
}

.slide.active .agenda-header {
    animation: fadeUp 0.5s 0.08s var(--ease-out) both;
}

.slide.active .chapter-item {
    animation: fadeUp 0.4s var(--ease-out) both;
}

.slide.active .chapter-item:nth-child(1) {
    animation-delay: 0.12s;
}

.slide.active .chapter-item:nth-child(2) {
    animation-delay: 0.18s;
}

.slide.active .chapter-item:nth-child(3) {
    animation-delay: 0.24s;
}

.slide.active .chapter-item:nth-child(4) {
    animation-delay: 0.30s;
}

.slide.active .hands-on-card {
    animation: fadeUp 0.5s 0.38s var(--ease-out) both;
}

.slide.active .chapter-badge {
    animation: fadeUp 0.5s 0.10s var(--ease-out) both;
}

.slide.active .chapter-heading {
    animation: fadeUp 0.6s 0.18s var(--ease-out) both;
}

.slide.active .chapter-desc {
    animation: fadeUp 0.5s 0.28s var(--ease-out) both;
}

.slide.active .chapter-accent-line {
    animation: expandWidth 0.5s 0.38s var(--ease-out) both;
}

.slide.active .handson-badge {
    animation: fadeUp 0.4s 0.08s var(--ease-out) both;
}

.slide.active .handson-title {
    animation: fadeUp 0.6s 0.15s var(--ease-out) both;
}

.slide.active .handson-subtitle {
    animation: fadeUp 0.5s 0.22s var(--ease-out) both;
}

.slide.active .closing-gdg-dots {
    animation: fadeUp 0.4s 0.08s var(--ease-out) both;
}

.slide.active .closing-title {
    animation: fadeUp 0.6s 0.16s var(--ease-out) both;
}

.slide.active .closing-body {
    animation: fadeUp 0.5s 0.26s var(--ease-out) both;
}

.slide.active .closing-meta {
    animation: fadeUp 0.5s 0.36s var(--ease-out) both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 56px;
        opacity: 1;
    }
}

/* =============================================
   FULLSCREEN
   ============================================= */
:fullscreen .nav-controls,
:fullscreen .progress-bar,
:fullscreen .slide-counter,
:fullscreen .fullscreen-btn,
:fullscreen .slide-map {
    display: none !important;
}

@media print {
    .slide {
        position: relative;
        opacity: 1 !important;
        transform: none !important;
        page-break-after: always;
    }

    .progress-bar,
    .slide-counter,
    .nav-controls,
    .fullscreen-btn,
    .slide-map {
        display: none;
    }
}

/* =============================================
   COVER TAGS FOOTER
   ============================================= */
.cover-tags-footer {
    position: absolute;
    bottom: 56px;
    left: var(--slide-pad-x);
    right: var(--slide-pad-x);
    z-index: 20;
}

.cover-tags-footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cover-tags-footer .tag {
    font-size: 15px;
    padding: 6px 16px;
}

.slide.active .cover-tags-footer {
    animation: fadeUp 0.6s 0.32s var(--ease-out) both;
}

/* =============================================
   SPEAKER SLIDE — UPDATES
   ============================================= */
.spk-details-scrollable {
    overflow: visible;
    gap: 24px;
}

/* Bottom two-column row for awards + speakership */
.spk-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.spk-section-half {
    flex: none;
}

.spk-awards-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spk-awards-col .spk-award {
    padding: 10px 14px;
    border-radius: 10px;
}

.spk-awards-col .spk-award-medal {
    font-size: 20px;
}

.spk-awards-col .spk-award-title {
    font-size: 13px;
}

.spk-awards-col .spk-award-year {
    font-size: 12px;
}

/* Speakership list */
.spk-speak-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spk-speak-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.spk-speak-item:last-child {
    border-bottom: none;
}

.spk-speak-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.spk-speak-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spk-speak-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.spk-speak-org {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Reduce timeline padding for tighter fit */
.spk-details-scrollable .spk-tl-item {
    padding: 10px 0;
}

.spk-details-scrollable .spk-tl-role {
    font-size: 17px;
}

.spk-details-scrollable .spk-tl-org {
    font-size: 15px;
}

/* =============================================
   REVEAL STEP 2 — POP ANIMATION (answer only)
   ============================================= */
.reveal-answer-pop {
    animation: revealPop 0.55s var(--ease-out) both;
}

@keyframes revealPop {
    0% {
        opacity: 0;
        transform: scale(0.82) translateY(20px);
    }

    60% {
        transform: scale(1.04) translateY(-4px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Step 3 langs stagger (override existing nth-child delays) */
.reveal-step.step-3 .rl-pill:nth-child(1) {
    animation-delay: 0.05s;
}

.reveal-step.step-3 .rl-pill:nth-child(2) {
    animation-delay: 0.12s;
}

.reveal-step.step-3 .rl-pill:nth-child(3) {
    animation-delay: 0.19s;
}

.reveal-step.step-3 .rl-pill:nth-child(4) {
    animation-delay: 0.26s;
}

.reveal-step.step-3 .rl-pill:nth-child(5) {
    animation-delay: 0.33s;
}

.reveal-step.step-3 .rl-pill:nth-child(6) {
    animation-delay: 0.40s;
}

/* Re-trigger pill animation when step becomes active */
.reveal-step.active-step .rl-pill {
    animation: fadeUp 0.4s var(--ease-out) both;
}

/* =============================================
   UPDATE PATCH — cover tags justify, speaker card,
   chapter 2-line, why-slide animation
   ============================================= */

/* 1. Cover tags — justify (space-between) */
.cover-tags-footer-row {
    justify-content: space-between !important;
    flex-wrap: nowrap;
    width: 100%;
}

/* Grow individual tags equally to fill the row */
.cover-tags-footer-row .tag {
    flex: 1;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    font-size: 14px;
    padding: 7px 10px;
}

/* Hidden spacer no longer needed */
.cover-tags-spacer {
    display: none;
}

/* 2a. Speaker card — center avatar, wider card */
.spk-identity {
    width: 480px !important;
    /* 400 * 1.2 */
}

.spk-card {
    align-items: center !important;
    /* center everything */
    padding: 48px 44px 44px !important;
}

.spk-avatar-wrap {
    width: 144px !important;
    /* 120 * 1.2 */
    height: 144px !important;
}

.spk-avatar {
    width: 144px !important;
    height: 144px !important;
    font-size: 38px !important;
}

.spk-name-block {
    align-items: center;
    text-align: center;
}

.spk-name {
    font-size: 28px !important;
    text-align: center;
}

.spk-title-role {
    font-size: 15px !important;
    text-align: center;
}

.spk-edu-badge {
    font-size: 14px !important;
    padding: 11px 16px !important;
}

.spk-social-pill {
    font-size: 13px !important;
    padding: 10px 16px !important;
    justify-content: flex-start;
}

/* 2b. Right-side text 20% larger */
.spk-details-scrollable .spk-section-label {
    font-size: 15px !important;
}

.spk-details-scrollable .spk-tl-role {
    font-size: 20px !important;
}

.spk-details-scrollable .spk-tl-org {
    font-size: 18px !important;
}

.spk-details-scrollable .spk-tl-year {
    font-size: 17px !important;
}

.spk-awards-col .spk-award-title {
    font-size: 15px !important;
}

.spk-awards-col .spk-award-year {
    font-size: 14px !important;
}

.spk-speak-title {
    font-size: 17px !important;
}

.spk-speak-org {
    font-size: 14px !important;
}

/* 3. Chapter heading — force 2 lines, no 3-line wraps */
.chapter-heading {
    font-size: 76px !important;
    white-space: normal;
    max-width: 1400px !important;
    text-wrap: balance;
}

/* 4. Why slide — smooth cross-fade transition */
/* Base: step-2 starts invisible and slightly shifted down */
.reveal-step-crossfade {
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out) !important;
}

/* "Why?" text in step-2 slides up from where it was (no jump) */
.why-question-persist {
    animation: whyPersist 0.5s 0s var(--ease-out) both;
}

@keyframes whyPersist {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Answer block pops in with slight delay */
.reveal-answer-why-pop {
    animation: whyAnswerIn 0.65s 0.18s var(--ease-out) both;
}

@keyframes whyAnswerIn {
    0% {
        opacity: 0;
        transform: translateY(32px) scale(0.94);
    }

    65% {
        transform: translateY(-4px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Override default reveal-step transition for step-2 on the why slide */
#slide-5 .reveal-step.step-2 {
    transition: opacity 0.55s var(--ease-out) !important;
}

/* Step 1 fades out smoothly when step-2 becomes active */
#slide-5 .reveal-step.step-1 {
    transition: opacity 0.45s var(--ease-out) !important;
}

/* =============================================
   SPEAKER CARD PATCH — full height, larger avatar,
   bold section labels
   ============================================= */

/* Make identity column stretch to full slide height */
.spk-layout {
    align-items: stretch !important;
}

.spk-identity {
    align-items: stretch !important;
    display: flex;
    flex-direction: column;
}

.spk-card {
    flex: 1 !important;
    justify-content: center !important;
    gap: 20px !important;
}

/* Avatar — double the size (~120 base * 2 = 240, override patch 144) */
.spk-avatar-wrap {
    width: 240px !important;
    height: 240px !important;
}

.spk-avatar {
    width: 240px !important;
    height: 240px !important;
    font-size: 56px !important;
}

.spk-avatar-ring {
    inset: -6px !important;
}

/* Bold all section label headings */
.spk-section-label {
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    color: var(--text-secondary) !important;
}

/* =============================================================
   NEW DECK — Personal Branding & Portofolio Digital dengan AI
   Additional component library (built on existing tokens)
   ============================================================= */

/* ---- Generic eyebrow / kicker ---- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    font-family: var(--font-body);
}

.kicker .gdg-dot {
    width: 8px;
    height: 8px;
}

/* ---- Generic content title block ---- */
.content-header {
    margin-bottom: 40px;
    max-width: 1400px;
}

.content-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    line-height: 1.1;
    margin-top: 10px;
}

.content-sub {
    font-size: 20px;
    color: var(--text-secondary);
    margin-top: 14px;
    line-height: 1.55;
    max-width: 980px;
}

/* =============================================================
   1. BRAND GUESS GRID (Slide 1.1)
   ============================================================= */
.guess-layout {
    justify-content: center;
}

.guess-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.guess-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.guess-card:hover {
    box-shadow: 0 12px 32px rgba(32, 33, 36, 0.07);
}

.guess-logo {
    height: 0;
    opacity: 0;
    transform: translateY(16px) scale(0.85);
    transition: all 0.4s var(--spring);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guess-card.revealed .guess-logo {
    height: 80px;
    opacity: 1;
    transform: translateY(0) scale(1);
    margin-bottom: 12px;
}

.guess-clue {
    font-size: 19px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.45;
    transition: all 0.4s var(--ease-out);
}

.guess-card.revealed .guess-clue {
    font-size: 15px;
    color: var(--text-secondary);
}

.guess-card.guess-highlight {
    background: linear-gradient(145deg, rgba(66, 133, 244, 0.05), rgba(52, 168, 83, 0.05));
    border-color: rgba(66, 133, 244, 0.25);
}

.guess-card.guess-highlight .guess-answer {
    background: linear-gradient(90deg, var(--blue), var(--green));
    color: #fff;
}

/* =============================================================
   2. QUOTE / DEFINITION SLIDES
   ============================================================= */
.slide-define {
    background: var(--bg);
}

.define-layout {
    flex-direction: row;
    align-items: center;
    gap: 72px;
}

.define-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.define-term {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.define-term.term-brand {
    color: var(--blue);
}

.define-term.term-branding {
    color: var(--green);
}

.define-text {
    font-size: 24px;
    line-height: 1.55;
    color: var(--text-primary);
    font-weight: 500;
}

.define-divider-v {
    width: 1px;
    align-self: stretch;
    background: var(--border);
}

.quote-block {
    margin-top: 8px;
    padding: 28px 32px;
    background: var(--surface);
    border-left: 4px solid var(--blue);
    border-radius: 0 16px 16px 0;
}

.quote-block p {
    font-family: var(--font-display);
    font-size: 22px;
    font-style: normal;
    color: var(--text-primary);
    line-height: 1.5;
}

.quote-block cite {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    font-style: normal;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 600;
}

/* Full quote hero (chapter transitions) */
.slide-quote-hero {
    background: var(--text-primary);
}

.quote-hero-layout {
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.quote-hero-mark {
    font-family: var(--font-display);
    font-size: 96px;
    line-height: 0.6;
    color: rgba(255, 255, 255, 0.15);
}

.quote-hero-text {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
    max-width: 1300px;
    letter-spacing: -0.01em;
}

.quote-hero-text em {
    font-style: normal;
    color: #82B8FF;
}

.quote-hero-attr {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* =============================================================
   3. NUMBERED GOAL CARDS
   ============================================================= */
.goal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 12px;
}

.goal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.goal-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
}

.goal-card:nth-child(1) .goal-num {
    color: rgba(66, 133, 244, 0.35);
}

.goal-card:nth-child(2) .goal-num {
    color: rgba(234, 67, 53, 0.35);
}

.goal-card:nth-child(3) .goal-num {
    color: rgba(52, 168, 83, 0.35);
}

.goal-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

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

.goal-example {
    margin-top: auto;
    font-size: 14px;
    color: var(--text-muted);
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    line-height: 1.5;
}

.goal-example strong {
    color: var(--text-secondary);
}

/* =============================================================
   4. OPPORTUNITY CARDS (why it matters)
   ============================================================= */
.opp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
}

.opp-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.opp-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opp-card:nth-child(1) .opp-icon {
    background: rgba(66, 133, 244, 0.1);
}

.opp-card:nth-child(2) .opp-icon {
    background: rgba(52, 168, 83, 0.1);
}

.opp-card:nth-child(3) .opp-icon {
    background: rgba(251, 188, 4, 0.14);
}

.opp-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
}

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

.insight-strip {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px;
    background: var(--text-primary);
    border-radius: 16px;
}

.insight-strip-icon {
    flex-shrink: 0;
}

.insight-strip p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.55;
}

.insight-strip strong {
    color: #fff;
}

/* =============================================================
   5. 8-STEP OVERVIEW GRID
   ============================================================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.step-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.step-pill-num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.step-pill-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.step-pill-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-pill-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}

.steps-grid .step-pill:nth-child(1) .step-pill-accent {
    background: var(--blue);
}

.steps-grid .step-pill:nth-child(2) .step-pill-accent {
    background: var(--red);
}

.steps-grid .step-pill:nth-child(3) .step-pill-accent {
    background: var(--yellow);
}

.steps-grid .step-pill:nth-child(4) .step-pill-accent {
    background: var(--green);
}

.steps-grid .step-pill:nth-child(5) .step-pill-accent {
    background: var(--blue);
}

.steps-grid .step-pill:nth-child(6) .step-pill-accent {
    background: var(--red);
}

.steps-grid .step-pill:nth-child(7) .step-pill-accent {
    background: var(--yellow);
}

.steps-grid .step-pill:nth-child(8) .step-pill-accent {
    background: var(--green);
}

/* =============================================================
   6. STEP DETAIL LAYOUT (left text / right mockup)
   ============================================================= */
.step-detail-layout {
    flex-direction: row;
    gap: 64px;
    align-items: center;
}

.step-detail-left {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-detail-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.step-detail-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.step-detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.step-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-detail-item .sdi-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    margin-top: 9px;
    flex-shrink: 0;
}

.step-detail-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* =============================================================
   7. LINKEDIN MOCKUP CARDS
   ============================================================= */
.li-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(32, 33, 36, 0.06), 0 1px 3px rgba(32, 33, 36, 0.04);
}

.li-banner {
    height: 92px;
    background: linear-gradient(120deg, #202124 0%, #3c1f1f 60%, #5a2a2a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 24px;
}

.li-banner-title {
    color: #fff;
    text-align: right;
}

.li-banner-title .t1 {
    font-size: 15px;
    font-weight: 700;
}

.li-banner-title .t2 {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.li-body {
    padding: 0 24px 22px;
}

.li-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.15), rgba(52, 168, 83, 0.15));
    border: 3px solid #fff;
    margin-top: -38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--blue);
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.li-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.li-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

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

.li-headline {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 4px;
    max-width: 420px;
}

.li-loc {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 8px;
}

.li-loc a {
    color: var(--blue);
    text-decoration: none;
}

.li-stats {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 4px;
}

.li-btn-row {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.li-btn {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
}

.li-btn-primary {
    background: var(--blue);
    color: #fff;
}

.li-btn-secondary {
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.li-section-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 28px;
}

.li-section-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.li-section-body {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.li-section-body p+p {
    margin-top: 10px;
}

.li-edu-row {
    display: flex;
    gap: 14px;
}

.li-edu-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.li-edu-content {
    flex: 1;
}

.li-edu-school {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.li-edu-degree {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.li-edu-date {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.li-edu-meta {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
    line-height: 1.6;
}

.li-edu-meta b {
    color: var(--text-primary);
}

/* =============================================================
   8. GEMINI PROMPT CARD
   ============================================================= */
.gemini-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(32, 33, 36, 0.07);
}

.gemini-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(90deg, rgba(66, 133, 244, 0.04), rgba(52, 168, 83, 0.04));
}

.gemini-header-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: conic-gradient(from 180deg, #4285F4, #34A853, #FBBC04, #EA4335, #4285F4);
}

.gemini-header-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.gemini-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gemini-prompt {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-primary);
}

.gemini-prompt .gp-tag {
    color: var(--blue);
    font-weight: 600;
}

.gemini-output-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.gemini-output {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-left: 2px;
}

/* =============================================================
   9. M-SHAPED EMPLOYEE DIAGRAM
   ============================================================= */
.mshape-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 32px 20px;
}

.mshape-axis-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 14px;
}

.mshape-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 130px;
    gap: 20px;
}

.mshape-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
}

.mshape-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 100%;
}

.mshape-bar {
    width: 14px;
    background: var(--blue);
    border-radius: 3px 3px 0 0;
}

.mshape-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 6px;
}

/* =============================================================
   10. TWO-COLUMN STEP CARDS (Experience / Reputation)
   ============================================================= */
.dual-step-layout {
    flex-direction: row;
    gap: 32px;
}

.dual-step-card {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dual-step-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dual-step-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dual-step-card:nth-child(1) .dual-step-icon {
    background: rgba(66, 133, 244, 0.1);
}

.dual-step-card:nth-child(2) .dual-step-icon {
    background: rgba(234, 67, 53, 0.1);
}

.dual-step-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.dual-step-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

/* =============================================================
   11. TRIPLE CARDS (Content / Networking / Consistency)
   ============================================================= */
.triple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
}

.triple-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.triple-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.triple-grid .triple-card:nth-child(1) .triple-icon {
    background: rgba(52, 168, 83, 0.1);
}

.triple-grid .triple-card:nth-child(2) .triple-icon {
    background: rgba(66, 133, 244, 0.1);
}

.triple-grid .triple-card:nth-child(3) .triple-icon {
    background: rgba(251, 188, 4, 0.14);
}

.triple-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
}

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

.triple-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
}

.triple-list li {
    font-size: 13.5px;
    color: var(--text-secondary);
    list-style: none;
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.triple-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* =============================================================
   12. CHECKLIST GRID
   ============================================================= */
.checklist-header {
    text-align: center;
    margin-bottom: 28px;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 32px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.check-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(66, 133, 244, 0.08);
    color: var(--blue);
}

.check-item:nth-child(4n+2) .check-icon {
    background: rgba(52, 168, 83, 0.08);
    color: var(--green);
}

.check-item:nth-child(4n+3) .check-icon {
    background: rgba(251, 188, 4, 0.12);
    color: #9A7400;
}

.check-item:nth-child(4n) .check-icon {
    background: rgba(234, 67, 53, 0.08);
    color: var(--red);
}

.check-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.check-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 3px;
    line-height: 1.5;
}

/* =============================================================
   13. TBA / COMING SOON BADGE
   ============================================================= */
.tba-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.tba-badge .gdg-dot {
    animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

/* =============================================================
   14. CLOSING / CTA
   ============================================================= */
.cta-layout {
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 84px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.cta-sub {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 720px;
    line-height: 1.6;
}

.cta-contacts {
    display: flex;
    gap: 14px;
    margin-top: 12px;
}

/* =============================================================
   ANIMATIONS for new components
   ============================================================= */
.slide.active .guess-card {
    animation: fadeUp 0.4s var(--ease-out) both;
}

.slide.active .guess-card:nth-child(1) {
    animation-delay: 0.08s;
}

.slide.active .guess-card:nth-child(2) {
    animation-delay: 0.13s;
}

.slide.active .guess-card:nth-child(3) {
    animation-delay: 0.18s;
}

.slide.active .guess-card:nth-child(4) {
    animation-delay: 0.23s;
}

.slide.active .guess-card:nth-child(5) {
    animation-delay: 0.28s;
}

.slide.active .guess-card:nth-child(6) {
    animation-delay: 0.33s;
}

.slide.active .goal-card {
    animation: fadeUp 0.45s var(--ease-out) both;
}

.slide.active .goal-card:nth-child(1) {
    animation-delay: 0.1s;
}

.slide.active .goal-card:nth-child(2) {
    animation-delay: 0.18s;
}

.slide.active .goal-card:nth-child(3) {
    animation-delay: 0.26s;
}

.slide.active .opp-card {
    animation: fadeUp 0.45s var(--ease-out) both;
}

.slide.active .opp-card:nth-child(1) {
    animation-delay: 0.1s;
}

.slide.active .opp-card:nth-child(2) {
    animation-delay: 0.18s;
}

.slide.active .opp-card:nth-child(3) {
    animation-delay: 0.26s;
}

.slide.active .insight-strip {
    animation: fadeUp 0.5s 0.34s var(--ease-out) both;
}

.slide.active .step-pill {
    animation: fadeUp 0.4s var(--ease-out) both;
}

.slide.active .step-pill:nth-child(1) {
    animation-delay: 0.06s;
}

.slide.active .step-pill:nth-child(2) {
    animation-delay: 0.1s;
}

.slide.active .step-pill:nth-child(3) {
    animation-delay: 0.14s;
}

.slide.active .step-pill:nth-child(4) {
    animation-delay: 0.18s;
}

.slide.active .step-pill:nth-child(5) {
    animation-delay: 0.22s;
}

.slide.active .step-pill:nth-child(6) {
    animation-delay: 0.26s;
}

.slide.active .step-pill:nth-child(7) {
    animation-delay: 0.3s;
}

.slide.active .step-pill:nth-child(8) {
    animation-delay: 0.34s;
}

.slide.active .step-detail-left {
    animation: fadeUp 0.5s 0.08s var(--ease-out) both;
}

.slide.active .step-detail-right {
    animation: fadeUp 0.6s 0.18s var(--ease-out) both;
}

.slide.active .triple-card {
    animation: fadeUp 0.45s var(--ease-out) both;
}

.slide.active .triple-card:nth-child(1) {
    animation-delay: 0.1s;
}

.slide.active .triple-card:nth-child(2) {
    animation-delay: 0.18s;
}

.slide.active .triple-card:nth-child(3) {
    animation-delay: 0.26s;
}

.slide.active .dual-step-card {
    animation: fadeUp 0.5s var(--ease-out) both;
}

.slide.active .dual-step-card:nth-child(1) {
    animation-delay: 0.1s;
}

.slide.active .dual-step-card:nth-child(2) {
    animation-delay: 0.2s;
}

.slide.active .check-item {
    animation: fadeUp 0.35s var(--ease-out) both;
}

.slide.active .checklist-header {
    animation: fadeUp 0.4s 0.05s var(--ease-out) both;
}

.slide.active .define-col:nth-child(1) {
    animation: fadeUp 0.5s 0.08s var(--ease-out) both;
}

.slide.active .define-col:nth-child(3) {
    animation: fadeUp 0.5s 0.18s var(--ease-out) both;
}

.slide.active .quote-hero-text {
    animation: fadeUp 0.7s 0.1s var(--ease-out) both;
}

.slide.active .quote-hero-attr {
    animation: fadeUp 0.6s 0.24s var(--ease-out) both;
}

.slide.active .tba-badge {
    animation: fadeUp 0.6s 0.32s var(--ease-out) both;
}

.slide.active .cta-title {
    animation: fadeUp 0.6s 0.1s var(--ease-out) both;
}

.slide.active .cta-sub {
    animation: fadeUp 0.55s 0.2s var(--ease-out) both;
}

.slide.active .cta-contacts {
    animation: fadeUp 0.5s 0.3s var(--ease-out) both;
}

.slide.active .li-card,
.slide.active .li-section-card,
.slide.active .gemini-card,
.slide.active .mshape-wrap {
    animation: fadeUp 0.55s 0.15s var(--ease-out) both;
}

/* Responsive-ish tuning for content density */
.content-fit .slide-content {
    padding-top: calc(var(--slide-pad-y) + 16px);
}

/* =============================================================
   CHAPTER 2 EXTENSION — Digital Portfolio components
   ============================================================= */

/* ---- 15. Bento anatomy grid ---- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 18px;
    margin-top: 8px;
    height: 560px;
}

.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}

.bento-card.b-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    justify-content: space-between;
}

.bento-card.b-2 {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
    justify-content: space-between;
}

.bento-card.b-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.bento-card.b-4 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b-1 .bento-icon {
    background: rgba(66, 133, 244, 0.1);
}

.b-2 .bento-icon {
    background: rgba(52, 168, 83, 0.1);
}

.b-3 .bento-icon {
    background: rgba(251, 188, 4, 0.14);
}

.b-4 .bento-icon {
    background: rgba(234, 67, 53, 0.1);
}

.bento-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 20px;
}

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

.bento-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.bento-mini-tag {
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--border-light);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.bento-card.b-2 .bento-title {
    font-size: 24px;
}

.bento-fifth-note {
    margin-top: 16px;
    font-size: 15px;
    color: var(--text-muted);
    text-align: center;
}

/* ---- 16. AI Mode search mockup ---- */
.aimode-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(32, 33, 36, 0.07);
}

.aimode-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.aimode-search-bar svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.aimode-search-text {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.aimode-tabs {
    display: flex;
    gap: 18px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border-light);
}

.aimode-tab {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    padding-bottom: 8px;
}

.aimode-tab.active {
    color: var(--blue);
    border-bottom: 2px solid var(--blue);
}

.aimode-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.aimode-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    background: conic-gradient(from 180deg, #4285F4, #34A853, #FBBC04, #EA4335, #4285F4);
    color: #fff;
}

.aimode-summary {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.aimode-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.aimode-source-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--border-light);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 100px;
}

.aimode-source-chip .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* ---- 17. Sitemap / structure diagram ---- */
.sitemap-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 12px;
}

.sitemap-root {
    background: var(--text-primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    padding: 14px 32px;
    border-radius: 12px;
}

.sitemap-connector {
    width: 1px;
    height: 28px;
    background: var(--border);
}

.sitemap-branch-row {
    display: flex;
    gap: 24px;
    position: relative;
}

.sitemap-branch-row::before {
    content: '';
    position: absolute;
    top: -28px;
    left: 0;
    right: 0;
    height: 28px;
}

.sitemap-node {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 150px;
}

.sitemap-node-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
}

.sitemap-node-sub {
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: center;
}

.sitemap-node.accent-blue {
    border-color: rgba(66, 133, 244, 0.35);
}

.sitemap-node.accent-green {
    border-color: rgba(52, 168, 83, 0.35);
}

.sitemap-node.accent-yellow {
    border-color: rgba(251, 188, 4, 0.4);
}

.sitemap-node.accent-red {
    border-color: rgba(234, 67, 53, 0.35);
}

.sitemap-node.accent-purple {
    border-color: rgba(124, 58, 237, 0.35);
}

.sitemap-children {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    gap: 8px;
}

.sitemap-child {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--border-light);
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
}

/* ---- Animations for new components ---- */
.slide.active .bento-card {
    animation: fadeUp 0.45s var(--ease-out) both;
}

.slide.active .bento-card.b-1 {
    animation-delay: 0.08s;
}

.slide.active .bento-card.b-2 {
    animation-delay: 0.16s;
}

.slide.active .bento-card.b-3 {
    animation-delay: 0.24s;
}

.slide.active .bento-card.b-4 {
    animation-delay: 0.30s;
}

.slide.active .aimode-card {
    animation: fadeUp 0.55s 0.15s var(--ease-out) both;
}

.slide.active .sitemap-root {
    animation: fadeUp 0.4s 0.05s var(--ease-out) both;
}

.slide.active .sitemap-node {
    animation: fadeUp 0.4s var(--ease-out) both;
}

.slide.active .sitemap-branch-row .sitemap-node:nth-child(1) {
    animation-delay: 0.14s;
}

.slide.active .sitemap-branch-row .sitemap-node:nth-child(2) {
    animation-delay: 0.20s;
}

.slide.active .sitemap-branch-row .sitemap-node:nth-child(3) {
    animation-delay: 0.26s;
}

.slide.active .sitemap-branch-row .sitemap-node:nth-child(4) {
    animation-delay: 0.32s;
}

.slide.active .sitemap-branch-row .sitemap-node:nth-child(5) {
    animation-delay: 0.38s;
}

/* =============================================
   PREMIUM UI/UX ENHANCEMENTS — GSA AI Forge 2026
   ============================================= */

/* ─────────────────────────────────────────────
   COVER SLIDE — Animated mesh gradient bg
   ───────────────────────────────────────────── */
.slide-cover {
    background: var(--bg);
}

.cover-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 70% at 80% 50%, rgba(66, 133, 244, 0.10) 0%, transparent 65%),
        radial-gradient(ellipse 50% 60% at 15% 80%, rgba(52, 168, 83, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 10%, rgba(251, 188, 4, 0.05) 0%, transparent 60%);
    animation: coverGradientShift 8s ease-in-out infinite alternate;
}

@keyframes coverGradientShift {
    0%   { opacity: 0.8; transform: scale(1) rotate(0deg); }
    50%  { opacity: 1; transform: scale(1.04) rotate(1deg); }
    100% { opacity: 0.85; transform: scale(1.02) rotate(-0.5deg); }
}

/* ─── Event Badge — Glassmorphic ─── */
.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(1.8);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 100px;
    box-shadow: var(--glass-shadow), 0 2px 8px rgba(66,133,244,0.08);
}

/* ─── Cover Title — Animated accent underline ─── */
.accent-underline::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 5px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    border-radius: 3px;
    transition: width 0s;
}

.slide.active .accent-underline::after {
    animation: underlineGrow 0.7s 0.45s var(--ease-out) forwards;
}

@keyframes underlineGrow {
    from { width: 0%; }
    to   { width: 100%; }
}

/* ─── AI Orb — Pulsing glow ─── */
.orb-core {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    animation: orbCorePulse 3s ease-in-out infinite;
}

@keyframes orbCorePulse {
    0%, 100% { box-shadow: 0 8px 40px rgba(66,133,244,0.18), 0 0 0 0 rgba(66,133,244,0.12); }
    50%       { box-shadow: 0 12px 56px rgba(66,133,244,0.30), 0 0 0 18px rgba(66,133,244,0); }
}

.ring-1 {
    border-top-color: rgba(66, 133, 244, 0.55);
    border-right-color: rgba(52, 168, 83, 0.3);
    border-width: 2px;
}
.ring-2 {
    border-top-color: rgba(234, 67, 53, 0.45);
    border-left-color: rgba(251, 188, 4, 0.3);
    border-width: 2px;
}
.ring-3 {
    border-top-color: rgba(52, 168, 83, 0.5);
    border-right-color: rgba(66, 133, 244, 0.3);
    border-width: 2px;
}

/* ─── Cover Tags — subtle shimmer hover ─── */
.cover-tags-footer .tag {
    transition: transform 0.2s var(--spring), box-shadow 0.2s var(--ease-out);
}
.cover-tags-footer .tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(66,133,244,0.12);
}

/* ─────────────────────────────────────────────
   SPEAKER SLIDE — Avatar ring + award shimmer
   ───────────────────────────────────────────── */

/* Rotating colorful avatar ring */
.spk-avatar-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--grad-google);
    opacity: 0;
    animation: avatarRingFadeIn 0.6s 0.3s var(--ease-out) forwards,
               avatarRingSpin 6s 0.9s linear infinite;
}

@keyframes avatarRingFadeIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 0.85; transform: scale(1); }
}

@keyframes avatarRingSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Gold award shimmer */
.spk-award-gold {
    position: relative;
    overflow: hidden;
}
.spk-award-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251,188,4,0.18), transparent);
    animation: goldShimmer 3s 1.2s ease-in-out infinite;
}
@keyframes goldShimmer {
    0%   { left: -80%; }
    60%  { left: 120%; }
    100% { left: 120%; }
}

/* Timeline vertical connector line */
.spk-timeline {
    position: relative;
    padding-left: 0;
}
.spk-timeline::before {
    content: '';
    position: absolute;
    left: calc(72px + 20px + 7px);
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue), var(--green), var(--red));
    opacity: 0.18;
    border-radius: 2px;
}

/* ─────────────────────────────────────────────
   CHAPTER TITLE SLIDES — bg-number scale-in
   ───────────────────────────────────────────── */
.chapter-bg-number {
    position: absolute;
    right: -24px;
    bottom: -48px;
    font-family: var(--font-display);
    font-size: 340px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.035);
    line-height: 1;
    user-select: none;
    opacity: 0;
    transform: scale(0.8);
}

.slide.active .chapter-bg-number {
    animation: bgNumberIn 0.9s 0.1s var(--ease-out) forwards;
}

@keyframes bgNumberIn {
    from { opacity: 0; transform: scale(0.78); }
    to   { opacity: 1; transform: scale(1); }
}

/* Diagonal lines on dark chapter slides */
.slide-chapter::after,
.slide-quote-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(26,28,30,0.025) 0px,
        rgba(26,28,30,0.025) 1px,
        transparent 1px,
        transparent 48px
    );
    pointer-events: none;
    z-index: 0;
}

/* ─────────────────────────────────────────────
   CARD HOVER LIFT — all content cards
   ───────────────────────────────────────────── */
.goal-card,
.opp-card,
.step-pill,
.triple-card,
.bento-card,
.guess-card,
.dual-step-card,
.spk-award,
.li-card,
.li-section-card,
.gemini-card,
.aimode-card,
.mshape-wrap {
    transition: transform 0.22s var(--spring), box-shadow 0.22s var(--ease-out),
                border-color 0.22s var(--ease-out);
}

.goal-card:hover,
.opp-card:hover,
.triple-card:hover,
.bento-card:hover,
.dual-step-card:hover,
.aimode-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(66, 133, 244, 0.25);
}

.step-pill:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-md);
    border-color: rgba(66,133,244,0.2);
}

.guess-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(32,33,36,0.10);
    border-color: rgba(66,133,244,0.18);
}

.gemini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(66,133,244,0.12);
    border-color: rgba(66,133,244,0.3);
}

/* ─────────────────────────────────────────────
   STAGGER ENTRANCE — content-slide grids
   ───────────────────────────────────────────── */

/* Goal cards */
.slide.active .goal-card {
    animation: fadeUp 0.45s var(--ease-out) both;
}
.slide.active .goal-card:nth-child(1) { animation-delay: 0.10s; }
.slide.active .goal-card:nth-child(2) { animation-delay: 0.18s; }
.slide.active .goal-card:nth-child(3) { animation-delay: 0.26s; }

/* Opportunity cards */
.slide.active .opp-card {
    animation: fadeUp 0.45s var(--ease-out) both;
}
.slide.active .opp-card:nth-child(1) { animation-delay: 0.10s; }
.slide.active .opp-card:nth-child(2) { animation-delay: 0.18s; }
.slide.active .opp-card:nth-child(3) { animation-delay: 0.26s; }

/* Step pills */
.slide.active .step-pill {
    animation: fadeUp 0.4s var(--ease-out) both;
}
.slide.active .step-pill:nth-child(1) { animation-delay: 0.08s; }
.slide.active .step-pill:nth-child(2) { animation-delay: 0.13s; }
.slide.active .step-pill:nth-child(3) { animation-delay: 0.18s; }
.slide.active .step-pill:nth-child(4) { animation-delay: 0.23s; }
.slide.active .step-pill:nth-child(5) { animation-delay: 0.28s; }
.slide.active .step-pill:nth-child(6) { animation-delay: 0.33s; }
.slide.active .step-pill:nth-child(7) { animation-delay: 0.38s; }
.slide.active .step-pill:nth-child(8) { animation-delay: 0.43s; }

/* Triple cards */
.slide.active .triple-card {
    animation: fadeUp 0.45s var(--ease-out) both;
}
.slide.active .triple-card:nth-child(1) { animation-delay: 0.10s; }
.slide.active .triple-card:nth-child(2) { animation-delay: 0.18s; }
.slide.active .triple-card:nth-child(3) { animation-delay: 0.26s; }

/* Guess cards */
.slide.active .guess-card {
    animation: fadeUp 0.4s var(--ease-out) both;
}
.slide.active .guess-card:nth-child(1) { animation-delay: 0.08s; }
.slide.active .guess-card:nth-child(2) { animation-delay: 0.14s; }
.slide.active .guess-card:nth-child(3) { animation-delay: 0.20s; }
.slide.active .guess-card:nth-child(4) { animation-delay: 0.26s; }
.slide.active .guess-card:nth-child(5) { animation-delay: 0.32s; }
.slide.active .guess-card:nth-child(6) { animation-delay: 0.38s; }

/* Dual step cards */
.slide.active .dual-step-card {
    animation: fadeUp 0.5s var(--ease-out) both;
}
.slide.active .dual-step-card:nth-child(1) { animation-delay: 0.10s; }
.slide.active .dual-step-card:nth-child(2) { animation-delay: 0.20s; }

/* Check items */
.slide.active .check-item {
    animation: fadeUp 0.35s var(--ease-out) both;
}
.slide.active .check-item:nth-child(1)  { animation-delay: 0.05s; }
.slide.active .check-item:nth-child(2)  { animation-delay: 0.09s; }
.slide.active .check-item:nth-child(3)  { animation-delay: 0.13s; }
.slide.active .check-item:nth-child(4)  { animation-delay: 0.17s; }
.slide.active .check-item:nth-child(5)  { animation-delay: 0.21s; }
.slide.active .check-item:nth-child(6)  { animation-delay: 0.25s; }
.slide.active .check-item:nth-child(7)  { animation-delay: 0.29s; }
.slide.active .check-item:nth-child(8)  { animation-delay: 0.33s; }
.slide.active .check-item:nth-child(9)  { animation-delay: 0.37s; }
.slide.active .check-item:nth-child(10) { animation-delay: 0.41s; }
.slide.active .check-item:nth-child(11) { animation-delay: 0.45s; }
.slide.active .check-item:nth-child(12) { animation-delay: 0.49s; }

/* Step detail left/right */
.slide.active .step-detail-left {
    animation: fadeUp 0.55s 0.08s var(--ease-out) both;
}
.slide.active .step-detail-right {
    animation: fadeUp 0.6s 0.18s var(--ease-out) both;
}

/* ─────────────────────────────────────────────
   GEMINI CARD — Typing cursor in prompt
   ───────────────────────────────────────────── */
.gp-tag::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--blue);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: typingCursor 1s step-end infinite;
}

@keyframes typingCursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Enhanced Gemini header */
.gemini-header {
    background: linear-gradient(90deg,
        rgba(66,133,244,0.07) 0%,
        rgba(52,168,83,0.05) 50%,
        rgba(251,188,4,0.04) 100%);
    border-bottom: 1px solid rgba(66,133,244,0.12);
}

.gemini-header-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--grad-google);
    animation: geminiIconSpin 8s linear infinite;
}

@keyframes geminiIconSpin {
    from { filter: hue-rotate(0deg); }
    to   { filter: hue-rotate(360deg); }
}

/* ─────────────────────────────────────────────
   INSIGHT STRIP — enhanced glow
   ───────────────────────────────────────────── */
.insight-strip {
    background: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.07);
    position: relative;
    overflow: hidden;
}
.insight-strip::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--blue), var(--green));
    border-radius: 3px 0 0 3px;
}
.slide.active .insight-strip {
    animation: fadeUp 0.55s 0.36s var(--ease-out) both;
}

/* ─────────────────────────────────────────────
   CLOSING SLIDE — premium glow bg + word stagger
   ───────────────────────────────────────────── */
.slide-closing {
    background: var(--surface);
}

/* Multi-color glow radial behind content */
.slide-closing .closing-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(66,133,244,0.055) 0%, transparent 70%),
        radial-gradient(ellipse 30% 40% at 20% 80%, rgba(52,168,83,0.045) 0%, transparent 60%),
        radial-gradient(ellipse 30% 30% at 80% 20%, rgba(234,67,53,0.035) 0%, transparent 60%);
    animation: closingGlow 6s ease-in-out infinite alternate;
}

@keyframes closingGlow {
    0%   { opacity: 0.7; }
    100% { opacity: 1; }
}

/* CTA layout */
.cta-layout {
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 28px;
}

/* CTA title — "Terima Kasih" word-by-word stagger */
.cta-title {
    font-family: var(--font-display);
    font-size: 96px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.slide.active .cta-title {
    animation: fadeUp 0.7s 0.12s var(--ease-out) both;
}

.cta-sub {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 780px;
    line-height: 1.7;
}

.slide.active .cta-sub {
    animation: fadeUp 0.6s 0.28s var(--ease-out) both;
}

/* Speaker avatar pulse in closing slide */
.speaker-avatar.sm {
    animation: avatarPulse 2.5s 0.5s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(66,133,244,0.25), 0 2px 8px rgba(66,133,244,0.15); }
    50%       { box-shadow: 0 0 0 10px rgba(66,133,244,0), 0 2px 8px rgba(66,133,244,0.15); }
}

/* ─────────────────────────────────────────────
   QUOTE HERO SLIDE — enhanced
   ───────────────────────────────────────────── */
.slide.active .quote-hero-mark {
    animation: fadeUp 0.5s 0.08s var(--ease-out) both;
}
.slide.active .quote-hero-text {
    animation: fadeUp 0.65s 0.18s var(--ease-out) both;
}
.slide.active .quote-hero-attr {
    animation: fadeUp 0.5s 0.35s var(--ease-out) both;
}

/* ─────────────────────────────────────────────
   KEYBOARD HINT — fades out after 4s
   ───────────────────────────────────────────── */
.keyboard-hint {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    pointer-events: none;
    z-index: 200;
    animation: hintFadeOut 1s 3.5s var(--ease-out) forwards;
    white-space: nowrap;
}

.keyboard-hint kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 22px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 5px;
    font-size: 11px;
    font-family: var(--font-mono);
    color: rgba(255,255,255,0.65);
}

@keyframes hintFadeOut {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to   { opacity: 0; transform: translateX(-50%) translateY(6px); pointer-events: none; }
}

/* ─────────────────────────────────────────────
   SLIDE LABEL — premium badge style
   ───────────────────────────────────────────── */
.slide-label {
    position: absolute;
    top: 28px;
    left: var(--slide-pad-x);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: var(--font-body);
    z-index: 20;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    padding: 5px 14px;
    border-radius: 100px;
}

/* Dark slide labels — quote-hero only */
.slide-quote-hero .slide-label,
.slide-handson .slide-label {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.45);
}

/* ─────────────────────────────────────────────
   KICKER — enhanced glow dot
   ───────────────────────────────────────────── */
.kicker .gdg-dot {
    box-shadow: 0 0 6px rgba(66,133,244,0.6);
}
.kicker .dot-red  { box-shadow: 0 0 6px rgba(234,67,53,0.6); }
.kicker .dot-green{ box-shadow: 0 0 6px rgba(52,168,83,0.6); }
.kicker .dot-yellow { box-shadow: 0 0 6px rgba(251,188,4,0.6); }

/* ─────────────────────────────────────────────
   DEFINE SLIDE — improved quote block
   ───────────────────────────────────────────── */
.slide.active .define-col:nth-child(1) {
    animation: fadeUp 0.55s 0.10s var(--ease-out) both;
}
.slide.active .define-col:nth-child(3) {
    animation: fadeUp 0.55s 0.22s var(--ease-out) both;
}

.quote-block {
    border-left: 4px solid transparent;
    border-image: linear-gradient(to bottom, var(--blue), var(--green)) 1;
    border-radius: 0 16px 16px 0;
    position: relative;
    overflow: hidden;
}
.quote-block::before {
    content: '"';
    position: absolute;
    top: -8px;
    right: 16px;
    font-size: 80px;
    font-family: var(--font-display);
    color: rgba(66,133,244,0.08);
    line-height: 1;
    pointer-events: none;
}

/* ─────────────────────────────────────────────
   AGENDA SLIDE — chapter item hover
   ───────────────────────────────────────────── */
.chapter-item {
    transition: background 0.2s var(--ease-out), padding-left 0.2s var(--ease-out);
    border-radius: 8px;
    cursor: default;
}
.chapter-item:hover {
    background: rgba(66,133,244,0.035);
    padding-left: 12px;
}

/* ─────────────────────────────────────────────
   SPK CARD — top gradient animated sweep
   ───────────────────────────────────────────── */
.spk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-full);
    background-size: 300% 100%;
    border-radius: 24px 24px 0 0;
    animation: cardTopSweep 4s linear infinite;
}

@keyframes cardTopSweep {
    0%   { background-position: 0% 0%; }
    100% { background-position: -300% 0%; }
}

/* ─────────────────────────────────────────────
   BENTO CARDS — enhanced with colored borders
   ───────────────────────────────────────────── */
.bento-card {
    transition: transform 0.22s var(--spring), box-shadow 0.22s var(--ease-out),
                border-color 0.22s var(--ease-out);
}
.bento-card.b-1:hover { border-color: rgba(66,133,244,0.35); }
.bento-card.b-2:hover { border-color: rgba(52,168,83,0.35); }
.bento-card.b-3:hover { border-color: rgba(251,188,4,0.4); }
.bento-card.b-4:hover { border-color: rgba(234,67,53,0.35); }

/* ─────────────────────────────────────────────
   STEP DETAIL LIST ITEMS — stagger in
   ───────────────────────────────────────────── */
.slide.active .step-detail-item {
    animation: fadeUp 0.4s var(--ease-out) both;
}
.slide.active .step-detail-item:nth-child(1) { animation-delay: 0.22s; }
.slide.active .step-detail-item:nth-child(2) { animation-delay: 0.30s; }
.slide.active .step-detail-item:nth-child(3) { animation-delay: 0.38s; }
.slide.active .step-detail-item:nth-child(4) { animation-delay: 0.46s; }

/* ─────────────────────────────────────────────
   CHECK ICON — pop-in animation
   ───────────────────────────────────────────── */
.slide.active .check-icon {
    animation: checkIconPop 0.4s var(--spring) both;
}
.slide.active .check-item:nth-child(1)  .check-icon { animation-delay: 0.06s; }
.slide.active .check-item:nth-child(2)  .check-icon { animation-delay: 0.10s; }
.slide.active .check-item:nth-child(3)  .check-icon { animation-delay: 0.14s; }
.slide.active .check-item:nth-child(4)  .check-icon { animation-delay: 0.18s; }
.slide.active .check-item:nth-child(5)  .check-icon { animation-delay: 0.22s; }
.slide.active .check-item:nth-child(6)  .check-icon { animation-delay: 0.26s; }
.slide.active .check-item:nth-child(7)  .check-icon { animation-delay: 0.30s; }
.slide.active .check-item:nth-child(8)  .check-icon { animation-delay: 0.34s; }
.slide.active .check-item:nth-child(9)  .check-icon { animation-delay: 0.38s; }
.slide.active .check-item:nth-child(10) .check-icon { animation-delay: 0.42s; }
.slide.active .check-item:nth-child(11) .check-icon { animation-delay: 0.46s; }
.slide.active .check-item:nth-child(12) .check-icon { animation-delay: 0.50s; }

@keyframes checkIconPop {
    from { opacity: 0; transform: scale(0.6) rotate(-10deg); }
    to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ─────────────────────────────────────────────
   SLIDE COUNTER — enhanced pill
   ───────────────────────────────────────────── */
.slide-counter {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    font-size: 14px;
}

#currentSlide {
    color: #fff;
    font-weight: 700;
    background: var(--blue);
    padding: 1px 8px;
    border-radius: 6px;
    font-size: 13px;
}

/* ─────────────────────────────────────────────
   GDG DOTS — larger, glowing on cover/closing
   ───────────────────────────────────────────── */
.closing-gdg-dots .gdg-dot {
    animation: gdgDotPop 0.45s var(--spring) both;
}
.closing-gdg-dots .gdg-dot:nth-child(1) { animation-delay: 0.08s; }
.closing-gdg-dots .gdg-dot:nth-child(2) { animation-delay: 0.16s; }
.closing-gdg-dots .gdg-dot:nth-child(3) { animation-delay: 0.24s; }
.closing-gdg-dots .gdg-dot:nth-child(4) { animation-delay: 0.32s; }

@keyframes gdgDotPop {
    from { opacity: 0; transform: scale(0); }
    to   { opacity: 1; transform: scale(1); }
}

.dot-blue.lg  { box-shadow: 0 0 10px rgba(66,133,244,0.6); }
.dot-red.lg   { box-shadow: 0 0 10px rgba(234,67,53,0.6); }
.dot-yellow.lg{ box-shadow: 0 0 10px rgba(251,188,4,0.6); }
.dot-green.lg { box-shadow: 0 0 10px rgba(52,168,83,0.6); }

/* ─────────────────────────────────────────────
   FOCUS VISIBLE — accessibility ring
   ───────────────────────────────────────────── */
.nav-btn:focus-visible,
.fullscreen-btn:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

/* ─────────────────────────────────────────────
   CONTENT HEADER — animated stagger
   ───────────────────────────────────────────── */
.slide.active .kicker {
    animation: fadeUp 0.45s 0.06s var(--ease-out) both;
}
.slide.active .content-title {
    animation: fadeUp 0.55s 0.13s var(--ease-out) both;
}
.slide.active .content-sub {
    animation: fadeUp 0.5s 0.20s var(--ease-out) both;
}
/* Placeholder for Screenshots */
.ss-gallery-placeholder {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.ss-item {
    background: rgba(0,0,0,0.03);
    border: 2px dashed rgba(0,0,0,0.1);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ss-item .ss-icon {
    font-size: 32px;
}
