@import url('https://fonts.googleapis.com/css2?family=Roboto&family=Lato&family=Oswald:wght@700&family=Playfair+Display:wght@700&display=swap');

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* 添加平滑滚动 */
        html {
            scroll-behavior: smooth;
        }
        
        /* 添加全局动画 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }
        
        @keyframes shimmer {
            0% {
                background-position: -200% 0;
            }
            100% {
                background-position: 200% 0;
            }
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.8;
            color: #333;
            background: linear-gradient(to right, #e6e9f0 0%, #eef1f5 100%);
            margin: 0;
            padding: 0;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 30px;
        }
        h1, h2 {
            text-align: center;
            color: #343a40;
            font-weight: 700;
        }
        h1 {
            font-family: 'Playfair Display', serif;
            font-size: 3.2em;
            margin-bottom: 20px;
            letter-spacing: -1px;
        }
        h2 {
            font-family: 'Oswald', sans-serif;
            font-size: 1.9em;
            margin-bottom: 20px;
            font-weight: 500;
            color: #6c757d;
        }
        .buttons {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        
        .button {
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            padding: 12px 25px;
            border-radius: 8px;
            text-decoration: none;
            font-size: 1em;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            font-family: 'Lato', sans-serif;
        }
        
        .button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
            animation: pulse 0.5s infinite alternate;
        }
        
        .button svg {
            width: 20px;
            height: 20px;
            fill: white;
        }
p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    line-height: 1.9;
    margin-bottom: 0;
    text-align: justify;
    color: #5a6268;
    text-indent: 2em;
}
.button-wrapper {
    text-align: center;
    margin-top: 20px;
}
        .intro-paragraph {
            margin-bottom: 30px;
        }
        
        /* Figure showcase styles */
        .figure-showcase {
            margin: 40px 0;
            padding: 30px;
            background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
            border-radius: 12px;
            border: 1px solid rgba(102, 126, 234, 0.1);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .figure-showcase-title {
            text-align: center;
            color: #2c3e50;
            font-family: 'Lato', sans-serif;
            font-weight: 700;
            margin-bottom: 30px;
            font-size: 1.8em;
            padding-bottom: 10px;
            border-bottom: 3px solid #667eea;
            display: inline-block;
            width: 100%;
        }
        
        .figure-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 25px;
            margin: 0 auto;
            max-width: 1200px;
        }
        
        .figure-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(102, 126, 234, 0.1);
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .figure-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
        }
        
        .figure-embed {
            width: 100%;
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            border: 1px solid #e9ecef;
            margin-bottom: 15px;
            object-fit: contain;
            background: white;
        }
        
        .figure-card figcaption {
            color: #555;
            font-size: 0.95em;
            line-height: 1.5;
            text-align: left;
            padding: 0 5px;
        }
        
        .figure-card figcaption strong {
            color: #667eea;
            font-weight: 600;
        }
        
        .modules-container {
            margin-top: 20px;
        }
        .dataset-examples-group {
            margin-bottom: 20px;
            border: 1px solid #e9ecef;
            border-radius: 12px;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }
        
        .collapsible-section {
            width: 100%;
            max-width: 100%;
            margin-bottom: 10px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border: none;
            box-sizing: border-box;
        }
        .collapsible-btn {
            width: 100%;
            max-width: 100%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: #fff;
            border: none;
            padding: 16px 28px;
            font-size: 1.1em;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 14px;
            text-align: left;
            letter-spacing: 0.2px;
            transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
            border-radius: 14px;
            box-shadow: 0 10px 25px rgba(103, 117, 214, 0.25);
            font-family: 'Lato', sans-serif;
            margin-top: 30px;
            box-sizing: border-box;
            backdrop-filter: saturate(120%) blur(2px);
        }
        .collapsible-btn:hover,
        .collapsible-btn:focus-visible {
            transform: translateY(-2px);
            box-shadow: 0 14px 35px rgba(103, 117, 214, 0.35);
            outline: none;
        }
        .arrow {
            margin-left: 12px;
            font-size: 0.9em;
            transition: transform 0.25s ease;
            filter: brightness(0) invert(1);
            display: inline-block;
        }
        .arrow.open {
            transform: rotate(180deg);
        }
        .collapsible-content {
            padding: 30px;
            background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
            border-top: none;
            display: none;
            animation: slideDown 0.3s ease;
            border-radius: 0 0 12px 12px;
            box-shadow: inset 0 2px 10px rgba(102, 126, 234, 0.05);
        }
        
        /* Non-collapsible content section styling */
        .static-content-section {
            text-align: left;
            width: 100%;
            max-width: 100%;
            margin-bottom: 30px;
            padding: 30px;
            background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
            border-radius: 12px;
            border: 1px solid rgba(102, 126, 234, 0.1);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            box-sizing: border-box;
        }
        
        .collapsible-content > div {
            background: rgba(255, 255, 255, 0.9);
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(102, 126, 234, 0.1);
        }
        
        .collapsible-content h3 {
            color: #2c3e50 !important;
            font-family: 'Lato', sans-serif;
            font-weight: 700;
            margin-bottom: 25px !important;
            padding-bottom: 10px;
            border-bottom: 3px solid #667eea;
            display: inline-block;
        }
        
        .collapsible-content h4 {
            color: #667eea !important;
            font-family: 'Lato', sans-serif;
            font-weight: 600;
            margin-bottom: 15px !important;
            position: relative;
        }
        
        .collapsible-content h4::before {
            content: '';
            position: absolute;
            left: -15px;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 20px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 2px;
        }
        
        .collapsible-content > div > div {
            background: #fafbff;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
            border-left: 4px solid #667eea;
            transition: all 0.3s ease;
        }
        
        .collapsible-content > div > div:hover {
            transform: translateX(5px);
            box-shadow: 0 3px 15px rgba(102, 126, 234, 0.15);
        }
        .example-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
        }
        .example-pair {
            border: 1px solid #f1f3f5;
            border-radius: 12px;
            padding: 25px;
        }
        .image-pair, .image-triplet, .image-group {
            display: grid;
            gap: 20px;
            margin-bottom: 20px;
        }
        .image-pair { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
        .image-triplet { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
        .image-group { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

        .image-container {
            text-align: center;
        }
        .image-label {
            display: inline-block;
            margin-bottom: 10px;
            font-weight: bold;
            background-color: #007bff;
            color: white;
            width: 30px;
            height: 30px;
            line-height: 30px;
            border-radius: 50%;
            font-size: 1em;
        }
        .drone-image {
            width: 100%;
            height: auto;
            border-radius: 5px;
            border: 1px solid #dee2e6;
            cursor: pointer;
        }
        .qa-content {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
        }
        
        .qa-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
            pointer-events: none;
        }
        
        .qa-content p {
            margin-bottom: 18px;
            color: #2c3e50;
            position: relative;
            z-index: 1;
            font-weight: 500;
        }
        
        .qa-content strong {
            color: #667eea;
        }
        
        .qa-content ul {
            margin: 15px 0;
            padding-left: 20px;
        }
        
        .qa-content li {
             margin-bottom: 8px;
             color: #555;
             line-height: 1.5;
             text-align: left;
         }
         
         .qa-divider {
             border: none;
             height: 1px;
             background-color: #ddd;
             margin: 20px 0;
         }
        
        @media (max-width: 1024px) {
             .content-wrapper {
                 grid-template-columns: 1fr;
                 gap: 30px;
             }
             
             .sidebar {
                 position: static;
                 order: -1;
                 padding: 20px;
             }
             
             .nav-menu {
                 display: flex;
                 flex-wrap: wrap;
                 gap: 10px;
             }
             
             .nav-item {
                 margin-bottom: 0;
             }
             
             .nav-link {
                 padding: 8px 16px;
                 font-size: 0.9em;
             }
             
             .figure-grid {
                 grid-template-columns: 1fr;
                 gap: 20px;
             }
        }
        
        @media (max-width: 768px) {
             .container {
                 padding: 60px 25px;
             }
             
             .header-section {
                 margin-bottom: 60px;
                 padding: 30px 0;
             }
             
             h1 {
                 font-size: 3em;
                 margin: 40px 0 50px 0;
                 letter-spacing: -1px;
             }
             
             h1::after {
                 width: 100px;
                 height: 3px;
             }
             
             h2 {
                 font-size: 1.8em;
                 margin-bottom: 40px;
             }
             
             h2::after {
                 width: 70px;
                 height: 2px;
             }
             
             .buttons {
                 flex-direction: row;
                 justify-content: center;
                 align-items: center;
                 gap: 25px;
                 flex-wrap: wrap;
                 margin: 60px auto 80px auto;
             }
             
             .button {
                 width: auto;
                 min-width: 120px;
                 max-width: 180px;
                 justify-content: center;
                 flex: 1;
                 font-size: 1em;
                 padding: 16px 24px;
                 border-radius: 50px;
             }
             
             .sidebar {
                 padding: 20px;
                 border-radius: 15px;
             }
             
             .image-pair, .image-triplet, .image-group {
                 flex-direction: column;
                 align-items: center;
                 gap: 15px;
             }
             
             .image-container {
                 max-width: 90%;
                 margin: 10px;
             }
             
             .figure-grid {
                 grid-template-columns: 1fr;
                 gap: 15px;
             }
             
             .figure-card {
                 padding: 15px;
             }
             
             .figure-showcase {
                 padding: 20px;
                 margin: 30px 0;
             }
             
             .collapsible-btn {
                 font-size: 17px;
                 padding: 25px 30px;
                 min-height: 80px;
                 max-height: 80px;
                 height: 80px;
                 letter-spacing: 0.3px;
             }
             
             .collapsible-content {
                 padding: 35px 30px;
             }
             
             .collapsible-section {
                 margin-bottom: 40px;
                 border-radius: 25px;
             }
             
             .collapsible-section::before {
                 height: 4px;
             }
             
             .dataset-examples-group {
                 padding: 25px 20px;
                 border-radius: 25px;
                 margin: 0 auto;
             }
             
             .dataset-examples-group > p {
            margin-bottom: 0;
        }

        .button-wrapper {
            margin-top: 10px;
        }
             
             .example-pair {
                 padding: 30px 25px;
             }
             
             p {
                 padding: 35px 30px;
                 font-size: 1.3em;
                 margin: 60px auto;
                 border-radius: 25px;
             }
             
             p::before {
                 height: 4px;
             }
             
             .modules-container {
                 margin: 80px auto;
                 padding: 0;
                 gap: 60px;
             }
             
             .drone-image {
                 height: 180px;
             }
             
             table th, table td, .qc-table th, .qc-table td {
                 padding: 12px 15px;
                 font-size: 14px;
             }
             
             .dataset-examples-group {
                 padding: 25px 20px;
                 border-radius: 20px;
             }
             
             .dataset-examples-group > p {
            margin-bottom: 0;
        }

        .dataset-examples-group > .button {
            margin-top: 10px;
        }
         }
         
         @media (max-width: 480px) {
             .container {
                 padding: 50px 20px;
             }
             
             h1 {
                 font-size: 2.5em;
                 margin: 30px 0 40px 0;
                 letter-spacing: -1px;
             }
             
             h1::after {
                 width: 80px;
                 height: 3px;
             }
             
             h2 {
                 font-size: 1.6em;
                 margin-bottom: 35px;
             }
             
             h2::after {
                 width: 60px;
                 height: 2px;
             }
             
             .buttons {
                 margin: 50px auto 60px auto;
                 gap: 15px;
                 flex-direction: column;
             }
             
             .button {
                 font-size: 1em;
                 padding: 16px 32px;
                 min-width: 200px;
                 max-width: 250px;
                 width: 100%;
                 border-radius: 50px;
             }
             
             .modules-container {
                 padding: 0;
                 margin: 70px auto;
                 gap: 50px;
             }
             
             p {
                 padding: 30px 25px;
                 font-size: 1.2em;
                 margin: 50px auto;
                 border-radius: 20px;
             }
             
             p::before {
                 height: 4px;
             }
             
             .collapsible-btn {
                 font-size: 16px;
                 padding: 22px 25px;
                 min-height: 75px;
                 max-height: 75px;
                 height: 75px;
                 letter-spacing: 0.2px;
             }
             
             .collapsible-content {
                 padding: 25px 20px;
             }
             
             .collapsible-section {
                 border-radius: 20px;
             }
             
             .collapsible-section::before {
                 height: 3px;
             }
             
             .image-container {
                 max-width: 100%;
             }
             
             .figure-grid {
                 grid-template-columns: 1fr;
                 gap: 15px;
             }
             
             .figure-showcase {
                 padding: 15px;
                 margin: 20px 0;
             }
             
             .figure-showcase-title {
                 font-size: 1.4em;
                 margin-bottom: 20px;
             }
             
             .drone-image {
                 height: 150px;
             }
             
             .dataset-examples-group {
                 padding: 25px 20px;
                 border-radius: 20px;
             }
             
             .dataset-examples-group > p {
            margin-bottom: 0;
            text-align: center;
            text-indent: 0;
        }

        .dataset-examples-group > .button {
            margin-top: 10px;
            display: block;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
        }
         }

        .qa-content p {
            margin-bottom: 10px;
        }
        strong {
            font-weight: 600;
            color: #343a40;
        }
        ul {
            padding-left: 20px;
            margin-bottom: 10px;
        }
        li {
            margin-bottom: 5px;
        }
        .question, .options, .answer {
            margin-bottom: 15px;
        }
        .qc-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }
        .qc-table th, .qc-table td {
            border: 1px solid #e9ecef;
            padding: 16px;
            text-align: left;
            transition: background-color 0.3s ease;
        }
        .qc-table th {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-weight: 600;
            font-size: 1.1em;
        }
        .qc-table tbody tr:hover {
            background-color: #f8f9ff;
        }
        .qc-badge {
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 600;
            display: inline-block;
            box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
        }
        .qc-correct {
            color: #27ae60;
            font-weight: 700;
            background-color: #d5f4e6;
            padding: 2px 6px;
            border-radius: 4px;
        }
        .qc-note {
            color: #e74c3c;
            font-style: italic;
            font-size: 0.9em;
        }
        pre {
            position: relative;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: #e2e8f0;
            padding: 46px 20px 20px 20px; /* top padding for header bar */
            border-radius: 12px;
            border: 1px solid rgba(102, 126, 234, 0.25);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
            white-space: pre;
            overflow: auto;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            font-size: 0.95em;
            line-height: 1.6;
        }
        pre::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 36px;
            background: linear-gradient(135deg, rgba(102,126,234,0.25), rgba(118,75,162,0.25));
            border-radius: 12px 12px 0 0;
            pointer-events: none;
        }
        pre .copy-btn {
            position: absolute;
            top: 6px;
            right: 8px;
            padding: 6px 10px;
            font-size: 12px;
            line-height: 1;
            color: #e2e8f0;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(226, 232, 240, 0.25);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            backdrop-filter: saturate(120%) blur(2px);
        }
        pre .copy-btn:hover {
            background: rgba(255, 255, 255, 0.18);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
        }
        pre .copy-btn.copied {
            background: linear-gradient(135deg, #22c55e, #16a34a);
            color: #ffffff;
            border-color: transparent;
        }
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.8);
        }
        .modal-content {
            margin: auto;
            display: block;
            width: 80%;
            max-width: 800px;
            margin-top: 5%;
            margin-bottom: 5%;
        }
        .close {
            position: absolute;
            top: 20px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
        }

        .dataset-examples-group > p {
            margin-bottom: 0;
            text-align: center;
            text-indent: 0;
        }

        .dataset-examples-group > .button {
            margin-top: 5px;
            margin-bottom: 20px;
            display: block;
            width: -moz-fit-content;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
            padding: 8px 16px;
            font-size: 0.9em;
        }