@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Nunito:wght@300;400;500;600;700;800&display=swap');

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

html, body {
    font-family: 'Inter', 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* 主背景 - 纯色渐变效果 */
.bg-gradient {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #0c0c0c 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}



/* 页面主容器 */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 140px 20px 40px;
}

/* Slogan 样式 */
.slogan-wrapper {
    margin-top: 16px;
    text-align: center;
    animation: fadeInUp 0.7s ease-out 0.1s both;
}

.slogan-line1 {
    font-size: 1.8rem;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.6;
    margin-bottom: 0;
}

.slogan-line2 {
    font-size: 1.8rem;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slogan-cursor {
    display: inline-block;
    width: 2px;
    height: 1.8rem;
    background: #fff;
    margin-left: 4px;
    animation: blink 0.7s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.logo-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 18px;
    transition: transform 0.3s ease;
    animation: slideInDown 0.6s ease-out;
}

.logo-img:hover {
    transform: scale(1.08);
}

.title-text {
    font-size: 3.8rem;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0px;
    font-family: 'Inter', sans-serif;
    animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-ae {
    background: linear-gradient(90deg, #ffff00 0%, #ffcc00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.title-box {
    background: linear-gradient(90deg, #00ff00 0%, #00cc44 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.subtitle-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
}

/* 按钮组 */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    width: 100%;
    max-width: 320px;
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-base {
    padding: 12px 40px;
    border-radius: 16px;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1.2px;
    width: 100%;
    max-width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: #000;
    color: white;
}

.btn-primary:hover {
    background: #1a1a1a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: white;
    color: #000;
    border: 1px solid #000;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 官网地址区域 */
.website-section {
    display: none;
}

.website-label {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.website-url-text {
    font-size: 2.4rem;
    font-weight: 700;
    color: #5ba997;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.website-url-link {
    text-decoration: none;
    cursor: pointer;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.copy-btn:hover {
    background: #f8f8f8;
    border-color: #5ba997;
    color: #5ba997;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 169, 151, 0.12);
}

.bookmark-tip {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #999;
}

/* 顶部控制 */
.top-controls {
    display: none;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

/* 向下箭头提示 */
.scroll-hint {
    display: none;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .bg-gradient {
        background-position: left center;
    }

    .title-text {
        font-size: 2.2rem;
    }

    .logo-title-row {
        gap: 12px;
        flex-direction: column;
    }

    .logo-img {
        width: 75px;
        height: 75px;
    }

    .button-group {
        margin-top: 30px;
        gap: 12px;
        max-width: 100%;
    }

    .btn-base {
        padding: 13px 35px;
        font-size: 15px;
        max-width: 100%;
        letter-spacing: 1.1px;
    }

    .header-section {
        margin-bottom: 25px;
    }

    .typing-text {
        font-size: 1.4rem;
        margin-top: 25px;
    }

    .typing-section {
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding: 120px 16px 30px;
    }

    .header-section {
        margin-bottom: 20px;
        gap: 16px;
    }

    .logo-img {
        width: 70px;
        height: 70px;
    }

    .title-text {
        font-size: 1.8rem;
    }

    .button-group {
        max-width: 100%;
        margin-top: 25px;
        gap: 12px;
    }

    .btn-base {
        width: 100%;
        max-width: 100%;
        padding: 10px 30px;
        font-size: 15px;
        gap: 8px;
        letter-spacing: 1.1px;
    }

    .typing-text {
        font-size: 1.8rem;
        margin-top: 30px;
    }

    .typing-cursor {
        height: 1.8rem;
    }
}

/* 打字效果 + 箭头指向 */
.typing-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 50px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.arrow-icon {
    font-size: 2rem;
    color: #7dd3c0;
    animation: slideArrow 1.5s ease-in-out infinite;
    align-self: flex-end;
    margin-bottom: 10px;
}

@keyframes slideArrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

.typing-text {
    font-size: 2.2rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing-cursor {
    display: inline-block;
    width: 4px;
    height: 2.2rem;
    background: #fff;
    margin-left: 6px;
    animation: blink 0.7s infinite;
}

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

/* 下载卡片区域 */
.download-section {
    margin-top: 40px;
    width: 100%;
    max-width: 600px;
    animation: fadeInUp 0.7s ease-out 0.3s both;
}

.download-title {
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 1px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 10px;
}

.download-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.download-card:hover::before {
    opacity: 1;
}

.download-icon {
    font-size: 2rem;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.download-card:hover .download-icon {
    transform: scale(1.1);
}

.download-name {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .download-card {
        padding: 14px 10px;
    }
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 480px;
    border-radius: 24px;
    padding: 30px;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    font-size: 1.2rem;
}

.modal-close:hover {
    color: #333;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.modal-icon {
    font-size: 1.8rem;
    color: #333;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
}

.step-item {
    margin-bottom: 24px;
}

.step-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.step-num {
    width: 24px;
    height: 24px;
    background: #fff4cc;
    color: #b38b00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.step-num.blue {
    background: #e6f0ff;
    color: #0066cc;
}

.download-btn-large {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
    text-decoration: none;
}

.download-btn-large:hover {
    background: #1d4ed8;
}

.code-block {
    background: #1e293b;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    margin-top: 8px;
    cursor: pointer;
}

.code-content {
    color: #4ade80;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    word-break: break-all;
}

.copy-hint {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.copy-hint:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.copy-hint.copied {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.step-desc {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
}

.step-desc ul {
    padding-left: 20px;
    margin-top: 4px;
}
/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    transition: all 0.3s ease;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.nav-logo img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 20px;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.site-footer {
    margin-top: auto;
    padding-top: 60px;
    padding-bottom: 20px;
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.footer-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .top-nav {
        padding: 15px 20px;
    }
}

/* Terminal Visual Placeholder */
.terminal-placeholder {
    background: #1e293b;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.terminal-header-dots {
    display: flex;
    gap: 6px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.t-dot.red { background: #ff5f56; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green { background: #27c93f; }

.terminal-body-visual {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-family: monospace;
    font-size: 0.9rem;
    padding-top: 4px;
}

.terminal-icon-large {
    font-size: 1.2rem;
    color: #94a3b8;
}
