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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #1F2328;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.k-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #ffffff;
    border-bottom: 1px solid #d0d7de;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-section-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.k-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.k-logo svg {
    flex-shrink: 0;
}

.main-content-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    min-height: calc(100vh - 73px);
}

.k-download-panel {
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.panel-header {
    margin-bottom: 32px;
}

.content-icon-container {
    margin-bottom: 24px;
}

.content-icon-large {
    width: 80px;
    height: 80px;
    color: #0969da;
}

.panel-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.panel-subtitle {
    font-size: 16px;
    color: #656d76;
    line-height: 1.5;
}

.download-card {
    background: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.content-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
}

.badge-icon {
    font-size: 16px;
}

.badge-text {
    color: #1F2328;
}

.version-info {
    display: flex;
    align-items: center;
}

.version-badge {
    background: #dafbe1;
    color: #1a7f37;
    border: 1px solid rgba(27, 31, 36, 0.15);
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    padding: 20px;
    background: #f6f8fa;
    border-radius: 8px;
    border: 1px solid #d0d7de;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1F2328;
}

.security-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.download-section {
    margin-bottom: 24px;
}

.k-download-btn {
    width: 100%;
    background: #1f883d;
    color: #ffffff;
    border: 1px solid rgba(27, 31, 36, 0.15);
    border-radius: 6px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.k-download-btn:hover:not(:disabled) {
    background: #1a7f37;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 136, 61, 0.3);
}

.k-download-btn:active:not(:disabled) {
    transform: translateY(0);
}

.k-download-btn:disabled {
    background: #7ee2b8;
    cursor: not-allowed;
    transform: none;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-container {
    margin-top: 20px;
    text-align: left;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #1F2328;
}

.k-progress-bar {
    width: 100%;
    height: 8px;
    background: #eaeef2;
    border-radius: 4px;
    overflow: hidden;
}

.k-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1f883d, #2da44e);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.help-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: #fff8c5;
    border: 1px solid #d4a72c;
    border-radius: 6px;
    font-size: 14px;
    color: #656d76;
}

.help-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.verification-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.verification-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #656d76;
    background: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 4px 8px;
}

.verification-badge svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .k-navbar {
        padding: 12px 16px;
    }
    
    .main-content-area {
        padding: 24px 16px;
    }
    
    .download-card {
        padding: 24px;
    }
    
    .panel-title {
        font-size: 24px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .verification-badges {
        flex-direction: column;
        gap: 8px;
    }
}