/* Technology Demonstration Results Section - Figma Design */
.tech-demo-results-section-figma {
    position: relative;
    width: 100%;
    padding: 5rem 0;
    overflow: hidden;
}

.demo-container-figma {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.demo-header-figma {
    text-align: center;
    margin-bottom: 3rem;
}

.demo-title-figma {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #42210b;
    margin: 0 0 1rem 0;
    letter-spacing: 0.05em;
}

.demo-dots-figma {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e6ae25;
}

.demo-description-figma {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #42210b;
    line-height: 1.8;
    margin: 0;
}

/* Search Form */
.demo-search-form-figma {
    background: transparent;
    padding: 2rem 0;
}

.demo-filter-row-figma {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.demo-filter-group-figma {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.demo-filter-label-figma {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #42210b;
    letter-spacing: 0.05em;
}

.demo-select-figma {
    width: 100%;
    padding: 0.8rem 3.5rem 0.8rem 1rem;
    border: 2px solid #5a7c56;
    border-radius: 8px;
    background: white;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    color: #42210b;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: none;
}

.demo-filter-group-figma::after {
    content: '▼';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 49px;
    background: #5a7c56;
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 0 8px 8px 0;
    pointer-events: none;
    font-size: 14px;
}

.demo-select-figma:hover {
    border-color: #4a6846;
    box-shadow: 0 2px 8px rgba(90, 124, 86, 0.2);
}

.demo-select-figma:focus {
    outline: none;
    border-color: #5a7c56;
    box-shadow: 0 0 0 3px rgba(90, 124, 86, 0.1);
}

/* Search Button */
.demo-search-button-container-figma {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent !important;
}

.demo-search-button-figma {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    outline: none !important;
    box-shadow: none !important;
}

.demo-search-button-figma:focus {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.demo-search-button-figma:active {
    background: transparent !important;
}

.demo-search-button-figma:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Demo Search Button Image */
.demo-search-button-img {
    display: block;
    width: 300px;
    margin: 0 auto;
    height: auto;
    max-width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Main Image Section */
.demo-image-section-figma {
    margin: 3rem 0;
}

.demo-main-image-figma {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.demo-main-image-figma:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.demo-main-image-figma img {
    width: 100%;
    height: auto;
    display: block;
}

/* View All Button */
.demo-view-all-container-figma {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.demo-view-all-link-figma {
    background: #5a7c56;
    color: white;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(90, 124, 86, 0.3);
}

.demo-view-all-link-figma:hover {
    background: #4a6846;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(90, 124, 86, 0.4);
}

.demo-view-all-link-figma-sp {
    display: none;
}

/* Demo Results Archive Page */
.demo-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.demo-archive-header {
    text-align: center;
    margin-bottom: 4rem;
}

.demo-archive-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #42210b;
    margin: 0 0 1rem 0;
}

.demo-archive-description {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 18px;
    color: #666;
    margin: 0;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.demo-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid #5a7c56;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.demo-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.demo-card-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.demo-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.demo-card:hover .demo-card-thumbnail img {
    transform: scale(1.05);
}

.demo-card-content {
    padding: 1.5rem;
}

.demo-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.demo-card-term {
    background: #e6ae25;
    color: white;
    padding: 4px 12px;
    border-radius: 10px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.03em;
}

.demo-card-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #42210b;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.demo-card-excerpt {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Demo Result Single Page */
.single-demo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.single-demo-content {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.demo-article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e6ae25;
}

.demo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.demo-term {
    background: #e6ae25;
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 6px rgba(230, 174, 37, 0.25);
}

.demo-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #42210b;
    line-height: 1.5;
    margin: 0;
}

.demo-thumbnail {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.demo-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.demo-body {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.demo-body p {
    margin-bottom: 1.5rem;
}

.demo-body h2 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #42210b;
    margin: 2rem 0 1rem;
}

.demo-body h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #42210b;
    margin: 1.5rem 0 1rem;
}

.demo-article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.back-to-demo-list {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #5a7c56;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-demo-list:hover {
    color: #4a6846;
    text-decoration: underline;
}

/* Pagination */
.demo-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.demo-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.demo-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    background: white;
    border: 2px solid #5a7c56;
    border-radius: 4px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #5a7c56;
    text-decoration: none;
    transition: all 0.3s ease;
}

.demo-pagination .page-numbers:hover,
.demo-pagination .page-numbers.current {
    background: #5a7c56;
    color: white;
}

.no-demos {
    text-align: center;
    padding: 4rem 2rem;
}

.no-demos p {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 18px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 992px) {
    .demo-filter-row-figma {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .single-demo-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tech-demo-results-section-figma {
        padding: 3rem 0;
    }
    
    .demo-container-figma {
        padding: 0 1.5rem;
    }
    
    .demo-header-figma {
        margin-bottom: 2rem;
    }
    
    .demo-title-figma {
        font-size: 24px;
        margin-bottom: 1rem;
    }
    
    .demo-dots-figma {
        gap: 0.4rem;
        margin-bottom: 1.5rem;
    }
    
    .demo-dot {
        width: 10px;
        height: 10px;
    }
    
    .demo-description-figma {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .demo-search-form-figma {
        padding: 1.5rem 0;
    }
    
    .demo-filter-row-figma {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .demo-filter-label-figma {
        font-size: 18px;
    }
    
    .demo-select-figma {
        padding: 0.75rem 3.5rem 0.75rem 1rem;
        font-size: 14px;
        border: 2px solid #5a7c56;
        border-radius: 8px;
        background-image: none;
    }
    
    .demo-filter-group-figma {
        position: relative;
    }
    
    .demo-filter-group-figma::after {
        content: '▼';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 50px;
        height: 46px;
        background: #5a7c56;
        color: white;
        text-align: center;
        line-height: 45px;
        border-radius: 0 8px 8px 0;
        pointer-events: none;
        font-size: 12px;
    }
    
    .demo-search-button-img {
        width: 250px;
        margin: 0 auto;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-view-all-container-figma {
        margin-top: 2rem;
        justify-content: flex-end !important;
    }
    
    .demo-view-all-link-figma-pc {
        display: none !important;
    }
    
    .demo-view-all-link-figma-sp {
        display: inline-block !important;
        background: none !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    
    .demo-view-all-link-figma-sp:hover {
        opacity: 0.8;
        transform: none !important;
        box-shadow: none !important;
        background: none !important;
    }
    
    .demo-view-all-link-figma-sp img {
        width: 200px;
        height: auto;
    }
    
    .single-demo-content {
        padding: 2rem;
    }
    
    .demo-title {
        font-size: 24px;
    }
    
    .demo-archive-title {
        font-size: 32px;
    }
}

