* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #6B7280;
    background-color: #f9fafb;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 4rem;
    padding-right: 10%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    color: #165DFF;
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6B7280;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    font-weight: 500;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid transparent;
    color: #6B7280;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #9CA3AF;
    border-bottom-color: #9CA3AF;
}

.nav-link.active {
    color: #9CA3AF;
    border-bottom-color: #9CA3AF;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 0.375rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #6B7280;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-item:first-child {
    border-radius: 0.375rem 0.375rem 0 0;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 0.375rem 0.375rem;
}

.dropdown-item:hover {
    background-color: #f9fafb;
    color: #9CA3AF;
}

.date-display {
    position: absolute;
    top: 20px;
    right: 5%;
    text-align: right;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    z-index: 10;
}

.date-part {
    font-size: 1.25rem;
    font-weight: 700;
    color: #6B7280;
    margin-bottom: 0.25rem;
    animation: fadeInUp 0.8s ease forwards;
}

.weekday-part {
    font-size: 1rem;
    color: #9CA3AF;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}


.section {
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: white;
    margin-bottom: 5vh;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.content-icon {
    font-size: 5rem;
    color: rgba(22, 93, 255, 0.3);
    margin-bottom: 1.5rem;
}

.content-title {
    font-size: 2rem;
    font-weight: 700;
    color: #6B7280;
    margin-bottom: 1rem;
}

.content-description {
    color: #6B7280;
    margin-bottom: 2rem;
}


.hidden {
    display: none !important;
    visibility: hidden !important;
}

.beian-copyright-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem 0;
    z-index: 100;
    height: 5vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.beian-row {
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem;
}

.police-beian {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icp-beian {
    font-size: 0.875rem;
    color: #6B7280;
}

.icp-beian a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.icp-beian a:hover {
    color: #9CA3AF;
}

.contact-info {
    font-size: 0.875rem;
    color: #6B7280;
}

.contact-info a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #9CA3AF;
}

.copy-email {
    color: #165DFF;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
    border-bottom: 1px dotted transparent;
}

.copy-email:hover {
    color: #0052D9;
    border-bottom-color: #0052D9;
}

.copyright {
    font-size: 0.875rem;
    color: #6B7280;
    text-align: left;
}

.police-beian img {
    height: 1.25rem;
    width: 1.25rem;
    vertical-align: middle;
}

.police-beian a {
    color: #6b7280;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.police-beian a:hover {
    color: #9CA3AF;
}

@media (max-width: 768px) {
    .beian-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .copyright {
        text-align: left;
    }
}

.tap-icon-container {
    position: fixed;
    z-index: 1000;
    pointer-events: none;
    animation: fadeInScale 0.3s ease forwards;
}

.tap-icon {
    width: 25px;
    height: 25px;
    opacity: 0.8;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.tap-icon-container.fade-out {
    animation: fadeOutScale 0.3s ease forwards;
}

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

.project-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: left;
}

.project-info {
    margin-bottom: 3rem;
}

.project-info h3 {
    color: #6B7280;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.project-info h3:first-child {
    margin-top: 0;
}

.project-info p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-info a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-info a:hover {
    color: #0052D9;
    text-decoration: underline;
}

.code-block {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    position: relative;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #6B7280;
    white-space: pre;
}

.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #165DFF;
    color: white;
    border: none;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    opacity: 0.8;
}

.copy-btn:hover {
    background-color: #0052D9;
    opacity: 1;
}

.copy-btn:active {
    transform: scale(0.95);
}

.project-screenshots {
    margin-top: 3rem;
}

.project-screenshots h3 {
    color: #6B7280;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.screenshot-item {
    text-align: center;
    background-color: #f9fafb;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screenshot-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.screenshot-item p {
    color: #6B7280;
    font-weight: 500;
    margin: 0;
}

.screenshot-item:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 400px;
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2001;
}

.close-modal:hover {
    color: #ff4d4f;
}

.screenshot-item img {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.screenshot-item img:hover {
    transform: scale(1.05);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

::-webkit-scrollbar-thumb:active {
    background: #999999;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

@media (max-width: 768px) {
    .project-content {
        padding: 1rem;
    }
    
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .project-info h3 {
        font-size: 1.25rem;
    }
    
    .code-block {
        padding: 0.75rem;
    }
    
    .code-block code {
        font-size: 0.75rem;
    }
    
    .close-modal {
        top: -30px;
        font-size: 1.5rem;
    }
  }

/* 应用页面样式 */
#apply {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    background-color: white;
    margin-bottom: 5vh;
    /* padding-top: 5px; */
}

#apply .project-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
}

#apply .project-info {
    flex: 1;
    max-width: 50%;
    padding-right: 0;
    padding-left: 0;
    margin-left: 0;
}

#apply .tunnel-config {
    flex: 1;
    max-width: 50%;
    padding-left: 1rem;
}

#apply .download-section {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background-color: white;
    text-align: center;
}

#apply .download-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: 1.25rem;
    text-align: center;
}

#apply .download-section p {
    margin-bottom: 1rem;
    color: #4b5563;
    text-align: center;
}

#apply .download-section .inline-button-container {
    justify-content: center;
}



.inline-button-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.download-button, .agreement-button {
    display: inline-block;
    background-color: #165DFF;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.download-button:hover, .agreement-button:hover {
    background-color: #0052D9;
    transform: translateY(-2px);
}

.download-button:active, .agreement-button:active {
    transform: translateY(0);
}

.config-info {
    background-color: #f9fafb;
    border-left: 4px solid #165DFF;
    padding: 1rem;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

.config-info p {
    margin-bottom: 0.5rem;
}

.config-info p:last-child {
    margin-bottom: 0;
}

.config-info strong {
    color: #4B5563;
}

@media (max-width: 768px) {
    #apply .project-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    #apply .project-info {
        max-width: 100%;
        padding-right: 0;
    }
    
    #apply .tunnel-config {
        max-width: 100%;
        padding-left: 0;
    }
    
    #apply .download-section {
        margin: 1rem auto 0;
        padding: 1rem;
    }
}

.h1-wudekej, .h1-wudekejgf,.h1-wudekejgfp,.h1-wudekejgfky {
    display: none;
}